Skip to content

pytha.boole_part_difference

fabian-flassig edited this page Oct 5, 2020 · 5 revisions

Creates the Boolean difference of a set of parts (geometrically subtracting the parts).

Similar to the Part tools I -> Boolean -> Difference function in the PYTHA user interface.

pytha.boole_part_difference(base_element, subtract_elements) 
Parameter Type Description
base_element element_handle The part from which others are subtracted
subtract_elements {element_handle_1, ...} A table of element handles of all the parts that should be subtracted

Return

Type Description
element_handle The element handle of the resulting part

See also:

pytha, Part Tools Functions, Element Handles, boole_part_union, boole_part_template

Clone this wiki locally