ShapeModel.boolean_fragment

ShapeModel.boolean_fragment(A, B, remove_objects=True, remove_tools=True)

Boolean fragment of two sets of shapes.

Parameters:
Alist of tuple

The dimtags of the object shapes.

Btuple

The dimtags of the tool shapes.

Returns:
list of tuple

The dimtags of the resulting shapes.

Notes

The objects are the shapes to which the boolean operation should be applied. The tools are the shapes used to perform the operation.