Roland's homepage

My random knot in the Web

dxftools

Introduction

The purpose of the 'dxfgerber' program is to generate optimized DXF files for processing on a Gerber cutting machine. The software for this cutter is apparently not very intelligent and doesn't seem able to sort line and arc entities in a DXF file in a relevant order.

This software does two things;
  • Look for lines and arcs that fit end-to-end (contours) and write them out in the correct order.
  • Sort contours, remaining lines and arc in ascending order of their bounding box, sorting first on the y-coordinate, then on the x-coordinate.

There is also a related program that generates nc code for the Gerber cutter directly. This has not been tested yet.

Download

The latest version:

source archive:dxftools-1.1.zip
GPG signature:
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iEYEABECAAYFAlABeegACgkQEnfvsMMhpyUUPgCgiLc/3ldbV3CutLM5G6w4oKfS
qMgAoJIj8XmixOMw58uXiOJKcPJFhwBi
=awQ8
-----END PGP SIGNATURE-----
SHA256 checksum:
 7c5db035560c5d0a319bb8b612c3c8cd64ebb9b2a289d81dd00e5680b257934c
Requirements:python