pytha.merge_parts - pytha-3d-cad/pytha-lua-api GitHub Wiki

Merges single parts into one part.

Similar to the Part tools II -> Melt -> Faces to part function in the PYTHA user interface.

pytha.merge_parts(elements [,options]]) 
Parameter Type Description
elements element_handle A single element or a table of elements
options {...} Optional: a table that may contain the following options:

Return value

Type Description
element_handle An element handle of the newly created part

Remarks:

This function can be used to combine single faces (e.g. polygons) to one part. In contrast to the boolean functions, it does not affect the geometry of the involved parts but works only on the topology.

See also:

pytha, element handles, boole_part_union