[Plugin] CleanUp
-
Great ruby, just halved the size of my current model. Cheers!
-
ThomThom,
I've been having a lot of success with this plugin so far, but I just came across a few problems. First, running Merge Faces on my model deletes geometry, and also it isn't actually merging most of my co planar faces:
Before running merge faces:
After merge faces:
See deleted and non-merged faces circled in red.
-
Can you share the model? Or send it directly to me if you don't want it shared in public?
Without the model it's hard to determine what's going on.(The scale of the model isn't very small, is it?)
And do you have Erase Duplicate Faces on or off? (leave it off unless you have problems with faces overlapping the same space. it's very slow and can be buggy) -
No, the model is not small scale, in fact it's pretty large. No, I have not had erase duplicate faces checked.
I'll pm you with the file.
-
The disappearing faces seems to be related to some rouge faces with area of 0 - or close to. Some very very thing faces which throws off the calculations. I'll see if I can find time this week to find a way to deal with them.
The co-planar faces that where not merged: I could not test these as the model you sent appear to be somewhat different that the once you posted screens off. Doesn't seem to include the faces.
-
SketchUp considers all the edges in these troublesome faces to be all parallel to each other. I might be able to use that as a way to detect potentially troublesome faces.
-
Oops, I must have saved over the model that was having the problems. Sorry.
-
Well, at least I managed to reproduce the most critical. Disappearing geometry is much worse than some bits that remain.
-
Ok, I sent you a cleaned up version of the file, with reduced geometry (I deleted a lot to reduce file size). Still getting the same problem.
I want to merge these two faces:
But when I select them, then go here:
I get nothing. But if I delete one edge, they become a single face, so you know they are co-planar:
-
That's because one of them got a material applied to its backside. Tick the Ignore Materials checkbox and it'll merge them.
-
I had thought something like that might be the issue, and so I selected everything and applied a uniform material. I even did Reverse Faces to make sure everything was the same. I also used cleanup to set everything to Level 0, but still couldn't get them to merge.
-
But you get them to merge when you tick Ignore Material, right?
Btw, I think I've trapped the case where faces disappear. Will post an update later this week.
-
Aha, yes it worked! Thanks Thom.
-
thank you!it's very useful!
-
i loaded this plugin into sketchup 8 and its not working, gives me an error message at startup and the plug in cant be found.
-
@unknownuser said:
i loaded this plugin into sketchup 8 and its not working, gives me an error message at startup and the plug in cant be found.
We are not psychics - please post the error message. So far it suggests you have not installed things properly. Can you confirm what files were put in what folders, and the TT_Lib you installed etc... -
@tig said:
We are not psychics - please post the error message. So far it suggests you have not installed things properly. Can you confirm what files were put in what folders, and the TT_Lib you installed etc...
You sound like I feel, TIG! Bloody big weeks' work and you still get asked silly questions.....
-
@tig said:
@unknownuser said:
i loaded this plugin into sketchup 8 and its not working, gives me an error message at startup and the plug in cant be found.
We are not psychics - please post the error message. So far it suggests you have not installed things properly. Can you confirm what files were put in what folders, and the TT_Lib you installed etc...jesus you make it sound like its rocket science.
Error Loading File tt_cleanup.rb
no such file to load -- TT_Lib2/core.rbits the one file posted on the board, and its in the google sketchup 8 plugin folder.
like every other plugin ive downloaded from this website.
-
It seems that TIG was right and you did nt install TT_Lib (another required plugin) as suggested in the plugin post. Please, make sure that is also installed and restart SU.
-
The error message tells you/us what is missing...
Many of the more complicated scripts have 'Libraries' of additional functions, that they sometimes share with other tools written by the same author. Many of thomthom's tools use his 'TT_Libs'...
It was explained that you need this addition stuff and clearly linked in the thread from where you got the main .rb file...
http://forums.sketchucation.com/viewtopic.php?p=193587#p193587
Advertisement