News:

Please remember to do a search before you ask a question!

Main Menu

Bezier Editing

Started by edbardet, October 15, 2010, 07:45:23 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

edbardet

Maybe everyone knows but ----

I'm drawing a bunch of profiles that are Beziers, from a polyline with some straight sections and 90 degree corners.

I just noticed that when editing the profile that the Bezier handles, as well as control points, respond to snaps. This helps a lot.

Ed
2020 platinum

TomCozzens

Thanks, your right it is good to know
"Be who you are and say what you feel.. because those who mind do not matter, and those who matter do not mind"

9dms9

#2
Does anybody know the weighted formula which uses TurboCAD for bezier handles?

Background is that I find lofting between 2D profiles works much better when the 2D profiles are constructed from beziers rather than polylines, so I'm revisiting a previous design and reconstructing it with beziers.

The tip to snap the drag handles to specific coordinates is very useful and I can trace over arc segments to within hundredths of a millimeter by eye but this takes a relatively long time. Unless I know some more information about how TurboCAD formulates the bezier handle coordinates, this will be the best I can achieve.

I attempted to understand this better by constructing a perfect circle, diameter 10 cm using a closed bezier curve comprising four nodes. I changed the nodes to "equal curvature" and then constructed line segments, placed them at a suitable location and then snapped each bezier drag handle to them. I iterated that line end coordinates at 2.76 cm gives a very tight fit to the pure circle, but I can't derive why this should be so.

I would have guessed that logically, the end of the drag handles would need to be at a coordinate equal to half the radius of a circular arc (2.5 cm in my example) but this isn't the case, it is slightly more. I tried fitting to 2.75 cm but it still needed a bit more to get a tight fit, indicating to me that the weighted formula isn't straightforward.

Can anybody shed some more light on this for me please? File attached. I am using TurboCAD 2016 Pro Platinum version.

Thanks in anticipation.

Doug

nikkipollard

Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h

Henry Hubich

Doug, in what way do you find that lofting between 2D profiles works better when the 2D profiles are constructed from beziers rather than polylines?

Henry H

nikkipollard

#5
You can convert a polyline to a curve which gives you a bezier.
Much easier then doing the maths  yourself
Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h

9dms9

Quote from: Henry Hubich on July 16, 2021, 02:20:33 PM
Doug, in what way do you find that lofting between 2D profiles works better when the 2D profiles are constructed from beziers rather than polylines?

Henry H
(a) The lofting wizard returns a valid result more often.
(b) The resulting solid from the lofting operation is more likely to be smoother/more regular/more like the shape I desire.

Doug

9dms9

Quote from: nikkipollard on July 16, 2021, 10:50:39 PM
You can convert a polyline to a curve which gives you a bezier.
Much easier then doing the maths  yourself
I am constructing the 2D profiles from beziers, not polylines though. I am asking if there is a systematic way of working with beziers, I am not seeking a workaround, but thanks for your comment.

Doug

nikkipollard

#8
Yes I know.
You wanted to know how the maths works to create a circular shape from a bezier. But beziers are complex polynolmials each point you add to the bezier affects the whole shape which makes it difficult to calculate the points without an algorithm see the video
  There is a Turbocad tool which converts a shape to a Curve -or  Bezier/ Try it
Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h