This tool cuts a polygon mesh based on the partition pattern of kd-tree
How to install
Put kdcutting folder under Maya's script directory (i.e. C:/Users/<user>/Document/maya/<version>/scripts).
How to use
In Maya, use the following python script to launch the tool, you can also drag this snippet onto the shelf
and save it as a shortcut.
from kdcutting.ui import KdCuttingUI
KdCuttingUI().show_ui()
Parameters
Samples:
* Sample Method
Algorithm used to generate samples
* Standard: uniform random distribution within mesh bounding box
* Gauss: gauss distribution
* Count
Number of samples
* Seed
Random seed for sample generator
* Gauss mu
The *μ* parameter of gauss function, visually it decrease the degree of dispersion of samples
* Gauss sigma
The *σ* parameter of gauss function which affects the variance, visually it increase
the degree of dispersion of samples
Setting:
* Keep Origin
Apply cutting to the copy of the selected mesh, keep the mesh unmodified
* Group Pieces
Group the generate pieces
* Group Name
Specify the name of the piece group
Visualize:
* Visualize
Create a particle system to visualize the sample based on the current parameters
* Reset
Remove the managed particle system used for visualization if there was one present
Please use the Feature Requests to give me ideas.
Please use the Support Forum if you have any questions or problems.
Please rate and review in the Review section.