<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Ellipse (again) in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Ellipse-again/m-p/29199#M33228</link>
    <description>&lt;A href="http://www.cut-the-knot.org/proofs/conics.shtml" target="_blank"&gt;This guy&lt;/A&gt; points out, when you cut a cone with a plane you always get an ellipse, and if you use a plane perpendicular to the axis you get a circle, therefore a circle is an ellipse.&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://www.3dsoftware.com/Math/PlaneCurves/EllipseCircleTheorem/" target="_blank"&gt;This&lt;/A&gt; looks like a proof. "In other words, an ellipse is the projection of a circle." Step by step from ellipse equation to circle equation.&lt;BR /&gt;
&lt;BR /&gt;
Interesting.</description>
    <pubDate>Wed, 12 Jul 2006 23:40:37 GMT</pubDate>
    <dc:creator>James Murray</dc:creator>
    <dc:date>2006-07-12T23:40:37Z</dc:date>
    <item>
      <title>Ellipse (again)</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Ellipse-again/m-p/29190#M33219</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;Hello,&lt;BR /&gt;
Today I was informed by Tom Waltz that using the MUL2 command&lt;BR /&gt;
in a 2D script on a command that draws a circle such as CIRCLE2&lt;BR /&gt;
does not make a true ellipse but an approximation.&lt;BR /&gt;
I did a search on GDL TALK using the key word "ellipse"&lt;BR /&gt;
and found a post by Alex Schamenek the text of which follows.&lt;BR /&gt;
&lt;BR /&gt;
-------------------------------------------------------------------------------------&lt;BR /&gt;
"Okay, now I really need to create an ellipse. I know you can fake one by using&lt;BR /&gt;
MUL2 with a circle, but when you explode a stretched object, anything round gets&lt;BR /&gt;
faceted. So I can't just use a MUL2 statement to convert a circle into an&lt;BR /&gt;
ellipse.&lt;BR /&gt;
&lt;BR /&gt;
So PLEASE Graphisoft!!! Provide a way for us script an ellipse, without MUL&lt;BR /&gt;
transformations!!!!"&lt;BR /&gt;
-------------------------------------------------------------------------------------&lt;BR /&gt;
&lt;BR /&gt;
I don't know how many scripts by many different people &lt;BR /&gt;
I have seen that use either the 3D command MUL or &lt;BR /&gt;
the 2D command MUL2 to change a circular object or figure into an elliptical shape. &lt;BR /&gt;
So I am not the ownly one that thought that using a MUL command&lt;BR /&gt;
on a circular shape produced an elliptical shape.&lt;BR /&gt;
&lt;BR /&gt;
The Cartesian formula for an ellipse is&lt;BR /&gt;
"x" squared over "a" squared plus "y" squared over "b" squared equals one&lt;BR /&gt;
&lt;BR /&gt;
I have used this formula to find the the x and y coordinates&lt;BR /&gt;
for points along elliptical curves in several GDL scripts.&lt;BR /&gt;
&lt;BR /&gt;
I am not mathematical enough to write a formula that&lt;BR /&gt;
describes the resultant shape of a circle whose "Y" coordinate values &lt;BR /&gt;
for all points has been multiplied by some factor and then&lt;BR /&gt;
compare this formula with the Cartesian formula to see if&lt;BR /&gt;
they are equivalent.&lt;BR /&gt;
&lt;BR /&gt;
Does any one have more information on these issues ?&lt;BR /&gt;
&lt;BR /&gt;
If what happens when a circular shape is distorted&lt;BR /&gt;
using a Mul command does not produce an ellipse then&lt;BR /&gt;
what does it produce and what is the difference between it&lt;BR /&gt;
and a true ellipse ?&lt;BR /&gt;
&lt;BR /&gt;
Or, said another way, does anyone know how to write a formula that&lt;BR /&gt;
describes the resultant shape of a circle whose "Y" coordinate values &lt;BR /&gt;
for all points have been multiplied by some factor ?&lt;BR /&gt;
&lt;BR /&gt;
Thank you,&lt;BR /&gt;
Peter Devlin&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 12 Jul 2006 00:59:51 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Ellipse-again/m-p/29190#M33219</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-07-12T00:59:51Z</dc:date>
    </item>
    <item>
      <title>Re: Ellipse (again)</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Ellipse-again/m-p/29191#M33220</link>
      <description>Peter, the formula you have is the answer you're looking for! &lt;BR /&gt;
