by sahi » Mon Jun 28, 2010 2:44 pm
The script creates a group component Menu Plugins >> Group in Componentcomponents.rb Edit: Changed title to contain tag '[Plugin]'
Please, register (free) to access all the attachments on the forums.
Last edited by sahi on Tue Jun 29, 2010 8:42 am, edited 2 times in total.
-
sahi
-
- Posts: 132
- Joined: Wed Nov 14, 2007 4:55 pm
- Location: Russia
- Operating system: Windows
- SketchUp version: pre-6
- License type: Free
- SketchUp use: architecture
- Level of SketchUp: Beginner
-
by Chris Fullmer » Mon Jun 28, 2010 6:21 pm
Hi Sahi, I'm not quite sure what you mean. It turns groups into components? Or changes components into groups? Or something entirely different?
Chris
-

Chris Fullmer
- SketchUp Team
-
- Posts: 6691
- Joined: Wed Nov 21, 2007 3:21 am
- Location: Davis, CA
- Name: Chris Fullmer
- Operating system: Windows
- SketchUp version: 8
- License type: Pro
- SketchUp use: landscape architecture
- Level of SketchUp: Advanced
-
by sahi » Mon Jun 28, 2010 7:15 pm
Group changes in the components. If the group does something similar to the one component
-
sahi
-
- Posts: 132
- Joined: Wed Nov 14, 2007 4:55 pm
- Location: Russia
- Operating system: Windows
- SketchUp version: pre-6
- License type: Free
- SketchUp use: architecture
- Level of SketchUp: Beginner
-
by thomthom » Mon Jun 28, 2010 7:31 pm
Looking at the code and I still don't understand what this does.
-

thomthom
- Global Moderator
-
- Posts: 17625
- 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
-
by sahi » Mon Jun 28, 2010 7:38 pm
thomthom wrote:Looking at the code and I still don't understand what this does.
1.selection Group 2. Translates into a component group 3. It scans all the remaining groups 4 If there are the same then replaces them with this component.
-
sahi
-
- Posts: 132
- Joined: Wed Nov 14, 2007 4:55 pm
- Location: Russia
- Operating system: Windows
- SketchUp version: pre-6
- License type: Free
- SketchUp use: architecture
- Level of SketchUp: Beginner
-
by CadFather » Mon Jun 28, 2010 10:25 pm
guess it's like the one in thom's selection tools - turn groups in components.. amazing what a couple a semantic turn can do..
Quarr-IT - SketchUp Training from the Master .. . .
-

CadFather
-
- Posts: 809
- Joined: Fri Nov 16, 2007 11:03 am
- Location: London, Milano, Sicily
- Name: Max Coppoletta
-
by thomthom » Mon Jun 28, 2010 10:52 pm
I'm not sure if it is quite the same. It does some comparisons of edge lengths...
-

thomthom
- Global Moderator
-
- Posts: 17625
- 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
-
by sahi » Mon Jun 28, 2010 11:04 pm
thomthom wrote:I'm not sure if it is quite the same. It does some comparisons of edge lengths...
Yes. Сreate an array of them, sort, compare. (Compare the array and not the length) In the plugin still has bugs. Here's a version of the plug updated in first post
Last edited by sahi on Tue Jun 29, 2010 8:44 am, edited 1 time in total.
-
sahi
-
- Posts: 132
- Joined: Wed Nov 14, 2007 4:55 pm
- Location: Russia
- Operating system: Windows
- SketchUp version: pre-6
- License type: Free
- SketchUp use: architecture
- Level of SketchUp: Beginner
-
by thomthom » Tue Jun 29, 2010 8:25 am
If that is an update, could you update the first post please?
-

thomthom
- Global Moderator
-
- Posts: 17625
- 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
-
by rv1974 » Tue Jun 29, 2010 9:54 am
@sahi MGIMO finished? (:
-
rv1974
-
- Posts: 523
- Joined: Tue Nov 13, 2007 11:38 am
- Name: rv1974
- Operating system: Windows
- SketchUp version: 8
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
by sahi » Tue Jun 29, 2010 10:11 am
rv1974 wrote:@sahi MGIMO finished? (:

-
sahi
-
- Posts: 132
- Joined: Wed Nov 14, 2007 4:55 pm
- Location: Russia
- Operating system: Windows
- SketchUp version: pre-6
- License type: Free
- SketchUp use: architecture
- Level of SketchUp: Beginner
-
by putnik » Wed Jun 30, 2010 6:09 am
sahi,
напиши по русски, что плагин делает, я переведу. не особо понятно.
-
putnik
-
- Posts: 68
- Joined: Thu Nov 15, 2007 2:04 am
- Location: Melbourne, Australia
- Name: Kesha Chakhvorostov
-
by sahi » Wed Jun 30, 2010 8:19 am
putnik wrote:sahi, напиши по русски, что плагин делает, я переведу. не особо понятно.
Скрипт переводит группы в компоненты. одинаковые группы заменяет на один компонент. Вот для примера файл: смотрим статистику Pech_SU5.zip Состоит из групп, размером 756 кб, групп 155 Выделяем все и применяем скрипт. Размер файла уменьшается на 500 кб PS: Скрипт ещё не закончен, ему не хватает точности, но все же довольно таки не плохо работает.
Please, register (free) to access all the attachments on the forums.
-
sahi
-
- Posts: 132
- Joined: Wed Nov 14, 2007 4:55 pm
- Location: Russia
- Operating system: Windows
- SketchUp version: pre-6
- License type: Free
- SketchUp use: architecture
- Level of SketchUp: Beginner
-
by rv1974 » Wed Jun 30, 2010 9:47 am
чем он отличается от уже сушествуюшего?
-
rv1974
-
- Posts: 523
- Joined: Tue Nov 13, 2007 11:38 am
- Name: rv1974
- Operating system: Windows
- SketchUp version: 8
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
by Chris Fullmer » Wed Jun 30, 2010 4:06 pm
Any explanation what this most recent file is? Thanks!
-

Chris Fullmer
- SketchUp Team
-
- Posts: 6691
- Joined: Wed Nov 21, 2007 3:21 am
- Location: Davis, CA
- Name: Chris Fullmer
- Operating system: Windows
- SketchUp version: 8
- License type: Pro
- SketchUp use: landscape architecture
- Level of SketchUp: Advanced
-
by thomthom » Wed Jun 30, 2010 4:10 pm
From Google Translate: The script takes the group into components. The same group replaces one component. Here's an example file: look at the statistics
Pech_SU5.zip (290.92 KiB) Not downloaded yet
Consists of a group size of 756 kb, 155 groups Select all and apply the script. File size reduced to 500 kb
PS: The script is not finished yet, it lacks precision, but rather did not not work.
-

thomthom
- Global Moderator
-
- Posts: 17625
- 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
-
by Ad Machine » 5 minutes ago
Need Authorised SketchUp Training by experts in various disciplines? Check out our Training details.
-
Ad Machine
- Robot
-
- Posts: 2012
-
Return to Plugins
|