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

Function writeShape

dxf_parser/_importDXF.py:3023–3221  ·  view source on GitHub ↗

Write the object's shape contents in the given DXF object. Iterates over the wires (polylines) and lone edges of `sh`. Then it creates DXF object depending of the type of wire, and adds those objects to the `dxfobject` list. If the wire only has one edge and it is of type `'Circle'

(sh, ob, dxfobject, nospline=False, lwPoly=False,
               layer=None, color=None, asis=False)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

getBlockFunction · 0.85
writePanelCutFunction · 0.85
exportFunction · 0.85

Calls 5

getStrGroupFunction · 0.85
getACIFunction · 0.85
getArcDataFunction · 0.85
getWireFunction · 0.85
getSplineSegsFunction · 0.85

Tested by

no test coverage detected