Hi, thanks for this indications. Extensions are now available for users.

Posts
-
RE: Select groups/components with selected materials
-
RE: Select groups/components with selected materials
English version
🧩 SketchUp Extensions – JB_SelectByMaterial & JB_IFCCleaner
JB_SelectByMaterial_v1.0
Function: Select all groups and components that contain one or more selected materials, even if deeply nested inside other components.Features:
Starts from one or more selected faces,
Detects materials applied:
directly on faces,
or on parent components/groups (applied at instance level),
Selects all visible matching instances in the model,
Very handy to quickly apply tags, layers, or actions based on visual/material logic.
🧼 JB_IFCCleaner_v1.0
Function: Clean up a SketchUp file imported from IFC (typically overloaded and deeply nested).Purpose:
Remove all IFC attributes at all nesting levels,
Flatten component hierarchies down to a usable depth,
Automatically purge unused components.
Available Options:
Set the depth level of flattening (e.g., 2),
Choose whether to preserve or remove IFC data on the top-level (master) component.
🧠 Why were these extensions created?
In my real-world workflow:I had to import a very heavy IFC file, with thousands of components and excessive nesting (up to 4–5 levels deep). SketchUp became almost unusable.
So I developed two parallel strategies:
After exporting a simplified FBX version through Blender, I lost my tags/layers.
Thanks to JB_SelectByMaterial, I was able to recreate selections by material logic and reassign the correct tags (in a model with over 20,000 components).🧹 For the original IFC version, JB_IFCCleaner helped me:
Strip out unneeded IFC attributes,
Flatten over-complicated component hierarchies,
And regain a usable, lag-free model in SketchUp.
About the development
I’m not a developer, just a SketchUp user facing real technical limitations.With the help of ChatGPT and guidance from Rich O’Brien here on the SketchUcation forums,
I managed to create two lightweight extensions that solve my actual needs — and I’m happy to share them with anyone facing similar problems.
JB_IFCCleaner_v1.0.rbz
JB_SelectByMaterial_v1.0.rbz -
RE: Select groups/components with selected materials
🧩 Extensions SketchUp – JB_SelectByMaterial & JB_IFCCleaner
JB_SelectByMaterial_v1.0
Fonction : sélectionne tous les groupes et composants du modèle contenant un ou plusieurs matériaux actifs, même s’ils sont imbriqués dans des sous-composants.Caractéristiques :
Lance la recherche à partir de faces sélectionnées,
Prend en compte les matériaux appliqués :
sur les faces,
sur les groupes/composants (au niveau supérieur),
Sélectionne toutes les instances identiques visibles dans le modèle,
Très utile pour appliquer rapidement un calque, balise ou action groupée sur une catégorie visuelle de composants.
🧼 JB_IFCCleaner_v1.0
Fonction : nettoie un fichier SketchUp issu d’un import IFC complexe.Objectif :
Supprimer tous les attributs IFC à chaque niveau,
Aplatir la hiérarchie excessive de composants imbriqués,
Purgez automatiquement les composants inutilisés.
Options proposées :
Choix du niveau de profondeur de flatten (ex : 2 niveaux),
Option pour conserver ou supprimer les métadonnées IFC du composant maître sélectionné.
🧠 Pourquoi ces extensions ?
Dans mon cas concret de projet BIM :J’ai dû importer un fichier IFC très lourd, avec des milliers de composants imbriqués (jusqu’à 4 ou 5 niveaux). SketchUp devenait quasi inutilisable.
J’ai alors développé deux approches complémentaires :
Via Blender, j’ai exporté une version FBX optimisée du modèle (géométriquement plus léger), mais j’y ai perdu les balises. Grâce à JB_SelectByMaterial, j’ai pu récupérer très vite une sélection logique par matériaux pour les reclasser facilement (dans un projet avec plus de 20 000 composants).
🧹 Pour le modèle IFC brut, j’ai utilisé JB_IFCCleaner pour :
Supprimer les métadonnées IFC (non nécessaires dans SketchUp),
Réduire les imbrications à 1 ou 2 niveaux maximum,
Et retrouver un modèle navigable.
Contexte de développement
Je ne suis pas développeur, juste utilisateur avancé confronté à une problématique réelle.Grâce à ChatGPT, aux conseils de Rich O’Brien sur ce forum, et à beaucoup de tests, j’ai réussi à créer deux outils qui fonctionnent pour mon usage professionnel – et je les partage ici pour tous ceux confrontés aux mêmes difficultés.
-
RE: Select groups/components with selected materials
thanks for your feedback and advise
-
RE: Select groups/components with selected materials
I'm turning into a chat-developer
even better, if the material is part of a component comprising several entities, the selection will be made with the ‘master’ component.
For example, I have a table with a wooden top and metal legs. I automatically select the ‘wooden top’ material and the table will be selected.
Another summary of what this extension does (tested and working for me):- Multi-material (several faces selected),
- Active context respected (in group or model),
- Ignores hidden entities / hidden layers,
Takes into account : - materials applied directly to faces,
- materials applied globally to components/groups,
- master components, even if the material is in a nested sub-level,
- Plugins menu integration, right-click and toolbar with icon.
SelectByMaterial_AncestorSupport.rbz
-
RE: Select groups/components with selected materials
well one last improvement where in summary this plugin does:
- Detects inherited materials (applied to group or component),
- Ignores hidden entities or entities on non-visible layers,
- Works in the active context (open model or group),
- Handles multiple material selections,
- Adds an entry in the Plugins menu, right-click, and an icon in the toolbar.
SelectByMaterial_InheritedSupport.rbz
-
RE: Select groups/components with selected materials
small update for this extension which still works at my level but does not select hidden elements (layers, geometry, etc.).
-
Select groups/components with selected materials
Hello,
I'm not a developer but according to a precise need I tested chatgpt with which I was able to generate an extension allowing me to select all the groups and/or components containing the selected material(s) on one or more faces.
Once again I'm not a developer but it works for me. I even have an icon that I can insert into my toolbars or an action by simply right-clicking.
So I'm sharing it for someone who's qualified and would like to improve it to create a new extension allowing this selection that I couldn't get with one like Material Selection or Selection Toy.
Good day to all
SelectByMaterial.rbz -
SU Anamorphic
Hello everyone,
I'm working on a hotel project in which I want to develop anamorphic views based on images and models/objects.
For the objects, I don't have any complexities, so it's up to me to divide them up into multi-objects and position them to create an illusion effect as far as the real thing, depending on the angle of view.
On the basis of images, importing them in projected form works but is nevertheless complex and sometimes difficult to implement.
I haven't been able to find a plugin that allows anamorphic projection of an image onto surfaces depending on the viewing angle, am I wrong?
Would there be a solution for simply making these projections, a bit like what blender offers?
https://youtu.be/BgbLXqqaHEI?si=NUWdJPZY2sE55qvg
Help would be greatly appreciated and ideally the development of a dedicated plugin for even more solutions with Sketchup.
Thanks in advance -
RE: Perspectively/anamorphic Project Texture
Hello everyone,
I'm working on a hotel project in which I want to develop anamorphic views based on images and models/objects.
For the objects, I don't have any complexities, so it's up to me to divide them up into multi-objects and position them to create an illusion effect as far as the real thing, depending on the angle of view.
On the basis of images, importing them in projected form works but is nevertheless complex and sometimes difficult to implement.
I haven't been able to find a plugin that allows anamorphic projection of an image onto surfaces depending on the viewing angle, am I wrong?
Would there be a solution for simply making these projections, a bit like what blender offers?
https://youtu.be/BgbLXqqaHEI?si=NUWdJPZY2sE55qvg
Help would be greatly appreciated and ideally the development of a dedicated plugin for even more solutions with Sketchup.
Thanks in advance -
RE: [Plugin] ClothWorks v1.8.0 - 28 Apr 2024
Hi,
I did not find a way to save my presets I already manage, like the one for pillows, an other for curtains ...
If I stay on my sketchup drawing file I have my saved presets ok. But if I draw a cloth on an other sketchup file impossible to retrieve my clothworks presets.
Do I miss something ? Will it be possible to manage them as personal datas we can share and use where we want ?
thanks -
RE: Component attributes update problem
Thanks for your reply.
I finally use classification ( an ifc one ) for components and put all my parameters on it ( ref, name, details ... ). That allow me to avoid the "instance" use and exploit my component definition on layout drawings notes ( on that case it is for electrical draw with a lot of repeated references/details ).regards
-
RE: Component attributes update problem
is there a function I can use to always refer attributes to definitions of the component and not individual instance ?
-
RE: Component attributes update problem
Hi,
sorry I am not understanding how to associate the attribute with the component definition not the instance, can you explain please
thanks -
Component attributes update problem
Hello,
I try to find a solution to automatically update all the attributes ( like name, summary, itemcode … ) for the same duplicate component.
An exemple to be clear,
I draw a « pencil » and create a component.
on the attributes I write « pencil » for component attribute « name » and « blue » on « summary »
I duplicate this component 10 times.
After, I select one and I change « summary » writing « black » instead of « blue » because I decide to change the pencil color.
If I select an other component, the « summary » case still show « blue » instead of « black » …
I try to save my good component ( the « black » one ) and I reload it … my attributes are not changing …I made a lot of research on the net and test some plugins … but impossible to find a solution …
I hope I am enough clear ( i’m french)
Thank you for your help
-
RE: [Plugin][$] RoundCorner - v3.4a - 31 Mar 24
Jeff,
I have try to shrink the palette, but does respond for me (still same problem).However, I change the plugins folder as mention, and try out the roundcorner plugin. I still have the problem, but it responds a little more better.
First improvement, we are on the good way -)
Thanks julien
-
RE: [Plugin][$] RoundCorner - v3.4a - 31 Mar 24
Hi Jeff,
Thanks for your reply, I'll check that and come back to you.
Julien -
RE: [Plugin][$] RoundCorner - v3.4a - 31 Mar 24
Hi all,
Any upadte on this topic? Still have the same problem.
Thanks julien -
RE: [Plugin][$] RoundCorner - v3.4a - 31 Mar 24
Ok, so I have to wait for the next release?
I am sorry but I am not using Windows anymore -)
I was used to work with sketchup 7 and the round corner plugin without any problems.I have download and install curviloft, it works really fine and quick.
I have retry roundcorner, still having the same problem.thanks fredo
-
RE: [Plugin][$] RoundCorner - v3.4a - 31 Mar 24
If it can help, here is an extract of my ruby console for One operation:
/Users/Ju/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/ROUNDCORNER_Dir_21/RoundCorner_Algo.rb:1186: warning: Object#id will be deprecated; use Object#object_id
/Users/Ju/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/ROUNDCORNER_Dir_21/RoundCorner_Algo.rb:1187: warning: Object#id will be deprecated; use Object#object_id
/Users/Ju/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/ROUNDCORNER_Dir_21/RoundCorner_Algo.rb:1186: warning: Object#id will be deprecated; use Object#object_id
/Users/Ju/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/ROUNDCORNER_Dir_21/RoundCorner_Algo.rb:1187: warning: Object#id will be deprecated; use Object#object_id
/Users/Ju/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/ROUNDCORNER_Dir_21/RoundCorner_Algo.rb:1186: warning: Object#id will be deprecated; use Object#object_id
/Users/Ju/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/ROUNDCORNER_Dir_21/RoundCorner_Algo.rb:1187: warning: Object#id will be deprecated; use Object#object_id
/Users/Ju/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/ROUNDCORNER_Dir_21/RoundCorner_Algo.rb:1186: warning: Object#id will be deprecated; use Object#object_id
/Users/Ju/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/ROUNDCORNER_Dir_21/RoundCorner_Algo.rb:1187: warning: Object#id will be deprecated; use Object#object_id