Cancel
Showing results for 
Search instead for 
Did you mean: 

3D animation, moving machines/ robots

Creator
Creator

I have a robot which im modelling as a singleproc which ive changed the icon to a robot.

I was wondering if it was possible to create a path so that this singleproc moves around in either a circular path or in a square around the shop floor?

Ive created a rotation path 270 degrees for the 'robotmachine' (a singleproc), which is shown in the attached image. However when i run the model the machine doesnt move in this rotation path. Whereabouts do i specify this rotation path for the robotmachine? If this is possible!

many thanks.

6 REPLIES

Re: 3D animation, moving machines/ robots

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

there are two ways: prepare a self animation and play it or you rotate the SingleProc directly.

The position in 3D you can change with _3D.Position

 

e.g.

var i:integer

for i:=0 to 90 loop
	station._3D.rotation:=i
	wait 0.2
	
next

wait 10

for i:=90 downto 0 loop
	station._3D.rotation:=i
	wait 0.2
	
next

for i:=0 to 10 loop
	station._3D.Position := [0,i,0]
	wait 1
next
Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net

Re: 3D animation, moving machines/ robots

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

one attachment

for playing your Animation you need two commands:
station._3D.selfAnimations.yourAnimation.shedule
station._3D.selfAnimations.yourAnimation.play

Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net

Re: 3D animation, moving machines/ robots

Phenom
Phenom

Re: 3D animation, moving machines/ robots

Creator
Creator
Great thank you for your help!
Kind Regards, Victoria

Re: 3D animation, moving machines/ robots

Creator
Creator
Thank you for sending over the link.
Kind Regards, Victoria

Re: 3D animation, moving machines/ robots

Siemens Phenom Siemens Phenom
Siemens Phenom

To play a single (stored) self animation, you just need to call

station._3D.selfAnimations.yourAnimation.play

This is equivalent to the sequence

station._3D.selfAnimations.reset

station._3D.selfAnimations.yourAnimation.schedule

station._3D.selfAnimations.play

 

Additional hint:

To make you machine animation more flexible, I would suggest considering scheduleTranslation and scheduleRotation.

That way, you can create an animation sequence that depends on input parameters compared to a fixed animation path,

Did you like the answer? Then click the Thumbs Up button.
Did the answer solve your problem? Then accept the answer as solution