COMPGROUPS.NET | Search | Post Question | Groups | Stream | About | Register

### defining ellipses or parabolas using equations

• Email
• Follow

```I have a requirement that needs me to input an ellipse and/or a
parabola via a particular set of equations, is there any way to do
this in solidworks? does solidworks allow the user to input geometric
data via equation?

thanks
```
 0

See related articles to this posting

```Asmodeus wrote:
> I have a requirement that needs me to input an ellipse and/or a
> parabola via a particular set of equations, is there any way to do
> this in solidworks? does solidworks allow the user to input geometric
> data via equation?
>
> thanks

Do a search in the SolidWorks Help file for "equations" and "curves,
through XYZ points". The later allows you to import data created in Excel.

John Layne
www.solidengineering.co.nz
```
 0

```Yes.  Since ellipses and parabolas are governed by simple equations.

What form of ellipse and parabola equations are you trying to use?
Ellipses are easy to govern by major and minor axes.  Parabolas have
control poits for focus and apex.  Also, you can constrain an ellipse
or parabola curve to be coincident with predefined points (with
positions controlled by dmensions driven by equation).

As for the generic equation control, SW can control any individual
dimension by equation.  SW is ow also capable of using
constants/variables for use in other equations.

```
 0

```Why not use the equations for an ellipse to find the major and minor
diameters and then adjust the dimensions. Plotting points to get  built
in geometry just doesn't make sense.

```
 0

```I would add the data directly to the SW database using a simple VB
interface, possibly even create an add-in if you do it enough.

Check out the VB calls for parabola and ellipse, then create your VB
equations in VB with the appropriate inputs.  This would allow you to easily
create exactly what you need without worrying about the subtleties of XYZ
point splines.

At a minimum I would do what That70sTick and TOP suggested.

Use real geometry not splines when you can.

"Asmodeus" <asmodeus@hell.com> wrote in message
news:h7bko11tjkthchsuvau0inol57tv0c5fi6@4ax.com...
>I have a requirement that needs me to input an ellipse and/or a
> parabola via a particular set of equations, is there any way to do
> this in solidworks? does solidworks allow the user to input geometric
> data via equation?
>
> thanks

```
 0

```http://mysite.verizon.net/mjlombard/Macros/eqcurve.zip

Ken

```
 0

```A good bit of programming, but not always fit for drawing conics
(parabolas, ellipses).

Experiment: use eqcurve to draw a y = x^2 curve from x=0 to x=5 with
intervals of 1.0 (6 points).  In another sketch, overlay a parabola,
match spline endpoints and put the focus on the line x=0 (= right
plane).  You will see that the spline points are in the right place,
but the spline curve weaves back and forth across the parabola.  Also,
the slope of the spline at any given point is not correct (slope of
y=x^2 parabola at point x: dy/dx = 2x).

```
 0

```In article <1133276950.194086.28620@z14g2000cwz.googlegroups.com>, rol4
@liquidschwarz.com says...
> A good bit of programming, but not always fit for drawing conics
> (parabolas, ellipses).
>
> Experiment: use eqcurve to draw a y = x^2 curve from x=0 to x=5 with
> intervals of 1.0 (6 points).  In another sketch, overlay a parabola,
> match spline endpoints and put the focus on the line x=0 (= right
> plane).  You will see that the spline points are in the right place,
> but the spline curve weaves back and forth across the parabola.  Also,
> the slope of the spline at any given point is not correct (slope of
> y=x^2 parabola at point x: dy/dx = 2x).

I wasn't going to post a link to my macro because I didn't think it was
appropriate, but someone else did, so I'd better chime in.

As always, there are appropriate ways and times to use tools, and it's
not fair to just plug something in at random and say "see, it sucks" and
leave it at that.

Splines interpolate between points, and the macro gives you the option
to set point density.  A spline plotted by points will never be as
accurate (particularly at the ends) as the real curve type itself, but
the accuracy can be improved by increasing the point density and
building it bigger than it needs to be.

Still, I'd draw a regular elipse or parabola and use native SW equations
or Excel to locate the axis points and/or center, like other people have

Matt
```
 0

```Defintiely not trying to slam Matt's program.  I was 100% sincere when
I said it was good work.

```
 0

8 Replies
509 Views

Similar Articles

12/7/2013 8:26:15 AM
page loaded in 32748 ms. (0)

Similar Artilces:

Using jump command
Hello. can someone please explain me the different between regular jmp command and the condition jump command (jne,je....). How far can each one of them jump and why do I get "out of range" message when using the condition jump ? Shlomy. .. -- ################# FREE RON ARAD ################# shlomys@inter.net.il news:bo0eb7\$vm8\$1@news.inter.net.il > between regular jmp > command and the condition jump command (jne,je....) jne, je etc. are conditional jumps, that do or do NOT jump - depend on result of last operation (stored in processor flag register). AFAIR... the different between regular jmp > command and the condition jump command (jne,je....). How far can each > one of them jump and why do I get "out of range" message when using > the condition jump ? http://developer.intel.com/design/pentium4/manuals/245471.htm I assume you are limiting the instruction set to 8086 (16-bit only), so forget 32-bit displacements. "Shlomy Shivek" <shlomys@inter.net.il> wrote in message news:bo0eb7\$vm8\$1@news.inter.net.il... > > Hello. > > can someone please explain me the different between regular jmp > command

using WWW::Mechanize on activestate
bundles, so I needed it off the web. > > I think activestate made a less-than-effective install, as when I was done > with it, it didn't have a Mechanize.pm in it anywhere. So I download > Mechanize.pm from cpan and put it in the WWW folder. > > Now my error is: > > C:\MinGW\source> perl goog2.pl > Can't locate HTTP/Response/Encoding.pm in @INC (@INC contains: Either install WWW::Mechanize using ppm, or ditch AS Perl, install Strawberry Perl from strawberryperl.com, and install WWW::Mechanize using CPAN. It's never worth trying to install CPAN... WWW::Mechanize, but then a program using that module couldn't find it. Correct? If so, the problem you need to solve is why your usage of ppm isn't meeting your expectations. Simply copying Mechanize.pm isn't going to solve this problem and even if it did, it would be unlikely to work for the next module. I've never seen ppm claim to install a module and not actually do it, so I would first check that you are using ppm correctly. Have you used it to successfully install another module that you knew wasn't in the AS core on this machine before? Do you have more