[Plugin] CleanUp

Re: [Plugin] CleanUp

Postby thomthom » Wed Mar 19, 2014 6:45 pm

Are you able to run SU2014? It should provide a more detailed error to pin-point where it fails.

I'm not a linux user and I only ever tried Ubuntu briefly in 2008... :s
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 saucerful » Wed Mar 19, 2014 6:56 pm

Unfortunately SketchUp 2014 doesn't work at all. I've attached diagnostic output from SketchUp 2013, in case that helps...
0

saucerful 
 

Re: [Plugin] CleanUp

Postby tt_su » Thu Mar 20, 2014 11:04 am

I'm sorry how much back and forth this takes, but without being able to reproduce I'm a bit blind here.

SketchUp prior to SU2014 has flawed error messages that makes it hard to debug. Can I ask you to open the Ruby Console (SketchUp's console, not Linux) and see what you get from this command: load "TT_Lib2/core.rb"
0
User avatar
tt_su 
SketchUp Team
SketchUp Team
 

Re: [Plugin] CleanUp

Postby saucerful » Thu Mar 20, 2014 4:09 pm

tt_su wrote:I'm sorry how much back and forth this takes, but without being able to reproduce I'm a bit blind here.


No worries! I really appreciate your patience and am happy to send you any debug info.

tt_su wrote:SketchUp prior to SU2014 has flawed error messages that makes it hard to debug. Can I ask you to open the Ruby Console (SketchUp's console, not Linux) and see what you get from this command: load "TT_Lib2/core.rb"


I ran this with both TT_Lib2 installed, and not. I think the latter has more information about the error...
0
Last edited by saucerful on Thu Mar 20, 2014 5:16 pm, edited 1 time in total.

saucerful 
 

Re: [Plugin] CleanUp

Postby tt_su » Thu Mar 20, 2014 4:16 pm

What? "load_uninstalled.txt" was a result of running load "TT_Lib2/core.rb when TT_Lib was uninstalled? That makes no sense because it's loading files... if you had unisntalled TT_Lib2 then load "TT_Lib2/core.rb should have returned an error about file not found.
I'm not able to make any sense out of this...

Did you restart SketchUp after uninstalling?
0
User avatar
tt_su 
SketchUp Team
SketchUp Team
 

Re: [Plugin] CleanUp

Postby saucerful » Thu Mar 20, 2014 4:39 pm

Sorry, by uninstall I meant unchecking TT_Lib2 and Cleanup in the Extensions dialog and restarting SketchUp.

The TT_Lib2 files are still in the Plugins directory. Maybe it makes no sense to run "TT_Lib2/core.rb" in this state? I thought it might be akin to how SketchUp loads the extension at startup?
0

saucerful 
 

Re: [Plugin] CleanUp

Postby tt_su » Thu Mar 20, 2014 4:44 pm

Unchecking TT_Lib2 in the Extension Manager will have no effect.

This error is very strange.

Can you try a few other mutations?

load "TT_Lib2/sketchup.rb"

load "TT_Lib2/system.rb"

load "TT_Lib2/entities.rb"
0
User avatar
tt_su 
SketchUp Team
SketchUp Team
 

Re: [Plugin] CleanUp

Postby saucerful » Thu Mar 20, 2014 4:53 pm

Here's one log for all of them (search for the command to get to it).
0

saucerful 
 

Re: [Plugin] CleanUp

Postby TIG » Thu Mar 20, 2014 7:39 pm

saucerful wrote:...The TT_Lib2 files are still in the Plugins directory. Maybe it makes no sense to run "TT_Lib2/core.rb" in this state?...
:? !!! Do you mean by that you have files from the TT_Lib2 folder 'loose' in the Plugins folder?? :roll:
When you install the TT_Lib2 you should have a loader .rb and a subfolder with the same name which contains everything else.
I ANY of the files inside the subfolder have found there way into the Plugins folder they will load out of sync as SketchUp starts, rather that as TT's other plugins 'require' them, as they themselves auto-load...
So if that is the case, then you need to carefully 'sanitize' your Plugins folder and remove all of the TT Lib files that should NOT ever be in there... :?
0
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] CleanUp

Postby tt_su » Thu Mar 20, 2014 8:15 pm

So, I'm making a guess here: Wine calls Linux's file functions which returns the files in a different order - revealing a dependency bug that isn't visible in Windows or OSX.

Can you try this version attached:
(Deleted file as it's now been uploaded to Extension Warehouse, Plugin Store and GitHub.)
2
Last edited by tt_su on Thu Mar 20, 2014 11:25 pm, edited 2 times in total.
User avatar
tt_su 
SketchUp Team
SketchUp Team
 

Re: [Plugin] CleanUp

Postby saucerful » Thu Mar 20, 2014 8:50 pm

It works! Thank you so much. This plugin is extremely useful for our workflow at Open Source Ecology (see here).

Any idea when 2.9.9 will be pushed to the extension warehouse?
0

saucerful 
 

Re: [Plugin] CleanUp

Postby tt_su » Thu Mar 20, 2014 11:09 pm

saucerful wrote:It works!

Huh! How about that! Stab in the dark!
Glad it worked. :)
I'll upload to EW right now. Not sure when it goes live, depends on the moderation queue.
0
User avatar
tt_su 
SketchUp Team
SketchUp Team
 

Re: [Plugin] CleanUp

Postby Asloric » Sat May 10, 2014 4:36 pm

Hello i have a problem: useless faces in models (per exemple a face in a cube) doesnt erase with the plugin . could it be possible to add please? or explain how to do if there is yet

here is a screen if you don't understand what i mean

face in a cube.png


PS: thanks a lot for this usefull plugin :)
0

