Torabi Architect.
Mathcurve Documents Apr 2009
arrowMathCurve Variables.
 

After you create an instance of Mathcurve plug-in in 3ds Max scene, it will make a series of variables in global scope automatically. You can access these variables in all parts of the explicit presentation.

 

mathInstance: (Object)

This variable refrences the current instance of Mathsurf object in memory. Current Mathsurf instance is not necessarily the selected object. The mathinstance return the last generated object that the explicit presentation called. you can refer to all properties inside the mathsurf object using mathInstance.<property>

 

 

U : (Double,read only) 

return the current value of “U” inside current Math object. Using these variables are allowed only inside the expressions and basic formulas.


UIndex : (Integer,read only) 

return the position of current point in interval U from current Math object. Using these variables are allowed only inside the expressions and basic formulas.

DU: (Double,read only)

return the size of segments in the interval U from the current Math object.


uMin ,uMax: (float,read only)

return the left side and right side of interval [uMin,uMax] from current Math object respectively.

Usegments : (integer,read only)

return resolution of the interval of [uMin,uMax] from current Math object (the lenght of each segment).

 

Interval (uMin,uMax)

Note: Always the following equations are hold between the mentioned variables.
du = (uMax-uMin)/usegments  
U= (uMin+uIndex*du)  

transformArray: (Array)

when you need to multiple a curve base on specific transformations the transformArray must be set up. This array includes number of values in type of Matrix3 that distributes the curves to new positions and orientations.
Note: the first element of transformArray always should be Matrix3 1
transformArray[1] = Matrix3 1

helperArray:(Array)

not available in this version!

UseHelperArray: (Boolean)

not available in this version!

 

 

 
arrowPlug-in features.
arrowBack to Index
www.torabiarchitect.com