CSGModel.add

CSGModel.add(shape: compas.geometry.shapes._shape.Shape) Tuple[int, int][source]

Add a shape to the underlying OCC model.

Parameters

shape (compas.geometry.Shape) – A geometric shape.

Returns

tuple(int, int) – A “dimtag”, a dimension and a tag that together uniquely identify the shape in the OCC model.