FS#156Isometric Projection fails for arc
- Type
- Bug
- Status
- Closed
- Resolution
- Fixed
- Category
- QCAD (main)
- Severity
- Medium
- Priority
- Low
- Reported version
- Development
- Operating system
- All
- Reported
- 2011-08-05 by anonymous
- Closed
- 2011-08-05 by deleted user
Uncaught 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 )
Closure comment
works now
Comments (3)
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
probably the default value, the srcml looks ok
I've fixed that. Can you try to regenerate the ECMA wrappers?