Simplify/reduce points of spline

nilswa
Contributor
Contributor

Simplify/reduce points of spline

nilswa
Contributor
Contributor

I am trying to figure out how I did this. The methods applied to the geometries to the left is what I want to achieve.
What I remember was that drew polylines did  Pedit -> Spline. 1) What I can't figure out is how I managed to get so few control points when offsetting the curve. 2) I also remember that I used some kind degree command to adjust the curve. But I can't get it to work

 

nilswa_2-1666363958467.png

 

 

0 Likes
Reply
5,333 Views
5 Replies
Replies (5)

dmfrazier
Advisor
Advisor

"...how I managed to get so few control points when offsetting the curve..."

 

To help me understand what the issue is, can you tell me how many "control points" you see on the two objects you are comparing?

 

Also, can you post a copy of your DWG?

0 Likes

leeminardi
Mentor
Mentor

Creating a spline by first creating a polyline and the using pedit S will create a degree 3 B-Spline. Note that the property box will show the spline as being a 2D Polyline.  This type of spline was AutoCAD's first implementation of splines in the 1980s.   The number of chords that define the spline is a function of the SPLINESEGS command.  The default value is 8.  After creating a spline from a polyline change splinesegs to 2, use pedit to Decurve then Spline the polyline again and you will see a much more coarse version of the spline.  Using a larger value for splinesegs will display a smoother curve.

 

If  you edit the polyline spline with the splinedit command the spline will be converted to a NURBS (non-uniform Rational B-Spline).  The spline will appear more smooth and you will gain many options for editing the spline.

 

Although a spline my have just a few "control points" (a.k.a. Control Vertices) the offfset command will usually generate a spline with many more CVs that its source spline.  However,  if the pedit-spline was a "fit" spline then the curve is not really a spline but a series of arcs end-to-end and an offset curve will be a pline composed of arcs.

 

I recommend not using polylines to construct a spline.  Use Spline Method Fit to create your first draft of a curved then use splinedit to modify at least one CV (or add a cv).  After this you can easily move CVs to adjust the shape of the spline by just selecting the spline and picking a CV to move.

 

lee.minardi
0 Likes

nilswa
Contributor
Contributor

Ok sorry hope this is more clear

0 Likes

nilswa
Contributor
Contributor
I think I found the method I was looking for! Rebuild, i think, not sure of your thought on using it.
Many thanks for making the distinction between the different curves and what they come from more clear.

lamborsevy
Community Visitor
Community Visitor

Great tool @nilswa ! I've been looking for something like this for my splines! Thanks for that!

0 Likes