On Jul 22, 2015, at 1:14 PM, Gurwinder Singh Bains <gswithba...@gmail.com> 
wrote:

> Hi Sean,
> I'm working elliptical torus, export it but not properly. I want some 
> discission on as below:
> In mged, after running "make eto eto" when I type "l eto" it shows results as

If you run “sed eto”, it should show letters on the eto.  (Run “reject” when 
you are done.)  There is also a little bit of detail on page 263 of 
http://brlcad.org/w/images/c/cf/Introduction_to_MGED.pdf

> Elliptical Torus eto
> V (0, 0, 0)
> N=(0, 0, 1)
> C=(100, 0, 100) mag=141.121
> r=400
> d=50
> 
> here C is the major axis of the ellipse and D is Elliptical semi-minor axis.

Yes.

> How it is using ellipse for torus?

A torus is defined by an ellipse being swept/rotated along a circular path.  An 
elliptical torus is defined by an ellipse (a 2D shape) with a vector C — and 
the d value determines how wide/skinny it is.

> Why vector is required for major axis and for minor it requires magnitude?

We need only one vector to orient the ellipse.  The other axis (the semi-minor 
axis) must be orthogonal to C, and that is easily calculated.  We just need to 
know how long that orthogonal vector is, and that’s the ‘d’ value.

Cheers!
Sean


------------------------------------------------------------------------------
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to