SF UNIVERSAL POINT TOOL

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

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
teotoon
Posts: 135
Joined: Wed Aug 04, 2004 7:19 am
Location: Turkey

SF UNIVERSAL POINT TOOL

Post by teotoon »

Hello Folks,

I am very happy to see that Moho returned home. I am a long-time user of Moho, maybe since its first official release. I used to use a script written by Sevenfeet; "Universal Point Tool". This was a very old but extremely useful tool which combines all point creating and editing functions. The problem is that the script does not work after v.7 of ASP.

I am not sure if Sevenfeet is still an active user, but I hope he or one of the geniuses of scripters in the forum can update it.

https://drive.google.com/file/d/1pJQxWM ... sp=sharing

If posting a script without the permission of the author is against the rules of the forum, I can immediately delete the post.

Thanks in advance...
User avatar
Greenlaw
Posts: 9269
Joined: Mon Jun 19, 2006 5:45 pm
Location: Los Angeles
Contact:

Re: SF UNIVERSAL POINT TOOL

Post by Greenlaw »

I wasn't aware of this tool. Sounds interesting. More info here:

http://www.lostmarble.com/forum/viewtop ... =512#p2490

Since it's pretty old, I'm curious to hear in what ways this mod is easier than the current Transform Points tool, and if there are any drawbacks when using it instead of Transform Points.

From what I can tell in the posts, it sounds like he tried to include Curvature controls but it's not clear that he was successful. 7feet also added a lasso option, but the current tool can switch to Lasso with Ctrl if you set Lasso as your default Selection mode. Apart from that, I'm not sure what else is different.
teotoon
Posts: 135
Joined: Wed Aug 04, 2004 7:19 am
Location: Turkey

Re: SF UNIVERSAL POINT TOOL

Post by teotoon »

Thanks for your reply Greenlaw; the biggest advantage of this tool is, you can add and edit points by the same tool. Besides it has some additional editing functions like rotate by origin.

If someone can update it, I believe it would be a great addition to the arsenal of Moho...
User avatar
Greenlaw
Posts: 9269
Joined: Mon Jun 19, 2006 5:45 pm
Location: Los Angeles
Contact:

Re: SF UNIVERSAL POINT TOOL

Post by Greenlaw »

Oh, so it really IS a universal tool. Very nice! :)
User avatar
dueyftw
Posts: 2174
Joined: Thu Sep 14, 2006 10:32 am
Location: kingston NY
Contact:

Re: SF UNIVERSAL POINT TOOL

Post by dueyftw »

Try replacing with this.

https://gofile.io/d/9gJwp0

This is the script only. You will need the icons.


Dale
User avatar
Greenlaw
Posts: 9269
Joined: Mon Jun 19, 2006 5:45 pm
Location: Los Angeles
Contact:

Re: SF UNIVERSAL POINT TOOL

Post by Greenlaw »

Thanks Dale, will give it a try today.
teotoon
Posts: 135
Joined: Wed Aug 04, 2004 7:19 am
Location: Turkey

Re: SF UNIVERSAL POINT TOOL

Post by teotoon »

Thanks a million Dale. It works like charm. Only one small problem; lasso works perfectly but the red tracing/selecting line cannot be seen.

Thanks again, you made my day...
User avatar
dueyftw
Posts: 2174
Joined: Thu Sep 14, 2006 10:32 am
Location: kingston NY
Contact:

Re: SF UNIVERSAL POINT TOOL

Post by dueyftw »

I just replaced the old code with new.

table.getn replaced with #

and

mouseEvent.view:Refresh() replaced with mouseEvent.view:RefreshView()

All the other code is the same.



Dale
User avatar
davoodice2
Posts: 381
Joined: Tue Jun 15, 2021 1:14 pm

Re: SF UNIVERSAL POINT TOOL

Post by davoodice2 »

links dead.plesae re-upload
خیام اگر ز باده مستی خوش باش
با ماهرخی اگر نشستی خوش باش
چون عاقبت کار جهان نیستی است
انگار که نیستی چو هستی خوش باش
teotoon
Posts: 135
Joined: Wed Aug 04, 2004 7:19 am
Location: Turkey

Re: SF UNIVERSAL POINT TOOL

Post by teotoon »

User avatar
davoodice2
Posts: 381
Joined: Tue Jun 15, 2021 1:14 pm

Re: SF UNIVERSAL POINT TOOL

Post by davoodice2 »

teotoon wrote: Sat Sep 11, 2021 7:38 pm Here you are:

https://www.mediafire.com/file/isgjb71x ... l.zip/file
thanks
خیام اگر ز باده مستی خوش باش
با ماهرخی اگر نشستی خوش باش
چون عاقبت کار جهان نیستی است
انگار که نیستی چو هستی خوش باش
Post Reply