&lt;BR /&gt;
the scripts shall look like this:&lt;BR /&gt;
&lt;BR /&gt;
--------------------------------------------------&lt;BR /&gt;
a0=a/2&lt;BR /&gt;
b0=b/2&lt;BR /&gt;
c=SQR(a0^2-b0^2)&lt;BR /&gt;
&lt;BR /&gt;
DIM x_pos[],y_pos[]&lt;BR /&gt;
&lt;BR /&gt;
n=20&lt;BR /&gt;
delta_x=a/n&lt;BR /&gt;
&lt;BR /&gt;
FOR u=1 TO 2&lt;BR /&gt;
	FOR i=1 TO n+1&lt;BR /&gt;
	&lt;BR /&gt;
		x_pos&lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;=a0-delta_x*(i-1)&lt;BR /&gt;
	&lt;BR /&gt;
		y_pos&lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;=SQR((1-(x_pos&lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;^2)/a0^2)*b0^2)&lt;BR /&gt;
	&lt;BR /&gt;
		hotspot2 x_pos&lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;,y_pos&lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;&lt;BR /&gt;
	&lt;BR /&gt;
	NEXT i&lt;BR /&gt;
MUL2 1,-1&lt;BR /&gt;
NEXT u&lt;BR /&gt;
--------------------------------------------------------------------------- &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_wink.gif" style="display : inline;" /&gt;</description>
      <pubDate>Wed, 12 Jul 2006 04:18:45 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Ellipse-again/m-p/29191#M33220</guid>
      <dc:creator>LiHigh</dc:creator>
      <dc:date>2006-07-12T04:18:45Z</dc:date>
    </item>
    <item>
      <title>Re: Ellipse (again)</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Ellipse-again/m-p/29192#M33221</link>
      <description>Hello LiHigh,&lt;BR /&gt;
Thank you for posting back.&lt;BR /&gt;
It is going to take me a while to understand your script&lt;BR /&gt;
because, as I said, I am not very mathematical.&lt;BR /&gt;
&lt;BR /&gt;
I'm going to copy your script into the 2D script of a new object&lt;BR /&gt;
and see if I can figure it out.&lt;BR /&gt;
&lt;BR /&gt;
Do you know whether a circular shape operated on&lt;BR /&gt;
by a MUL command produces a true ellipse or some other shape ?&lt;BR /&gt;
&lt;BR /&gt;
Thank you,&lt;BR /&gt;
Peter Devlin</description>
      <pubDate>Wed, 12 Jul 2006 04:35:14 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Ellipse-again/m-p/29192#M33221</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-07-12T04:35:14Z</dc:date>
    </item>
    <item>
      <title>Re: Ellipse (again)</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Ellipse-again/m-p/29193#M33222</link>
      <description>Hello LiHigh, &lt;BR /&gt;
I think I understand your script now.&lt;BR /&gt;
I have written something quite similar&lt;BR /&gt;
using the ellipse formula except I did not use an array&lt;BR /&gt;
but used put and get and drew the ellipse as lines segments.&lt;BR /&gt;
I used a much larger "n" value to make the arc look smoother.&lt;BR /&gt;
&lt;BR /&gt;
Using the ellipse formula to draw an ellipse does not answer&lt;BR /&gt;
the question about whether an ellipse drawn by MULing a circle&lt;BR /&gt;
is the same shape (meaning a true ellipse).&lt;BR /&gt;
&lt;BR /&gt;
Thank you,&lt;BR /&gt;
Peter Devlin</description>
      <pubDate>Wed, 12 Jul 2006 05:02:37 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Ellipse-again/m-p/29193#M33222</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-07-12T05:02:37Z</dc:date>
    </item>
    <item>
      <title>Re: Ellipse (again)</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Ellipse-again/m-p/29194#M33223</link>
      <description>Peter,&lt;BR /&gt;
