Skip to content

not-magic/OpenSCAD-DXF-Fixup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 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.
  • QCAD Support

QCAD

Currently supports circle fixup only.

Installing

Copy the OpenSCADFixup folder into your scripts folder.

Running

There is a new menu item Misc | OpenSCAD Fixup | Fixup OpenSCAD Circles which will perform circle detection and replace the OpenSCAD circles with real ones.

Python

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

 
 
 

Contributors