SketchUcation Plugin Store

 

 

[Obsolete] FredoScale 1.0e (Free Scaling, Taper Scaling)

[Obsolete] FredoScale 1.0e (Free Scaling, Taper Scaling)

Postby fredo6 » Sat Jan 24, 2009 5:05 pm

[Edit - 29 Mar 09 - 11:00 CET] New version 2.0 is available at http://www.sketchucation.com/forums/scf/viewtopic.php?f=180&t=17948#p144180. It contains additional deformations, such as Shear, Stretch, Bend, Twist.

[Edit - 10 Feb 09 - 21:40 CET] updated version 1.0e with a big bug fixed concerning Scale to Target, and trapping of TAB on Mac for dimension dialog box). It includes the first translation in Italian kindly provided by Marco Cosedi.
Also, do not forget to load LibFredo6 3.0e (10 Feb 09), so that you are up to date.

[Edit - 03 Feb 09 - 00:20 CET] updated version 1.0d with a big bug fixed when releasing the update 1.0c (thanks to Daniel S. again for signaling).
Also, do not forget to load LibFredo6 3.0c (2 Feb 09), so that you are up to date.

[Edit - 02 Feb 09 - 22:30 CET] updated version 1.0c with bug fixed concerning the stability of scaling and tapering with negative scales (thanks to Daniel S. for signaling).

[Edit - 28 Jan 09 - 23:30 CET] Refresh with translation to Spanish provided by Pichuneke, and support of Construction Points.
Also, please make sure you download again LibFredo6 3.0a, same date and time, which contains a number of fixes.
See http://www.sketchucation.com/forums/scf/viewtopic.php?f=180&t=16020#p124684


FredoScale is a variant of the native Sketchup Scale tool, but with free orientation of the scaling box. I also derived Taper Scale, which uses a scaling box to perform tapering of the selection by scaling only one of its faces.

I made a short video (English / French) to show the main concepts.
http://fr.youtube.com/watch?v=sfXg4Q8J5pk

FredoScale Illustration.jpg


There are a few additional features.
  • can scale single edges (or aligned edges)
  • mode “Scale To Target” to drive scaling by matching 2 points
  • drive scaling by entering the dimensions of the scaling box
  • wireframe preview (easier to use inference, when dragging the scaling handles)
  • selection of several entities in implicit selection mode (via Ctrl key)
  • you can control the display of icons, and the location of the menu (by default, it installs in Tools > Fredo6 Collection.
One big caveat however is that it does not support Smart Scaling of the new Dynamic Components introduced in Sketchup 7

The goal was also for me to release the first consolidated version of a shared library, LibFredo6, which I should use for other plugins (it used to be called LibTraductor in earlier times).

The plugin is translated to English and French (but the doc is only in English). It is now possible for generous contributors to make the translation in other languages and share it with the Community.

REQUIREMENT: You must download and install LibFredo6 version 3.0. See this post for the zip file and the instructions. It should install a small file LibFredo6.rb and a subfolder LIBFREDO6_Dir_30.
see this post http://www.sketchucation.com/forums/scf/viewtopic.php?f=180&t=16020&p=124684#p124684


INSTALLATION of FredoScale:. Unzip (with Select All) the attached file FreeScale_10.zip. It should install a small file ZLoader__FreeScale.rb and a subfolder FREESCALE_Dir_10.

WARNING for Mac Users: FredoScale and LibFredo6 use Web Dialog Boxes, which have known problems on Mac platforms. As I don’t have a Mac myself, I cannot guarantee this works fine. This only concerns the dialog boxes for setting the default parameters and language translation however.

Note for icon designers: if you wish to design alternate icons and cursors, just follow the naming convention (FSC…), respecting the hot spot for cursors, and then pack them in a folder with the naming IMAGES_xxxx, which can then be dropped into the FREESCALE_Dir_10 directory. Finally, go the Default Parameters… dialog box and set it as an alternate icon folder.

Fredo6
Please, register (free) to access all the attachments on the forums.
Last edited by fredo6 on Sun May 24, 2009 12:04 am, edited 10 times in total.
fredo6
Top SketchUcator
 
Posts: 1675
Joined: Mon Nov 12, 2007 9:07 pm

Re: [Plugin] FreeScale 1.0 (Free Scaling, Taper Scaling)

Postby Gaieus » Sat Jan 24, 2009 5:14 pm

:sketchstatic: (<- AFAIK this smiley was introduced as an honour of your efforts by Coen back when you released TOS)

Orientation of the scale tool: great!
A big time saver (need not change axes) but
Taper scale: fantastic!
:thumb: :thumb: :thumb: :thumb: :thumb: :thumb: :thumb:

Thanks again for your generous work - these all could well be serious commercial plugins!

(You can count on me for translations for sure) ;)
Gai...
User avatar
Gaieus
Administrator
 
