Fazek's tools for version 6 - update on progress

Moho allows users to write new tools and plugins. Discuss scripting ideas and problems here.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
User avatar
heyvern
Posts: 7042
Joined: Fri Sep 02, 2005 4:49 am

Fazek's tools for version 6 - update on progress

Post by heyvern »

Well there are some issues with some of the tools from Fazek. Lots of changes to the interface and gui for some things like adding points, welding, etc. Because of these changes I want to do some more investigating.

Specifically Fazek's Add Point tool and Create Shape tool are giving me some head aches. Fazek's create shape tool tends to crash with very complex meshes. The add point tool doesn't "weld" properly and also doesn't have those nifty little green and red markers for welding.

I may try to just get them working "as is" and then continue to work on fixing them up for "full" AS 6 support. Maybe Fazek will jump in here and give it a go? ;)

-vern
Dodgy
Posts: 207
Joined: Sat Jan 13, 2007 8:01 pm
Location: Sydney
Contact:

Post by Dodgy »

Sounds good vern, I'll have to have a look at my stuff too, are they hard to debug with AS6? I heard they just crash the app instead of giving error messages?
User avatar
heyvern
Posts: 7042
Joined: Fri Sep 02, 2005 4:49 am

Post by heyvern »

Huge discovery. Great progress! Managed to get both Fazek's translate points and add points to work with the "weld" highlighting in AS 6. It all had to do with this funny new thing I didn't notice. Silly thing is way up at the top hiding under the prefs code:

Code: Select all

function LM_AddPoint:NonDragMouseMove()
	return true -- Call MouseMoved() even if the mouse button is not down
end
This was mucking things up. But it's cool man cool. You can track the mouse even when it isn't down!!! That is how the points are highlighted with the add point tool even when the mouse is not down. Very cool... but also a big pain in the arse when you don't know it's there. ;)

So what was happening is... either the silly points wouldn't highlight at all or they highlighted all the time. I couldn't figure out what the heck was going on until I found that.

This will be great for custom tools!!!! Yeehaaa!

-vern
Genete
Posts: 3483
Joined: Tue Oct 17, 2006 3:27 pm
Location: España / Spain

Post by Genete »

Good work Vern. Keep it up.
-G
arfa
Posts: 244
Joined: Tue Dec 23, 2008 8:15 pm
Location: New Zealand

Post by arfa »

I have been super busy with spring/summer and little time for anim. but... have gone for the upgrade and am also working on Fazek's scripts.

Got add-points working no probs but would be interested to know how to get the "weld" highlighting.

Vern, could you either post the (revised) script or the line change(s) and where to insert them?

thanks -arfa
User avatar
heyvern
Posts: 7042
Joined: Fri Sep 02, 2005 4:49 am

Post by heyvern »

Someone else has already done them. Search the forum.

I am no longer updating Fazek's tools.

-vern
Post Reply