&lt;BR /&gt;
I don't have a proof for it, but intuitively it seems to me that the mul statement should produce a true ellipse. Since an ellipse is just a circle viewed obliquely it makes sense to me that this would be equivalent to a uniform distortion along one axis. There may even be a simple geometric proof for this but I am too tired to think about it right now.</description>
      <pubDate>Wed, 12 Jul 2006 05:57:54 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Ellipse-again/m-p/29194#M33223</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-07-12T05:57:54Z</dc:date>
    </item>
    <item>
      <title>Re: Ellipse (again)</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Ellipse-again/m-p/29195#M33224</link>
      <description>&lt;BLOCKQUOTE&gt;Peter wrote:&lt;BR /&gt;Hello LiHigh, &lt;BR /&gt;
I think I understand your script now.&lt;BR /&gt;
I have written something quite similar&lt;BR /&gt;
using the ellipse formula except I did not use an array&lt;BR /&gt;
but used put and get and drew the ellipse as lines segments.&lt;BR /&gt;
I used a much larger "n" value to make the arc look smoother.&lt;BR /&gt;
&lt;BR /&gt;
Using the ellipse formula to draw an ellipse does not answer&lt;BR /&gt;
the question about whether an ellipse drawn by MULing a circle&lt;BR /&gt;
is the same shape (meaning a true ellipse).&lt;BR /&gt;
&lt;BR /&gt;
Thank you,&lt;BR /&gt;
Peter Devlin&lt;/BLOCKQUOTE&gt;

Oh! sorry, I tought you're talking about the formula.&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;I think ellipse drawn by MULing a circle&lt;BR /&gt;
is infact a true ellipse.&lt;/B&gt;&lt;BR /&gt;
&lt;BR /&gt;
You can double check by adding a equal-size stretched circle to the above script.</description>
      <pubDate>Wed, 12 Jul 2006 06:16:21 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Ellipse-again/m-p/29195#M33224</guid>
      <dc:creator>LiHigh</dc:creator>
      <dc:date>2006-07-12T06:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: Ellipse (again)</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Ellipse-again/m-p/29196#M33225</link>
      <description>You can proof, if ArchiCAD aproximates an ellipse (if there is a need to approxiamte), by drawing it with the mul2 command and overlay it by hotspots. As you can see with e.g. the&lt;A href="http://www.opengdl.org/gdl-de/obj00006.htm" target="_blank"&gt;Ellipse object&lt;/A&gt; it is the same.&lt;BR /&gt;
