Search found 10 matches

by burans
Tue Jul 04, 2023 3:23 pm
Forum: Scripting
Topic: Clone Curve Tool
Replies: 5
Views: 1247

Re: Clone Curve Tool

Nice.
Accidentally found Meshinstance script by A.Evseeva and it looks like it does exactly what I need.
https://mohoscripts.com/script/ae_meshinstance_tool

I was looking forward to building it out myself but oh well... :)
by burans
Tue Jul 04, 2023 2:29 pm
Forum: Scripting
Topic: Clone Curve Tool
Replies: 5
Views: 1247

Re: Clone Curve Tool

Thanks for the reply @hayasidist! just out of curiosity -- why? A bit more on the background to the effect you're trying to achieve might point to a different solution. Idea for this came from a frustration of not being able to achieve a specific design - multiple overlapping strokes that follow the...
by burans
Tue Jul 04, 2023 1:12 pm
Forum: Scripting
Topic: Clone Curve Tool
Replies: 5
Views: 1247

Re: Clone Curve Tool

Half way there. Looks like the properties I need to copy over are point position, weight and offset. if (moho.frame == 0) then followLayer, curveID, segID = mouseEvent.view:PickGlobalEdge(mouseEvent.pt, curveID, segID) if (curveID >= 0) then local meshLayer = moho:LayerAsVector(followLayer) local me...
by burans
Tue Jul 04, 2023 12:02 pm
Forum: Scripting
Topic: Clone Curve Tool
Replies: 5
Views: 1247

Re: Clone Curve Tool

Here are the guts of the script so far. It works (the curve shape is cloned correctly) sometimes but I don't really understand how, why and why only sometimes. 1. I have closed curves with equal amount of points in layers A and B. 2. If I try to convert A into B it takes approximately correct shape ...
by burans
Tue Jul 04, 2023 9:34 am
Forum: Scripting
Topic: Clone Curve Tool
Replies: 5
Views: 1247

Clone Curve Tool

Hey! Trying to write my first script here and am running into some issues. What I want to achieve - A tool that you can use to make one curve take the shape of another. A simple example - Lets say I have two vector layers and both of them have a single curve with 4 points inside. The curves have dif...
by burans
Thu Jun 29, 2023 9:05 am
Forum: General Moho Discussion
Topic: Problem with position control bone.
Replies: 5
Views: 565

Re: Problem with position control bone.

One solution would be to create an additional bone starting from the head bone but looking straight to the right (you can hold shift while creating it to make it straight), call that bone AngleCorrector, parent the iris bones to the AngleCorrector and then make the AngleCorrector invisible or shy a...
by burans
Wed Jun 28, 2023 3:56 pm
Forum: General Moho Discussion
Topic: Problem with position control bone.
Replies: 5
Views: 565

Re: Problem with position control bone.

You can just parent both of the pupils bones to the control bone. Then moving the control will move its children, no constrains needed. Thanks! I guess thats partly a solution. In this case I would need to parent the pupil control to the head bone also. I was hoping to have all the controls separat...
by burans
Wed Jun 28, 2023 2:00 pm
Forum: General Moho Discussion
Topic: Problem with position control bone.
Replies: 5
Views: 565

Problem with position control bone.

Hey! I'm attempting to create my first rig and am running into some issues. I'm working on characters eyes and wanted to create a simple pupil position control. I was planning to use position control bone under bone constraints to move a set of two pin bones by moving a controller bone. The problem ...
by burans
Mon Jun 26, 2023 10:27 am
Forum: General Moho Discussion
Topic: Multiple stroke exposures using one path
Replies: 3
Views: 1220

Re: Multiple stroke exposures using one path

Hey! Thanks for the reply! You can stack paths to make it look like there's more than one stroke exposure on one line. You can then weld the points alone the lines, so they animate as one. Can you specify how you would weld the points on two existing paths? With the default tools I can only figure o...
by burans
Wed Jun 21, 2023 8:29 am
Forum: General Moho Discussion
Topic: Multiple stroke exposures using one path
Replies: 3
Views: 1220

Multiple stroke exposures using one path

Hey! Total Moho beginner here. Is it possible for multiple shapes that share the same path to have different stroke exposures? Or are stroke exposure, line width, hide edge etc. tied to the path and not the shape? And if it's not possible - is it possible to link two paths somehow? To make one path ...