Page 1 of 1

Question about shape and depth management.

Posted: Fri Sep 15, 2023 6:53 am
by AlrikJ
Hello everyone.
I'd like to use the same vector layer to draw the shadows of a character, so as not to use a mask.
I'd like these shadows to be above the fill of the shapes below, but below their outline.
Is it possible to create 2 superimposed shapes from a single line?
In this way, I can play with the depth of the shapes and move the fill of one shape to the bottom and its outline to the top.
I've managed to do this a few times, but it doesn't work every time.
I apologize if this isn't clear, it's not easy to explain.

Re: Question about shape and depth management.

Posted: Fri Sep 15, 2023 8:58 am
by mmmaarten
How did you do this before?

Re: Question about shape and depth management.

Posted: Fri Sep 15, 2023 9:29 am
by AlrikJ
I draw an outline, then create a shape from that outline.
I create a new shape from the same outline, this time keeping only the lines I can position over it.
In this way, I can drag a shape between a fill and an outline.
But this doesn't always work.
Sometimes, when I create the second shape, it doesn't create a second superimposed shape but replaces the first.

Re: Question about shape and depth management.

Posted: Fri Sep 15, 2023 9:59 am
by mmmaarten
AlrikJ wrote: Fri Sep 15, 2023 9:29 am Sometimes, when I create the second shape, it doesn't create a second superimposed shape but replaces the first.
Did you try copying first with ctrl+c -> ctrl-v (on windows) before creating the shapes?

Re: Question about shape and depth management.

Posted: Fri Sep 15, 2023 10:09 am
by AlrikJ
I hadn't tried, thinking that you could only copy the contours.
It seems to work, thank you very much for your help.

Re: Question about shape and depth management.

Posted: Fri Sep 15, 2023 10:21 am
by mmmaarten
AlrikJ wrote: Fri Sep 15, 2023 10:09 am It seems to work, thank you very much for your help.
Nice to read it helped!

Re: Question about shape and depth management.

Posted: Fri Sep 15, 2023 10:48 am
by hayasidist
AlrikJ wrote: Fri Sep 15, 2023 6:53 am Hello everyone.
I'd like to use the same vector layer to draw the shadows of a character, so as not to use a mask.
I'd like these shadows to be above the fill of the shapes below, but below their outline.
Is it possible to create 2 superimposed shapes from a single line?
In this way, I can play with the depth of the shapes and move the fill of one shape to the bottom and its outline to the top.
I've managed to do this a few times, but it doesn't work every time.
I apologize if this isn't clear, it's not easy to explain.
Moho won't let you create two shapes from the same set of points (why :roll: ?!). There is a mod to the factory lm_create_shape tool here: https://www.lostmarble.com/forum/viewtopic.php?t=32301 that does let you do as you've asked -- BUT it looks as though it has not yet been updated for 14 - I haven't tried it (doesn't mean it won't work in 14, just means it might not have all the new stuff in it alongside the additional functionality).

Re: Question about shape and depth management.

Posted: Fri Sep 15, 2023 12:38 pm
by AlrikJ
A double huge thank you hayasidist!
For introducing me to scripts in MOHO, and for recommending one that solves my problem perfectly.