MCPcopy Create free account
hub / github.com/easyw/kicadStepUpMod / drawPolyline

Function drawPolyline

dxf_parser/_importDXF.py:752–877  ·  view source on GitHub ↗

Return a Part shape (Wire, Face, or Shell) from a DXF polyline. It traverses the points of the polyline checking for straight edges, and for curvatures (bulges) between two points. Then it produces `Part.Edges` and `Part.Arcs`, and decides what to output at the end based on the opti

(polyline, forceShape=False, num=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

drawBlockFunction · 0.85
processdxfFunction · 0.85

Calls 5

vecFunction · 0.85
calcBulgeFunction · 0.85
warnFunction · 0.85
rawValueFunction · 0.85
placementFromDXFOCSFunction · 0.85

Tested by

no test coverage detected