Shy Shapes??

General Moho topics.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
User avatar
striker2311
Posts: 224
Joined: Wed Aug 26, 2020 3:55 pm

Shy Shapes??

Post by striker2311 »

Hey guys,
I have a question that is there a way to hide shapes just like shy bones and shy points (from an external script). Anything from which we can hide a particular shape from many within a layer only.
If anyone knows any tricks, please tell me. Dealing with many shapes within the same layer is making my workflow quite confusing.
:? :cry:

This pic is just as an example- https://drive.google.com/file/d/1DL35_V ... sp=sharing
User avatar
Greenlaw
Posts: 9269
Joined: Mon Jun 19, 2006 5:45 pm
Location: Los Angeles
Contact:

Re: Shy Shapes??

Post by Greenlaw »

Unfortunatley, Hide Shape and Show All Shapes isn't keyframeable, plus I don't think it keeps track of which shapes have it assigned like Shy Bone does for bones.

So i used a Smart Bone Action to toggle shape visibility. Inside the Action, just keyframe the selected shape's Style>Color>Alpha to go to 0. If you want it to toggle on/off, set the Style's keyframe interpolation to Step.
User avatar
striker2311
Posts: 224
Joined: Wed Aug 26, 2020 3:55 pm

Re: Shy Shapes??

Post by striker2311 »

Greenlaw wrote: Fri Jul 21, 2023 12:33 am Unfortunatley, Hide Shape and Show All Shapes isn't keyframeable, plus I don't think it keeps track of which shapes have it assigned like Shy Bone does for bones.

So i used a Smart Bone Action to toggle shape visibility. Inside the Action, just keyframe the selected shape's Style>Color>Alpha to go to 0. If you want it to toggle on/off, set the Style's keyframe interpolation to Step.
Yeah, Greenlaw, currently I guess there is nothing that keeps track of which shapes were assigned like you said Shy Bones.
There was actually a script which hides points, (its author is Stan)

I dont want shy shapes to animate the shapes but i want it so that i can hide the shape and bind the points to the bones efficiently and fast.
User avatar
SimplSam
Posts: 1048
Joined: Thu Mar 13, 2014 5:09 pm
Location: London, UK
Contact:

Re: Shy Shapes??

Post by SimplSam »

There was a script that provided an update to the Select Shape tool features that allows you to show/hide shapes more easily (last updated 2021). I believe it also uses Alpha (as previously discussed).

https://mohoscripts.com/script/ae_select_shape
Moho 14.1 » Win 11 Pro 64GB » NVIDIA GTX 1080ti 11GB
Moho 14.1 » Mac mini 2012 8GB » macOS 10.15 Catalina
Tube: SimplSam


Sam
User avatar
striker2311
Posts: 224
Joined: Wed Aug 26, 2020 3:55 pm

Re: Shy Shapes??

Post by striker2311 »

SimplSam wrote: Fri Jul 21, 2023 7:25 am There was a script that provided an update to the Select Shape tool features that allows you to show/hide shapes more easily (last updated 2021). I believe it also uses Alpha (as previously discussed).

https://mohoscripts.com/script/ae_select_shape
Thanks SimplSam, this script is awesome like i had wanted, it is hiding the shapes within the same layer, however it isn't working for the shapes for which the styles is created like in those Style 1 and Style 2 option.
is there a way to fix that? It would be great to know if there will be anything. :D
Daxel
Posts: 996
Joined: Wed Mar 27, 2019 8:34 pm

Re: Shy Shapes??

Post by Daxel »

striker2311 wrote: Fri Jul 21, 2023 10:11 am
Thanks SimplSam, this script is awesome like i had wanted, it is hiding the shapes within the same layer, however it isn't working for the shapes for which the styles is created like in those Style 1 and Style 2 option.
is there a way to fix that? It would be great to know if there will be anything. :D

That script is one of my favourites, totally necesary. Select all, select from points, and the on/off... everything should be native.

