QCAD - 2D CAD System.
Please search for existing tasks (also closed ones) before opening a new task.
Please make sure that you are using the latest Version of QCAD before posting a bug (menu Help - Check for Updates)
FS#118 - addBoundary and hatchData fails silently
Opened by Peter (hungerburg) - Wednesday, 22 June 2011, 11:13 GMT+2
Last edited by Andrew (andrew) - Monday, 27 June 2011, 14:07 GMT+2
In scripting hatchData.addBoundary can use any shape, but only some actually produce something useful, eg. this fails silently:
var hatch = new RHatchData(false, 200, 0, "ANSI31"); var polyline = new RPolyline(points, true); hatch.addBoundary(polyline);
Shouldn’t an exception be thrown?
Monday, 27 June 2011, 14:07 GMT+2
Reason for closing: Fixed
Additional comments about closing: Polylines can be used as (part of a) hatch boundary in TP2.