by sahi » Thu Jul 31, 2008 3:13 pm
Changes in the size of the selection or groups or components Dom_12.jpg mashtab_7.rbz
Last edited by sahi on Tue Feb 16, 2016 6:07 pm, edited 35 times in total.
-
sahi
- PluginStore Author

-
- Posts: 138
- Joined: Wed Nov 14, 2007 4:55 pm
- Location: Russia
- Name: sahi
- Operating system: Windows
- SketchUp version: pre-6
- License type: Free/Make
- SketchUp use: architecture
- Level of SketchUp: Beginner
-
by pav_3j » Thu Jul 31, 2008 3:30 pm
sorry i'm confused, is this a scaling ruby?
pav
Just won the 'Who is Least Competitive Championships' where trying to win will make you lose. Trying to lose makes you win which makes you lose. Not trying at all makes you lose which makes you win which makes you lose.
-
pav_3j
-
- Posts: 654
- Joined: Tue Jan 08, 2008 5:40 pm
- Location: canterbury, uk
- Name: Luciano
by sahi » Thu Jul 31, 2008 3:38 pm
changes a model size.
-
sahi
- PluginStore Author

-
- Posts: 138
- Joined: Wed Nov 14, 2007 4:55 pm
- Location: Russia
- Name: sahi
- Operating system: Windows
- SketchUp version: pre-6
- License type: Free/Make
- SketchUp use: architecture
- Level of SketchUp: Beginner
-
by pav_3j » Thu Jul 31, 2008 3:41 pm
ah i see! i shall have a tinkle and see how i get on.
pav
Just won the 'Who is Least Competitive Championships' where trying to win will make you lose. Trying to lose makes you win which makes you lose. Not trying at all makes you lose which makes you win which makes you lose.
-
pav_3j
-
- Posts: 654
- Joined: Tue Jan 08, 2008 5:40 pm
- Location: canterbury, uk
- Name: Luciano
by urgen » Thu Jul 31, 2008 3:53 pm
...it is "resize tool" more.. by axis... Useful idea,SAHI!  
--pupil forever...------
-

urgen
-
- Posts: 640
- Joined: Mon Nov 12, 2007 10:06 pm
by stanmarsh » Thu Jul 31, 2008 4:34 pm
hi sahi thanks for this ruby! is there anyway to change it to meters?
-
stanmarsh
-
- Posts: 32
- Joined: Mon Jun 23, 2008 12:51 am
by sahi » Thu Jul 31, 2008 6:28 pm
stanmarsh wrote:is there anyway to change it to meters?
meters mashtab.zip
-
sahi
- PluginStore Author

-
- Posts: 138
- Joined: Wed Nov 14, 2007 4:55 pm
- Location: Russia
- Name: sahi
- Operating system: Windows
- SketchUp version: pre-6
- License type: Free/Make
- SketchUp use: architecture
- Level of SketchUp: Beginner
-
by Didier Bur » Thu Jul 31, 2008 10:15 pm
Hi, This doesn't work here: it gives weird results, out of range, entities are moved elsewhere. If entities are not grouped at start, there are grouped at the end. Am I missing something ??? Before/After a scale of 2: scale.jpg
Didier Bur Ecole Nationale Supérieure d'Architecture de Nancy (F)
-

Didier Bur
-
- Posts: 1383
- Joined: Wed Nov 14, 2007 10:07 pm
- Location: Nancy, France
- Name: Didier Bur
- Operating system: Windows
- SketchUp version: 2020
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
by sahi » Fri Aug 01, 2008 7:50 am
changed the names in a script Menu > Plugins > ResizerDom_15.jpg
Last edited by sahi on Fri Aug 01, 2008 12:24 pm, edited 2 times in total.
-
sahi
- PluginStore Author

-
- Posts: 138
- Joined: Wed Nov 14, 2007 4:55 pm
- Location: Russia
- Name: sahi
- Operating system: Windows
- SketchUp version: pre-6
- License type: Free/Make
- SketchUp use: architecture
- Level of SketchUp: Beginner
-
by N Lindenthal » Fri Aug 01, 2008 12:08 pm
On Mac I did not see the scaling tool palette. Is it Menu > Plugins > Scale?
-
N Lindenthal
-
- Posts: 303
- Joined: Sat Jun 07, 2008 7:09 pm
- Location: Bad Ems, Deutschland
by Didier Bur » Fri Aug 01, 2008 12:35 pm
Hi, Dialog is ambiguous: "on all of axes" is not a target size but adds entered size to actual size. The final size would be better IMHO ? Why choosing the bounds center as the center of transformation ? I suggest not to use "to_cm" or "to_m" in the code, but to use only Length type variables. Thus you will suit everyone's unit, no matter what it is. Useful script, though.
Didier Bur Ecole Nationale Supérieure d'Architecture de Nancy (F)
-

