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

Function getBlock

dxf_parser/_importDXF.py:2993–3020  ·  view source on GitHub ↗

Return a DXF block with the contents of the object. It creates a `block` object using `_dxfLibrary.Block`, and then writes the given shape with `writeShape(sh, obj, block, lwPoly)`. Parameters ---------- sh : Part::TopoShape Any shape in the document. obj : App

(sh, obj, lwPoly=False)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

exportFunction · 0.85

Calls 2

getStrGroupFunction · 0.85
writeShapeFunction · 0.85

Tested by

no test coverage detected