ShapeModel.boolean_difference

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

Boolean difference 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.