Comment 11 for bug 1308986

Revision history for this message
dormouse (dormouse) wrote :

Is there a way to perform Edit > Clone > Unlink action from python interface?

Also: please make small correction to dxf_input.py - remove stroke from style when cheating DXF-point arrow:
in section def generate_gcodetools_point(xc, yc):
    path= 'm %s,%s 2.9375,-6.34375 0.8125,1.90625 6.84375,-6.84375 0,0 0.6875,0.6875 -6.84375,6.84375 1.90625,0.8125 z' % (xc,yc)
    attribs = {'d': path, inkex.addNS('dxfpoint','inkscape'):'1', 'style': 'stroke:#ff0000;fill:#ff0000'}
    inkex.etree.SubElement(layer, 'path', attribs)

New style shoud be 'stroke:none;fill:#ff0000'

The reason: "filled arrow'a area" points to exact original DXF point location, but the "stroke outline" jumps over by the stroke width.