onshape-to-robot/docs/source/processor_merge_parts.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

30 lines
733 B
ReStructuredText

.. _processor-merge-parts:
Merge STLs
==========
Introduction
------------
This processor merge the meshes of all parts in the links into a single one.
``config.json`` entries
-----------------------
.. code-block:: javascript
{
// ...
// General import options (see config.json documentation)
// ...
// Merge STL meshes (default: false)
"merge_stls": true
}
``merge_stls`` *(default: false)*
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
If set to ``true``, each link parts meshes will be merged in a single one. The resulting part will be named after the link.
You can also set it to ``"visual"`` to merge only the visual parts, or to ``"collision"`` to merge only the collision parts.