Over 1.106.000 registered users (EN+CZ).
AutoCAD tips, Inventor tips, Revit tips, Civil tips, Fusion tips.
Try the new precise Engineering calculator.
New AutoCAD 2026 commands and sys.variables and env.variables,.
Discussion forum
?CAD discussions, advices, exchange of experience
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.
|
Post Reply
|
| Author | |
joefromhersey
Newbie
Joined: 22.Jun.2012 Location: United States Using: Inventor2012 Status: Offline Points: 1 |
Topic: Help with 3DPlotPosted: 24.Jun.2012 at 02:37 |
|
Hi I am pretty new to AutoCad and need some help plotting 3D surfaces from mathematical functions. I downloaded the 3DPlot utility and followed the instructions from this site: http://www.cadstudio.cz/en/apps/3dplot/.
I defined a shape myFunc using: (defun myFunc (x y) (list x y (cos(x)+cos(y)))) However when I try to plot using: (3DPlot myFunc -1.0 1.0 0.1 -1.0 1.0 0.1) I get this error: error: bad function: -1.0 What am I doing wrong? Also would it be possible for me to get repeating units of the function cos(x)+cos(y)? |
|
![]() |
|
Vladimir Michl
Moderator Group
Arkance Systems CZ Joined: 26.Jul.2007 Location: Czech Republic Using: Autodesk software Status: Offline Points: 2144 |
Posted: 17.Jul.2012 at 09:36 |
|
Hi, your function definition is not properly formated in AutoLISP syntax. Assuming you want to draw Z = cos(x) + sin(x), the proper syntax is:
This will draw a part of a 3D sphere.
|
|
|
Vladimir Michl (moderator)
ARKANCE - https://arkance.world - Autodesk Platinum Partner |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
This page was generated in 0,109 seconds.
![CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]](/common/arkance_186.png)


Help with 3DPlot
Topic Options


