[Plugin] CleanUp

Re: [Plugin] CleanUp

Postby DDK » Tue Jul 28, 2015 11:54 pm

wow thank you so much for this, was told I would have to optimize with a different program and learn that... this saves me so much time , I love it...need it for my objects in game engines... I've only had one issue where I lost a part of my project but I fixed it and is all good.. you do great work, you are awesome!!! :enlight:
0
User avatar
DDK 
 

Re: [Plugin] CleanUp

Postby MistahGrizzly » Mon Aug 17, 2015 2:49 pm

for me is not working :( is only deleting max 15 and when i click to show hidden geometry is not showing nothing :(
0

MistahGrizzly 
 

Re: [Plugin] CleanUp

Postby derei » Thu Jan 14, 2016 1:18 am

After the SUbD rising and other quad-based modeling helpers in SketchUp, maybe some fixes to the CleanUp plugin would be in order. And frankly, I would be very happy if we would have some fixes (i may even send you a cookie :mrgreen: )

So, what I'm thinking:
1.option to cleanup with preserving the quads (there are still plenty of faces to merge and messy geometry to clean) - as now it will clean absolutely everything.
2.add the possibility to save presets. There are already some presets in the menu, but many times special combinations of settings are required. Would be awesome to save those as presets for quick use (and even adding kb shortcuts to them, if is not too much to ask :D)

Thank you very much.
2
DESIGNER AND ARTIST DEREI.UK
User avatar
derei 
 

Re: [Plugin] CleanUp

Postby thomthom » Fri Jan 15, 2016 3:08 am

Good suggestions. I filed it in the issue tracker: https://bitbucket.org/thomthom/cleanup/ ... erve-quads
1
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin] CleanUp

Postby KDhyne » Fri May 27, 2016 4:34 pm

Hello! Your extension is very useful!

I'd like to know if there is a way to automate this plugin via ruby script? I need to import a 3ds file, run this extension, save as .skp, and repeat about 1500 times :)

Is this possible? Thank you!
0

KDhyne 
 

Re: [Plugin] CleanUp

Postby sasasaps » Wed Jun 01, 2016 3:32 am

Great plug-in! Thanks a lot TT.

Also here for a question, in case anybody got to it already: What would be the recommended settings of the CleanUp plug-in so it doesn't kill the proxy materials??

In my experience it has taken down the "linked" materials used in proxies, someone else had the same trouble?
0

sasasaps 
 

Re: [Plugin] CleanUp

Postby sasasaps » Thu Jun 02, 2016 5:20 pm

sasasaps wrote:Great plug-in! Thanks a lot TT.

Also here for a question, in case anybody got to it already: What would be the recommended settings of the CleanUp plug-in so it doesn't kill the proxy materials??

In my experience it has taken down the "linked" materials used in proxies, someone else had the same trouble?


Sorry, I forgot to explain that I use proxies in Vray 2.0 (in SKP2016).

Thanks,
0

sasasaps 
 

Re: [Plugin] CleanUp

Postby shannonnovus » Fri Jun 10, 2016 4:52 pm

For the most part I love this plugin, but I'm having an issue with the "smooth by angle" feature. I'm running SketchUp 2015, with CleanUp3 (3.3.1).

It seems like the CleanUp plugin is "seeing" the lines that it could fix, and claims to be doing so, but isn't actually fixing anything.

Steps to reproduce:
1) Select the geometry (building outlines that have several line segments that are almost but not quite parallel)
2) Run CleanUp3, with Smooth Edges by Angle set to 5.0.
3) It runs, and says "Edges reduced: 1500", and the validity check is showing no problems.
4) BUT, then I still have the same number of edges in my model (8417) that I had at the beginning. Looking at the outlines in detail, the offending lines are still there.

I've tried both with faces included and faces deleted.

Any ideas?

Thanks,
Shannon
0

shannonnovus 
 

Re: [Plugin] CleanUp

Postby thomthom » Mon Jun 27, 2016 5:55 pm

sasasaps wrote:Great plug-in! Thanks a lot TT.

Also here for a question, in case anybody got to it already: What would be the recommended settings of the CleanUp plug-in so it doesn't kill the proxy materials??

In my experience it has taken down the "linked" materials used in proxies, someone else had the same trouble?

I'm not sure how the proxy materials are stored. You might want to make CleanUp not ignore attributes for materials - to avoid materials merging unless also the attributes are identical.
Then it could be that some materials used are not applied in the model - then you want to avoid purging materials.
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin] CleanUp

Postby manum876 » Tue Aug 30, 2016 6:46 pm

Hi Thom! You see, I have some trouble loading the plugin, I already uninstalled it a couple of times, and replaced everything with the latest version to no avail. Here's the error log that appears every time I fire up SketchUp. Hope you can help me.
Thanks.

