QCAD Bugtracker

  • Status Closed
  • Percent Complete
    100%
  • Task Type Bug Report
  • Category QCAD (main)
  • Assigned To
    Andrew
  • Operating System All
  • Severity Medium
  • Priority Very Low
  • Reported Version Development
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: QCAD Bugtracker
Opened by Anonymous Submitter - 05.08.2011
Last edited by Anonymous Submitter - 05.08.2011

FS#156 - Isometric Projection fails for arc

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 )
Closed by  Anonymous Submitter
05.08.2011 09:59
Reason for closing:  Fixed
Additional comments about closing:  

works now

Admin
Andrew commented on 05.08.2011 08:58

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'?

Anonymous Submitter commented on 05.08.2011 09:08

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

Admin
Andrew commented on 05.08.2011 09:39

I've fixed that. Can you try to regenerate the ECMA wrappers?

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing