GeoMop / bgem

geometry and meshing tools
GNU General Public License v3.0
4 stars 3 forks source link

Exception: Fuse operation cannot be performed #52

Open jbrezmorf opened 2 years ago

jbrezmorf commented 2 years ago

Happens in creating simplified Endorse transport geometry when trying to fuse a borehole cylinder (volume) with the rectangles (faces)

Seems that this operation can only be done for the objects of the same dimension.

jbrezmorf commented 1 year ago

Other issue is with fragment. In fact this is probably substantial source of other issues partially solved by various copies.

  1. fragment operation should preferably be applied symmetricaly. The tool objects become also fragmented and are usually deleted, however the dim_tag copy operation (and possibly other operations) just skip missing dimtags. We should provide checks of ObjectSet consistency before and after every operation at least in a sort of debug mode.
  2. Performing operations on dim_tags implicitly affects its boundaries.

Seems that mapping dimtags to properties must be maintained globally at the factory level.

jbrezmorf commented 1 year ago

Notoric problems with regions specific for dimensions. Rather maintain regions just as string labels and then possibly create separate region for every label-dim combination. Just before applying them (rather on the completed mesh).

jbrezmorf commented 1 year ago

test that set operations work also for empty objects (e.g. fragmenting by an empty fracture list)