New create shape tool

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

Moderators: Fahim, Distinct Sun, Víctor Paredes, erey, Belgarath, slowtiger

New create shape tool

Postby synthsin75 » Sun Oct 05, 2008 6:24 pm

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
synthsin75
 
Posts: 6045
Joined: Mon Jan 14, 2008 11:20 pm
Location: Oklahoma

Postby Víctor Paredes » Sun Oct 05, 2008 8:31 pm

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
Víctor Paredes
 
Posts: 4770
Joined: Wed Jan 26, 2005 12:18 am
Location: Ireland

Postby heyvern » Sun Oct 05, 2008 9:11 pm

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
heyvern
 
Posts: 6964
Joined: Fri Sep 02, 2005 4:49 am

bent out of shape

Postby toonertime » Sun Oct 05, 2008 9:50 pm

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
toonertime
 
Posts: 595
Joined: Tue Feb 27, 2007 8:34 am
Location: ST. LOUIS

Postby synthsin75 » Sun Oct 05, 2008 10:41 pm

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
synthsin75
 
Posts: 6045
Joined: Mon Jan 14, 2008 11:20 pm
Location: Oklahoma

bent back into shape

Postby toonertime » Sun Oct 05, 2008 11:20 pm

thanks for the 2torial

now i see, said the blind man!
User avatar
toonertime
 
Posts: 595
Joined: Tue Feb 27, 2007 8:34 am
Location: ST. LOUIS

Postby madrobot » Mon Oct 06, 2008 12:33 am

That's awesome
Thanks!
User avatar
madrobot
 
Posts: 631
Joined: Mon Apr 07, 2008 3:07 pm

Re: New create shape tool

Postby blacksunproject » Mon Oct 06, 2008 3:43 am

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
blacksunproject
 
Posts: 102
Joined: Fri Sep 15, 2006 6:45 am

Postby synthsin75 » Mon Oct 06, 2008 4:15 am

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

Postby synthsin75 » Mon Oct 27, 2008 2:44 am

Here's a version without flood selection.http://www.mediafire.com/?ymvxt2ebjhg
User avatar
synthsin75
 
Posts: 6045
Joined: Mon Jan 14, 2008 11:20 pm
Location: Oklahoma

Postby blacksunproject » Mon Oct 27, 2008 10:47 pm

synthsin75 wrote:Here's a version without flood selection.http://www.mediafire.com/?ymvxt2ebjhg


How do you use the orbit tool?
User avatar
blacksunproject
 
Posts: 102
Joined: Fri Sep 15, 2006 6:45 am

Postby blacksunproject » Mon Oct 27, 2008 11:09 pm

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
blacksunproject
 
Posts: 102
Joined: Fri Sep 15, 2006 6:45 am

Postby synthsin75 » Mon Oct 27, 2008 11:15 pm

Uh......orbit tool?.....what orbit tool?........I don't think I've ever posted anything about the orbit tool. I'm very, very confused. :?
User avatar
synthsin75
 
Posts: 6045
Joined: Mon Jan 14, 2008 11:20 pm
Location: Oklahoma

Postby blacksunproject » Tue Oct 28, 2008 2:38 pm

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
blacksunproject
 
Posts: 102
Joined: Fri Sep 15, 2006 6:45 am

Postby Víctor Paredes » Tue Oct 28, 2008 3:03 pm

uhm, can you post the orbit tool file?
are you sure it's not the classical orbit tool of AS?
User avatar
Víctor Paredes
 
Posts: 4770
Joined: Wed Jan 26, 2005 12:18 am
Location: Ireland

Next

Return to Scripting

Who is online

Users browsing this forum: Bing [Bot] and 1 guest