Page 1 of 1

Splines

Posted: Mon May 21, 2018 11:29 pm
by debenriver
Hi Eric

I found that if you try to draw a parallel to a spline you get a crash, error message:

Screen Shot 2018-05-21 at 19.00.07.png
Screen Shot 2018-05-21 at 19.00.07.png (34.74 KiB) Viewed 5076 times
If you convert the spline to Lines and then back to a Polygon, all is well. :D

If in fact you shouldn't be able to draw a parallel to a spline perhaps a message like "can't draw parallels to splines" or similar would be good.

I only discovered this using my BeamCamber script, which draws cambers as splines (I had forgotten this!); Example below:

Screen Shot 2018-05-21 at 19.10.55.png
Screen Shot 2018-05-21 at 19.10.55.png (42.17 KiB) Viewed 5076 times
Normally BeamCamber saves the camber data as text, loads it into MacSurf and then I import it back again as a dxf file and the spline is a polycurve. But this time I simply wanted to draw a camber directly in RealCADD ...

Cheers -- George

Re: Splines

Posted: Wed May 23, 2018 12:07 pm
by Eric Pousse
Bonjour George,

Can you send me a file which has this problem, please ?
With sample splines, I can't reproduce it.

Thanks.

Re: Splines

Posted: Wed May 23, 2018 3:21 pm
by debenriver
Thanks Eric -- I've emailed it to you!

Strangely, if on that drawing, I draw another spline using the spline tool and draw a parallel to it it is fine – and after I do that I can draw a parallel to my original (BeamCamber created) spline, without a crash. Which is a bit odd ... it seems to "initialize" it somehow.

I guess the splines drawn by the BeamCamber script are slightly different somehow?

Cheers -- ©eorge