Packages

Expand ordered part quantities into a numbered illustration legend.

Current section

Files

Jump to
part_callouts README.md
Raw

README.md

# part_callouts

Expand a bill of materials into a numbered parts legend, preserving input order and repeated instances.

`PartCallouts.legend([{"Wheel", 2}, {"Axle", 1}])` returns `[{1, "Wheel"}, {2, "Wheel"}, {3, "Axle"}]`. Quantities must be nonnegative integers.

Use the [AI H3 exploded view generator](https://aih3image.com/image/ai-exploded-view-generator) to turn one product photo into a parts illustration for a listing or presentation.