Didier Bur
-
- Posts: 1383
- Joined: Wed Nov 14, 2007 10:07 pm
- Location: Nancy, France
- Name: Didier Bur
- Operating system: Windows
- SketchUp version: 2020
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
by sahi » Fri Aug 01, 2008 1:27 pm
Didier Bur wrote:Hi, Dialog is ambiguous: "on all of axes" is not a target size but adds entered size to actual size. The final size would be better IMHO ? Why choosing the bounds center as the center of transformation ? I suggest not to use "to_cm" or "to_m" in the code, but to use only Length type variables. Thus you will suit everyone's unit, no matter what it is.
"on all of axes" ---How to name??? corrected all of other as you specified
-
sahi
- PluginStore Author

-
- Posts: 138
- Joined: Wed Nov 14, 2007 4:55 pm
- Location: Russia
- Name: sahi
- Operating system: Windows
- SketchUp version: pre-6
- License type: Free/Make
- SketchUp use: architecture
- Level of SketchUp: Beginner
-
by Didier Bur » Fri Aug 01, 2008 3:37 pm
Correct me if I'm wrong, but the resize operation works only for faces in XY,XZ and YZ planes (red,green,blue) ? "On all of axes" -> "In every direction" ? English speaking people please help ! Another enhancement is to encapsulate in an operation for one step undo: - Code: Select all
def mashtabirovanie_create Sketchup.active_model.start_operation "Resize" ss=Sketchup.active_model.selection ... ... Sketchup.active_model.select_tool(nil) Sketchup.active_model.commit_operation end
Didier Bur Ecole Nationale Supérieure d'Architecture de Nancy (F)
-

Didier Bur
-
- Posts: 1383
- Joined: Wed Nov 14, 2007 10:07 pm
- Location: Nancy, France
- Name: Didier Bur
- Operating system: Windows
- SketchUp version: 2020
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
by sahi » Fri Aug 01, 2008 3:52 pm
Didier Bur wrote:- Code: Select all
def mashtabirovanie_create Sketchup.active_model.start_operation "Resize" ss=Sketchup.active_model.selection ... ... Sketchup.active_model.select_tool(nil) Sketchup.active_model.commit_operation end
Thank you! Corrected a code. Added an icon. mashtab_3.zip
-
sahi
- PluginStore Author

-
- Posts: 138
- Joined: Wed Nov 14, 2007 4:55 pm
- Location: Russia
- Name: sahi
- Operating system: Windows
- SketchUp version: pre-6
- License type: Free/Make
- SketchUp use: architecture
- Level of SketchUp: Beginner
-
by CadFather » Fri Aug 01, 2008 5:24 pm
..growing into a nice little ruby.
-

CadFather
- PluginStore Author

-
- Posts: 1032
- Joined: Fri Nov 16, 2007 11:03 am
- Location: London, Milano, Sicily
- Name: CadFather
- Operating system: Windows
- SketchUp version: 2014
- License type: Pro
- SketchUp use: landscape architecture
- Level of SketchUp: Advanced
-
by ilay7k » Fri Aug 01, 2008 7:11 pm
Correct me if I'm wrong, but the resize operation works only for faces in XY,XZ and YZ planes (red,green,blue) ? "On all of axes" -> "In every direction" ? English speaking people please help !
Equal "In every direction" is global settings for object of selection(world scaling system in most graphic packages...in attached pic, like cinema4d) or about directions of red,green,blue, Didier, you are right/something like object system/
Last edited by ilay7k on Fri Aug 01, 2008 7:15 pm, edited 2 times in total.
-
ilay7k
-
- Posts: 341
- Joined: Wed Nov 14, 2007 3:49 pm
- Location: Kazakhstan
- Name: Ilya Shpilkin
- Operating system: Windows
- SketchUp version: 8
- License type: Free/Make
- SketchUp use: architecture
- Level of SketchUp: Advanced
by marcosrodrigues » Fri Aug 01, 2008 7:14 pm
Simple and very useful. Thank you!
| menos é mais
-
marcosrodrigues
-
- Posts: 54
- Joined: Tue Jun 10, 2008 2:14 am
- Location: Salvador, Brasil
- Name: marcosrodrigues
-
by Fletch » Sat Aug 02, 2008 6:49 am
I would replace the "on all of axes" line with a checkbox called 'lock aspect ratio' as shown in attached. or just change the name to 'uniform scale'.
-
Fletch
- Twilight Render
-
- Posts: 732
- Joined: Wed Nov 14, 2007 1:02 am
- Location: Milwaukee, WI USA / Rovinj, Croatia
- Name: Fletch
- Operating system: Windows
- SketchUp version: 2017
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
-
by sahi » Wed Aug 06, 2008 6:36 pm
Fletch wrote:I would replace the "on all of axes" line with a checkbox called 'lock aspect ratio' as shown in attached. or just change the name to 'uniform scale'.
dom_3.jpg mashtab_4.zip
-
sahi
- PluginStore Author

