Search found 271 matches

by mmmaarten
Fri Dec 08, 2023 2:32 am
Forum: Scripting
Topic: WP Platter Control: New Script to Animate (rotational) Bone Speeds with Accerelation/Deceleration
Replies: 6
Views: 9993

WP Platter Control: New Script to Animate (rotational) Bone Speeds with Accerelation/Deceleration

https://i.ibb.co/5sVWM6p/wp-platter-control-moho-script-mohoforum.jpg Hi Folks, I've just published a new script to make a Bone Rotate Endlessly with acceleration/deceleration/reverse etc. to the Angle of an (Animated) control Bone with ease! 😎 Simply put the reason why I made this is because Moho ...
by mmmaarten
Wed Dec 06, 2023 10:08 pm
Forum: Scripting
Topic: How to actually set the selected item in a TextList?
Replies: 10
Views: 9524

Re: How to actually set the selected item in a TextList?

FYI, there is a known bug for which is not possible to make work SetSelItem() by feeding it with an ID. It's unfortunate there are some issues with LM.GUI.ImageTextList kind of widgets (I'll try to also add a note for this one there) given their usefulness... but (fortunately!) its variant :arrow: ...
by mmmaarten
Wed Dec 06, 2023 1:28 pm
Forum: Scripting
Topic: How to actually set the selected item in a TextList?
Replies: 10
Views: 9524

Re: How to actually set the selected item in a TextList?

well, like I said, a start would be to see how self.lstSpeedBone is defined - but ideally the whole dialogue if lstSpeedBone is a dropdown (LM.GUI.Menu) then maybe SetChecked() would be the right answer -- but if it's defined in a way that needs the SetSelItem() ...? I'll send the file via discord ...
by mmmaarten
Wed Dec 06, 2023 10:31 am
Forum: Scripting
Topic: How to actually set the selected item in a TextList?
Replies: 10
Views: 9524

Re: How to actually set the selected item in a TextList?

hayasidist wrote: Wed Dec 06, 2023 10:10 am ? LM_TextList:SetSelItem(id, redraw)
or maybe a bit more context (e.g. how is self.lstSpeedBone defined?)
I tried that exact thing a thousand times by now, but it doesn't work here.
What context would you like to see? It's inside a SimpleDialog
by mmmaarten
Wed Dec 06, 2023 9:19 am
Forum: Scripting
Topic: How to actually set the selected item in a TextList?
Replies: 10
Views: 9524

How to actually set the selected item in a TextList?

Hi, I am struggling to set the current item in a TextList inside a dialog. Whatever I do it never updates. I tried both setting the ID as well as the Label, but without any result. Also tried it both with 'redraw' and without: self.lstSpeedBone:SetItemLabel('Select Bone', false) self.lstSpeedBone:Se...
by mmmaarten
Wed Dec 06, 2023 2:29 am
Forum: Scripting
Topic: Order of selection?
Replies: 3
Views: 4260

Re: Order of selection?

Thanks for your quick response. Damn, would've been nice if Moho could 'just' return the selected bones in order of selection. I cannot track selection of bones because the tool is just a run-immediately-on-click-tool and only used when the bone selection is already done by the user. Looks like I ne...
by mmmaarten
Wed Dec 06, 2023 1:17 am
Forum: Scripting
Topic: Order of selection?
Replies: 3
Views: 4260

Order of selection?

Hi,
For a script I'd like to know the order in which bones were selected when multi-select. Is there a way to retrieve the order bones were selected by the user?

Thanks in advance!
by mmmaarten
Wed Nov 22, 2023 6:42 pm
Forum: General Moho Discussion
Topic: Does anyone have experience with CG Wire's Kitsu?
Replies: 2
Views: 6478

Re: Does anyone have experience with CG Wire's Kitsu?

I know that the Blender Studio is using it on all their Blender movies. (they talk about it in talks and you can read about it on their pages, like this one here: https://studio.blender.org/blog/kitsu-addon-for-blender/) I also have it installed here locally and tried it out. It seems quite nice to ...
by mmmaarten
Thu Nov 02, 2023 5:15 pm
Forum: Miscellaneous Chit-Chat
Topic: found some treasure
Replies: 5
Views: 11126

Re: found some treasure

That is awesome and it looks legit too. I found something about 'Cow and Chicken' there, which was one of my favourite 'modern' cartoons at the time :) Thanks for sharing [edit] There's even a 90 minute 3d animation movie there (Free birds) by 20th century fox... is this site really legit? Did 20th ...
by mmmaarten
Sat Oct 21, 2023 10:44 pm
Forum: Scripting
Topic: New script to import layout from Spine JSON (Affinity, Krita, Spine, Photoshop, AfterEffects, Gimp etc.)
Replies: 17
Views: 8178

Re: New script to import layout from Spine JSON (Affinity, Krita, Spine, Photoshop, AfterEffects, Gimp etc.)

I understood half of what you said but I get the idea. I didn't want it to sound like a request, I'm just interested in the idea of using Moho rigs in game engines. But now I think it doesn't actually make much sense because it would be two steps, two conversions, from Moho to Spine and from Spine ...
by mmmaarten
Sat Oct 21, 2023 7:09 pm
Forum: Scripting
Topic: New script to import layout from Spine JSON (Affinity, Krita, Spine, Photoshop, AfterEffects, Gimp etc.)
Replies: 17
Views: 8178

Re: New script to import layout from Affinity, Krita or Spine via spine.json

that's impressive! Again thanks for sharing. As I'm getting interested in the gaming industry I wonder if these could be used somehow to import moho files into spine, because spine has plugins for both unity and godot so it could act like a bridge to use our moho rigs in these game engines. I guess...
by mmmaarten
Sat Oct 21, 2023 4:40 pm
Forum: Scripting
Topic: New script to import layout from Spine JSON (Affinity, Krita, Spine, Photoshop, AfterEffects, Gimp etc.)
Replies: 17
Views: 8178

Re: New script to import layout from Affinity, Krita or Spine via spine.json

For those working with Krita; I've just created a quick tutorial video on how to import layers from Krita now too (see opening post), including instructions on how to install the Krita-To-Spine Krita script 🙂 BTW you can even define special naming in your Krita layers like [bone]MyBone that the Krit...
by mmmaarten
Fri Oct 20, 2023 11:39 am
Forum: Scripting
Topic: New script to import layout from Spine JSON (Affinity, Krita, Spine, Photoshop, AfterEffects, Gimp etc.)
Replies: 17
Views: 8178

Re: New script to import layout from Affinity, Krita or Spine via spine.json

Alright! Got it working here! If there is bone data in the file, like exports from Spine, the next version of the Import from Spine.JSON script will also import the bones and create the same skeleton in Moho :D The only things that won't be supported on the bones: - shearing on bones --> this concep...