onshape-to-robot/docs/source/processor_convex_decomposition.rst
Upstream Snapshot bb87928bce Import upstream snapshot 80e710700aac9573a2230f74f7ce9e094833a0bc
Upstream: https://github.com/Rhoban/onshape-to-robot
Upstream-Commit: 80e710700aac9573a2230f74f7ce9e094833a0bc
Upstream-Branch: master
2026-08-28 15:42:31 +08:00

34 lines
924 B
ReStructuredText

Convex decomposition (CoACD)
============================
Introduction
------------
If this processor is enabled, the collision meshes will be decomposed using `CoACD <https://github.com/SarahWeiii/CoACD>`_ convex decomposition.
``config.json`` entries
-----------------------
.. code-block:: javascript
{
// ...
// General import options (see config.json documentation)
// ...
// Enables convex decomposition
"convex_decomposition": true
// Use Rainbow colors instead of the part color
"rainbow_colors": true
}
``convex_decomposition`` *(default: false)*
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
If set to ``true``, collision meshes will be decomposed using CoACD.
``rainbow_colors`` *(default: false)*
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
If set to ``true``, the collision meshes will be colored using rainbow colors instead of the part color.