subtract#

Polyline.subtract(tool_list, keep_originals=True)[source]#

Subtract one or more parts from the object.

Parameters:
tool_liststr, Object3d, or list of str and Object3d.

List of parts to subtract from this part.

keep_originalsbool, optional

Whether to keep the tool parts after subtraction. The default is True. If False, the parts are deleted.

Returns:
pyaedt.modeler.cad.object3d.Object3d

Modified 3D object following the subtraction.

References

>>> oEditor.Subtract