How to make a LED light stripe?
-
Thank you very much Sir, exactly what I wanted.
I will see if I can learn from some of your changes.In the real room, the funtional light will probably come from the spotlights, but it's not quite sure yet.
Thank you very much.
-
Can I ask you in which way you purged the file? I used a Cleaner plug-in, but I'm pretty new, so it would be nice to know which function you used.
-
Just use Model Info > Statistics > Purge Unused... to do it to everything.
My 'Purge All' tool is very similar... but that allows you to purge only specific types of thing - e.g. 'Layers' - if desired it also can report what it has done in more detail...
http://sketchucation.com/resources/pluginstore?pln=PurgeAll -
fyi, purging unused materials from the sketchup model, will cause certain V-Ray materials to not function properly. This is because we allow materials to use other materials as sub materials. Sub materials may not be applied to any objects in the SU scene, so it assumes it is safe to purge, even though this will break any materials utilizing that sub material
-
@dkendig said:
fyi, purging unused materials from the sketchup model, will cause certain V-Ray materials to not function properly. This is because we allow materials to use other materials as sub materials. Sub materials may not be applied to any objects in the SU scene, so it assumes it is safe to purge, even though this will break any materials utilizing that sub material
Can't you find a way to prevent this ? Like, if a material has sub-materials, apply it to an empty group.
group = Sketchup.active_model.entities.add_group() group.material = mat
Or do this temporarly when a "purge materials" button is clicked from the Vray UI. The material would still get deleted when purged from SU's material window, but not from Vray, and you wouldn't pollute the model.
I use a similar snippet from TIG for my own plugin, but with layers.
-
we handle a purge unused properly when you use our UI, but no, we aren't going to litter a SketchUp model with empty groups to prevent the native purge unused tool in SketchUp from removing materials that are used as sub materials. SketchUp needs a way to mark a material as being used, or an observer that allows us to handle that function, once they add that ability, we will support their native tool.
-
-
@tig said:
Just use Model Info > Statistics > Purge Unused... to do it to everything.
My 'Purge All' tool is very similar... but that allows you to purge only specific types of thing - e.g. 'Layers' - if desired it also can report what it has done in more detail...
http://sketchucation.com/resources/pluginstore?pln=PurgeAllTIG's tool is the one i use to get around the VRay linking of sub materials, i just remove material from the 'to be purged' list
-
@tobobo said:
@tig said:
Just use Model Info > Statistics > Purge Unused... to do it to everything.
My 'Purge All' tool is very similar... but that allows you to purge only specific types of thing - e.g. 'Layers' - if desired it also can report what it has done in more detail...
http://sketchucation.com/resources/pluginstore?pln=PurgeAllTIG's tool is the one i use to get around the VRay linking of sub materials, i just remove material from the 'to be purged' list
That isn't necessary if you use the purge unused option in the V-Ray material editor
-
@dkendig said:
That isn't necessary if you use the purge unused option in the V-Ray material editor
What I meant was I use TIG's plugin to purge the model of everything else without losing the VRay materials.
Advertisement