-
- Posts: 138
- Joined: Wed Nov 14, 2007 4:55 pm
- Location: Russia
- Name: sahi
- Operating system: Windows
- SketchUp version: pre-6
- License type: Free/Make
- SketchUp use: architecture
- Level of SketchUp: Beginner
-
by unclebim » Thu Jun 07, 2012 9:17 pm
I don't get what should I input in the Lock aspect ratio box in order to get the selection scaled proportionally to exact dimension input in one axis?
-

unclebim
-
- Posts: 53
- Joined: Fri Jun 12, 2009 8:23 pm
- Operating system: Windows
- SketchUp version: 2014
- License type: Pro
- SketchUp use: interior design
- Level of SketchUp: Intermediate
by Zacchia » Tue Jun 11, 2013 7:38 pm
I like it. Thanks!
-
Zacchia
-
- Posts: 195
- Joined: Wed Jun 25, 2008 6:30 pm
- Name: Zacchia
- Operating system: Windows
- SketchUp version: 7
- License type: Pro
- SketchUp use: interior design
- Level of SketchUp: Intermediate
by chialiang168 » Tue May 19, 2015 5:51 pm
尺寸不正確 Size is not correct 
-

chialiang168
-
- Posts: 6
- Joined: Sat Sep 20, 2014 7:52 am
- Name: AN_Hoshino
- Operating system: Windows
- SketchUp version: 2014
- License type: Pro
- SketchUp use: engineering and mechanical design
- Level of SketchUp: Intermediate
-
by cotty » Tue May 19, 2015 5:56 pm
Perhaps your bounding box has a different orientation than the box itself?
-

cotty
- Top SketchUcator
-
- Posts: 3434
- Joined: Fri Feb 12, 2010 1:41 pm
- Location: Germany
- Name: Carsten
- Operating system: Windows
- SketchUp version: 2020
- License type: Pro
- SketchUp use: hobby
- Level of SketchUp: Advanced
-
by juju » Wed May 20, 2015 12:31 pm
cotty wrote:Perhaps your bounding box has a different orientation than the box itself?
that would no sense if the plugin measures the bounding box instead of the geometry
Save the Earth, it's the only planet with chocolate.
-

juju
- Premium Member

-
- Posts: 2738
- Joined: Mon Oct 22, 2007 1:45 pm
- Location: Durbanville, Cape Town, South Africa.
- Name: Juju
- Operating system: Windows
- SketchUp version: 2021
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Intermediate
by sahi » Mon Feb 15, 2016 11:04 am
Updated the plug-in in the first message
-
sahi
- PluginStore Author

-
- Posts: 138
- Joined: Wed Nov 14, 2007 4:55 pm
- Location: Russia
- Name: sahi
- Operating system: Windows
- SketchUp version: pre-6
- License type: Free/Make
- SketchUp use: architecture
- Level of SketchUp: Beginner
-
by designerbursa » Tue May 21, 2019 10:54 am
alternative svg icon
-

designerbursa
-
- Posts: 33
- Joined: Tue Oct 23, 2012 4:38 pm
- Location: Turkey
- Name: sami bayram
- Operating system: Windows
- SketchUp version: 2020
- License type: Pro
- SketchUp use: interior design
- Level of SketchUp: Intermediate
by TeamCVZ » Wed Sep 11, 2019 3:27 pm
Should it work with SU19 ?
-
TeamCVZ
-
- Posts: 1
- Joined: Fri Dec 15, 2017 10:28 am
- Name: MACARY
- Operating system: Windows
- SketchUp version: 2017
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
by Ad Machine » 5 minutes ago
-
Ad Machine
- Robot
-
- Posts: 2012
-
Return to Plugins
|