CADTutor: The best free help for AutoCAD on the web

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
Go Back   AutoCAD Forums > AutoCAD > AutoCAD 2D Drafting, Object Properties & the Interface

Reply
 
Thread Tools
Old 7th Nov 2009, 09:15 pm   #1
Farid
Forum Newbie
 
Using: AutoCAD 2010
 
Join Date: Nov 2009
Location: Athens, Ohio, USA.
Posts: 5
Default Draw a parabola

I am working on vertical alignment of highways and need to draw draw a vertical, which is a parabola, in AutoCAD 2010. Anyone can help me.
Farid is offline   Reply With Quote
Old 7th Nov 2009, 10:35 pm   #2
ReMark
Quantum Mechanic
 
ReMark's Avatar
 
Using: AutoCAD 2009
 
Computer Details
 
Join Date: Nov 2005
Location: Norwalk, CT USofA
Posts: 10,833
Default

What information do you have to work with? Can you share it with us?

"I have only come here seeking knowledge. Things they wouldn't teach me of in college." The Police

Education is a lifelong process.
ReMark is offline   Reply With Quote
Old 7th Nov 2009, 11:15 pm   #3
CarlB
Super Member
 
Version: not specified
 
Join Date: Jul 2004
Location: Anchorage, Alaska
Posts: 1,909
Default

Discussed in this thread, with link to an earlier thread.
http://www.cadtutor.net/forum/showthread.php?t=28775

"Vertical curves are parabolas, you can draw them by drawing a polyline from endpoint to VPI to endpoint, then PEDIT>>Spline. For it to be a proper parabola, set SPLINETYPE to 5 before pediting, and to get a smooth curve set SPLINESEGS to 15 or higher. (Thanks to rc McSwain for the Spline/parabola info)."
CarlB is offline   Reply With Quote
Old 7th Nov 2009, 11:35 pm   #4
Farid
Forum Newbie
 
Using: AutoCAD 2010
 
Join Date: Nov 2009
Location: Athens, Ohio, USA.
Posts: 5
Default

i have the equation of the parabola, and I know the begging point of the curve, the vertex, and the end point of the curve. It will be very helpful if I can plot the equation. I tried the polyline, and then changed it to spline. But changes it's positing and became smaller.
Farid is offline   Reply With Quote
Old 7th Nov 2009, 11:47 pm   #5
CarlB
Super Member
 
Version: not specified
 
Join Date: Jul 2004
Location: Anchorage, Alaska
Posts: 1,909
Default

If by "vertex" you mean the high or low point of the curve, then yes the curve will be inaccurate after "pedit". it should be initially drawn as two straight segments, from start curve, VPI (intersection of tangents) (VPT) to end of curve.

if you want to plot the curve, you can do the calculations in Excel, with x & y values in adjacent columns; start the pline command, copy & paste values from Excel
CarlB is offline   Reply With Quote
Old 8th Nov 2009, 12:07 am   #6
Farid
Forum Newbie
 
Using: AutoCAD 2010
 
Join Date: Nov 2009
Location: Athens, Ohio, USA.
Posts: 5
Default

yes, exactly. I mean VPI by vertex. If plot that in excel, then I think I won't be able export to AutoCAD so that I continue the further on based on what I exported. It will be only a raster image.
Farid is offline   Reply With Quote
Old 8th Nov 2009, 01:32 am   #7
SEANT
Super Member
 
SEANT's Avatar
 
Using: Mechanical 2009
 
Join Date: Aug 2005
Location: Rhode Island
Posts: 1,182
Default

To expand a bit on the procedure described by CarlB: If the parabola is symmetrical, i.e., the two end points are horizontal and the vertex is above the middle of those two points, then the poly’s 2nd point should be at twice the height of the desired vertex. See Sample.

Additionally, if there exists a sufficient comfort level with installing and running .NET Dlls this thread may be of interest.

http://www.cadtutor.net/forum/showthread.php?t=34370
Attached Files
File Type: dwg PolyParabola.dwg (44.8 KB, 10 views)

Last edited by SEANT : 8th Nov 2009 at 01:43 am.
SEANT is offline   Reply With Quote
Old 8th Nov 2009, 01:52 am   #8
Farid
Forum Newbie
 
Using: AutoCAD 2010
 
Join Date: Nov 2009
Location: Athens, Ohio, USA.
Posts: 5
Default

the parabolas that I am working with are symmetric. what is see in the animation will fit my work, thanks. But is it in AutoCAD? because i could read in the command line "para" and when I tried it in AutoCAD, it does recognize this command. and what is NET Dlls?
Farid is offline   Reply With Quote
Old 8th Nov 2009, 02:32 am   #9
SEANT
Super Member
 
SEANT's Avatar
 
Using: Mechanical 2009
 
Join Date: Aug 2005
Location: Rhode Island
Posts: 1,182
Default

The animation demonstrates a custom routine (written in C#.NET) located in this post of that thread:

http://www.cadtutor.net/forum/showpo...1&postcount=34

To install - Download the attachment, unzip, and locate the file ParabolaByUCS\Release\CsParabola.dll.

In AutoCAD:

Command: Netload

Then find CsParabola.dll

To run:

Command: pbb


The routine will produce a spline. If you prefer Splined 2dPolylines, or if your IT department frowns on third party customization, the process CarlB described, and I illustrated in the DWG above, should produce useful geometry.
SEANT is offline   Reply With Quote
Old 8th Nov 2009, 02:42 am   #10
Farid
Forum Newbie
 
Using: AutoCAD 2010
 
Join Date: Nov 2009
Location: Athens, Ohio, USA.
Posts: 5
Default

Thank you Seant! I'll play with it and if I had a question, I'll again ask.
Farid is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Parabola Issues PhysicsCAD AutoCAD General 7 14th Jul 2009 10:03 pm
Example .NET Jigging: A parabola parable SEANT AutoLISP, VBA, the CUI & Customisation 40 24th May 2009 02:30 am
How to draw a Parabola? Avid Idler AutoCAD General 6 1st May 2007 02:56 pm
Drawing parabola murrief AutoCAD General 5 20th Apr 2006 05:23 am
a question about my lisp program for ploting parabola winglj AutoLISP, VBA, the CUI & Customisation 4 24th Feb 2006 03:23 am

Why Donate?


All times are GMT +1. The time now is 04:17 am.

RSS Feed for AutoCAD ForumsValid XHTML 1.0!Valid CSS!Creative Commons Licence