Posts: 27629
Joined: Sat Oct 20, 2007 8:24 am
Location: Pécs, Hungary
Name: Csaba Pozsárkó
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: historical reconstruction
Level of SketchUp: Advanced

Re: [Plugin] FreeScale 1.0 (Free Scaling, Taper Scaling)

Postby remus » Sat Jan 24, 2009 5:20 pm

Cheers fredo, another indispensable script.
remus
 
Posts: 8055
Joined: Fri Nov 30, 2007 8:48 am
Location: UK
Name: remus

Re: [Plugin] FreeScale 1.0 (Free Scaling, Taper Scaling)

Postby Gaieus » Sat Jan 24, 2009 5:23 pm

No, Fredo,I was wrong. Free scale is not "only" great - it is much more than that.
Gai...
User avatar
Gaieus
Administrator
 
Posts: 27629
Joined: Sat Oct 20, 2007 8:24 am
Location: Pécs, Hungary
Name: Csaba Pozsárkó
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: historical reconstruction
Level of SketchUp: Advanced

Re: [Plugin] FreeScale 1.0 (Free Scaling, Taper Scaling)

Postby kwistenbiebel » Sat Jan 24, 2009 5:23 pm

Fantastic fredo! :berserk:

Very useful. It will be one of those tools you cannot live without once you used it.
You guys (the wizard ruby masters) should take over the further development of sketchup as a whole.
Thank you very much. :thumb: :thumb:
Last edited by kwistenbiebel on Sat Jan 24, 2009 5:28 pm, edited 1 time in total.
kwistenbiebel
 
Posts: 2668
Joined: Thu Nov 22, 2007 6:13 pm

Re: [Plugin] FreeScale 1.0 (Free Scaling, Taper Scaling)

Postby Pilou » Sat Jan 24, 2009 5:26 pm

Super bestial ! Very tricky! :thumb: :fro:
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
Pilou
Top SketchUcator
 
Posts: 10060
Joined: Wed Jan 23, 2008 10:33 pm
Operating system: Windows
SketchUp version: 6
License type: Free
SketchUp use: hobby
Level of SketchUp: Advanced

Re: [Plugin] FreeScale 1.0 (Free Scaling, Taper Scaling)

Postby johnsenior1973 » Sat Jan 24, 2009 5:33 pm

Thank you for another great plugin.
johnsenior1973
 
Posts: 594
Joined: Fri Dec 07, 2007 4:36 pm
Location: Elizabethtown, Kentucky, USA

Re: [Plugin] FreeScale 1.0 (Free Scaling, Taper Scaling)

Postby watkins » Sat Jan 24, 2009 5:36 pm

Dear Fredo6

I have just tried FreeScale. EXCELLENT!!!

Thank you for your generosity.

Kind regards,
Bob
watkins
 
Posts: 1367
Joined: Wed Nov 14, 2007 5:47 pm

Re: [Plugin] FreeScale 1.0 (Free Scaling, Taper Scaling)

Postby thomthom » Sat Jan 24, 2009 5:38 pm

Yes! I was thinking just this week that it'd be so nice ot be able to taper scale objects. This is another must have plugin. Thank you very much Fredo.
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom
Global Moderator
 
Posts: 17642
Joined: Tue Nov 13, 2007 12:47 pm
Location: Trondheim, Norway
Name: thomthom
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] FreeScale 1.0 (Free Scaling, Taper Scaling)

Postby notareal » Sat Jan 24, 2009 5:40 pm

