question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

See "full" geometry

See original GitHub issue

Hi @linev!

I have exported a geometry created with Geant4 and I’m able to see all of it (wireframed, haven’t been able to get it filled) using regular ROOT with something like:

import ROOT
g4 = ROOT.TGeoManager.Import("g4.gdml")
g4.GetTopVolume().Draw()
ROOT.gGeoManager.SetVisOption(0)
ROOT.gGeoManager.SetVisLevel(10000)
g4.GetTopVolume().Draw()

Now, I can save the geometry or the canvas in a .root file, but when opening it with JSROOT I’m not able to see the full geometry, no matter the drawing option used. I’m not sure if JSROOT supports the SetVisOption attribute, or if it does how it could be set by clicking around. Would it be possible to expose the gGeoManager object somewhere just as it’s done with the gStyle one?

Thanks!

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
linevcommented, Aug 17, 2022

I see problem. It is wrong assumption in JSROOT - if volume has subnodes shape shape is simply ignored. I will try to fix it

0reactions
AlbertoPdRFcommented, Oct 6, 2022

This is awesome @linev, thank you! 🚀

Read more comments on GitHub >

github_iconTop Results From Across the Web

Geometry (all content) | Khan Academy
Learn geometry for free—angles, shapes, transformations, proofs, and more. Full curriculum of exercises and videos.
Read more >
[ANSYS Meshing] How to display in Fluent full geometry of ...
I do know it is possible but I can't find a suitable checkbox or something else in "Display" menu.
Read more >
Geometry Instruction Manual: Steven Demme - Amazon.com
Buy Geometry Instruction Manual on Amazon.com ✓ FREE SHIPPING on ... See all details ... Teacher Manual only for the geometry program of...
Read more >
Data Structures — GeoPandas 0.12.2+0.gefcb367.dirty ...
Note that all entries in a GeoSeries need not be of the same geometric type, although certain ... area : shape area (units...
Read more >
Geometry options not visible in AE CC 2019
Solved: Good Day Ladies and Gents. I am new to AE, attempting to make text 3d. However, the Geometry Options function is not...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found