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

Function drawBlock

dxf_parser/_importDXF.py:1497–1624  ·  view source on GitHub ↗

Return a Part Shape (Compound) from a DXF block reference. It inspects the `blockref.entities` for objects of types `'line'`, `'polyline'`, `'lwpolyline'`, `'arc'`, `'circle'`, `'insert'`, `'solid'`, and `'spline'`. If they are found they create shapes with `drawLine`, `drawMesh

(blockref, num=None, createObject=False)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

drawInsertFunction · 0.85
processdxfFunction · 0.85

Calls 12

drawLineFunction · 0.85
drawMeshFunction · 0.85
drawPolylineFunction · 0.85
drawArcFunction · 0.85
drawCircleFunction · 0.85
drawInsertFunction · 0.85
drawSolidFunction · 0.85
drawSplineFunction · 0.85
rawValueFunction · 0.85
addTextFunction · 0.85
warnFunction · 0.85
get_typeMethod · 0.45

Tested by

no test coverage detected