Point base Axis Center tool

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Display Modes
  05 May 2011
Point base Axis Center tool

This is point base "Axis Center" tool by XPresso.

Regular tool in CINEMA 4D uses only "edges" or "polygons" to align axis direction.

So in some cases, it can not restore original axis, if the shape and axis were very simple. Please try next case.

Also it can not work with spline objects because they have no edge nor polygon.

In contrast to it, my tool uses only "points" to move axis position or align axis direction.

So if original axis was at center of 2 points, and aimed to 1 point, it can restore the axis.
Also it can work with spline objects.

Explanation movie

Sample file

Last edited by tofuji : 05 May 2011 at 09:07 AM.
  05 May 2011
broken links

Hi, I think this is the kind of help I need to workaround some PLA axis problem I am stack with.
But I cannot access to your links. I do not speak japaness (neither english) to find it at your site.
Could you correct the link?
thank you very much to share with us.
  05 May 2011
I am sorry, I have fixed it. So please try it.
  11 November 2011
I have added some more options for various objects.

sample file

for simple objects.

place axis at peak of objects.

for tube like objects, with parallel lines to Z axis.

for circular truncated cones, without any parallel lines.


11th Moon/ Toshio Fuji/ gtofuji@gmail.com/ 20111122

This XPresso restores axis position and direction, from reference points in the polygon.

1. First, please make a null object named like "axis",
then place it under the polygon object you want to restore axis.

2. Next, apply this XPresso to the "axis".

3. Select 1 or 2 points (A, A and B) and press "get center point" button.
case 1 point; Then the "axis" is moved to the point (A).
case 2 points; Then the "axis" is moved to center of the points ((A + B)/2),
Also X axis is rotated to one of the points (A or B, use "reverse X axis" option to select one).

4. If you selected only 1 point in previous step, Select 1 point (B) and press "get X axis" button.
Then X axis is rotated to the point (B). Else skip this step.

5. Select 1 or 2 point (C, C and D) and press "get Z axis" button.
case 1 point; Then Z axis is rotated to the point (C).
case 2 points; Then Z axis is set to parallel to vector (C - D or D - C, use "reverse Z axis" option to select one).
case 2 points ("use center point" option enabled); Then Z axis is rotated to center of the points ((C + D)/2).

After that, X axis should be rotated from the point (B), to keep axes orthogonal.

Last edited by tofuji : 11 November 2011 at 04:21 AM.
  11 November 2011
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright ©2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 05:18 AM.

Powered by vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.