Skip to content

Very limited tool for grabbing line segments from pre-curated dxf files and turning them into shapely Polygons.

License

Notifications You must be signed in to change notification settings

Ricyteach/dxf2shapely

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dxf2shapely

Very limited tool for grabbing line segments from pre-curated dxf files and turning them into shapely Polygons.

from dxf2shapely import polygonize_dxf
import shapely.geometry

polygons = polygonize_dxf('some_file.dxf')
assert all(type(p)==shapely.geometry.Polygon for p in polygons) 

About

Very limited tool for grabbing line segments from pre-curated dxf files and turning them into shapely Polygons.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages