Multiple animated groups with one click

The ideal place for beginners to get help using SketchUp

Multiple animated groups with one click

Postby phyte » Sun Mar 11, 2018 7:16 pm

Is it possible to run multiple functions with multiple groups?
For example, I want to create one main group containing 3 objects/groups, each subgroup/object should rotate in different position, but they all should run simultaneously on single main group click.
Is this possible?
0

phyte 
 

Re: Multiple animated groups with one click

Postby pilou » Sun Mar 11, 2018 7:59 pm

try animator by Fredo6
0
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

Re: Multiple animated groups with one click

Postby phyte » Sun Mar 11, 2018 8:36 pm

Too complicated for me.
0

phyte 
 

Re: Multiple animated groups with one click

Postby Dave R » Sun Mar 11, 2018 8:58 pm

You could learn how to do it if it's something you need to do. Or you could hire someone else to do it for you.
1
%

(THERE'S NO PLACE LIKE)

G28 X0.0 Y0.0 Z0.0

M30

%
User avatar
Dave R 
Global Moderator
 

Re: Multiple animated groups with one click

Postby phyte » Sun Mar 11, 2018 9:03 pm

Can this be done only with functions?
0

phyte 
 

Re: Multiple animated groups with one click

Postby Dave R » Sun Mar 11, 2018 9:05 pm

phyte wrote:Can this be done only with functions?


What do you mean? What are these "functions" you refer to?
0
%

(THERE'S NO PLACE LIKE)

G28 X0.0 Y0.0 Z0.0

M30

%
User avatar
Dave R 
Global Moderator
 

Re: Multiple animated groups with one click

Postby phyte » Sun Mar 11, 2018 9:48 pm

0

phyte 
 

Re: Multiple animated groups with one click

Postby Dave R » Sun Mar 11, 2018 9:53 pm

According to your profile, you have SketchUp Make. Dynamic Components might work for what you want but you have to have SketchUp Pro to create them.
0
%

(THERE'S NO PLACE LIKE)

G28 X0.0 Y0.0 Z0.0

M30

%
User avatar
Dave R 
Global Moderator
 

Re: Multiple animated groups with one click

Postby phyte » Sun Mar 11, 2018 10:14 pm

I didn't update my profile. I use Pro version but from what I know dynamic components are not necessary for functions and animations. They work also only with groups.
0

phyte 
 

Re: Multiple animated groups with one click

Postby Dave R » Sun Mar 11, 2018 10:20 pm

The functions Help page you linked to is for Dynamic Components.

Dynamic Components work with Components. They aren't called Dynamic Groups.

For animations like you are referring to, you don't have to use Dynamic Components. You can use an extension like Animator but either way you'll have to learn how to use whatever you choose. Or you can hire someone to do the work for you.
0
%

(THERE'S NO PLACE LIKE)

G28 X0.0 Y0.0 Z0.0

M30

%
User avatar
Dave R 
Global Moderator
 

Re: Multiple animated groups with one click

Postby phyte » Sun Mar 11, 2018 11:06 pm

I mean that the same functions can be used for components and groups.
0

phyte 
 

Re: Multiple animated groups with one click

Postby Dave R » Sun Mar 11, 2018 11:13 pm

Yes. When making Dynamic Components those functions can be used.

You should get on with doing it. You'd have had it done before now if you'd gotten down to it.
0
%

(THERE'S NO PLACE LIKE)

G28 X0.0 Y0.0 Z0.0

M30

%
User avatar
Dave R 
Global Moderator
 

Re: Multiple animated groups with one click

Postby pcmoor » Mon Mar 12, 2018 7:42 am

You could upload a model with some commentary on how it should work
0

pcmoor 
 

Re: Multiple animated groups with one click

Postby phyte » Wed Mar 14, 2018 12:22 am

Dave R wrote:When making Dynamic Components those functions can be used.
I mean that those functions can be used also for pure groups (without components).
Anyway, I want for example:
1. one click on the object (left) causes rotation of each subgroup (right)

2. first click on the object causes rotation of the object on one axis, second click causes rotation on the second axis, third click causes scaling

Is this possible to do in SU without plugins?
0

phyte 
 

Re: Multiple animated groups with one click

Postby pilou » Wed Mar 14, 2018 1:05 am

Surely in Dynamic components (with Pro Version of SU)
But you must make a light coding!
0
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

Re: Multiple animated groups with one click

Postby ntxdave » Wed Mar 14, 2018 1:22 am

Perhaps you should take a look at SimLab Composer.

They have a free version and you can click on objects to animate them.
0
User avatar
ntxdave 
 

Re: Multiple animated groups with one click

Postby pcmoor » Wed Mar 14, 2018 6:09 am

using onclick formula with groups

1. rotation with cumulative angle

2. multi movement with a timeline called num

example1.skp
1

pcmoor 
 

Re: Multiple animated groups with one click

Postby pilou » Wed Mar 14, 2018 9:43 am

Impossible to load this above exemple1 (too recent version) ;)
0
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

Re: Multiple animated groups with one click

Postby pcmoor » Wed Mar 14, 2018 11:37 am

should have known better......
example1.skp
1

pcmoor 
 

Re: Multiple animated groups with one click

Postby pilou » Wed Mar 14, 2018 1:52 pm

Better loading for a more large audiance!! ;)

So Dynamic Components I presume? :)

GIF_clicmove.gif
0
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

Re: Multiple animated groups with one click

Postby phyte » Mon Mar 19, 2018 7:48 pm

Thanks for these models, I've tried to figure it out and implement it to my idea, but still I don't get it. Can you just make that for me?:
1. 3 subgroups with different sizes, same axis
- first click: red, blue rotates by 45, 90, green no change
- second click: going back to start positions (0, 0)

2. 2 subgroups with different sizes, same axis
- first click: red changes its size (2)
- second click: whole group rotates by 90 (3)
- third click: red gets original size (4)
- fourth click: back to start/rotation -90 (1)

3. 2 subgroups with different sizes, same axis
- first click: red changes its size (2)
- second click: red changes its size (3)
- third click: back to start/red changes its size (1)
0

phyte 
 

Re: Multiple animated groups with one click

Postby pcmoor » Wed Mar 21, 2018 1:24 pm

examples 2.skp
0

pcmoor 
 

Re: Multiple animated groups with one click

Postby phyte » Thu Mar 22, 2018 4:01 pm

Thank you, I still can't recreate the same objects having same values.
ad 1: error in
Code: Select all
=-Group!switch*90

ad 2: error in
Code: Select all
=choose(Group!switch,180,180-15*Group!counter,30,30+15*Group!counter)

Also, one more animation:
4. 2 subgroups
- first click [right]: bigger subgroup rotates holding to smaller one, whole group moves to stick with wall object (independent object)
- second click [left]: goes back to 90 rotation and sticks to the wall
0

phyte 
 

Re: Multiple animated groups with one click

Postby pcmoor » Fri Mar 23, 2018 11:14 am

Without the file, I can't be sure, but is the child label "group" as well as the parent? if so then there is a reference to the same. Double click one of the labels and change the name

Capture.PNG



the next
example3.skp
0

pcmoor 
 

Re: Multiple animated groups with one click

Postby phyte » Sat Mar 31, 2018 9:54 pm

Ok, I fixed it and did what I wanted to do (more or less), thanks again.
0

phyte 
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 



 

Return to Newbie Forum

Who is online

Users browsing this forum: Google Bot and 6 guests

Visit our sponsors: