

.. _sphx_glr_examples_05_workflows:

.. _workflows:

End-to-end workflows
====================

Examples that stitch readers, writers, bridges, and metadata into
realistic CAD-meets-mesh pipelines.


.. raw:: html

  <div id='sg-tag-list' class='sphx-glr-tag-list'></div>


.. raw:: html

    <div class="sphx-glr-thumbnails">

.. thumbnail-parent-div-open

.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="A real reverse-engineering question: a vendor ships a nominal CAD model of a part, and a depth camera reconstructs the part that actually arrived. Where, and by how much, does the as-built surface deviate from design?">

.. only:: html

  .. image:: /examples/05_workflows/images/thumb/sphx_glr_as_designed_vs_scan_thumb.png
    :alt:

  :doc:`/examples/05_workflows/as_designed_vs_scan`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">As-designed vs as-scanned deviation</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Drive a CAD shape through gmsh to obtain a tetrahedral mesh suitable for finite-element analysis, then bring the volumetric result back into PyVista as an pyvista.UnstructuredGrid.">

.. only:: html

  .. image:: /examples/05_workflows/images/thumb/sphx_glr_cad_to_fea_tet_mesh_thumb.png
    :alt:

  :doc:`/examples/05_workflows/cad_to_fea_tet_mesh`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">CAD shape to tetrahedral FEA mesh</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="A tessellated CAD part drives a signed-distance volume directly through PyVista&#x27;s compute_implicit_distance. The result is a volumetric scalar field useful for collision queries, mesh morphing, implicit modeling, or feeding marching-cubes-style reconstructions.">

.. only:: html

  .. image:: /examples/05_workflows/images/thumb/sphx_glr_cad_to_signed_distance_thumb.png
    :alt:

  :doc:`/examples/05_workflows/cad_to_signed_distance`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">CAD shape to signed-distance field</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="A common prototyping job: you need many copies of one part, so you nest them on a build plate and hand a single 3MF to the slicer with each instance named so the slicer tree mirrors the layout.">

.. only:: html

  .. image:: /examples/05_workflows/images/thumb/sphx_glr_parametric_to_3d_print_thumb.png
    :alt:

  :doc:`/examples/05_workflows/parametric_to_3d_print`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Real CAD part to a 3D-print 3MF plate</div>
    </div>


.. thumbnail-parent-div-close

.. raw:: html

    </div>


.. toctree::
   :hidden:

   /examples/05_workflows/as_designed_vs_scan
   /examples/05_workflows/cad_to_fea_tet_mesh
   /examples/05_workflows/cad_to_signed_distance
   /examples/05_workflows/parametric_to_3d_print

