Skip to content

Fixes up DXF exported from OpenSCAD to create circle elements from line groups. This is to make it easier to use services like SendCutSend.

License

Notifications You must be signed in to change notification settings

not-magic/OpenSCAD-DXF-Fixup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

OpenSCAD-DXF-Fixup

Fixes up DXF exported from OpenSCAD to make it easier to use services like SendCutSend, to allow for hardware insertion and bending.

  • Finds circular line groups and replaces them with DXF circles
  • Can merge another dxf that contains skinny rectangles, and will turn them into bend lines. The center of the rectangles on the longest axis is used to place the line.

Dependencies

Usage

Circle detection:

python3 fixup_dxf.py your_file_here.dxf

Adding bend lines:

python3 fixup_dxf.py your_file_here.dxf your_bend_file_here.dxf

A converted file will be saved with _fixed appended to the filename, e.g. your_file_here_fixed.dxf

About

Fixes up DXF exported from OpenSCAD to create circle elements from line groups. This is to make it easier to use services like SendCutSend.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages