Page 1 of 1

Defect: Reverse of spline with 5 control points

Posted: Sat Nov 02, 2013 12:23 pm
by swissguest
The reverse function does not produce correct results for splines with 5 control points - the shape is screwed up since some points are misplaced. Once it happened, the spline cannot be selected any longer.

The same reverse function does work correctly for splines with 4 control points.

Version: 3.4.2.0 (3.4.2)
Build Date: Oct 25 2013

Re: Defect: Reverse of spline with 5 control points

Posted: Sat Nov 02, 2013 12:39 pm
by andrew
Thanks for your report
Can you please indicate what platform you are on (Windows, Mac, Linux, ...)?
I've briefly tried to reproduce this problem but cannot see any defects. It would also be helpful, if you could attach a drawing file to demonstrate the problem.

Re: Defect: Reverse of spline with 5 control points

Posted: Sat Nov 02, 2013 12:41 pm
by swissguest
Ah, sorry, it is on Ubuntu Linux 12.04 64 bit. Will post an example asap.

Re: Defect: Reverse of spline with 5 control points

Posted: Sat Nov 02, 2013 12:56 pm
by swissguest
Please find the demo files attached. I removed all other entities from the project, so only some splines with 5 CPs remain. I included screenshots - in case that you cannot reproduce the reported behavior in the DXFs.

Re: Defect: Reverse of spline with 5 control points

Posted: Sat Nov 02, 2013 1:25 pm
by andrew
Thanks. I've moved this to our bug tracker at:
http://www.qcad.org/bugtracker/index.ph ... ask_id=965

Re: Defect: Reverse of spline with 5 control points

Posted: Sat Nov 02, 2013 1:33 pm
by hungerburg
The splines in your file are of 2nd degree. In my version of qCAD I can only draw splines of this type (splinefit SL) of 3rd degree. Changing the degrees of freedom to 3 in the properties editor makes yours reversible too.

Re: Defect: Reverse of spline with 5 control points

Posted: Sun Nov 03, 2013 2:05 am
by swissguest
Hungerburg, thanks for the suggestion, that works for me in the meantime, and saves the manual reversing procedure.