Something when wrong trying to load C:/Users/UsuarioBMA/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/TT_CleanUp/vendor/error-handler/error_reporter.rb.
Please copy this message and forward it to the developer.
Load error:
Error: #<NameError: undefined local variable or method `error' for main:Object>
C:/Users/UsuarioBMA/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/TT_CleanUp/vendor/error-handler/error_reporter.rb:483:in `rescue in <top (required)>'
C:/Users/UsuarioBMA/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/TT_CleanUp/vendor/error-handler/error_reporter.rb:12:in `<top (required)>'
C:/Users/UsuarioBMA/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/tt_cleanup/bootstrap.rb:8:in `require'
C:/Users/UsuarioBMA/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/tt_cleanup/bootstrap.rb:8:in `<top (required)>'
C:/PROGRA~1/SketchUp/SKETCH~1/Tools/extensions.rb:197:in `require'
C:/PROGRA~1/SketchUp/SKETCH~1/Tools/extensions.rb:197:in `load'
C:/Users/UsuarioBMA/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/tt_cleanup.rb:40:in `register_extension'
C:/Users/UsuarioBMA/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/tt_cleanup.rb:40:in `<module:CleanUp>'
C:/Users/UsuarioBMA/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/tt_cleanup.rb:15:in `<module:Plugins>'
C:/Users/UsuarioBMA/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/tt_cleanup.rb:14:in `<module:TT>'
C:/Users/UsuarioBMA/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/tt_cleanup.rb:13:in `<top (required)>'
C:/PROGRA~1/SketchUp/SKETCH~1/Tools/sketchup.rb:85:in `require'
C:/PROGRA~1/SketchUp/SKETCH~1/Tools/sketchup.rb:85:in `block in require_all'
C:/PROGRA~1/SketchUp/SKETCH~1/Tools/sketchup.rb:85:in `each'
C:/PROGRA~1/SketchUp/SKETCH~1/Tools/sketchup.rb:85:in `require_all'
eval:1:in `<main>'
0

manum876 
 

Re: [Plugin] CleanUp

Postby AirWindSolar » Tue Aug 30, 2016 10:23 pm

This is probably my most used extension, but there's one option I'd love to see added; removing the terrain layer.
I use the location snapshot on probably 95% of my models for placing ground mounts or having an easy reference to real world objects, but only about 1% of my models actually use the terrain. (For the most part, that's left to the installers to deal with on site.) That can end up being a huge amount of extra data. Currently, I end up having to turn snapshot off, turn terrain on, unlock and delete each imagery section, then delete the layer and turn snapshot back on. Having it happen automatically in an extension I run on every model anyway would save some time and eliminate those times when I just plain forget to do it and leave 2-3 extra MB of unused data in a model of, for example, an apartment complex or shopping center. Foregoing "clean with last settings" and unchecking the option on the rare occasion I actually want the terrain would be a small price to pay.
0

AirWindSolar 
 

Re: [Plugin] CleanUp

Postby thomthom » Wed Aug 31, 2016 12:56 pm

Can you file that feature request in the issue tracker please?
https://bitbucket.org/thomthom/cleanup/ ... tatus=open
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin] CleanUp

Postby plot-paris » Wed Sep 07, 2016 11:05 am

Hey Thomthom,

I do not know since when this is an issue. But with big models, the CleanUp porcess doesn't work anymore. Only when I select small portions at a time, does it clean up. If I select too many objects simultaneously, its not doing anything.
Is this a known issue?
Here is such a model. Do you experience the same problem or is it just my system
0
User avatar
plot-paris 
 

Re: [Plugin] CleanUp

Postby thomthom » Wed Sep 07, 2016 4:55 pm

I've not heard of that. What system do you got? SU version, OS and OS version?
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin] CleanUp

Postby plot-paris » Wed Sep 07, 2016 5:13 pm

SketchUp Pro 2016 (v 16.1.1449)
Windows 10
0
User avatar
plot-paris 
 

Re: [Plugin] CleanUp

Postby cotty » Wed Sep 07, 2016 5:39 pm

I've got a lot of unresolved problems while opening the model, the cleanup afterwards leads to this...

cleanupproblem.JPG
0
User avatar
cotty 
Top SketchUcator
 

Re: [Plugin] CleanUp

Postby thomthom » Wed Sep 07, 2016 7:12 pm

plot-paris wrote:SketchUp Pro 2016 (v 16.1.1449)
Windows 10

What version of CleanUp did you have?
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin] CleanUp

Postby thomthom » Wed Sep 07, 2016 7:18 pm

cotty wrote:I've got a lot of unresolved problems while opening the model, the cleanup afterwards leads to this...


I also saw the model had lots of validation issues.

I found your error report Cotty. It appear to come from face merging - some faces where lost. Typically I see this when a model have small faces which cause tolerance issue in SU. Or some models with imported DWG data which have carried over some small precision issues.

However, when I opened that model and ran only Merge Faces I got no errors.

What settings did you guys use with CleanUp? The different set of options often have great impact on what might trigger a bug/issue.
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin] CleanUp

Postby cotty » Wed Sep 07, 2016 7:26 pm

I do prefer ultra-clean... ;-)

cleanupproblemsettings.JPG
0
User avatar
cotty 
Top SketchUcator
 

