You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
guys i'm working on boolean operation of some unclosed polyhedrons. these polys are built by gltf file which exported from software like revit.
one of situations just like the screenshot below, it shows there r lack of some triangles among part shaded green, i guess they are degenerate triangles connecting green triangles with shorter edges along the unclosed line and ones with longer.
in most situation triangles above and below share the same two end points of the unclosed line, i tried 'stitch_borders' and 'repair_polygon_soup' in PMP but seems don't work.
also I wrote codes to collect boundary edges and sort them by relative position, then I operate 'split_edge' and 'split_facet' on each edges to repair it manually. this way works but seems doesn't cover all situations. is there any official approaches to repair unclosed polyhedrons for boolean operation ? or just some other boolean operation ways ignoring such tiny unclosing gap ? (i know the closed precondition of bollean operation)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
guys i'm working on boolean operation of some unclosed polyhedrons. these polys are built by gltf file which exported from software like revit.
one of situations just like the screenshot below, it shows there r lack of some triangles among part shaded green, i guess they are degenerate triangles connecting green triangles with shorter edges along the unclosed line and ones with longer.
in most situation triangles above and below share the same two end points of the unclosed line, i tried 'stitch_borders' and 'repair_polygon_soup' in PMP but seems don't work.
also I wrote codes to collect boundary edges and sort them by relative position, then I operate 'split_edge' and 'split_facet' on each edges to repair it manually. this way works but seems doesn't cover all situations. is there any official approaches to repair unclosed polyhedrons for boolean operation ? or just some other boolean operation ways ignoring such tiny unclosing gap ? (i know the closed precondition of bollean operation)
many thank

s
Beta Was this translation helpful? Give feedback.
All reactions