CleanUp³
Cleans up and optimizes your SketchUp model.
CleanUp³

Features

  • Fixes duplicate component definition names ( When in model scope )
  • Purge unused items
  • Erase hidden geometry
  • Erase duplicate faces
  • Erase lonely edges ( Except edges on cut plane )
  • Remove edge material
  • Repair split edges
  • Smooth & soft edges
  • Put edges and faces to Layer0
  • Merge identical materials
  • Merge connected co-planar faces

Menus & Toolbars

  • Plugins » CleanUp

Requirements

Related Links

CookieWare

I'd be happy if you donate a cookie (or a beer) if you find my plugins useful.

Reviews

Today I have cleanup one small file 2MB, which takes 6hr for "Erase Duplicate face" on. in SU2017. Why it is taking so long time for the small object to erasing duplicate face??? Is it the bug???

ThomThom's 的頭像

Erase Duplicate faces is a very slow operation - recommend to only use it if you know you have issues with faces overlapping in the model.

It's hard to tell what is going on without seeing the model. (If you can share the model in the SketchUp forums I could take a look.)
In general, file size isn't a good measurement to whether there's a lot of geometry or not. Textures often take up a lot of a model. It's possible to have a model with lots of geometry while having a small filesize. Number of faces and edges are more accurate measurement to how large/complex the model is.

I installed this plugin with the required library and I can't see it anywhere.

using SU pro 2017

I agree, I have no plug in tab. If I go to window > extension manager I can see that it is installed. I also installed the TT_Lib2 and they both show as enabled, but how or where can I open it? I simply don't see an option anywhere to open it (There's no plug-in tab as shown in the video and I don't see it in any of the other tab I have). Strange. Must be because the sketchup version I have is newer or something.

Edit: Nevermind, figured it out. On the Mac you can't just click the close button, you have to actually force quit the application and then reopen and it will be under the "extensions" tab.

Francis Mc Shane's 的頭像

this is a super extension,
thank you very much.

my plugin window doesn't appear, help please !

On mine its extensions not pluging, also had to restart sketchup

ThomThom's 的頭像

I'm not sure I understand what you mean. Do you mean the Plugin menu?

Michał P's 的頭像

I think I have similar issue to Henrique V. I installed the newest version and the plugin's floating window doesn't appear. The plugin is only accessible from Extension > CleanUp (SU 2017 pro). Also the plugin is not listed when I right-click on toolbars freespace.

ThomThom's 的頭像

"Floating window?" Do you mean a toolbar? This extension doesn't have any toolbars. Only menu to access.

Michał P's 的頭像

Yes, I mean the gray window that appears when you, in the movie, click on Plugins > Cleanup. In my SketchUp it doesn't appear but for me the accesss from "Plugins" is ok. I thought it could be a suggestion for Henrique V.

EXCELENTE EXTENCIÓN! GRACIAS!

firstly thank you for this plugin. I install it but i cant find. i have 2017

ThomThom's 的頭像

Did you also install the required TT_Lib linked in the description?
Are you getting any error messages?
Is the extension enabled in the Extension Manager?

same here i can not seem to find it either and mine is enabled and i did not get any error messages and i am using a pc

Tom can you please help me? I did evething that you said to unblock my extention and I still can't use it, still shows signature is 'outdated' can you please help me? I havent use the extension for 5 weeks and I reallu need

ThomThom's 的頭像

Setting the extension Loading Policy to Unrestricted or Approve Unidentified Extensions will allow you to load extensions with outdated signatures.

The signature system was changed for SU2017 and CleanUp haven't been updated since then.

Thank you fo your reply..
that is the issu I already did that and I still can't use the extension.
That is a issue, you have any idea what can be?

ThomThom's 的頭像

If your Loading Policy is Unrestricted then the signature is not related.

Hard to tell what's going on without knowing more.

1. What is your SketchUp version?
2. Are you using mac or pc? (What version?)
3. Did you install the required TT_Lib?
4. Are you seeing any error messages when SketchUp starts up?
5a. If SU2017, is the extension listed in the Extension Manager?
5b. If SU2016 or older, is the extension listed under Preferences > Extensions?
6. Is the extension marked as enabled?
7. When you say you cannot use the extension, what is it that you are observing and what is expected behaviour?

1- 2017 version 17.2.2554
2- mac OS Sierra version 10.12.4
3- I never install the TT_Lib (maybe thats is the problem) how I proceed after install?
4- no errors
5 - yes is listed
6 yes it is
7 is shows outdated signature still.. even after your intructions

THANKYOU SO MUCH,

ThomThom's 的頭像

7. Since you have your Loading Policy set to Unrestricted the signature won't affect anything. The message will still appear until this extension is updated.

Can you elaborate on what isn't working? From what I gather the extension is loaded. And you see the menu item under the Extension menu?

What are you doing when it's not working, and exactly what isn't working?

