Jump to content

How to batch export curves into single DXF file


ikatz001

Recommended Posts

Hi,

I have a pretty simple setup. A file node to a polyslice. I am slicing the file into N curves (200 in this case, but could be many more). I need each curve to be saved out as a single curve DXF file (which I will use in a laser cutter to cut the shape).

If I try to just save the geo as is it will export all curves on camera viewport. I need a single curve on a specific axis (top down). 

Can't figure out a way to do this - clearly I'm no expert as there must be an easy solution. Thanks for the help! 

WhatsApp Image 2025-12-28 at 11.03.20 AM.jpeg

WhatsApp Image 2025-12-28 at 11.05.23 AM.jpeg

Link to comment
Share on other sites

Totally possible using this neat trick

Basically, polyslice -> clean up -> UVLayout on some input grids -> export as OBJ of DXF

I attached the resulting OBJ and DXF files, which is a collection of curves laid out on  0.61m  x 1.2m rectangles ( like a standard plywood sheet)

The tricky part is to prepare the result of Labs polyslice for UVLayout consumption..

Other than that it's straightforward. UVLayout is not a world class bin packer, but it should do the job. You can always repack the curves afterwards once you've left H and you're in your CNC software.

 

cutList.dxf cutList.obj

workflow.png

Also, OBJ supports groups.

Whatever groups are in the SOP you export, you will have them in OBJ as groups, or as LAYERS in DXF (I know less about that format though)

That should be more than enough if you maybe need to split them further in a shell (a script in a terminal), or maybe the CNC software can deal with that.

 

Edited by AntoineSfx
  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...