KeyShot Forum

Technical discussions => Animation => Topic started by: gcrawley on July 12, 2012, 05:41:30 AM

Title: rotating part not on x y or z axis
Post by: gcrawley on July 12, 2012, 05:41:30 AM
I am trying to rotate a gear 360 degrees and I have a reference axle for the gear to rotate around. However the axle is positioned at an angle and not on axis X, Y or Z.

It seems that the gear only wants to rotate relative to X, Y, or Z and will not rotate around the axle.

are there any fixes for this?
Title: Re: rotating part not on x y or z axis
Post by: guest84672 on July 13, 2012, 07:25:55 AM
Did you try and pick the axle as a helper object to be used as the center of rotation?
Title: Re: rotating part not on x y or z axis
Post by: gcrawley on July 18, 2012, 03:34:40 AM
Yes, i picked the axle as a helper object, but the gear does not rotate concentric to the axle.

The axle and gear are positioned at angle of about 30 degrees, however a rotation axis must still be selected X,Y or Z
Title: Re: rotating part not on x y or z axis
Post by: guest84672 on July 18, 2012, 11:44:52 AM
Pick "local" instead of "global" when selecting the helper object.
Title: Re: rotating part not on x y or z axis
Post by: gcrawley on July 19, 2012, 01:42:59 AM
'local' did not fix

I've attached the file

Title: Re: rotating part not on x y or z axis
Post by: guest84672 on July 19, 2012, 07:07:08 AM
I can see that the pivot point of the axle is not in the center. Can you send me the original CAD file so we can take a look?

Thanks!
Title: Re: rotating part not on x y or z axis
Post by: gcrawley on July 19, 2012, 08:55:39 AM
iges file attached,
let me know if you need any other file type
Title: Re: rotating part not on x y or z axis
Post by: guest84672 on July 19, 2012, 11:24:19 AM
Can you post the original CATIA assembly, or send it straight to me (thomas@luxion.com)?

Thanks!
Title: Re: rotating part not on x y or z axis
Post by: sdesaulles on January 30, 2013, 08:02:39 AM
Hi, was there a solution to this?  The topic seems to end with a file being sent, and a similar topic has no answer either.

I have a very similar problem (having looked at your file), I want to rotate a sub assembly around a tilted axis, I have created an axle part to be the 'helper', but it seems that regardless what I pick re
Axis orientation: "Original local" or "Global" it still wants to just rotate about the X,Y or Z axis that pass through the middle of the 'helper'.

I had thought that by inclining the 'helper' to a different angle, the 'helper object's axis' would also tip, but it remains resolutely horizontal.

Is there a way to tilt the rotation axis?  it seems like a fairly basic thing to want to do.  The only way I can think of achieving this at the moment is to tilt the whole model around until the tilted axis I want to use becomes horizontal and try to render it so I can't see any (now not horizontal) horizon in the environment.

Thanks for any steers on this.

Stephen
Title: Re: rotating part not on x y or z axis
Post by: guest84672 on January 30, 2013, 11:52:26 AM
It will always pass through the middle of the helper object. So you need to tilt the helper object. We made some improvements in KeyShot 4 with regards to this.

Thanks for the reminder, I will need to take a look at the model above to see whether this is solved.
Title: Re: rotating part not on x y or z axis
Post by: guest84672 on January 30, 2013, 12:14:36 PM
I looked at it again. I wonder if this has to do with the IGES import itself in this case. It doesn't seem to have any local coordinates per part.
Title: Re: rotating part not on x y or z axis
Post by: sdesaulles on February 08, 2013, 04:40:21 AM
Hi Thomas,

Yes, I understand it will always pass through the middle of the helper object.  And yes, I did tilt the helper object, it then shows a tilted axis, I select it as the helper for the rotation but the rotation still occurs stubbornly around, yes the centre of the helper, but ignoring its tilted axis.

How does the IGES import effect the outcome?  I imported / opened the helper (axle in this case) as a separate  ProE / Creo .prt file and then scaled and tilted it to match the inclined axle in the original assembly.  To zero result as far as I could see.

It seems like a function that many animations would require - for example the wheels of a car spinning when the steering is turned requires a shifted rotation axis for the front wheels relative to the rear ones. 

I have to admit this is only the second time I've really tried to use animation, but I seemed to fall at the first hurdle - last time it was only linear stuff aligned with the 3 major axes so I didn't encounter the limitation.

Should this be possible in 3 and I'm just doing something wrong or do I need to wait for 4?

Thanks

Stephen
Title: Re: rotating part not on x y or z axis
Post by: PhilippeV8 on September 27, 2013, 01:12:51 AM
I need to rotate a door .. how should I do this ?  What is a helper object ?  Is that something only available in animation ?

Would be handy if we could either move the pivot point around without moving the part "enable/disable"-kinda-style ..
Else like "add ground plane" .. "add rotation axis".
Further more "align axis" option to snap it to e.g. centerline of a cilinder etc.
Title: Re: rotating part not on x y or z axis
Post by: OK on December 05, 2014, 05:11:27 AM
Hello,
has this been fixed yet? Or is there a proper way of having a rotation along the axis of the helper object that I'm not seeing?
I kan kind of do it if I just enter the rotation as a function of the xyz axis, but that really is an ugly way and shouldn't be necissary seeing as Keyshot clearly knows the coordinate information of the helper object (as evident from moving using the local axis).

Title: Re: rotating part not on x y or z axis
Post by: Shutterspeed on January 24, 2015, 09:54:24 AM
I am having the same issues!  I am animating SolidWorks 2015 assemblies.  What you need is not a part to locate around but a feature like the face of a diameter.  Picking a separate axis on another part moves the rotation point but that does not have anything to do with the part being rotated.
Title: Re: rotating part not on x y or z axis
Post by: theAVator on July 10, 2015, 07:30:45 AM
Same issue here... any solution on this yet or does anyone know if KS6 will fix this?

I have a driveshaft I am trying to rotate and the ends go all wonky because it is picking the center point of the object and then rotating around a primary coordinate axis (x,y,z), in this case the X axis, instead of the object's center axis. In this case there's about a 10 degree drop from the tranny to the power divider, but when picking the rotation, it finds the center point and aligns that in the X axis. However, the ends of the shaft are up or down from this axis a certain distance, so when they rotate, it's a larger circle of rotation than at the center point. 

Would be nice if instead of picking the center point and using a fixed axis, that it would find the center axis of an object or let you pick a surface and align to that, or pick or set a different axis, etc.
Title: Re: rotating part not on x y or z axis
Post by: TpwUK on July 10, 2015, 07:34:51 AM
Yes this is fixed in version 6 - In version 6 you can set the pivot point on the object itself or use another part such as a hinge pin for example :)

Martin
Title: Re: rotating part not on x y or z axis
Post by: sag on November 11, 2015, 03:10:20 AM
Quote from: TpwUK on July 10, 2015, 07:34:51 AM
Yes this is fixed in version 6 - In version 6 you can set the pivot point on the object itself or use another part such as a hinge pin for example :)

Martin

you can change pivot points in version 5 but Axis orientation seem to be set to Global even if you set it to Original local, will there be a fix for this or do we have to wait for a new version.
Just to add, I'm using Keyshot 5 which comes with Solid Edge ST8, when importing assemblies all the parts have the same axis coordinates which is the same as the global axis coordinates.