goulib.drawing¶
Read/Write and handle vector graphics in .dxf, .svg and .pdf formats
- requires:
svg.path for svg input
matplotlib for bitmap + svg and pdf output
dxfwrite for dxf output
- optional:
dxfgrabber for dxf input
pdfminer.six for pdf input
Functions
|
|
|
build chains from all possible segments in group :param mergeable: function(e1,e2) returning True if entities e1,e2 can be merged |
Classes
|
bounding box |
|
group of contiguous Entities (Polyline or similar) |
|
list of Entities representing a vector graphics drawing |
|
Base class for all drawing entities |
|
group of Entities but it is a Geometry since we can intersect, connect and compute distances between Groups |
|
|
|
a rectangle starting at low/left and going trigowise through top/right |
|
cubic spline segment |
|
|
|
abstract class for iterable Entities |