News:

All posts discussing pricing or where to buy TurboCAD will be deleted.

Main Menu
TurboCAD 2026 Platinum box
Now available

TurboCAD 2026.2

The latest update for TurboCAD 2026. It installs over any 2026 build and keeps your activation, drawings and settings. Get it from the Start Page or Help > Check for Update.

Is this a BUG?

Started by lemel_man, August 09, 2014, 02:12:47 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

lemel_man

V21.1 PP x64 Bld 35.5.
If I draw a circle, then draw an offset to that circle, and then another offset to that offset, I end up with 3 concentric circles.
If I do the same with an ellipse, I again end up with what appears to be three concentric ellipses, but only the original is an ellipse; the first offset is a spline that looks like an ellipse, and the second offset is two splines that are placed to look like an ellipse. It causes problems with circumference measurements - that's how I noticed it.
Gary Wooding
Win10 64-bit,
TC21.2 x64 Plat, Bld59
TC16.2 Plat, Bld54.0
TCC 3.5

murray dickinson

#1
If you draw an ellipse with proportional relationships to the major and minor axes of a first ellipse, the result isn't an constant offset to the perimeter of the first. If the parameter is for a figure with a constant offset perimeter to an ellipse, the  result can't, itself, be an ellipse. 

lemel_man

You are right, of course, the offset isn't a true ellipse, but its close enough for my purpose.
My point is that the first offset is a continuous spline that approximates an ellipse, the second offset is two separate splines, that together approximate an ellipse. Why two separate splines?
Gary Wooding
Win10 64-bit,
TC21.2 x64 Plat, Bld59
TC16.2 Plat, Bld54.0
TCC 3.5

Andy H

#3
Quote from: lemel_man on August 09, 2014, 08:40:29 AM
My point is that the first offset is a continuous spline that approximates an ellipse, the second offset is two separate splines, that together approximate an ellipse. Why two separate splines?

Maybe one for the wish list if not already there.

** edited **

Are you manually off-setting or using sets, if using like sets = 3 it should create multiple closed splines as it will offset from the original ellipse, but if manually offsetting then -

The second offset as you will know is an offset of the spline not the ellipse, and internally TC has changed the way this is interpreted over the years,  in in some? (checked using v16) earlier versions TC created a closed Bezier when offsetting a closed spline, then it changed to creating a closed spline (checked using v18), then in v19 the offset tool changed.

I don't use 32 bit TC so don't know if there is a difference between 32 and 64, but in 64bit since it came out, offsetting any closed spline creates multiple splines - that is my experience with the tool and I don't know any way to avoid it without first selecting the spline and using convert to arc/polyline before the second offset (then one gets a closed Bezier). 

Andy


Dean

Quote from: lemel_man on August 09, 2014, 08:40:29 AM
You are right, of course, the offset isn't a true ellipse, but its close enough for my purpose.
My point is that the first offset is a continuous spline that approximates an ellipse, the second offset is two separate splines, that together approximate an ellipse. Why two separate splines?

Hi Gary,
It’s just the way it is because as Murray says.  it’s not mathematically correct, Autocad does the same. I created a simple ppm which I find useful sometimes.
> You can either open and  run the attached ppm script in a new drawing or open the attached tcw file.
> Select the ellipse  > copy in place and open the symbol parameters in select info palette
> change the two radii parameters “R1” and “R2” according to your offset value. The“Pos”parameter is the X coordinate. If you explode the ppm it will be an ellipse. There’s also a ppm in the zip folder that creates 3 ellipse’s offset with different radii.
"What do I know, I'm still learning".
Lenovo Legion T5  Intel(R) Core(TM) i7-14th Gen 20 cores Nvidia RTX 4070 Super 16GB Windows 11 home TurboCad 2025 with Animation Lab 6.0

murray dickinson

Quote from: lemel_man on August 09, 2014, 08:40:29 AM
Why two separate splines?

I think it's simply because the first offset is closed at the "north pole" of the figure, and that's a complication that the second and subsequent offsets can ignore with the mirroring, for no significant, if any, loss of accuracy.  There's no downside to using two splines, except arguably aesthetically.

lemel_man

Quote from: Andy H on August 09, 2014, 10:49:41 AM
Are you manually off-setting or using sets, if using like sets = 3 it should create multiple closed splines as it will offset from the original ellipse, but if manually offsetting then -
They were manually offset because they were different amounts. I don't see any intrinsic reason why an offset of a single spline should result in a pair of mirrored splines.
I hate inconsistencies in software.
Gary Wooding
Win10 64-bit,
TC21.2 x64 Plat, Bld59
TC16.2 Plat, Bld54.0
TCC 3.5