Upstream: https://github.com/Rhoban/onshape-to-robot Upstream-Commit: 80e710700aac9573a2230f74f7ce9e094833a0bc Upstream-Branch: master
34 lines
924 B
ReStructuredText
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. |