Asloric 
 

Re: [Plugin] CleanUp

Postby TIG » Sat May 10, 2014 5:26 pm

If it's the one occurrence, then can't you cut a temporary section to give access to the inner unwanted face and erase it/its edges that way ?
Some tools like my SolidSolver will remove inner partitions/flaps if the 'box' [group] is intended to be a 'solid'...
0
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] CleanUp

Postby Asloric » Sat May 10, 2014 10:52 pm

thanks.i've erase all useless faces :) .but i thinks it's a bit buggy with my model ( it erase most part of my project sometimes)
0

Asloric 
 

Re: [Plugin] CleanUp

Postby thomthom » Sun May 11, 2014 11:45 am

Does your model have many very small faces/edges? Like ~1mm?
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 Asloric » Sun May 11, 2014 9:21 pm

yes beacause a lot of detail for much immersion ( i use the playup plugin to export it to crysis2)
0

Asloric 
 

Re: [Plugin] CleanUp

Postby Dave R » Mon May 12, 2014 1:02 am

If you are trying to create tiny faces (less than 1mm) you are going to have problems unless you work at a larger scale. This has nothing to do with CleanUp, it's just a fact of using SketchUp.
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 » Mon May 12, 2014 11:19 am

SketchUp's internal precision is 1/1000th of an inch. When things get close to that vertices begin to be treated as having the same position and edges and faces might not create - or be lost when you modify them.

One workaround is to scale up the actual geometry, the edges and faces by a factor of say 100 - then scale down the instance/group to counter-weight it. That way the definition of the geometry it large enough, but the instance's scale make it appear in correct size.
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 frankflafy » Tue May 20, 2014 7:47 am

hi
thanx for the plug in. really love this.

i have one problem. its Vray dome light
when i ran this with vray dome light on screen, the vray dome light deleted.

how i fix this?

thanx
1
User avatar
frankflafy 
 

Re: [Plugin] CleanUp

Postby thomthom » Tue May 20, 2014 9:32 am

What does it look like this VRay dome?
This plugin isn't aware of "special" objects that other extensions create - it treats everything as regular edges and faces.
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 jiminy-billy-bob » Tue May 20, 2014 9:46 am

