[Plugin]Group in Component
-
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
-
Group changes in the components.
If the group does something similar to the one component -
Looking at the code and I still don't understand what this does.
-
@thomthom said:
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. -
guess it's like the one in thom's selection tools - turn groups in components.. amazing what a couple a semantic turn can do..
-
I'm not sure if it is quite the same. It does some comparisons of edge lengths...
-
If that is an update, could you update the first post please?
-
@thomthom said:
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
-
@sahi
MGIMO finished? -
-
sahi,
напиши по русски, что плагин делает, я переведу. не особо понятно.
-
@putnik said:
sahi,
напиши по русски, что плагин делает, я переведу. не особо понятно.Скрипт переводит группы в компоненты. одинаковые группы заменяет на один компонент.
Вот для примера файл: смотрим статистику
Pech_SU5.zip
Состоит из групп, размером 756 кб, групп 155
Выделяем все и применяем скрипт.
Размер файла уменьшается на 500 кбPS: Скрипт ещё не закончен, ему не хватает точности, но все же довольно таки не плохо работает.
-
чем он отличается от уже сушествуюшего?
-
Any explanation what this most recent file is? Thanks!
-
From Google Translate:
@unknownuser said:
The script takes the group into components. The same group replaces one component.
Here's an example file: look at the statisticsPech_SU5.zip
(290.92 KiB) Not downloaded yetConsists of a group size of 756 kb, 155 groups
Select all and apply the script.
File size reduced to 500 kbPS: The script is not finished yet, it lacks precision, but rather did not not work.
-
hi Sahi
you have done a great job
seems to work with SKECHUP 8 and 2013
Doesn't work with SKETCHUP 6 2014 2015Thanks again
Chri
-
@chri said:
hi Sahi
you have done a great job
seems to work with SKECHUP 8 and 2013
Doesn't work with SKETCHUP 6 2014 2015Thanks again
Chrii wish i could get the same result on my computer
i only get an error message
-
Hi
in english
You will find here , my system and my plugin file if it can help you .en français
Bonjour
Trouves ci-joint des images de ma configuration et le fichier ruby correspondant a notre sujet .Salutations
Chri
-
@chri said:
Hi
in english
You will find here , my system and my plugin file if it can help you .en français
Bonjour
Trouves ci-joint des images de ma configuration et le fichier ruby correspondant a notre sujet .Salutations
Chri
Thank you !
i don't know why, but with the file you put in line, i don't get the error message
it worked also on my computer: the plugin makes components out of groups if they are square boxes
From the test i made, the square boxes must have been made into a group and then duplicated, before the plugin is used; otherwise the plugin doesn't recognize them as identical and makes 2 different components
it could be possible maybe to make it work for other types of groups; by checking the distance between the corners of the bounding box, for example
i shall try
-
Hi Giro
I agree with you , when you tell "... must have been made into a group and then duplicated, before the plugin is used "
... but, i don't understand the meaning of "square boxes" and "other types of groups"for me, there are only 2 possibilty; a group and non-grouped entities!
Sincerely
Chri
Advertisement