AutoCAD - Smoothing a spline

AutoCAD - Smoothing a spline

tecnicoKJFRK
Enthusiast Enthusiast
10,547 Views
10 Replies
Message 1 of 11

AutoCAD - Smoothing a spline

tecnicoKJFRK
Enthusiast
Enthusiast

Hello guys,

I have read a bunch of different posts but I couldn't solve my "easy" problem.

How am I supposed to do smooth this out?

 

tecnicoKJFRK_0-1666624411037.png


Spline edit command doesn't do anything...

 

[ The subject line of this post has been edited to include the product name by @handjonathan ]

0 Likes
10,548 Views
10 Replies
Replies (10)
Message 2 of 11

imadHabash
Mentor
Mentor

Hi,

You may need to use the Fit method. Would you please attache here your CAD dwg for testing?

 

Imad Habash

EESignature

0 Likes
Message 3 of 11

pendean
Community Legend
Community Legend
@tecnicoKJFRK What did you try in SPLINEDIT command and how did it not work exactly?
OR what did you expect it to look like?

Or is that NOT a spline to start with? Your commandline will tell you if there is an error too.

TIA
0 Likes
Message 4 of 11

leeminardi
Mentor
Mentor

It's impossible to tell from the image you posted what you have.  For example, it could be a polyline that has been splined, or even 2 or 3 polylines, or a spline object.   A polyline spline will default to 8 segments for display purposes although the database will define a smooth curve.  Post the file and you'll get better suggestions to smooth the curve.

lee.minardi
0 Likes
Message 5 of 11

tecnicoKJFRK
Enthusiast
Enthusiast
It's actually 3 lines.
The command didn't do anything, I tried all of them in the list...
0 Likes
Message 6 of 11

tecnicoKJFRK
Enthusiast
Enthusiast

dwg file.

Thanks 🙂

0 Likes
Message 7 of 11

tecnicoKJFRK
Enthusiast
Enthusiast
Posted the dwg file.
Thanks 🙂
0 Likes
Message 8 of 11

imadHabash
Mentor
Mentor

Thanks for posting your CAD drawing ..

I'll get back for your previous info ..

>> How am I supposed to do smooth this out? << you have to use SPLINE command.

>> Spline edit command doesn't do anything... << This is because you just have a polylines+Lines objects!!

I suggest to start use SPLINE command and see if it's really help you . 

 

Imad Habash

EESignature

0 Likes
Message 9 of 11

pendean
Community Legend
Community Legend

@tecnicoKJFRK wrote:
It's actually 3 lines.
The command didn't do anything, I tried all of them in the list...

SPLINEDIT command only works on SPLINE objects, not three lines or three anything else.

 

So you started SPLINEDIT command, selected one of the lines, and the commandline (if you looked at it) said "OBJECT IS NOT A SPLINE". What id you want it to do instead? Explain.

OR...

Where you hoping for a quick way to convert LINEs to SPLINEs instead of actually drawing a SPLINE? Was that your intent?
Or where you having difficulties drawing a SPLINE through those points?

Or perhaps you just needed to draw a PLINE through those points then PEDIT that instead?

 

Let us know your intent, what you drew is not what you asked about.

0 Likes
Message 10 of 11

leeminardi
Mentor
Mentor

I'll assume that you want to create a smooth curve that is defined by the end points of the red lines.  Since the lines are not on the z = 0.0 XY plane I would first define a UCS that is coplanar to the geometry.

  1. ucsicon on 
  2. Set the ucs to the geometry.
  3.  Set osnap to Endpoint
  4. Define a layer for the spline (I set it to yellow).
  5. Use spline, Method, Fit to create a spline that passes through the endpoints of the lines.  Also use the top endpoint of the vertical line for a fit point.  Note, in general I like to minimize the number of fit points to ensure a smoother curves.  Too many fit point can present unwanted undulations.
     leeminardi_0-1666705751014.png

     

  6. This is a first draft of the curve.  We now want to adjust it.  Execute the splinedit command then Edit, Add and add a CV near the top.
    leeminardi_2-1666706635037.png

     

  7. Enter X four times to accept the added CV and exit the command.
  8. Since a CV of the spline has been modified you can now simply select the spline and click on a CV to move it.  Move a few CVs to get the spline to a shape you like.  For example, 
     leeminardi_3-1666706870721.png

     

  9. The bottom of the shape has a small radius. 
    leeminardi_4-1666706981061.png
    Using splinedit add a couple of CVs as needed and adjust their location as needed.
    leeminardi_5-1666707209673.png
  10. Here's the final smoothed spline (yellow).
    leeminardi_6-1666707293218.png

     

lee.minardi
0 Likes
Message 11 of 11

evakosog
Community Visitor
Community Visitor

@tecnicoKJFRK There a lot of YouTube Tutorial available on I learnt a lot on YouTube........

0 Likes