MR Guides Script 1.2

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
KuzKuz
Posts: 483
Joined: Mon Aug 19, 2013 5:12 pm
Location: Ukraine

MR Guides Script 1.2

Post by KuzKuz »

The videos are in Russian but English subtitles are available.



Create and edit guides without leaving the current layer and action.
http://mohoscripts.com/script/mr_guides
Last edited by KuzKuz on Tue Jun 27, 2023 2:34 pm, edited 1 time in total.
Daxel
Posts: 996
Joined: Wed Mar 27, 2019 8:34 pm

Re: MR Guides Script

Post by Daxel »

Must be a pleasure working with Mr. Guides, thank you!
User avatar
SimplSam
Posts: 1048
Joined: Thu Mar 13, 2014 5:09 pm
Location: London, UK
Contact:

Re: MR Guides Script

Post by SimplSam »

This is really good. I particularly like the fact that you can drag the guides around. It will be great when Guides, proper Grids and Snapping become built-in.

A tip for a non-Russian/non-<language> speaker like me. I use a Chrome extension called Caption Speaker to speak the captions in an English voice in real-time: https://chrome.google.com/webstore/deta ... ggghgoodce. It will read the captions out-loud, and is great for videos like this that have English subtitles (native or auto-generated).
Moho 14.1 » Win 11 Pro 64GB » NVIDIA GTX 1080ti 11GB
Moho 14.1 » Mac mini 2012 8GB » macOS 10.15 Catalina
Tube: SimplSam


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

Re: MR Guides Script

Post by Greenlaw »

Oh my! I've wanted this feature in Moho for years, and we finally have it!

Thank you for creating and sharing it, Eugene. 😺
User avatar
davoodice2
Posts: 381
Joined: Tue Jun 15, 2021 1:14 pm

Re: MR Guides Script

Post by davoodice2 »

KuzKuz wrote: Sun Oct 17, 2021 9:16 pm The videos are in Russian but English subtitles are available.



Create and edit guides without leaving the current layer and action.
http://mohoscripts.com/script/mr_guides
100% practical script. thanks.
خیام اگر ز باده مستی خوش باش
با ماهرخی اگر نشستی خوش باش
چون عاقبت کار جهان نیستی است
انگار که نیستی چو هستی خوش باش
User avatar
KuzKuz
Posts: 483
Joined: Mon Aug 19, 2013 5:12 pm
Location: Ukraine

Re: MR Guides Script

Post by KuzKuz »

Thanks! I made some tuning and now the Move Existing Guide and Delete Guide modes should work better.
Also, please keep in mind that the Antialiasing option must be enabled (Display Quality menu) in order for the guides to be displayed correctly.
User avatar
davoodice2
Posts: 381
Joined: Tue Jun 15, 2021 1:14 pm

Re: MR Guides Script

Post by davoodice2 »

KuzKuz wrote: Mon Oct 18, 2021 6:42 pm Thanks! I made some tuning and now the Move Existing Guide and Delete Guide modes should work better.
Also, please keep in mind that the Antialiasing option must be enabled (Display Quality menu) in order for the guides to be displayed correctly.
thanks for sharing your hard works.
I suggest you add a option to change overall guides width after creation.
خیام اگر ز باده مستی خوش باش
با ماهرخی اگر نشستی خوش باش
چون عاقبت کار جهان نیستی است
انگار که نیستی چو هستی خوش باش
User avatar
Greenlaw
Posts: 9269
Joined: Mon Jun 19, 2006 5:45 pm
Location: Los Angeles
Contact:

Re: MR Guides Script

Post by Greenlaw »

I've been using this tool lately and thought I should share the following tip.

Sometimes when I zoom in and out of the workspace, the guides may disappear. I normally work with the Display Quality's Anti-aliasing option disabled, but when I enabled this option the guides became visible at any and zoom level.

So if you have a problem with the guides disappearing, make sure the Display Quality Anti-aliasing option is enabled.

Still very happy to have this too! This is so much easier than switching to a normal vector layer. Thanks again KuzKuz! :D
User avatar
KuzKuz
Posts: 483
Joined: Mon Aug 19, 2013 5:12 pm
Location: Ukraine

Re: MR Guides Script

Post by KuzKuz »

Hello. Just a small update.

1. You can hold alt and click on the "Create Guide" buttons to create a guide from the current layer center.
If there are selected points on the current layer, the guide will be created from the selection center.

2. The script should work much faster when it works with the existing guide layer. On creating and deleting the guide layer it will work as before.

3. Fixed undo for the "Delete Last Guide" function.

Download - https://mohoscripts.com/script/mr_guides
User avatar
Greenlaw
Posts: 9269
Joined: Mon Jun 19, 2006 5:45 pm
Location: Los Angeles
Contact:

Re: MR Guides Script

Post by Greenlaw »

Excellent! Thanks Eugene. 😸
Daxel
Posts: 996
Joined: Wed Mar 27, 2019 8:34 pm

Re: MR Guides Script

Post by Daxel »

Very nice! Thank you.
User avatar
KuzKuz
Posts: 483
Joined: Mon Aug 19, 2013 5:12 pm
Location: Ukraine

Re: MR Guides Script 1.2

Post by KuzKuz »

Version 1.2 has now been released.

1. A new feature has been added that allows for point selection while holding down the Ctrl key.
Additional selection can be made using Ctrl + Shift, and selections can be removed with Ctrl + Alt.

2. Improvements have been made to the guide preview. It now adapts more effectively to different viewport sizes when created.
Post Reply