[Plugin] CleanUp
-
@thomthom said:
@unknownuser said:
@thomthom said:
The way CleanUp traverses the model it's tricky to know what is part of a locked group or not. But I'll put it down for investigation.
You can use ruby to check if is locked or not
http://code.google.com/apis/sketchup/docs/ourdoc/group.html#locked?
http://code.google.com/apis/sketchup/docs/ourdoc/componentinstance.html#locked?I know, but, I traverse the model by
model.definitions.each
- which means that I do not know if the parent for the instances I traverse are locked. I could be checking a sub-group of a locked group and.locked?
will return false.yes sir you are right .......
when run Cleanup last setting he CHK all group or component ..... right ...?
-
VERY useful! My thanks for producing and releasing this.
Might you consider adding "Remove Materials" from Backface? I know it's in another plugin but it's something I should do as part of my final cleanup but I often forget. Adding this would to Cleanup would be real handy and I would like to see the count of cleaned backfaces in the statistics too.
P.S.
Ya know, adding "Remove Untextured Faces" would be a godsend for me. Any chance of that too? -
It doesn't work with sketchup pro 8. what could be the reason?
-
@0devang said:
It doesn't work with sketchup pro 8. what could be the reason?
The plugin does indeed work with SketchUp 8 Pro. If it isn't working for you, the most likely cause is that it hasn't been installed correctly. Go back to the first post and read the instructions and make sure it has been installed correctly. This includes installing TT_Lib2 as indicated under Requirements.
-
@genma saotome said:
VERY useful! My thanks for producing and releasing this.
Might you consider adding "Remove Materials" from Backface? I know it's in another plugin but it's something I should do as part of my final cleanup but I often forget. Adding this would to Cleanup would be real handy and I would like to see the count of cleaned backfaces in the statistics too.
P.S.
Ya know, adding "Remove Untextured Faces" would be a godsend for me. Any chance of that too?I'll see what I can do for the next release. (I'm quite busy atm, can't promise anything.)
-
Indeed, a "remove materials from back face", but applicable only to selection (or entire model if nothing selected" would be great! The current plugin that does it, removes from entire model. And I often have windows (with or without thickness), or other transparent materials and they start to look bad after removing backface material.
-
Hello thomthom,
i am eager to use your CleanUp Plugin - but i've some troubles installing it - i am using Sketchup 8 under WINE
I installed both CleanUp 3.1.8 and TT_Lib2 2.6.0 in the plugin-Directory. and i get the following Error:
Error Loading File tt_cleanup.rb
uninitialized constant TT::Systemdo you have any Hint for me?
thanks, georg
-
that's the whole error message?
If yes, then could you open the Ruby Console in SketchUp and type load
'tt_cleanup.rb'
and see if you get a more verbose error message then?Other than that, maybe a screenshot of how CleanUp and TT_Lib2 is installed in your plugins folder?
-
.
[Feature Request]
Weld all lines... not sure if it's possible or maybe it will take too long but it'd be sweet to weld everything in one shot.
-
Weld all edges between junctions?
That can be done with Edge Tools already if you use the Simplify Selected Curves and specify 0 deviation.
-
about the WINE Problem
starting it via Ruby Console gives a lot of Warnings and an Error:
Error: #<NameError: C:/Programme/Google/Google SketchUp 8/Plugins/TT_Lib2/webdialog_patch.rb:10: uninitialized constant TT::System>
C:/Programme/Google/Google SketchUp 8/Plugins/tt_cleanup.rb:79
C:/Programme/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb:400:inrequire' C:/Programme/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb:400 C:/Programme/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb:399:in
each'
C:/Programme/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb:399
C:/Programme/Google/Google SketchUp 8/Plugins/tt_cleanup.rb:79:inrequire' C:/Programme/Google/Google SketchUp 8/Plugins/tt_cleanup.rb:79 (eval):79:in
load'I think the Directory-Structure is ok - because i tried your plugin in VirtualBox today - and it works like a charm - Great Plugin btw.
thanks,
Georg
-
hm... this is odd... but could you try something?
Openwebdialog_patch.rb
and insert two new lines at the top of the file:require 'TT_Lib2/core.rb' require 'TT_Lib2/system.rb'
?
Not sure why only you get this, but maybe there's some quirk in that it runs under Wine...
-
yes - i am one step further. The plugin loads now - but the Plugins->CleanUp3->Clean... shows an empty Windows. Maybe i have to install IExplorer?
thanks
-
I will leave it like that - the Merge Faces and erase hidden geometry works! and thats fine for me
-
@oggstreamer said:
yes - i am one step further. The plugin loads now
I will add the changes to the next release.
@oggstreamer said:
but the Plugins->CleanUp3->Clean... shows an empty Windows. Maybe i have to install IExplorer?
The window is a webdialog, which under windows use an embedded Internet Explorer window and under OSX it uses an embedded WebKit.
It's been a while since I tried Ubuntu, but I used to have an old machine with it and I tried SU a couple of times. But I usually got crashes - when I didn't I got problems with webdialogs.But not sure what the status is now though - a couple of years later...
-
i found a blog about webdialog on wine related to Sketchup:
http://robsworldoftech.blogspot.com/2010/12/getting-sketchup-8-working-in-wine-even.html
maybe it will work this way but i don't have time right now to try it.
-
Hello thomthom ! I'm new user of sUP and this forum! Thank you for your work! And sorry for my bad English !
-
Thom,
I am excited to try your program for cleaning up lines in a file imported from autocad. Would you mind explaining how to install the plug-in, or direct me to where I might find a tutorial for that? I'm a new member of this site and the only other plug-in I have used is Kerkythea, so pretty clueless what to do with the rb file after saving it to the desktop. I am using SU version 8 with mac OS x 10.6.8.
Thanks a lot!
Troy
-
Here are some instructions how to install zipped plugins:
http://forums.sketchucation.com/viewtopic.php?f=323&t=35746Note that for this plugin to work, you will also need to install another plugin library (linked from the first post). That's also zipped so the procedure is the same.
-
Hello,
So.. after the installation of M2, I put tt_cleanup.rb in the brand new plugins folder.. I think the shiny new empty folder confused it.. it's lonesome in there and I'm getting the messages on startup
tt?cleanup.rb
Error: No such file to load - TT_lib2/core.rbSo.. instead of using the copy/paste of the file from the old plugins folder, I came back to this thread and downloaded it again.. same error message.
Is there a companion file I'm supposed to download with it?
Advertisement