######################
design3d documentation
######################

.. toctree::
   :maxdepth: 1
   :hidden:

   Getting Started <getting_started>
   User Guide <user_guide>
   Authors <authors>
   About the Package <about_the_package>
   Roadmap <road_map_and_current_limitations>
   Tutorials <tutorials>
   Blog <blog/index>


.. meta::
   :description: design3d is a Python CAD modeler to design 3D models from code: B-Rep solids built, checked and
                 exported to STEP and STL by a program, for AI agents, classic programming and design automation.
   :keywords: CAD, Python, CAD from code, B-Rep, STEP, STL, 3D modeling, AI agents, agentic engineering,
              CAD automation, design automation, generative design

design3d is a Python CAD modeler based on Boundary Representation (B-Rep), made to design 3D models from code: models
are built, checked by computation (distances, intersections, volumes) and exported to STEP or STL by a program, with no
graphical interface to drive.

This is what makes it suited to agentic engineering: an AI agent writes the design logic in Python, runs it, checks the
result, iterates, and exports a STEP file that opens in any CAD software. The same code works without an agent, in
classic programming (scripts, notebooks, applications) and in design automation (configurators, families of parts,
design studies run in CI pipelines).

.. code-block:: bash

   pip install design3d

Showcases
=========

Complete engineering designs written by a coding agent with design3d: each one starts from requirements and
reference data, derives the architecture by calculation, checks its constraints and iterates until they are
satisfied. Click a picture to open the interactive 3D view, or browse `all the 3D views <showcases/>`_.

.. grid:: 1 1 3 3
    :gutter: 3

    .. grid-item-card:: 63/20 kV substation
        :img-top: images/substation1.jpg
        :link: showcases/substation-of-poste-electrique-de-l-horme.html
        :class-card: showcase-card

        An outdoor substation designed on three real plots from OpenStreetMap, from the insulation coordination of
        IEC 61936-1 to the layout of its bays.

    .. grid-item-card:: Double-deck high-speed train
        :img-top: images/high_speed_train.jpg
        :link: showcases/high-speed-train.html
        :class-card: showcase-card

        A trainset inspired by the TGV M, designed by iterations between its architecture and its systems.

    .. grid-item-card:: Motorcycle
        :img-top: images/motorcycle.jpg
        :link: showcases/motorcycle.html
        :class-card: showcase-card

        A motorcycle with the dimensions of a 2015 Yamaha MT-125, built from a few architecture parameters.

Documentation
=============

.. grid:: 2

    .. grid-item-card::
        :img-top: ../source/_static/index-images/getting_started.svg

        .. card-header::

            Getting Started

        New to design3d? Check out the Absolute Beginner’s Guide. It contains an
        introduction to design3d’s main concepts and links to additional tutorials.

        .. card-footer::

            .. button-ref:: getting_started
                :ref-type: doc
                :expand:
                :color: primary
                :click-parent:

                To absolute beginner’s guide

    .. grid-item-card::
        :img-top: ../source/_static/index-images/user_guide.svg

        .. card-header::

            User Guide

        The user guide provides in-depth information on the
        key concepts of design3d with useful background information and explanation.

        .. card-footer::

            .. button-ref:: user_guide
                :ref-type: doc
                :expand:
                :color: primary
                :click-parent:

                To user guide