And yeah the limitation you mentioned about changing shape visibility using alpha bites my ass every day and I don't have any workarround. I just force the colors using the checkmark at the right of the colors in the style panel, so I lose the saved style functionality, so if later on I want to change or animate the saved style I have to manually do it for every shape with forced colors.

To solve this, I would love if we had a shape visibility channel independent of the style. I thought I wrote a proposal for that, but I can't find it so I guess I didn't.

Now that I read your posts again, I see you are not actually looking for visibility animation but more like how shy bones work. The closest I can think of is to use the hide shape feature along with the groups of points feature: select the points of the shapes you want to make shy, then save those points as a "shy shapes hair" group for example. When you want to turn them on/off, now you only have to use the group to select all those points, then go to the select shapes script tool to click on select by points, and then you can use the shortkey for hide shapes. Not perfect, but is the closest I can think of.
User avatar
striker2311
Posts: 224
Joined: Wed Aug 26, 2020 3:55 pm

Re: Shy Shapes??

Post by striker2311 »

Daxel wrote: Fri Jul 21, 2023 11:15 am
Now that I read your posts again, I see you are not actually looking for visibility animation but more like how shy bones work. The closest I can think of is to use the hide shape feature along with the groups of points feature: select the points of the shapes you want to make shy, then save those points as a "shy shapes hair" group for example. When you want to turn them on/off, now you only have to use the group to select all those points, then go to the select shapes script tool to click on select by points, and then you can use the shortkey for hide shapes. Not perfect, but is the closest I can think of.
Thanks Daxel, That sounds like it could work out however, I dont know where is this hide shape feature, can u please guide me on that? It will be a great help :)
Daxel
Posts: 996
Joined: Wed Mar 27, 2019 8:34 pm

Re: Shy Shapes??

Post by Daxel »

striker2311 wrote: Fri Jul 21, 2023 1:45 pm
Thanks Daxel, That sounds like it could work out however, I dont know where is this hide shape feature, can u please guide me on that? It will be a great help :)

Yes, Hide shape and show all shapes are options you can find on Drawing, at the bar at the top, next to Archive and Edit.

I have custom shortcuts for Hide shape (Alt+U) and Show all shapes (Ctrl+U).
User avatar
Greenlaw
Posts: 9269
Joined: Mon Jun 19, 2006 5:45 pm
Location: Los Angeles
Contact:

Re: Shy Shapes??

Post by Greenlaw »

Ooo! I was completely unaware of this tool. I will have to check this out.

Thanks for the tip SimplSam! 😺
User avatar
striker2311
Posts: 224
Joined: Wed Aug 26, 2020 3:55 pm

Re: Shy Shapes??

Post by striker2311 »

Daxel wrote: Fri Jul 21, 2023 4:16 pm
striker2311 wrote: Fri Jul 21, 2023 1:45 pm
Thanks Daxel, That sounds like it could work out however, I dont know where is this hide shape feature, can u please guide me on that? It will be a great help :)

Yes, Hide shape and show all shapes are options you can find on Drawing, at the bar at the top, next to Archive and Edit.

I have custom shortcuts for Hide shape (Alt+U) and Show all shapes (Ctrl+U).
Wooowww, this is great you know i didnt know anything about that tool. This works perfectly. Thanks Daxel :D
User avatar
Greenlaw
Posts: 9269
Joined: Mon Jun 19, 2006 5:45 pm
Location: Los Angeles
Contact:

Re: Shy Shapes??

Post by Greenlaw »

Daxel wrote: Fri Jul 21, 2023 11:15 am Now that I read your posts again, I see you are not actually looking for visibility animation but more like how shy bones work.
Thanks for clarifying this Daxel. I re-read my earlier post and it appears to suggest that Shy Bones is keyframeable, which it isn't of course. Sorry for any confusion that might have caused anyone.

I'll try out your suggestion for 'shy-ing' Shapes. I never used the commands with the Groups options, and it sounds like will do the trick.

(Which reminds me: I would still like to see Bone Groups and the ability to keyframe bone visibility (single and group.) I love Vitruvian Bones because it addresses some of the reasons I wanted these features but not all of them. Just another item for the wishlist.) :)
Post Reply