App.newDocument("Unnamed")
Gui.ActiveDocument.mergeProject("/home/.../part1.FCStd")
Gui.ActiveDocument.mergeProject("/home/.../part2.FCStd")
Gui.ActiveDocument.mergeProject("/home/.../part3.FCStd")
### Begin command Part_BooleanFragments
j = BOPTools.SplitFeatures.makeBooleanFragments(name='BooleanFragments')
j.Objects = [App.ActiveDocument.Part__Feature_solid, App.ActiveDocument.Part__Feature_solid001, App.ActiveDocument.Part__Feature_solid002]
j.Mode = 'Standard'
j.Proxy.execute(j)
j.purgeTouched()
for obj in j.ViewObject.Proxy.claimChildren():
obj.ViewObject.hide()
### End command Part_BooleanFragments
Howeve I would like, in the "j.Objects" command, to replace the name "Part__Feature_solid" with something linked to the true name of the part, "part1" in that case
So the command would be
This should solve part of my issue which is to keep and bring the names of the booleans fragments from this FC brep file through the geometry import process of Gmsh. That is obviously another story but it seems that Gmsh does not recognize at all the naming and the order in which they have been made.. the import gives there a random surface numbering