DXF export order different in Grasshopper than in Rhino

Hi all. I do try to make a definition to export some 2D geometries using Grasshopper but unfortunately it looks like the export order in Grasshopper it is different that the one of the Rhino DXF export.

This is the export from Rhino as DXF file and imported into my CAM software (and what I do need from GH):
Rhino_Export_order_Rh7
Rhino_Export_order_Rh7.dxf (205.6 KB)

and this is the export from Grasshopper, without changing anything and imported into my CAM software:
Rhino_Export_order_Gh
Rhino_Export_order_Gh.dxf (205.5 KB)

What I do need to get the same export order from Grasshopper to be the same as the Rhino one?

DXF export_order.gh (8.8 KB)
DXF_export_order.3dm (75.8 KB)

I do made a test with a reverse list of the IDs but looks like it is not doing anything.
Rhino_Export_order_Gh_reverseList.dxf (205.5 KB)

I’ve changed your topic since this seems to be a problem related to EleFront.

And maybe you’re interested in an alternative solution…

In the past, I’ve also used EleFront extensively to export geometry for CNC / CAM. With the upgrade to Rhino 8, I’ve ditched EleFront and I’m using a script in Rhino to batch export geometry. You can find it in the linked topic below or in other posts by @Helvetosaur

1 Like

Please can you also share a GH definition as I don’t understand how I can run this script from Grasshopper?

You do not run the python script from Grasshopper.

Instead, use the command _RunScript in Rhino and select the script to be run.

You can also create a button which executes the script.

Thank you, but I do need a Grasshopper solution. I do have a Rhino script that it is exporting fine, but I am searching for a Grasshopper solution to automate a little bit the export of a few hundred different files.

1 Like

…I’m also waiting for @AndyPayne to release the Export component in the new Grasshopper Rhino components…