# BAG 0.0.3 *new*

Announcing

Blender Analytical Geometry - BAG 0.0.1

For drawing curves and surfaces starting from their math expression.
Here is demo image (with formula used to obtain it)

-><-

Grab script here

Stefano

New!

Version 0.0.2 online

http://www.selleri.org/Blender/

In scripts section

Docs, constants, error checking, demos, load& save…

Stefano

woah, dude, you are the master

:Z :Z :Z :Z :Z /5 ztonzy’s

(been a while since someone whipped them out, thought i’d bring it back ;))

Thanx Traitor

Here is a new image:

And The XML file to make it

``````
&lt;BAG version="0.0.2"&gt;
&lt;!--
BAG v. 0.0.2 surfaces
A Coil winding around a circle

Defines severa user parameter:

R0 - The radius of the circle around wich the coil winds
R1 - The radius of the winding
R2 - The radius of the circular section of the winding coil

n1 - Number of full spins around the R0 circle along the R0 circle
phi1 - Starting angle for winding

n2 - Number of points in the section of the coil

alpha0 - Exponential decay/amplification in R1
alpha0 - Exponential decay/amplification in R2

Coded by Stefano -S68- Selleri
--&gt;
&lt;Reference&gt;Cylindrical&lt;/Reference&gt;
&lt;F1&gt;
R0 + R1*exp(alpha0*v)*cos(2*3.141592*n1*v+phi1)+R2*exp(alpha1*v)*cos(2*3.141592*n2*u+2*3.141592*n1*v+phi1)
&lt;/F1&gt;
&lt;F2&gt;
2*3.141592*v
&lt;/F2&gt;
&lt;F3&gt;
R1*exp(alpha0*v)*sin(2*3.141592*n1*v+phi1)+R2*exp(alpha1*v)*sin(2*3.141592*n2*u+2*3.141592*n1*v+phi1)
&lt;/F3&gt;
&lt;ParU Min="0.0" Max="1.0"&gt;
12
&lt;/ParU&gt;
&lt;ParV Min="-2.0" Max="1.0"&gt;
72
&lt;/ParV&gt;
&lt;UserPara Name="R0" Value="3.0"&gt;
0
&lt;/UserPara&gt;
&lt;UserPara Name="R1" Value="0.300000011921"&gt;
1
&lt;/UserPara&gt;
&lt;UserPara Name="R2" Value="0.0750000029802"&gt;
2
&lt;/UserPara&gt;
&lt;UserPara Name="n1" Value="3.29999995232"&gt;
3
&lt;/UserPara&gt;
&lt;UserPara Name="phi1" Value="0.0"&gt;
4
&lt;/UserPara&gt;
&lt;UserPara Name="n2" Value="1.0"&gt;
5
&lt;/UserPara&gt;
&lt;UserPara Name="alpha0" Value="1.0"&gt;
6
&lt;/UserPara&gt;
&lt;UserPara Name="alpha1" Value="1.0"&gt;
7
&lt;/UserPara&gt;
&lt;/BAG&gt;

``````

Stefano

Version 0.0.3 online!

Stefano

Nice stuff! It’s a good addition to the Blender arsenal.