Re: [Plugin] CleanUp

Postby plot-paris » Wed Sep 07, 2016 8:38 pm

I was relying on the SketchUcation Plugin to keep my stuff up to date. But that obviously didn't work. I just re-installed CleanUp³ and now got the same error message as cotty.

I then used thomthom's trick and did a first run, just Merging Faces and then a second, full cleanup. This worked!

So thanks guys. Now I have a new trick to use, when handling problematic models...
0
User avatar
plot-paris 
 

Re: [Plugin] CleanUp

Postby Dave R » Wed Sep 07, 2016 8:43 pm

Maybe you could add another trick and clean periodically as you go so you don't have a big load of stuff to clean up at the end.
0
Etaoin Shrdlu


%

(THERE'S NO PLACE LIKE)

G28 X0.0 Y0.0 Z0.0

M30

%
User avatar
Dave R 
Global Moderator
 

Re: [Plugin] CleanUp

Postby thomthom » Thu Sep 08, 2016 3:48 pm

cotty wrote:I do prefer ultra-clean... ;-)

I recommend to enable Remove Duplicate Face only when you know there is an issue. It's extremely slow and not always reliable.
1
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin] CleanUp

Postby thomthom » Thu Sep 08, 2016 3:49 pm

plot-paris wrote:I then used thomthom's trick and did a first run, just Merging Faces and then a second, full cleanup. This worked!

That's strange... and troublesome. It means the issue stems from compound cleanup actions. hmm...
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin] CleanUp

Postby cotty » Thu Sep 08, 2016 5:53 pm

thomthom wrote:
cotty wrote:I do prefer ultra-clean... ;-)

I recommend to enable Remove Duplicate Face only when you know there is an issue. It's extremely slow and not always reliable.

Thank you for the tip!
0
User avatar
cotty 
Top SketchUcator
 

Re: [Plugin] CleanUp

Postby AirWindSolar » Thu Sep 08, 2016 6:28 pm

thomthom wrote:That's strange... and troublesome. It means the issue stems from compound cleanup actions. hmm...


Possibly the order of the operations? Sounds like removing duplicate faces simplified it enough that whatever was crashing could handle what was left after that specific operation.

One thing I'm noticing is that, for example, the bicycles are 24 separate but apparently identical ~600kb groups. That adds a lot of complexity compared to having a couple dozen instances of a single component. Same thing with several doors, etc. How hard would it be to recognize identical groups/components/items, and replace all of the duplicates with instances of one? (Maybe with some minimum complexity and/or count so it's not making components of every triangle or rectangle that happens to have a single mate somewhere.)
0

AirWindSolar 
 

Re: [Plugin] CleanUp

Postby thomthom » Mon Sep 12, 2016 1:21 pm

AirWindSolar wrote:How hard would it be to recognize identical groups/components/items, and replace all of the duplicates with instances of one? (Maybe with some minimum complexity and/or count so it's not making components of every triangle or rectangle that happens to have a single mate somewhere.)

I had a stab at that a few years ago: viewtopic.php?t=30143
But I never got around to finish it. It quickly becomes non-trivial.
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin] CleanUp

Postby AirWindSolar » Wed Oct 12, 2016 5:56 pm

Another thought on this one; not sure how hard it would be to calculate without saving, but a before and after file size, or percent reduction of the file size in the info box would be a handy bit of bragging if a user is wondering how much this saved them.
0

AirWindSolar 
 

Re: [Plugin] CleanUp

Postby thomthom » Thu Oct 13, 2016 10:35 am

That would not be realistically possible with any kind of accuracy. The fileformat changes from version to version and the filesize depend on how SU pack the bytes.

Also, the filesize is not a good indication for how complex or large the model is. You can have a model with millions of faces and tiny filesize due to using components. On the other hand, you could also have a huge filesize with only a cube in the model - if there are applied large textures, watermarks etc. Materials, attributes, styles, watermarks all skew the filesize.

CleanUp was never made for saving filesize - it was for making the model geometry cleaner and simpler, hopefully improving the performance of the model a little. (Some times you do notice a big filesize difference - which is most likely due to purging unused items, but that's just a bonus.)
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin] CleanUp

Postby pilou » Thu Feb 23, 2017 9:56 am

Why Clean Up after a Lattice Maker (by TIG) don't Clean coplanar thing ? :o

Solid Solver by TIG make it ! :fro:

Solid Inspector2 don't make it! :o (by ThomThom)
Protrude by Jim
Fredo Scale by Fredo6

What I miss ?

0
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

Re: [Plugin] CleanUp

Postby kaas » Thu Mar 02, 2017 4:16 pm

@Thom - I'm curious - when using CleanUp3, the operation collapses the Outliner-list. Its the same behavior as choosing 'collapse all' when right-clicking on the level entry (the file name). Do you know what causes this behavior?
0

kaas 
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 

PreviousNext


 

Return to Plugins

Who is online

Users browsing this forum: Deeriickdinging, fredo6, napatchon , Wuuuu and 8 guests

Visit our sponsors: