CINEVERSITY

    Maxon Logo
    • Login
    • Search
    • Recent
    • Popular
    • Users
    • Groups

    Round off scale/size, rotation and position values in multiple objects in Cinema 4D.

    Question & Answers
    scale size position procedural
    2
    2
    357
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      birthday-midnight last edited by

      I'm new to Cinema 4D and I need help.
      I use Cinema 4D 2024.
      I need to automatically round the scale/size, rotation and position of the selected objects.
      I have this need because I work with product design.
      Rhino has a similar resource, but I need this feature in Cinema 4D 2024.
      Using a script would be great, but I don't know how to develop scripts or Python.
      It can be script, plugin or tool.

      Any help is welcome.
      Currently I do these modifications manually, one object at a time. 😩
      But it is very difficult in projects with hundreds of geometries.
      So I need to round the scale, rotation and automatically position 3D models imported to Cinema 4D.

      Example:
      Selected geometry in Cinema 4D 2024

      Coordinates:
      X: 24.8033cm
      Y: 22.2041cm
      Z: 21.2099cm

      Rotation:
      X: 0.45°
      Y: 0.11°
      Z: 0.24°

      The result I need:
      Coordinates:
      X: 25cm
      Y: 22cm
      Z: 22cm

      Rotation:
      X: 0°
      Y: 0°
      Z: 0°

      I need this feature to work individually on each of the multiple selection objects.

      Thanks

      1 Reply Last reply Reply Quote
      • Moved from Site Issues by  Dr. Sassi Dr. Sassi 
      • Dr. Sassi
        Dr. Sassi last edited by Dr. Sassi

        Hi birthday-midnight,

        I have moved this to the Q&A as it is no site issue; please check in with the Maxon One app. Please use the Site Issue ONLY for problems with the site itself. Thank you.

        No function would set all objects at once to this.

        You can set up an XPresso with the Objects set to Reference Mode> Relative Reference, so the object in question is used (Where the tag sits). From a Parent, the tag can be distributed. Object Manager> Tag> Copy Tag to Children. Then, if it needs to be removed, you can select all Xpresso tags and delete those. If only these, then provide a specific name to search for this one.

        I have used here a simple position round() formula:
        https://help.maxon.net/c4d/2024/en-us/Default.htm#html/6194.html?Highlight=formula

        More work would be needed, but to test this, this should work.

        CV4_2024_drs_23_XPcv_01.c4d

        All the best

        Dr. Sassi Sassmannshausen Ph.D.
        Senior Trainer, Maxon Master Trainer, L&D - Strategist
        Cinema 4D mentor since 2004, Member of VES, DCS.

        1 Reply Last reply Reply Quote
        • First post
          Last post