It's two arcs and a circle, without any face. So no surprise Cleanup deletes these edges.
0
User avatar
jiminy-billy-bob 
PluginStore Author
PluginStore Author
 

Re: [Plugin] CleanUp

Postby tt_su » Tue May 20, 2014 9:55 am

Anyone got a sample model?
0
User avatar
tt_su 
SketchUp Team
SketchUp Team
 

Re: [Plugin] CleanUp

Postby frankflafy » Tue May 20, 2014 12:38 pm

Vray dome light is like this
0
User avatar
frankflafy 
 

Re: [Plugin] CleanUp

Postby Charles502 » Sat Jun 28, 2014 6:15 pm

so many thanks, is too very useful plugin for my model 3d and my time, thanks for sharing. thomthom
0

Charles502 
 

Re: [Plugin] CleanUp

Postby utiler » Wed Aug 06, 2014 3:36 am

Hi Thom, hope you're doing well. :thumb:

Between your CleanUp Tools and Edge Tools I'm wondering if you have thought about adding an option to move all verticies to Z=0. I often import dwg files that for some reason some lines are just that tiny bit off Z which causes all sorts of issues in finding out what is and isn't flattened....

What do you think?

Love your work!
0
purpose/expression/purpose/....
User avatar
utiler 
Top SketchUcator
 

Re: [Plugin] CleanUp

Postby thomthom » Wed Aug 06, 2014 10:09 am

utiler wrote:I'm wondering if you have thought about adding an option to move all verticies to Z=0. I often import dwg files that for some reason some lines are just that tiny bit off Z which causes all sorts of issues in finding out what is and isn't flattened....

"There's an extension for that!": Architect Tools (Look for the big weight-icon that will flatten everything like the Hulk)
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 antonio.calvo » Thu Aug 21, 2014 8:27 am

Thanks so much for your plugins, enjoy the cookie. I'm pretty new posting on this forum althought I have been following all of you guys and your fantastic work for a long time. Recently I'm working in a large model and your plugin is givin me a couple of errors of the model.

Results of Validity Check.

CLoop (1154934) does not reference CFace (1161656) - fixed
The plane equation for CFace (4395989) is not valid - fixed

Both of then never seem to be fixed after running the plugin. Also straight after closing Sketchup, it will create a bug splat! Is driving me mad :? and can't find which part of the model is doing it. Any help will be great. Thank you
0

antonio.calvo 
Premium Member
Premium Member
 

Re: [Plugin] CleanUp

Postby cotty » Sun Aug 24, 2014 10:27 am

antonio.calvo wrote:...and can't find which part of the model is doing it.

Without having a look at the model no one else will be able to find it too...
0
User avatar
cotty 
Top SketchUcator
 

Re: [Plugin] CleanUp

Postby TIG » Sun Aug 24, 2014 11:44 am

antonio.calvo wrote:Thanks so much for your plugins, enjoy the cookie. I'm pretty new posting on this forum althought I have been following all of you guys and your fantastic work for a long time. Recently I'm working in a large model and your plugin is givin me a couple of errors of the model.

Results of Validity Check.

CLoop (1154934) does not reference CFace (1161656) - fixed
The plane equation for CFace (4395989) is not valid - fixed

Both of then never seem to be fixed after running the plugin. Also straight after closing Sketchup, it will create a bug splat! Is driving me mad :? and can't find which part of the model is doing it. Any help will be great. Thank you
Try running Edge Tools on the problem model's geometry [edit 'containers' to access their contents etc]...
Duplicated vertices that are not 'welded' have been cited as culprits for this kind of thing...
http://sketchucation.com/pluginstore?pln=tt_edgetools
0
TIG
User avatar
TIG 
Global Moderator
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 

PreviousNext


 

Return to Plugins

Who is online

Users browsing this forum: Google Bot, Wallaz, yumeianime12 and 19 guests

Visit our sponsors: