GitXplorerGitXplorer
t

dxf_fix

public
1 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
c081506a27379d1c096e8e88f8b1471c95e73f47

Improve readme

tthatch committed 5 years ago
Unverified
094c28d2d8bf7e081285d56fbbfe818b9e453632

Take output file as a `-o` flag

tthatch committed 5 years ago
Unverified
78a8bcda60b5b4fdc984099b98c698d79ef114b3

Format with black

tthatch committed 5 years ago
Unverified
752bd8e44e04f082a551bf051a5318f0a9033cda

Initial commit from tim-open-things with py3 changes

tthatch committed 5 years ago

README

The README file for this repository.

dxf_fix

This uses ezdxf load dxf files, connect individal LINE segments into POLYLINE, and correct their direction based on nesting level (assuming that it represents a 2d shape).

Requirements:

  • Python 2.7 or 3+
  • ezdxf

Usage

dxf_fix in.dxf [ -o out.dxf ] will write out.dxf if provided, otherwise in.dxf.new