QCAD

QCAD - 2D CAD System.

Click here for a documentation of the DokuWiki formatting syntax that can be used in reports

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)

Tasklist

FS#118 - addBoundary and hatchData fails silently

Attached to Project: QCAD
Opened by Peter (hungerburg) - Wednesday, 22 June 2011, 11:13 GMT+1
Last edited by Andrew (andrew) - Monday, 27 June 2011, 14:07 GMT+1
Task Type Bug Report
Category Main
Status Closed
Assigned To Andrew (andrew)
Operating System All
Severity Low
Priority Normal
Reported Version Development
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

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?

This task depends upon

Closed by  Andrew (andrew)
Monday, 27 June 2011, 14:07 GMT+1
Reason for closing:  Fixed
Additional comments about closing:  Polylines can be used as (part of a) hatch boundary in TP2.

Loading...