Wed, 09/21/2022 - 22:19
Forums:
I have below questions about them:
1. Is there a way to supply a list of shapes to BRepAlgoAPI_Fuse as one can do for BRepAlgoAPI_BuilderAlgo? If yes, please provide sample code.
2. Can we also set parallel run and glue options for BRepAlgoAPI_Fuse as shown below for BRepAlgoAPI_BuilderAlgo:
BRepAlgoAPI_BuilderAlgo builder; builder.SetArguments(listOfSolids); builder.SetRunParallel(true); builder.SetGlue(BOPAlgo_GlueShift);
Wed, 09/21/2022 - 23:11
Yes, you can! BRepAlgoAPI_Fuse is a descendant of BRepAlgoAPI_BuilderAlgo, and inherits all its public methods.
Wed, 09/21/2022 - 23:16
You are to supply Fuse algo with two lists of shapes - arguments and tools, which are passed using the methods SetArguments and SetTools.
Thu, 09/22/2022 - 02:11
Thanks for this one. Just setting arguments was giving too few arguments error even with several arguments in the list.