&lt;BR /&gt;
If you use openGL for the 2D-views: I have mentioned some aberrations if you zoom in a very large scale.&lt;BR /&gt;
If you explode an ellipse object the resulting segment lines (!) can't be a true ellipse, but if you draw the ellipse inside the script not by mul2 but by the formula it wouldn't be even correct as proper object.&lt;BR /&gt;
&lt;BR /&gt;
There was a long thread about the ellipse issue on german GDL Talk. It was for creating true elliptical shapes with prism_ without the mul command. We tried to appriximate with arcs. This works not bad. Not really exact, but very less points than the iterative way with polylines. (For this the EllipsePro object was written for. A case study.)&lt;BR /&gt;
&lt;BR /&gt;
My advice: Use MUL and MUL2. &lt;E&gt;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/E&gt;&lt;BR /&gt;
MHO: Tom fails here. &lt;E&gt;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/E&gt;</description>
      <pubDate>Wed, 12 Jul 2006 06:21:57 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Ellipse-again/m-p/29196#M33225</guid>
      <dc:creator>Frank Beister</dc:creator>
      <dc:date>2006-07-12T06:21:57Z</dc:date>
    </item>
    <item>
      <title>Re: Ellipse (again)</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Ellipse-again/m-p/29197#M33226</link>
      <description>MUL is the way.&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://www.punahou.edu/acad/sanders/geometrypages/GP18Ellipse.html" target="_blank"&gt;Link.&lt;/A&gt; "If the major and minor axes are equal, the ellipse is a circle. Shall we define an ellipse as a distorted circle, then, or the circle as a special case of the ellipse? Either one would be reasonable and useful."</description>
      <pubDate>Wed, 12 Jul 2006 12:25:32 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Ellipse-again/m-p/29197#M33226</guid>
      <dc:creator>James Murray</dc:creator>
      <dc:date>2006-07-12T12:25:32Z</dc:date>
    </item>
    <item>
      <title>Re: Ellipse (again)</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Ellipse-again/m-p/29198#M33227</link>
      <description>Hello to you all and thank you for your interest.&lt;BR /&gt;
&lt;BR /&gt;
There seems to be a consensus here that&lt;BR /&gt;
using the MUL commands on a circular element&lt;BR /&gt;
results in a true ellipse.&lt;BR /&gt;
&lt;BR /&gt;
I have done the test of placing an instance of an object&lt;BR /&gt;
that draws an ellipse by MULing a circle and then making&lt;BR /&gt;
an ellipse with the circle tool with the same dimensions&lt;BR /&gt;
as the object and it appears that the two exactly coincide.&lt;BR /&gt;
&lt;BR /&gt;
That they appear to be the same, to me, does not prove&lt;BR /&gt;
that they are indeed the same.&lt;BR /&gt;
&lt;BR /&gt;
I wish I could figure out a way of writing a formula/equation&lt;BR /&gt;
that mimics what happens when distance values along&lt;BR /&gt;
one axis have a multiplication factor applied to them.&lt;BR /&gt;
Or, more satisfying to me, Matthew's suggestion&lt;BR /&gt;
of a geometric proof.&lt;BR /&gt;
&lt;BR /&gt;
I wish I could read German so I could read the&lt;BR /&gt;
discussion Frank referred to. It sounds fascinating.&lt;BR /&gt;
&lt;BR /&gt;
It appears that, for the moment, we have a consensus&lt;BR /&gt;
but not a proof.&lt;BR /&gt;
&lt;BR /&gt;
I thank you all for your interest and commentary.&lt;BR /&gt;
Peter Devlin</description>
      <pubDate>Wed, 12 Jul 2006 20:34:07 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Ellipse-again/m-p/29198#M33227</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-07-12T20:34:07Z</dc:date>
    </item>
    <item>
      <title>Re: Ellipse (again)</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Ellipse-again/m-p/29199#M33228</link>
      <description>&lt;A href="http://www.cut-the-knot.org/proofs/conics.shtml" target="_blank"&gt;This guy&lt;/A&gt; points out, when you cut a cone with a plane you always get an ellipse, and if you use a plane perpendicular to the axis you get a circle, therefore a circle is an ellipse.&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://www.3dsoftware.com/Math/PlaneCurves/EllipseCircleTheorem/" target="_blank"&gt;This&lt;/A&gt; looks like a proof. "In other words, an ellipse is the projection of a circle." Step by step from ellipse equation to circle equation.&lt;BR /&gt;
&lt;BR /&gt;
Interesting.</description>
      <pubDate>Wed, 12 Jul 2006 23:40:37 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Ellipse-again/m-p/29199#M33228</guid>
      <dc:creator>James Murray</dc:creator>
      <dc:date>2006-07-12T23:40:37Z</dc:date>
    </item>
    <item>
      <title>Re: Ellipse (again)</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Ellipse-again/m-p/29200#M33229</link>
      <description>Hello James,&lt;BR /&gt;
