Problem description: ---------------------------------------- The BooleanProcessor will raise an error if the neighboring facets are 0 for the edges in a HepPolyhedron (graphics_reps/src/BooleanProcessor.src:466). These are not set at creation in G4TesselatedSolid::CreatePolyhedron(), but can be constructed by a simple call to: protected: void HepPolyhedron::SetReferences(); Unfortunately, this function is protected. Due to this bug/missing feature, results of boolean operations with G4TesselatedSolids cannot be displayed in visualization. Proposed fix: ---------------------------------------- I don't see a reason to protect HepPolyhedron::SetReferences and would suggest to make it public. This way it can be called at the end of G4TesselatedSolid::CreatePolyhedron(). This problem may affect other solids (eg. GenericTrap -> attached link) Regards, Oliver
Thanks, Oliver, for this super-detective work. Sorry to have taken so long to realise the issue. Your proposal looks sound.
Fixes are now committed and will be included in the next release or patches.