Skip to content

Instantly share code, notes, and snippets.

View ambienthack's full-sized avatar

Ambient Hack ambienthack

View GitHub Profile
@augustt198
augustt198 / drl2dxf.py
Created May 29, 2017 04:20
DRL NC file to DXF
from dxfwrite import DXFEngine as dxf
from sys import argv
import re
if len(argv) < 2:
print("Need filename")
in_filename = argv[1]
out_filename = in_filename[:-4] + ".dxf"