js-upup / exploded-view-brief
Turn an ordered parts list, layout axis and fixed assemblies into a product illustration brief.
Requires
- php: >=8.2
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is not auto-updated.
Last update: 2026-11-24 03:40:10 UTC
README
Convert an ordered product parts list to an editable illustration brief. Choose horizontal, vertical or depth separation and optionally identify parts that must stay assembled. The renderer returns plain text, validates part references and preserves the supplied order. No remote calls or credentials.
use JsUpup\ExplodedView\Brief; $brief = Brief::render( ['Lid', 'Gasket', 'Cup body'], 'vertical', [['Lid', 'Gasket']] );
The example asks for a top-to-bottom diagram with three named parts, keeping
the lid and gasket connected. Unknown axes, duplicates, overlapping assemblies
and references to parts outside the list raise InvalidArgumentException.
Use specific names for repeated items, such as "left pad" and "right pad".
For an actual concept image, the AI H3 exploded view generator accepts one product photo and an editable prompt. Choose the diagram or parts layout, then add the brief. Base the list on parts you can identify in the product; verify engineering details separately.