New create shape tool

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

Moderators: Víctor Paredes, Belgarath, slowtiger

User avatar
synthsin75
Posts: 9934
Joined: Mon Jan 14, 2008 11:20 pm
Location: Oklahoma
Contact:

New create shape tool

Post by synthsin75 »

Image

Just select which mode you want (both, outline only, or fill only) and this create shape tool will create shapes accordingly. No more creating shapes and then unchecking either the fill or outline option in the styles window for each shape you create.

Download the zip file here.

Just unzip and drop the three syn_create_shape files into your AS/scripts/tool folder. If you don't already have Fazek's utilities, drop the fa_sharedutils file into your AS/scripts/utilities folder.

This is a mod of Fazek's tool, so you will need the fa_sharedutils required for those. Also credit to Rasheed for his no line create shape tool.

Note: You cannot create a 'fill only' shape unless the shape is closed.


Please let me know if you find this useful. :wink:
Last edited by synthsin75 on Mon Oct 06, 2008 4:18 am, edited 2 times in total.
User avatar
Víctor Paredes
Site Admin
Posts: 5646
Joined: Wed Jan 26, 2005 12:18 am
Location: Barcelona/Chile
Contact:

Post by Víctor Paredes »

absolutely useful!
thanks! This week I were to write a script request asking exactly what you did (but then forgot it :oops:), now things will be so much faster. thanks.
User avatar
heyvern
Posts: 7035
Joined: Fri Sep 02, 2005 4:49 am

Post by heyvern »

This is GREAT. For some reason I wasn't understanding what this was. It didn't click. Now I GET IT!

You should post a link to this thread in the general topic area. I think some AS users are "afraid" to read these threads or think that scripts are only for advanced users which might be why they don't see these posts.

-vern
User avatar
toonertime
Posts: 595
Joined: Tue Feb 27, 2007 8:34 am
Location: ST. LOUIS

bent out of shape

Post by toonertime »

i am trying to use this script. say i make a circle
with a color and no outline. i use the tool, pick a selection,
and really nothing changes!

what is this idiot not doing right?
User avatar
synthsin75
Posts: 9934
Joined: Mon Jan 14, 2008 11:20 pm
Location: Oklahoma
Contact:

Post by synthsin75 »

Tooner, this is a 'create shape tool', just like Fazek's or LM's. It doesn't do anything to already created shapes.

Try this:
1) create a circle without any fill or outline, with the oval tool
2) using syn_create_shape tool, select what kind of shapes you want to create (both, outline only, fill only) in the tool options at the top of the workspace
3) with this tool, define a shape to be filled
4) hit the space bar to finalize the shape


The 'both' option will create both fill and outline, and the other two options will do each separately.



Selgin
Glad I could fill the need in advance of the request

Vern
I hadn't thought of that. Here I was feeling underappreciated. :roll: You're probably right. I'll post a link elsewhere.
User avatar
toonertime
Posts: 595
Joined: Tue Feb 27, 2007 8:34 am
Location: ST. LOUIS

bent back into shape

Post by toonertime »

thanks for the 2torial

now i see, said the blind man!
User avatar
madrobot
Posts: 667
Joined: Mon Apr 07, 2008 3:07 pm

Post by madrobot »

That's awesome
Thanks!
blacksunproject
Posts: 102
Joined: Fri Sep 15, 2006 6:45 am

Re: New create shape tool

Post by blacksunproject »

synthsin75 wrote:Image

Just select which mode you want (both, outline only, or fill only) and this create shape tool will create shapes accordingly. No more creating shapes and then unchecking either the fill or outline option in the styles window for each shape you create.

Download the zip file here.

Just unzip and drop the three syn_create_shape files into your AS/scripts/tool folder. If you don't already have Fazek's utilities, drop the fa_utilities file into your AS/scripts/utilities folder.

This is a mod of Fazek's tool, so you will need the fa_utility required for those. Also credit to Rasheed for his no line create shape tool.

Note: You cannot create a 'fill only' shape unless the shape is closed.


Please let me know if you find this useful. :wink:
Where can I get the fa_utility needed for this tool?
Thanks in advance,
Gustavo
User avatar
synthsin75
Posts: 9934
Joined: Mon Jan 14, 2008 11:20 pm
Location: Oklahoma
Contact:

Post by synthsin75 »

Oops, sorry about that. The Fazek utility is actually called 'fa_sharedutils'. I'll fix the first post. :wink:
User avatar
synthsin75
Posts: 9934
Joined: Mon Jan 14, 2008 11:20 pm
Location: Oklahoma
Contact:

Post by synthsin75 »

Here's a version without flood selection.http://www.mediafire.com/?ymvxt2ebjhg
blacksunproject
Posts: 102
Joined: Fri Sep 15, 2006 6:45 am

Post by blacksunproject »

synthsin75 wrote:Here's a version without flood selection.http://www.mediafire.com/?ymvxt2ebjhg
How do you use the orbit tool?
blacksunproject
Posts: 102
Joined: Fri Sep 15, 2006 6:45 am

Post by blacksunproject »

blacksunproject wrote:
synthsin75 wrote:Here's a version without flood selection.http://www.mediafire.com/?ymvxt2ebjhg
How do you use the orbit tool?
Nix my question!
The Orbit tool is incredible!!!
User avatar
synthsin75
Posts: 9934
Joined: Mon Jan 14, 2008 11:20 pm
Location: Oklahoma
Contact:

Post by synthsin75 »

Uh......orbit tool?.....what orbit tool?........I don't think I've ever posted anything about the orbit tool. I'm very, very confused. :?
blacksunproject
Posts: 102
Joined: Fri Sep 15, 2006 6:45 am

Post by blacksunproject »

synthsin75 wrote:Uh......orbit tool?.....what orbit tool?........I don't think I've ever posted anything about the orbit tool. I'm very, very confused. :?
Image

and I love the way it works.

Gustavo
User avatar
Víctor Paredes
Site Admin
Posts: 5646
Joined: Wed Jan 26, 2005 12:18 am
Location: Barcelona/Chile
Contact:

Post by Víctor Paredes »

uhm, can you post the orbit tool file?
are you sure it's not the classical orbit tool of AS?
Post Reply