https://gyazo.com/e2dd2cafe5347639108d8563ca84294d
This is what happens in my case, there is nothing else I can say about it. I have the settings as you've said, still nothing changes. It's worked on another version of Sketchup I once used, but not the 2017 one.

ThomThom's 的頭像

That image, are you referring to the warning about outdated signature? If you have set your Loading Policy to Unrestricted it have no effect on the usage of the extension - just ignore it.

If you have problem using it, then let me know. (Please elaborate on what isn't working, what menu items you are using, what CleanUp settings you are using etc.)

1- 2017 version 17.2.2554
2- mac OS Sierra version 10.12.4
3- I never install the TT_Lib (maybe thats is the problem) how I proceed after install?
4- no errors
5 - yes is listed
6 yes it is
7 is shows outdated signature still.. even after your intructions

THANKYOU SO MUCH,

Thanks ThomThom This is awesome! It made it so I could export .stl where as before I couldnt because I think it had some inverse faces or something like that. Thanks again!

Tom B's 的頭像

Hi, it tells me the signature is 'outdated'???

ThomThom's 的頭像

Yea, SU2017 changed the way signatures work. Unless you have set your extension loading policy to "Identified Only" it will have no effect.

I did this Identified Only" it will have no effect. but is shows blocked

Tom B's 的頭像

it was working earlier i just was worried incase it meant eventually it would stop.

Love it though!

Giuliano N.'s 的頭像

Hi, I get the following error when I open sketchup:

Error Loading File C:/Users/gdarrigo/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/tt_cleanup/bootstrap.rb
Error: #
C:/Users/gdarrigo/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/TT_CleanUp/vendor/error-handler/error_reporter.rb:483:in `rescue in '
C:/Users/gdarrigo/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/TT_CleanUp/vendor/error-handler/error_reporter.rb:12:in `'
C:/Users/gdarrigo/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/tt_cleanup/bootstrap.rb:8:in `require'
C:/Users/gdarrigo/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/tt_cleanup/bootstrap.rb:8:in `'
C:/Program Files (x86)/SketchUp/SketchUp 2014/Tools/extensions.rb:197:in `require'
C:/Program Files (x86)/SketchUp/SketchUp 2014/Tools/extensions.rb:197:in `load'
C:/Users/gdarrigo/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/tt_cleanup.rb:40:in `register_extension'
C:/Users/gdarrigo/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/tt_cleanup.rb:40:in `'
C:/Users/gdarrigo/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/tt_cleanup.rb:15:in `'
C:/Users/gdarrigo/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/tt_cleanup.rb:14:in `'
C:/Users/gdarrigo/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/tt_cleanup.rb:13:in `'

Something when wrong trying to load C:/Users/gdarrigo/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.

Giuliano N.'s 的頭像

Hi, I get the following error when I open sketchup:

Error Loading File C:/Users/gdarrigo/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/tt_cleanup/bootstrap.rb
Error: #
C:/Users/gdarrigo/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/TT_CleanUp/vendor/error-handler/error_reporter.rb:483:in `rescue in '
C:/Users/gdarrigo/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/TT_CleanUp/vendor/error-handler/error_reporter.rb:12:in `'
C:/Users/gdarrigo/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/tt_cleanup/bootstrap.rb:8:in `require'
C:/Users/gdarrigo/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/tt_cleanup/bootstrap.rb:8:in `'
C:/Program Files (x86)/SketchUp/SketchUp 2014/Tools/extensions.rb:197:in `require'
C:/Program Files (x86)/SketchUp/SketchUp 2014/Tools/extensions.rb:197:in `load'
C:/Users/gdarrigo/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/tt_cleanup.rb:40:in `register_extension'
C:/Users/gdarrigo/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/tt_cleanup.rb:40:in `'
C:/Users/gdarrigo/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/tt_cleanup.rb:15:in `'
C:/Users/gdarrigo/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/tt_cleanup.rb:14:in `'
C:/Users/gdarrigo/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/tt_cleanup.rb:13:in `'

Something when wrong trying to load C:/Users/gdarrigo/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.

ThomThom's 的頭像

Hi

I created an issue for this: https://bitbucket.org/thomthom/cleanup/issues/15/undefined-local-variabl...
Can you add a comment there with exactly what version of SU14 you have? The full version number from the About dialog?

Ricardo A.'s 的頭像

Exelente

Hi! I've used this wonderful plugin successfully on previous versions of Sketchup but have problems installing it for Sketchup 2017 (all other plugins I usually use work and install fine.) Has anyone had a problem installing and using this plugin for Sketchup 2017?

I have installed Cleanup3 on my 17.2 Mac version of SketchUp. Installation went fine. Extension appears as enabled in Extension manager, but the app doesn't appear in the extension menu, nor anywhere else. Has anyone experienced this problem?

ThomThom's 的頭像

Did you also install TT_Lib2? And did you restart SketchUp?

ThomThom's 的頭像

Hi Anna

Can you elaborate on that isn't working? (Do you get any error messages etc) What are the steps you are doing and what is happening?

(Btw, these types of questions are often easier to follow up in the forums. If you start a thread there and mention my username "@thomthom" then I'll get notified.)

-Thom

Hola Tom! A mi realmente me pasa lo mismo instalo el pluggin en sketch up pro 2016 y no se me activa el mismo! A pesar de activar la otra extension de tt lib 2! Porque podria ser esto?

I just tried Cleanup on my very large model. It had 8.7m edges and just over 4m faces. With Cleanup it only reduced by <5% to 8.5m edges and 3.99 faces. Is there a safe way to increase this?
Before I do that, it seems I have to do something to fix the following errors? Ignore Normals are already unchecked, but how do I scale up the geometry 10 or 100 times (or at all)?
My 100-story building may eventually reach 4-6GB. It is 200MB now.

10 errors occurred.

10 of these errors was face merging errors. This is typically due to small faces/edges.

Please undo and scale up the geometry 10 or 100 times and try CleanUp again.

You can also try to disable Ignore Normals.

you should use cleanup on not the whole model, but on parts of the model which have a lot of polygons. Say a couch or a tree. If you can select each part of the model and lower the size piece by piece, you can get nice results.

Artisan S.'s 的頭像

Thom,

I know that this problem has come up before, but I was wondering if you have found a definitive solution. I have SketchupPro 17.1.174 (64b) installed, the latest TT_Lib, and have installed, uninstalled, and reinstalled CleanUp3 several times. My issue is that when I open the CleanUp window, the window is completely blank. No options at all. The only thing I can do is use Clean with Last Settings, and that always wipes out all of my individual edges. Please help! Thanks!

ThomThom's 的頭像

Hi
Can you start a thread on the SketchUp forums, and tag me (mention my username "thomthom" using an @ in front; "@thomthom")

It's easier to follow up with questions like this in the forum as it's possible to share images and files there.

-Thom

Artisan S.'s 的頭像

Changed the %SCRIPT% lines in window.html as follows:

%PATH%js/inputbox.js

%TITLE%

%PATH%js/inputbox.js

-->

%CONTENT%

Artisan S.'s 的頭像

Ruby Console shows nothing... CleanUp3 Window shows:

file:///ARTISAN-SERVER/fileshare/UserFolders/dpennington/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/TT_Lib2/webdialog/js/inputbox.js file:///ARTISAN-SERVER/fileshare/UserFolders/dpennington/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/TT_Lib2/webdialog/js/inputbox.js

When I run it.

I am on a Windows 7 computer connected to a 2008r2 server using folder redirection and roaming profiles.

Artisan S.'s 的頭像

Also tried replacing %SCRIPTS% with

Jo W.'s 的頭像

This tool is the BOMB.

I've used ThomThom's plugins before, and this is EXQUISITE. Simple, stupid problems begin to popup with coplaner faces, and then my model is doomed -- or it USED TO BE! Now, I can select the area, merge the coplaner faces that Sketchup would magically insert, clean up the edges -- and I got back to having beautiful, solid polygons.

Are you... are you a wizard?

Cameron T's 的頭像

I feel that this plugin isn't finished. There is something wrong with the purging process, because whenever I try to clean the model, it SketchUp doesn't respond, and for hours on end, too. Some models are easily purge-able, but there are some weird components/groups that don't seem to want to be purged, and then cause SketchUp to be "unresponsive". What can I do to keep this from happening, and what can I do to speed purging time up??

ThomThom's 的頭像

Large models will take longer to process. And some options will make the process longer because it require more computation. The one option I do warn about (and it's seen in the tooltip of the option) is the Remove Duplicate Faces. Keep that unchecked until you know you have a problem with overlapping duplicate faces - because this one really slows things things.

Other than that - the more geometry the slower it will be.

Cameron T's 的頭像

Before this plugin, I actually had to manually clean the models, and that was a pain in the @**, but now, cleaning a model has never been easier, and what was surprising was that the models that I already cleaned had hundreds of thousands of other entities that I had completely overlooked. Thanks!

seeley's 的頭像

Hi ThomThom
I have high hopes for this plugin... as I often use models imported from other platforms with way too much info... I'm currently working on a model I inherited from a client with over 5 million entities!!! Doing anything in sketchup is crazy cumbersome because it's bogged. I'd love a way to "shell tool" it because there is tons of internal geometry I don't want... AND it is built mostly from 6 sided bricks that give a double thickness and tons of coplanar redundant faces when stacked together. Shell tool, per usual, seems to do nothing. I found you a couple of days ago, and tried it on a part of the model, and it did delete some of the internal geometry, though not all, and ran for a couple of hours even though it seemed to think it would take much longer. I'm now 36 hours in to using Cleanup3 on the entire model, and it says there are 12,000 hours left, and it is .3 percent through with duplicate face removal. I'm on a 12 core mac pro w 64gb memory and the stock vid card.

If I cancel... will it leave the deleted entities deleted, or go back to the state where I began? Thanks
Dave