FS#118addBoundary and hatchData fails silently
- Type
- Bug
- Status
- Closed
- Resolution
- Fixed
- Category
- QCAD (main)
- Severity
- Low
- Priority
- Low
- Reported version
- Development
- Operating system
- All
- Reported
- 2011-06-22 by hungerburg
- Closed
- 2011-06-27 by andrew
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?
Closure comment
Polylines can be used as (part of a) hatch boundary in TP2.