Great! Thanks for your effort.
Welcome to try Thea Render, Thea support | kerkythea.net -team member
notareal
Thea Render
 
Posts: 953
Joined: Tue Nov 13, 2007 9:54 pm
Location: Oulu, Finland
Name: notareal

Re: [Plugin] FreeScale 1.0 (Free Scaling, Taper Scaling)

Postby johnsenior1973 » Sat Jan 24, 2009 5:51 pm

Solo is going to find his cartoon characters a great deal easier with this. This is clearly another great leap for Sketchup.
johnsenior1973
 
Posts: 594
Joined: Fri Dec 07, 2007 4:36 pm
Location: Elizabethtown, Kentucky, USA

Re: [Plugin] FreeScale 1.0 (Free Scaling, Taper Scaling)

Postby Teezer » Sat Jan 24, 2009 5:51 pm

Wonderful! Great! Excellent! Thank you, thank you, thank you... :bounce: :D
Real life is just another website, albeit a rather boring one.
Teezer
 
Posts: 151
Joined: Wed Nov 14, 2007 8:15 pm
Location: Pagosa Springs, Colorado
Name: Teezer

Re: [Plugin] FreeScale 1.0 (Free Scaling, Taper Scaling)

Postby tbd » Sat Jan 24, 2009 5:57 pm

to be able to run on Mac I had to create DEFPARAM_Dir under plugins dir (due permissions restriction the mkdir command in Lib6Core_30 failed)

nice work Fredo :sketchstatic:
SketchUp Ruby Consultant | Podium 1.x developer
http://plugins.ro
User avatar
tbd
 
Posts: 1018
Joined: Wed Nov 14, 2007 10:47 am
Location: Romania
Name: TBD

Re: [Plugin] FreeScale 1.0 (Free Scaling, Taper Scaling)

Postby solo » Sat Jan 24, 2009 5:57 pm

Bravo!!


Just what I need for my character modeling, thanks a ton.
My site

Quod gratis asseritur, gratis negatur.
User avatar
solo
Global Moderator
 
Posts: 10774
Joined: Mon Nov 12, 2007 1:46 pm
Location: Dallas, Texas
Name: Pete Stoppel
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: other
Level of SketchUp: Intermediate

Re: [Plugin] FreeScale 1.0 (Free Scaling, Taper Scaling)

Postby watkins » Sat Jan 24, 2009 6:19 pm

Dear Fredo6,

One little known option of the native SU Scale tool is the ability to input final dimensions via the VCB (example: 100mm,100mm,100mm). The scale box is then scaled to those dimensions. Is this something that could be include in your script?

Kind regards,
Bob
watkins
 
Posts: 1367
Joined: Wed Nov 14, 2007 5:47 pm

Re: [Plugin] FreeScale 1.0 (Free Scaling, Taper Scaling)

Postby OTB Designworks » Sat Jan 24, 2009 6:21 pm

Great script! Thank you thank you!.

However, I, as you know, am on a MAC and I am having serious issues with this script.

The standard scaling tool works beautifully and as expected. Being able to set the orientation is brilliant!.

The taper scale tool, however, isn't working at all.

It displays the bounding box and shows the results of all of the tool manipulations, but it never actually changes the object geometry. Picture attached. Hitting return or clicking outside the box erases the bounding box and the cube remains as is.

Let me know what I can do to assist diagnosis.

Thanks again.
Please, register (free) to access all the attachments on the forums.
Cheers, Chuck

MY BLOG

Become a fan of OTB Designworks on Facebook, we'd love to have you!

3.2ghz 8 core Mac Pro. 10 gig RAM, 8800 GT GPU, dual monitors
OTB Designworks
 
Posts: 495
Joined: Mon Nov 12, 2007 3:13 pm
Location: Northwest US
Name: chuck

Re: [Plugin] FreeScale 1.0 (Free Scaling, Taper Scaling)

Postby Matt666 » Sat Jan 24, 2009 6:29 pm

:shock: :shock: Awesome !!! Thank you Fredo !
Frenglish at its best !
My scripts
Matt666
 
