MCPcopy
hub / github.com/CadQuery/cadquery / _makeCompound

Method _makeCompound

cadquery/occ_impl/shapes.py:4776–4785  ·  view source on GitHub ↗
(listOfShapes: Iterable[TopoDS_Shape])

Source from the content-addressed store, hash-verified

4774
4775 @staticmethod
4776 def _makeCompound(listOfShapes: Iterable[TopoDS_Shape]) -> TopoDS_Compound:
4777
4778 comp = TopoDS_Compound()
4779 comp_builder = TopoDS_Builder()
4780 comp_builder.MakeCompound(comp)
4781
4782 for s in listOfShapes:
4783 comp_builder.Add(comp, s)
4784
4785 return comp
4786
4787 def remove(self, *shape: Shape) -> Self:
4788 """

Callers 2

makeCompoundMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected