Search found 118 matches
- Wed Apr 11, 2012 12:58 pm
- Forum: Scripting
- Topic: Multi layer Magnet Script?
- Replies: 48
- Views: 19714
- Tue Apr 10, 2012 8:36 pm
- Forum: Scripting
- Topic: Multi layer Magnet Script?
- Replies: 48
- Views: 19714
This worked for me: for i = 0, mesh:CountPoints() - 1 do -- do for every point in the layer's mesh the following: local pt = mesh:Point(i) -- store a point of the mesh in 'pt' local v = pt.fPos -- set 'v' as the screen position of the point in 'pt' local pvec = LM.Vector2:new_local() -- create a new...
- Tue Apr 10, 2012 12:10 pm
- Forum: Scripting
- Topic: Multi layer Magnet Script?
- Replies: 48
- Views: 19714
- Mon Apr 09, 2012 3:20 pm
- Forum: Scripting
- Topic: Multi layer Magnet Script?
- Replies: 48
- Views: 19714
Ok, Ive been looking around and found something about the FullTransform matrix. So this is what i wrote: local transformMatrix = LM.Matrix:new_local() layer:GetFullTransform(moho.frame, transformMatrix, moho.document) transformMatrix:Transform(mouseVec) But it doesn't work. As far as I figured, I ne...
- Sun Apr 08, 2012 9:58 am
- Forum: Scripting
- Topic: Multi layer Magnet Script?
- Replies: 48
- Views: 19714
Ok, Ive picked this up. It had some challenges for me, but I got it to work and even added some useful extras to the magnet tool. But Ive stumbled upon a problem: The tool works depending on its location on the group layer. If the points of a child layer have been transformed by something (layer tra...
- Wed Mar 21, 2012 2:20 pm
- Forum: Scripting
- Topic: ASPWrap (Content Paradise Product)
- Replies: 5
- Views: 3978
Hey Rudiger! Would it be possible with this product to batch render a number of projects and have them export different layers separately more than once with different project settings into different appointed folders? If so, this product would be well worth the purchase price. Could you give an exa...
- Mon Mar 19, 2012 10:25 am
- Forum: Scripting
- Topic: Delete keys on mesh curves
- Replies: 1
- Views: 980
I wish I could just do:
Anyone who knows?
Code: Select all
point.fCurve:DeleteKey(moho.frame)
- Sun Mar 18, 2012 2:26 pm
- Forum: Scripting
- Topic: Delete keys on mesh curves
- Replies: 1
- Views: 980
Delete keys on mesh curves
Hi all, Im working on something where I need to delete keys on a few channels of a Vector layer: mesh = moho:LayerAsVector(targetlayer):Mesh() for i = 0, mesh:CountPoints()-1 do point = mesh:Point(i) point.fAnimPos:DeleteKey(thisframe) point.fWidth:DeleteKey(thisframe) end My question is: how do I d...
- Tue Mar 13, 2012 4:33 pm
- Forum: Scripting
- Topic: Switch Layer Mimic Script
- Replies: 27
- Views: 8744
This is exactly what i was looking for in this thread:
viewtopic.php?t=19572
Yet it was met with scepsism. Ah well, never mind...
viewtopic.php?t=19572
Yet it was met with scepsism. Ah well, never mind...
- Tue Mar 13, 2012 11:20 am
- Forum: Tips & Techniques
- Topic: How to render shape-fills and lines seperately?
- Replies: 4
- Views: 1355
- Tue Feb 28, 2012 4:37 pm
- Forum: Scripting
- Topic: Bone morph dials script
- Replies: 424
- Views: 292101
Where did you even find that a bone's angle is in 2*pi counterclockwise? Trial and error?Rudiger wrote:Code: Select all
-- Up is 0, right is 1.0, clockwise is positive weights[name] = (-bone.fAnimAngle:GetValue(frame)+math.pi/2) / (math.pi/2)
This scripting for Moho needs a manual!
- Sun Feb 19, 2012 3:08 pm
- Forum: Scripting
- Topic: Layer metadata for scripting
- Replies: 3
- Views: 3769
- Fri Feb 03, 2012 8:14 pm
- Forum: Scripting
- Topic: Trying to Make Work 'BlendActions()' Function, with any Luck
- Replies: 21
- Views: 8274
- Wed Feb 01, 2012 8:56 am
- Forum: Scripting
- Topic: HeyVern's scripts and tools - (focus on bones)
- Replies: 153
- Views: 174732
- Fri Jan 06, 2012 4:29 pm
- Forum: Scripting
- Topic: Multi layer Magnet Script?
- Replies: 48
- Views: 19714