
CAD discussion forum - ask any CAD-related questions here, share your CAD knowledge on AutoCAD, Inventor, Revit and other Autodesk software with your peers from all over the world. To start a new topic, choose an appropriate forum.
Please abide by the
rules of this forum.
This is a peer-to-peer forum. The forum doesn't replace the official direct technical support provided by ARKANCE for its customers.
How to post questions: register or login, go to the specific forum and click the NEW TOPIC button.
Author |
Topic Search Topic Options
|
javik
Newbie
Joined: 23.Apr.2013
Location: Australia
Using: AutoCAD2011
Status: Offline
Points: 6
|
Topic: Draw Line from natural log functio Posted: 23.Apr.2013 at 07:52 |
Is it possible to draw a line in autocad from a predefined function? For example, natural log?
|
 |
John Connor
Senior Member
Joined: 01.Feb.2011
Location: United States
Using: AutoCAD 2018
Status: Offline
Points: 7175
|
Posted: 23.Apr.2013 at 11:40 |
Take a look at QuickCalc specifically the Scientific Area. Evaluates trigonometric,
logarithmic, exponential, and other expressions commonly associated
with scientific and engineering applications. In (Natural Log)
Specifies the natural
log of the number in the Input box.
|
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."
<<AutoCAD 2015>>
|
 |
heinsite
Senior Member
Joined: 05.Feb.2009
Location: United States
Using: AutoCAD 2014
Status: Offline
Points: 640
|
Posted: 24.Apr.2013 at 07:58 |
Simple answer: No.
A line is a line with a linear distance. You can choose between different units of measurement (inches, feet, meters, parsecs, etc), and you can view/display it later at different scales (1:1, 1/4"=1'0", custom, etc), but you can't draw it in AutoCAD any other way that I'm aware of.
If what you want to do is subdivide a line using some other type of scale, logarithmic for example, you'll need to do the math and provide the ticks yourself.
Dave.
|
Dave Hein, P.E. Hawaii District Engineer Kona International Airport AutoCAD Certified Professional Autodesk Expert Elite
|
 |
John Connor
Senior Member
Joined: 01.Feb.2011
Location: United States
Using: AutoCAD 2018
Status: Offline
Points: 7175
|
Posted: 24.Apr.2013 at 11:58 |
Maybe it could be done using a custom lisp routine?
|
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."
<<AutoCAD 2015>>
|
 |
heinsite
Senior Member
Joined: 05.Feb.2009
Location: United States
Using: AutoCAD 2014
Status: Offline
Points: 640
|
Posted: 24.Apr.2013 at 12:40 |
I'm starting to think we need to drill down to the "why" in this case. Why, for example, would he want to draw a line 2e units long, or ln(7.389) units long? But if he's trying to draw a graphic that will fit on ANSI A paper and he needs to understand how to subdivide the axes to represent a particular order of magnitude of data, then we'll get a clearer picture. But as it stands the question is ambiguous or if not, at least incomplete.
Dave.
|
Dave Hein, P.E. Hawaii District Engineer Kona International Airport AutoCAD Certified Professional Autodesk Expert Elite
|
 |
javik
Newbie
Joined: 23.Apr.2013
Location: Australia
Using: AutoCAD2011
Status: Offline
Points: 6
|
Posted: 25.Apr.2013 at 01:05 |
First year engineering group project. Designing a ferry terminal. Need the pier to be a specific shape.
More specifically the shape above the x axis (if it wasn't clear)
Edited by javik - 25.Apr.2013 at 01:09
|
 |
CarlB
Senior Member
Joined: 16.Oct.2009
Location: United States
Status: Offline
Points: 321
|
Posted: 25.Apr.2013 at 02:19 |
I'd say calculate your y coordinates in Excel, for x values/spacing you specify. In one column, combine your x and y values, separated by a comma, using "&" or "concatenate" function. Then in AutoCAD, start the "pline" command. When prompted for a point, just paste in a selected range of coordinates. Can "pedit" with "fit" for a smoother look.
|
 |
heinsite
Senior Member
Joined: 05.Feb.2009
Location: United States
Using: AutoCAD 2014
Status: Offline
Points: 640
|
Posted: 26.Apr.2013 at 13:41 |
CarlB wrote:
I'd say calculate your y coordinates in Excel, for x values/spacing you specify.In one column, combine your x and y values, separated by a comma, using "&" or "concatenate" function. Then in AutoCAD, start the "pline" command. When prompted for a point, just paste in a selected range of coordinates. Can "pedit" with "fit" for a smoother look. |
Try also simply plotting the points from Excel, and then fit a spline thru them. The concatenate idea works to plot points too which can later be made "invisible" by changing their style. Compare the results with Carl's method above and keep the one you like best. Dave.
Edited by heinsite - 26.Apr.2013 at 13:44
|
Dave Hein, P.E. Hawaii District Engineer Kona International Airport AutoCAD Certified Professional Autodesk Expert Elite
|
 |
CarlB
Senior Member
Joined: 16.Oct.2009
Location: United States
Status: Offline
Points: 321
|
Posted: 26.Apr.2013 at 22:11 |
"Try also simply plotting the points from Excel, and then fit a spline thru them." Dave, how would you do this? I don't know of a simpler way than I described. I described using the "pline" command, but could substitute "spline" as well.
|
 |
javik
Newbie
Joined: 23.Apr.2013
Location: Australia
Using: AutoCAD2011
Status: Offline
Points: 6
|
Posted: 27.Apr.2013 at 02:52 |
Thanks guys for the tips! Been a great help and will post any results!
|
 |