Posts: 829
Joined: Wed Dec 05, 2007 8:38 am
Location: 48.1184, -1.675
Name: Matt

Re: [Plugin] FreeScale 1.0 (Free Scaling, Taper Scaling)

Postby MALAISE » Sat Jan 24, 2009 6:35 pm

Hi Fredo

Incredible enhancement :thumb: :thumb: :enlight:

MERCI

MALAISE
La Connaissance n'a de valeur que partagée
MALAISE
 
Posts: 620
Joined: Sun Apr 20, 2008 1:23 pm
Location: Cergy Pontoise FRANCE
Name: Pierre

Re: [Plugin] FreeScale 1.0 (Free Scaling, Taper Scaling)

Postby Daniel S » Sat Jan 24, 2009 7:31 pm

Awesome!!! :berserk: :berserk: :berserk:
Thank you Fredo!!!

I only have a problem when set the dimension in the dialog box by pressing TAB. It dosen´t accept what I put.. just make a beep :?
I attach a video example of this.

Daniel S
Please, register (free) to access all the attachments on the forums.
Daniel S
 
Posts: 349
Joined: Mon Nov 12, 2007 6:06 pm
Location: Mar del Plata, Buenos Aires, Argentina

Re: [Plugin] FreeScale 1.0 (Free Scaling, Taper Scaling)

Postby fredo6 » Sat Jan 24, 2009 7:48 pm

Daniel S wrote:I only have a problem when set the dimension in the dialog box by pressing TAB. It dosen´t accept what I put.. just make a beep :?
I attach a video example of this.

Daniel S

Daniel,

Strange. What is the default decimal separator you normally use in your version of Sketchup.
Just in case, can you turn the Ruby console on to see if anything is displayed.
Can you also type in the Ruby console the following command:
Code: Select all
Traductor.string_to_length_formula "20"
and see what it does.

I don't know if any other users has found that problem?

I will analyze what it could be in parallel.

Fredo
fredo6
Top SketchUcator
 
Posts: 1675
Joined: Mon Nov 12, 2007 9:07 pm

Re: [Plugin] FreeScale 1.0 (Free Scaling, Taper Scaling)

Postby fredo6 » Sat Jan 24, 2009 7:51 pm

watkins wrote:Dear Fredo6,

One little known option of the native SU Scale tool is the ability to input final dimensions via the VCB (example: 100mm,100mm,100mm). The scale box is then scaled to those dimensions. Is this something that could be include in your script?

Kind regards,
Bob

Bob,

Just press TAB when the scaling handle is highlighted (or use the contextual menu). You should have the Dimension box appearing. For teh time being, I preferred to reserve the VCB to scale values.

Fredo

PS: Daniel S. has found some issues with this dialog box. Maybe you can report if found any.
fredo6
Top SketchUcator
 
Posts: 1675
Joined: Mon Nov 12, 2007 9:07 pm

Re: [Plugin] FreeScale 1.0 (Free Scaling, Taper Scaling)

Postby fredo6 » Sat Jan 24, 2009 7:55 pm

kannonbal wrote:The taper scale tool, however, isn't working at all.

It displays the bounding box and shows the results of all of the tool manipulations, but it never actually changes the object geometry. Picture attached. Hitting return or clicking outside the box erases the bounding box and the cube remains as is.

Let me know what I can do to assist diagnosis.

Thanks again.

It is clear that there is an error in the execution of the deformation, as shown on your image.
The best would be to turn on the Ruby console and see what it says. I don't know if it could be related to Mac.
Also can you tell me if your run SU 7 or 6.

Fredo
fredo6
Top SketchUcator
 
Posts: 1675
Joined: Mon Nov 12, 2007 9:07 pm

Re: [Plugin] FreeScale 1.0 (Free Scaling, Taper Scaling)

Postby roadkill » Sat Jan 24, 2009 8:01 pm

many thanks dude... that is special!
roadkill
 
Posts: 10
Joined: Wed Sep 03, 2008 8:42 pm

Re: [Plugin] FreeScale 1.0 (Free Scaling, Taper Scaling)

Postby OTB Designworks » Sat Jan 24, 2009 8:02 pm

Hi Fredo!

