ShapeModel.boolean_union

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

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