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)
FS#156 - Isometric Projection fails for arc
Attached to Project:
QCAD
Opened by Martin (martin) - Friday, 05 August 2011, 10:51 GMT+2
Last edited by Martin (martin) - Friday, 05 August 2011, 11:59 GMT+2
Opened by Martin (martin) - Friday, 05 August 2011, 10:51 GMT+2
Last edited by Martin (martin) - Friday, 05 August 2011, 11:59 GMT+2
|
DetailsUncaught exception at scripts/Modify/IsoProject/IsoProject.js:166: TypeError: Result of expression 'shape.approximateWithLines' [undefined] is not a function. 166 var pl = shape.approximateWithLines(this.segmentLength); qsdb> shape RArc(RShape(address: "0xc436c88"), center: RVector(11, 8, 0) , radius: 6.08276 , startAngle: 0 , endAngle: 6.28319 , startPoint: RVector(17.0828, 8, 0) , endPoint: RVector(17.0828, 8, 0) , reversed: false ) |
This task depends upon
Closed by Martin (martin)
Friday, 05 August 2011, 11:59 GMT+2
Reason for closing: Fixed
Additional comments about closing: works now
Friday, 05 August 2011, 11:59 GMT+2
Reason for closing: Fixed
Additional comments about closing: works now
Either the ecma generator fails there or something is not up to date.
Can you check if RArc.srcml, RArc.xml, REcmaArc.cpp contain a method 'approximateWithLines'?
everything below scale() is missing in the xml
virtual bool scale(const RVector& scaleFactors, const RVector& center = RVector());probably the default value, the srcml looks ok
I've fixed that. Can you try to regenerate the ECMA wrappers?