Very interesting indeed.&lt;BR /&gt;
In all the math sites I have gone to it is always stated&lt;BR /&gt;
that a circle is a special case of an ellipse where the&lt;BR /&gt;
the foci are coincident at 0,0 or the center of the ellipse.&lt;BR /&gt;
I would suggest that one could say that if the major axis&lt;BR /&gt;
and minor axis are equal then the ellipse is a circle.&lt;BR /&gt;
&lt;BR /&gt;
On the subject of a mathematical proof that the mul command&lt;BR /&gt;
operating on a circle results in a true ellipse, a man&lt;BR /&gt;
posted to GDL TALK the following code for drawing&lt;BR /&gt;
an ellipse.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
gosub 10&lt;BR /&gt;
rot2 180&lt;BR /&gt;
gosub 10&lt;BR /&gt;
end&lt;BR /&gt;
&lt;BR /&gt;
10:&lt;BR /&gt;
for i=-1 to 1 step .05&lt;BR /&gt;
hotspot2 i, b*sqr(1-(i*i/a*a))&lt;BR /&gt;
next i&lt;BR /&gt;
return&lt;BR /&gt;
&lt;BR /&gt;
I don't understand this code yet&lt;BR /&gt;
but it appears to be in the form&lt;BR /&gt;
where the "Y" values are calculated&lt;BR /&gt;
by multiplying by a factor.&lt;BR /&gt;
&lt;BR /&gt;
I have asked this person to show the&lt;BR /&gt;
steps in the derivation of this code.&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Peter Devlin</description>
      <pubDate>Thu, 13 Jul 2006 00:39:40 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Ellipse-again/m-p/29200#M33229</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-07-13T00:39:40Z</dc:date>
    </item>
    <item>
      <title>Re: Ellipse (again)</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Ellipse-again/m-p/29201#M33230</link>
      <description>&lt;PRE&gt;y=b*sqr(1-(i*i/a*a))&lt;/PRE&gt;

Peter, this equation is equivalent to what we have here.&lt;BR /&gt;
&lt;BR /&gt;
Again, I believe strectched-circle is an ellipse.&lt;BR /&gt;
&lt;BR /&gt;
In order to proof it, we must first define what is an ellipse. The foolowing definition is quoted fron Answer.com: &lt;BR /&gt;
&lt;BR /&gt;
&lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;A plane curve, especially:&lt;BR /&gt;
   1. A conic section whose plane is not parallel to the axis, base, or generatrix of the intersected cone.&lt;BR /&gt;
   2. The locus of points for which the sum of the distances from each point to two fixed points is equal.&lt;BR /&gt;
&lt;BR /&gt;
An ellipse may be uniformly stretched along any axis, in or out of the plane of the ellipse, and it will still be an ellipse. The stretched ellipse will have different properties (perhaps changed eccentricity and semi-major axis length, for instance), but it will still be an ellipse (or a degenerate ellipse: a circle or a line). Similarly, any oblique projection onto a plane results in a conic section. If the projection is a closed curve on the plane, then the curve is an ellipse or a degenerate ellipse.&lt;E&gt;&lt;/E&gt;&lt;BR /&gt;
&lt;BR /&gt;
 &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_wink.gif" style="display : inline;" /&gt;</description>
      <pubDate>Thu, 13 Jul 2006 02:09:00 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Ellipse-again/m-p/29201#M33230</guid>
      <dc:creator>LiHigh</dc:creator>
      <dc:date>2006-07-13T02:09:00Z</dc:date>
    </item>
    <item>
      <title>Re: Ellipse (again)</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Ellipse-again/m-p/29202#M33231</link>
      <description>Hello LiHigh,&lt;BR /&gt;
