Classes defined in module partition
Functions defined in module partition
Prepare the surface for slicing operation.
Color a Formex in two by a plane (P,N)
Partition a Formex according to its prop values.
Returns a dict with the partitions, named like name-prop and exports these named Formex instances. It the Formex has no props, the whole Formex is given the name.
Interactively partition a Formex.
By default, the parts will get properties 0,1,... If prop >= 0, the parts will get incremental props starting from prop.
As a side effect, the properties of the input Formex will be changed to flag the parts between successive cut planes by incrementing property values. If you wish to restore the original properties, you should copy them (or the input Formex) before calling this function.