codestack icon indicating copy to clipboard operation
codestack copied to clipboard

Macro to export flat patterns grouped by material & thickness into DXF with quantity annotation

Open Ngobien91 opened this issue 4 months ago • 0 comments

Hello,

First of all, thank you for providing the macro to export all flat patterns from sheet metal parts/assemblies (reference here ).

I would like to request a new feature or a modified version of the macro with the following requirements:

Export grouping:

The exported DXF files should be organized into folders based on material and thickness (taken from cut-list properties).

Within each DXF, all sheet metal bodies or parts that share the same thickness should be arranged into one drawing frame (like a nesting layout).

Quantity annotation:

Under each flat pattern in the DXF, add a note showing the quantity (from cut-list or BOM).

File structure:

Instead of one DXF per body/part, the goal is to have one DXF file per material + thickness combination, containing all corresponding flat patterns.

This would help to optimize sheet usage and make fabrication drawings more organized.

Would it be possible to implement such a macro or provide guidance on how to adapt the existing one?

Thank you very much!

Ngobien91 avatar Sep 08 '25 07:09 Ngobien91