Here is the Ruby Console result from attempting to taper scale.

I am using SU7, OS 10.5.6.

Thanks!
Please, register (free) to access all the attachments on the forums.
Cheers, Chuck

MY BLOG

Become a fan of OTB Designworks on Facebook, we'd love to have you!

3.2ghz 8 core Mac Pro. 10 gig RAM, 8800 GT GPU, dual monitors
OTB Designworks
 
Posts: 495
Joined: Mon Nov 12, 2007 3:13 pm
Location: Northwest US
Name: chuck

Re: [Plugin] FreeScale 1.0 (Free Scaling, Taper Scaling)

Postby Daniel S » Sat Jan 24, 2009 8:06 pm

Fredo:

When i put in the ruby console

Code: Select all
Traductor.string_to_length_formula "20"

It returns:

Traductor.string_to_length_formula "20"
nil


When i have open the ruby console and try to use the dialog box don`t report anything.
I have the same problem with the taper.. it dosen´t accept what i put on the dialog box.

I attach a screenshoot of my units.

Daniel S
Please, register (free) to access all the attachments on the forums.
Daniel S
 
Posts: 349
Joined: Mon Nov 12, 2007 6:06 pm
Location: Mar del Plata, Buenos Aires, Argentina

Re: [Plugin] FreeScale 1.0 (Free Scaling, Taper Scaling)

Postby TeKnoel » Sat Jan 24, 2009 8:31 pm

this looks great! thanks for your hard work
TeKnoel
 
Posts: 16
Joined: Wed Jul 09, 2008 6:21 pm

Re: [Plugin] FreeScale 1.0 (Free Scaling, Taper Scaling)

Postby EarthMover » Sat Jan 24, 2009 9:04 pm

Holy Sh!t! Just what I was thinking of asking for the other day. I love the taper. Reminds me of the Falloff function in Modo. Thanks Fredo!
A designer is an emerging synthesis of artist, inventor, mechanic, objective economist and evolutionary strategist. - R. Buckminster Fuller
Some of my 3D crap
User avatar
EarthMover
Top SketchUcator
 
Posts: 1792
Joined: Fri Sep 12, 2008 9:06 pm
Location: Eastern Pennsylvania
Name: Adam Hails

Re: [Plugin] FreeScale 1.0 (Free Scaling, Taper Scaling)

Postby gaganraj » Sat Jan 24, 2009 9:29 pm

phenomenal tool. works perfectly on my windows machine. same issue as kannonbal on my mac.

i'm amazed at how intuitive and simple such a great tool can me made. I absolutely love the little green check mark!! such a great idea. This will make SDS proxies so much easier! thanks!
gaganraj
 
Posts: 140
Joined: Sun Apr 20, 2008 9:25 pm

Re: [Plugin] FreeScale 1.0 (Free Scaling, Taper Scaling)

Postby fredo6 » Sat Jan 24, 2009 9:33 pm

To Daniel S (on problem of dimension dialog box)

I don't understand what is happening.
Can you then try the 3 commands below, one by one
Code: Select all
Traductor.string_to_length "20"

Code: Select all
"20".to_l

Code: Select all
Traductor.string_to_float_formula "20"


Apparently other users have not reported the problem (yet). So it may be something specific to your environment.

Fredo
fredo6
Top SketchUcator
 
Posts: 1675
Joined: Mon Nov 12, 2007 9:07 pm

Re: [Plugin] FreeScale 1.0 (Free Scaling, Taper Scaling)

Postby fredo6 » Sat Jan 24, 2009 9:37 pm

To Chuck (Kannonbal) on issues with Taper Scale

I made an update to LibFredo6 in relation with the issues you signaled.
Could you download and install again LibFredo6 and advise if you still have the problem

Thanks

Fredo
fredo6
Top SketchUcator
 
Posts: 1675
Joined: Mon Nov 12, 2007 9:07 pm

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago

Need SketchUp Books, Models, Styles or Textures? Check out our One Stop Shop for SketchUp.

Premium Members get 20% discount!

Ad Machine
Robot
 
Posts: 2012

Next

Return to Developers' Forum

Who is online

Users browsing this forum: No registered users and 1 guest