Jump to content

I Need Help, B-Spline in AutoCAD 2002


spinecad

Recommended Posts

I know there is a Spline command in the AutoCAD.

 

Can I create a B-spline which has two endpoints and two control points in AutoCAD similar as the one in the Solidworks?

Link to comment
Share on other sites

Yes. Generally, the default setup is Fit but can be changed to CV via the Method option.

 

Command: _spline

Current settings: Method=Fit Knots=Chord

Specify first point or [Method/Degree/Object]: m

Enter spline creation method [Fit/CV] : cv

Link to comment
Share on other sites

Yes. Generally, the default setup is Fit but can be changed to CV via the Method option.

 

Command: _spline

Current settings: Method=Fit Knots=Chord

Specify first point or [Method/Degree/Object]: m

Enter spline creation method [Fit/CV] : cv

 

Since when this feature available in AutoCAD?

Link to comment
Share on other sites

You can draw quadric or cubic b-splines in AutoCAD 2012 so why bother going all the way back to 2002?

 

Here is what you need to do. Use the SPLINETYPE command to change between true quadric b-splines and true cubic b-splines. This is done by setting the value to either 5 (for quadric) or 6 (for cubic). Note that the variable SPLINESEGS controls the fineness of the b-spline. That is it sets the number of line segments in the control frame.

Edited by ReMark
Link to comment
Share on other sites

Since AutoCAD 2000 (maybe earlier) via Splined Polyline as ReMark outlined. Since 2009 (maybe earlier) directly from the Spline command. See attached.

 

Can you please tell me more detail of how to do it?

Link to comment
Share on other sites

In post #2 of this thread I pasted what would be shown in the AutoCAD command line for the procedure. So, essentially, all that needs to be done is start the SPLINE command, AutoCAD will show you the current settings (if everything is still set as AutoCAD’s original default setup you would see this:

 

 

 

Current settings: Method=Fit Knots=Chord

Specify first point or [Method/Degree/Object]:

 

 

 

For a Control Point based spline the Method needs to be changed - type “m” at the prompt and hit the ENTER key.

 

CV is the designation AutoCAD uses for Control Point (CV stands for Control Vertices) – type “cv” then hit the ENTER key.

 

Select the start point, next control point, next control point, end point.

Link to comment
Share on other sites

In post #2 of this thread I pasted what would be shown in the AutoCAD command line for the procedure. So, essentially, all that needs to be done is start the SPLINE command, AutoCAD will show you the current settings (if everything is still set as AutoCAD’s original default setup you would see this:

 

 

 

Current settings: Method=Fit Knots=Chord

Specify first point or [Method/Degree/Object]:

 

For a Control Point based spline the Method needs to be changed - type “m” at the prompt and hit the ENTER key.

 

CV is the designation AutoCAD uses for Control Point (CV stands for Control Vertices) – type “cv” then hit the ENTER key.

 

Select the start point, next control point, next control point, end point.

 

What about the step in AutoCAD 2002?

Link to comment
Share on other sites

Type SPLINETYPE at the Command prompt and make sure it is set to 6. Use the PEDIT command to join the 3 lines in your drawing together into a polyline. Also use the PEDIT command to set the Spline option to the newly created polyline.

 

 

 

You should now have a curve approximating the spline, though is actually multiple small line segments. Those line segments could have been smaller – thus making a better approximation – by modifying the parameters via the SPLINESEGS variable.

 

 

 

If you want better than an approximation, invoke the SPLINE command and use the "Object" option. Now select the multi segment poly to convert it to a Control Vertex Spline.

Link to comment
Share on other sites

Type SPLINETYPE at the Command prompt and make sure it is set to 6. Use the PEDIT command to join the 3 lines in your drawing together into a polyline. Also use the PEDIT command to set the Spline option to the newly created polyline.

 

 

 

You should now have a curve approximating the spline, though is actually multiple small line segments. Those line segments could have been smaller – thus making a better approximation – by modifying the parameters via the SPLINESEGS variable.

 

 

 

If you want better than an approximation, invoke the SPLINE command and use the "Object" option. Now select the multi segment poly to convert it to a Control Vertex Spline.

 

Thank you.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...