News:

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

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.

Bezier Curve Problem

Started by minuteman64, April 13, 2023, 01:27:52 PM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

minuteman64

New at working with Bezier curves.  I've drawn one and successfully added a node at a point where I'd like to cut/break the curve.  However, the controls that should allow me to do that appear to be non-responsive.

See attached.  Desired cut/break at arrow.  Why won't the "Break" command work.  Or, is there another way to cut the curve.

John Kohlmeyer

Hi.  Novice here.  I have minimal experience with Bezier curves myself but I played with your drawing a little and this is what I found.  First of all, I am unfamiliar with the Break command in TurboCAD, which is not surprising.  There's no limit to the things I don't know about TurboCAD.  Even a quick Google search yielded nothing.  Maybe it's a version 2022 thing.  I don't have that.

At any rate, I just drew a line across the Bezier and used Trim Entities to eliminate the unwanted piece.  If you want to keep the piece you can also use Split Entity to cut it where you want and then you can select either piece and move it where you want.  Both methods leave a node at the end where it was cut.

Don't know if this addresses your question adequately.  If not, the more experienced users will probably have a much more comprehensive answer.
TurboCAD 2021 Platinum, v28.0 build 81.1
Windows 10 Home
Intel Core i7-9700 3.00 GHz
32 GB RAM
NVIDIA GeForce RTX 2070 SUPER

minuteman64

Quote from: John Kohlmeyer on April 13, 2023, 03:00:44 PMHi.  Novice here.  I have minimal experience with Bezier curves myself but I played with your drawing a little and this is what I found.  First of all, I am unfamiliar with the Break command in TurboCAD, which is not surprising.  There's no limit to the things I don't know about TurboCAD.  Even a quick Google search yielded nothing.  Maybe it's a version 2022 thing.  I don't have that.

At any rate, I just drew a line across the Bezier and used Trim Entities to eliminate the unwanted piece.  If you want to keep the piece you can also use Split Entity to cut it where you want and then you can select either piece and move it where you want.  Both methods leave a node at the end where it was cut.

Don't know if this addresses your question adequately.  If not, the more experienced users will probably have a much more comprehensive answer.


That will do in very nicely.  Thank you (although I'd still like to know what I'm doing wrong with my Bezier editing techniques  :-[ ).

Andy H

Quote from: minuteman64 on April 13, 2023, 01:27:52 PMWhy won't the "Break" command work.  Or, is there another way to cut the curve.

The break command only works on closed entities, so it won't work on open bezier, nor open spline or polyline  Its the opposite to the close command.


murray dickinson

#4
There are two options at the RH end of the edit tool/node edit context on the inspector bar, bottom of the list of the right-click context menu: non-equal and non-smooth.  Select the blue node between the green handles and click either of those, non-equal means the curvature dropoff is different for each side's handle, non-smooth disconnects the linear angle constraint between the handles across the node, making it what's called a "knuckle point".  The curve is connected at the node, but there's no angular constraint between the sides across the node. 
If you really want to "break" the curve at a node, copy it in place and delete the nodes from one side for one copy, the nodes on the other side from the other copy.

minuteman64

Quote from: Andy H on April 13, 2023, 03:21:45 PM
Quote from: minuteman64 on April 13, 2023, 01:27:52 PMWhy won't the "Break" command work.  Or, is there another way to cut the curve.

The break command only works on closed entities, so it won't work on open bezier, nor open spline or polyline  Its the opposite to the close command.



So, I cannot use it to lop off the end of a Bezier Curve that is not closed?  Is the Trim Entity/Split Entity approach then the best way to go?

Andy H

Quote from: minuteman64 on April 13, 2023, 06:01:58 PMSo, I cannot use it to lop off the end of a Bezier Curve that is not closed? 

Correct.

Quote from: minuteman64 on April 13, 2023, 06:01:58 PMIs the Trim Entity/Split Entity approach then the best way to go?

Yes.  BUT.   Whilst TC does a pretty good job of maintaining the curvature, after split or trim.  There are occasions where TC will do something unexpected.  I would suggest, making a copy of the bezier (in place, and possible change its colour), and after trimming, or splitting the original.  Check the curvature hasn't change.  Then delete the copy.   The majority of time TC will get it right.

An advantage of bezier over splines, is that, by manipulating the handles,  one can incorporate multiple sharp corners (not possible with a spline). And by moving the handles, one can virtually create any shape. (though only by editing after creation).

A disadvantage is that it is more fiddly to trace a bitmap image accurately whilst drawing. often requiring rough tracing, then editing to get the final shape.