how to get a sweepnurb's scale at a certain point



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 11/05/2010 at 13:52, xxxxxxxx wrote:

    User Information:
    Cinema 4D Version:   r11 
    Platform:      
    Language(s) :     C++  ;

    ---------
    hi there,

    can someone roughly point me to how i can get the scale at a certain position of a sweepnurb?
    that would be really cool, as i only know how to do it if i have created the sweepscale myself, but for a standard sweepnurbs i dont have a clue how to get it and where to find it.

    thanks in advance.

    cheers,
    ello



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 12/05/2010 at 01:54, xxxxxxxx wrote:

    What you can try is to get the SplineData of the Scale SplineCustomGui parameter (SWEEPOBJECT_SPLINESCALE). Also you have to take into account the End Scale parameter which is just a linear interpolation along the spline. I think the Sweep NURBS is using uniform spline distribution for the scaling of the sweep.

    cheers,
    Matthias



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 12/05/2010 at 02:18, xxxxxxxx wrote:

    thanks for your reply. i'll do it like this


Log in to reply