How do I enter a parametric equation in x, y, z into the equation editor. Is there a particular format that works? How about for r, theta, phi or r, theta , z?
Start a new part.
Click the insert tab, select 3D sketch.
Now left click out in the work field, and select Equation driven curve ...
That's all i've got :-)
I don't use equations, so I'm not going to be of much help, but perhaps my answer will prompt someone more knowledgeable to kick in.
What do you mean when you say parametric? I have seen people set up equations like x=f(t), y=g(t), z=h(t). Is that what you are referring to?
I don't believe SolidWorks knows about spherical or cylindrical coordinates, only Cartesion.
Is this what you are looking for?
a is the angle; returns the sine ratio
a is the angle; returns the cosine ratio
a is the angle; returns the tangent ratio
a is the angle; returns the secant ratio
a is the angle; returns the cosecant ratio
a is the angle; returns the cotangent ratio
a is the sine ratio; returns the angle
a is the cosine ratio; returns the angle
a is the tangent ratio; returns the angle
a is the secant ratio; returns the angle
a is the cosecant ratio; returns the angle
a is the cotangent ratio; returns the angle
returns the absolute value of a
returns e raised to the power of n
returns the natural log of a to the base e
returns the square root of a
returns a as an integer
returns the sign of a as -1 or 1
For example: sgn(-21) returns -1
ratio of the circumference to the diameter of a circle (3.14...)
Hi Jerry and Jason,
Yes that is how a parametric equation is stated. And yes those are the standard functions. My old CAD system, Vectorworks which I still have, allows me to create a 3d surface using parametric equations. I have to write a script to do it but it works pretty good. I used it to create a turbine blade by formula. In the script I can enter commands to "place a point" etc with fields for x, y, z which is where the formula goes. Their commands are openly available. I see no such functionality in Solidworks which I though was a superior system when I bought it. So now I have to create my blades in Vectorworks and export the surface into Solidworks. It is a compund curve so I can't just draw it on a plane and project it.
yes, SW does not currently have an equation driven surface feature.
you can, as Jerry mentions, do an equation driven curve. and you could connect some of these in a loft or boundary surface/solid.
Yes, that does work and yes I was able to create a surface and solid. But when I entered the mirror equations to create the other side someting strange happened. There are two curves, differing only in their radius. One came out correct, the other has the correct start and end points but curves in the opposote direction. I've tried a dozen variations, no luck. Each of the three equations has a coefficient for the radius. That's the only difference between the two equations.
There is a macro that you can get, I don't know if it would help, it's in this thread:
Retrieving data ...