Then you agree, this man's code is in the form&lt;BR /&gt;
where y values are multiplied by a factor just like Mul .&lt;BR /&gt;
Then we have a proof that a mul operation performed &lt;BR /&gt;
on the values along one axis of a circle &lt;BR /&gt;
indeed generates a true ellipse.&lt;BR /&gt;
&lt;BR /&gt;
To be complete, all that needs to be done is transform &lt;BR /&gt;
this equation y=b*sqr(1-(i*i/a*a))&lt;BR /&gt;
into the Cartesian equation for an ellipse.&lt;BR /&gt;
&lt;BR /&gt;
Intuitively, it seemed that it had to be true&lt;BR /&gt;
but I had not satisfied myself that it could be proved.&lt;BR /&gt;
&lt;BR /&gt;
I, for one, am relieved and pleased.&lt;BR /&gt;
&lt;BR /&gt;
Thank you LiHigh,&lt;BR /&gt;
Peter Devlin</description>
      <pubDate>Thu, 13 Jul 2006 02:44:45 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Ellipse-again/m-p/29202#M33231</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-07-13T02:44:45Z</dc:date>
    </item>
    <item>
      <title>Re: Ellipse (again)</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Ellipse-again/m-p/29203#M33232</link>
      <description>Hi Peter,&lt;BR /&gt;
&lt;BR /&gt;
try the attached one, is a "dirty" experiment made in some minutes... it can be improved but it could be a could start for you.&lt;BR /&gt;
&lt;BR /&gt;
Friendly&lt;BR /&gt;
Fabrizio</description>
      <pubDate>Thu, 13 Jul 2006 08:32:03 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Ellipse-again/m-p/29203#M33232</guid>
      <dc:creator>Fabrizio Diodati</dc:creator>
      <dc:date>2006-07-13T08:32:03Z</dc:date>
    </item>
    <item>
      <title>Re: Ellipse (again)</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Ellipse-again/m-p/29204#M33233</link>
      <description>Hello Fabrizio,&lt;BR /&gt;
Thank you for the object.&lt;BR /&gt;
Nice touch with the extra hotspots where the curve gets tight.&lt;BR /&gt;
The object is drawn using the Cartesian equation for an ellipse&lt;BR /&gt;
I have several of them now including a few I have made.&lt;BR /&gt;
&lt;BR /&gt;
The man who wrote the code that used the equation&lt;BR /&gt;
 y=b*sqr(1-(i*i/a*a))&lt;BR /&gt;
posted back with the derivation. He said:&lt;BR /&gt;
&lt;BR /&gt;
Hello peter&lt;BR /&gt;
&lt;BR /&gt;
thse script is derived from x^2/a^2 + y^2/b^2 = 1&lt;BR /&gt;
&lt;BR /&gt;
x^2/a^2 + y^2/b^2 = 1&lt;BR /&gt;
y^2/b^2=1-x^2/a^2&lt;BR /&gt;
y^2=(1-x^2/a^2)/b^2&lt;BR /&gt;
y=sqr((1-x^2/a^2)*b^2)&lt;BR /&gt;
y=sqr((1-x^2/a^2))*b&lt;BR /&gt;
y=b*sqr((1-x^2/a^2))&lt;BR /&gt;
&lt;BR /&gt;
replace y and x by i&lt;BR /&gt;
and the result is&lt;BR /&gt;
&lt;BR /&gt;
i, b*sqr(1-(i^2/a^2))&lt;BR /&gt;
&lt;BR /&gt;
Regards...&lt;BR /&gt;
Eric Wilk&lt;BR /&gt;
Webmaster FC-CadLink.com&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
So the proof is complete.&lt;BR /&gt;
&lt;BR /&gt;
Peter Devlin</description>
      <pubDate>Thu, 13 Jul 2006 18:04:13 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Ellipse-again/m-p/29204#M33233</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-07-13T18:04:13Z</dc:date>
    </item>
  </channel>
</rss>

