Scale axis?



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

    On 23/03/2009 at 18:13, xxxxxxxx wrote:

    User Information:
    Cinema 4D Version:   10.1 
    Platform:   Windows  ;   Mac OSX  ; 
    Language(s) :     C++  ;

    ---------
    Hi,

    When the user uses the scale tool while being in the axis mode (not the object or model mode), he can set the scale of an object without changing its look.

    E.g. he has a polygon object scaled to (1.0;0.5;1.0) to flatten it. Then he uses the axis mode to re-set the scale to (1.0;1.0;1.0), and the object stays flat.

    How can I do this from code? I guess it's very simple, but I didn't find out yet.

    Thanks in advance for help!

    Greetings,
    Jack



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

    On 23/03/2009 at 18:58, xxxxxxxx wrote:

    Ah, OK. Got it now :)
    (Thanks again, Dan)

    Greetings,
    Jack



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

    On 13/06/2009 at 16:54, xxxxxxxx wrote:

    hi jack,
    may i ask where you found the solution? i couldnt get it

    cheers and thanks,
    ello



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

    On 14/06/2009 at 02:28, xxxxxxxx wrote:

    You have to scale the object's matrix (just like normal) and then re-scale the geometry to compensate the different object scale. So just iterate through the points and multiply each point coord with the appropriate matrix.

    Greetings,
    Jack



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

    On 14/06/2009 at 06:19, xxxxxxxx wrote:

    thank you!
    thats a pretty complex procedure for a simple c4d action.


Log in to reply