Jump to content

timopa

Transfer only Y-axis of multiple objects

Recommended Posts

Hello,
I don`t seem to get my head around this.

 

I want to transfer the axis of multiple objects, so that the object axis is aligned the middle of object in X and Z directions, but in Y axis it should be at the world position zero.

I know how to dot this one object at the time, but I have tens or even hundreds of objects to do.

 

-timopa

 

 

 

Share this post


Link to post
Share on other sites

I don't think that's possible in one go. Our normally excellent Axis Centre tool can only work within local object space, so we can't use that to put Y at World Center. But we can use it to do the X and Z, and so first step is to select all objects, and do that. Then, once done you can close that dialogue, and just activate Axis Mode from the toolbar on the left and whilst it will look like it gives you a single axis at the center of the selected objects, it is actually affecting each axis individually, so drag down on Y (optionally using quantizing) to move them all to world center together.

 

CBR

Share this post


Link to post
Share on other sites

Hi Cerbera and thank you for answer

If I understood you corretly, I have to say that it unfortunately doesn`t work. All the objects are at different height and differ in size.

So after aligning aligning of axes of objects locally (the easy part) the axis are still at different heights in world Y-cordinates, so moving them together doesn`t align them to same world Y-cordinates. And using the scale tool in axis-mode scales also the meshes.

 

Again I could set the axis to Y=0 in coordinates panel indiviually, but not to many objects at the same time

Share this post


Link to post
Share on other sites

Yep, I concur that won't work if they are all at different scales and positions. That's a shame, because I am unaware of any other way, so it looks like you're doing them individually I'm afraid, unless anyone can jump in and think of anything I may have missed...

 

CBR

Share this post


Link to post
Share on other sites

I quess with scripting, expresso or something similar special this could be done.

Share this post


Link to post
Share on other sites

Indeed. You could iterate through the objects setting their Y axis to world 0. There are Xpresso and Python guys here for whom this should be very easy; I'm sure one of them will be along at some point...

 

CBR

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

YOUTUBE CHANNEL:

ABOUT US:

C4D Cafe is the largest CINEMA 4D community. We provide facilities for discussion, showcasing and learning our favorite software :) Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, get your own private messenger, post status updates, manage your profile and much more. If you need to find solution to your problem or otherwise ask for help, Cafe is the right place.
×
×
  • Create New...