[Plugin] CleanUp
-
I think this is good option to insert in this plugin:
-
Do not worry. I've done that.
Your version 3 of the cleanup is not working properly, when I select to delete duplicate faces.
http://sketchup.google.com/3dwarehouse/details?mid=3e4659a2dcb7bd3f959a2da56ff43b4&prevstart=0
I modified your previous version of the plugin cleanup and working properly. It's a pity that this did not erase non solid surfaces within groups. But this is not so bad.
-
@bagatelo said:
Your version 3 of the cleanup is not working properly, when I select to delete duplicate faces.
The Erase Duplicate Faces feature is a bit unstable. It's hard to properly figure out when a face is overlapping another. Though on the model you provided that feature would do no good anyway, since that pillow is a solid.
Erase Duplicate Faces is intended to address faces where you see Z-fighting.I tested your model, with just Erase Duplicate Faces and no faces disappeared.
It happens with Merge Coplanar Faces. (Ignore Normals and Ignore UVs)
I'm pretty sure it's because the mesh has some very small faces. Some edges are less than a millimeter. SketchUp doesn't deal with small geometry like that very well.
If you scale the geometry up a few times (the definition, not the instance) you'll see that no faces disappear.@bagatelo said:
I modified your previous version of the plugin cleanup and working properly.
The faces didn't disappear? That might be, as the old version had a tendency to not clean up as much as it should. It's a very buggy version which in this case just happen to cover up a weakness in SketchUp.
I strongly recommend not using the older versions of CleanUp as version 3.1 has fixed a great number of bugs and issues which in other cases can cause you to loose geometry. The only thing you need to take care of is ensuring that your mesh doesn't have very small faces because SketchUp begins to acts odd then. Scale up small geometry before cleanup and you'll be fine.
-
-
I looked at it briefly. Added your request to the list of things to look at for future version. But it won't happen immediately. Got some other projects I need to attend. ( Also, I've been ill for a week - still am - so I've got quite a bit of catching up to do when my head stops throbbing.)
-
Wow, what a pity. I am sorry you are sick. Health to you!
-
I think this can be useful: http://forums.sketchucation.com/viewtopic.php?f=18&t=35291
@bagatelo said:
I would like to share here a technique to export models from 3dsmax Autodesk to google sketchup using 3ds files.
Please download the file: DetachElements.mcr in this site:
http://www.scriptspot.com/3ds-max/scripts/detach-elementsThen insert this file in the folder:
C:\Program Files (x86)\Autodesk\3ds Max 2010\Scripts\StartupI import the model to be exported into the Sketchup into the 3dsmax, I press on the keyboard Alt+NumPad2 and after this Alt+NumPad3. What do these shortcuts?
Alt + NumPad2 Separates groups in all elements of the model, using the script mentioned above.
Alt + NumPad3 Makes 'Reset Xform'.After that it's only export to Google Sketchup, that objects do not come all messed up.
Surely you want to use the plugin CleanUP done by thomthom.
Thanks..
-
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.
Advertisement