[Plugin] Hide Overlapping Geometry (Updated 20150511)
-
wow, yes yes yes,
dream come true.Thanks for such a great plugin.
D.
-
-
@pilou said:
I don't very well understand that this script must do!
In your example the faces intersect. Overlap is when the faces are aligned (and have exactly opposite normals) and occupy the same space. In the image below there are 16 instances of a solid group. For visual reasons the seams between the groups should be hidden, and the way to do this is to hide the overlapping faces and edges. If you select two adjacent groups and run the script the seams disappear.
-
This works great, CAUL! Thank you!
-
Ok! But seems there is a little glitch!
A simple copy box (Group)
-
AAAAAAAAAAaaaaaaaaaaahhhhh!
But this is curious!
Better if that work in any positions!Now seems that is a glitch inside the "gifcam" !
Seems it don't like the rotations! -
Why don't you use Flip Along instead, Pilou?
-
@pilou said:
Ok! But seems there is a little glitch!
A simple copy box (Group)
[attachment=0:1tsgra7o]<!-- ia0 -->overlap1.gif<!-- ia0 -->[/attachment:1tsgra7o]I bet if you double click edit any of the two groups, prior to running the script, you will get the result you expect.
-
@unknownuser said:
I bet if you double click edit any of the two groups, prior to running the script, you will get the result you expect.
YEP! Excellent!
What make exactly this double click ?@unknownuser said:
don't you use Flip Along instead
I take always the bad color anytime the first time!
I prefer mirror -
Mirror is nice but Flip Along can be done in a single key stroke.
-
@pilou said:
YEP! Excellent!
What make exactly this double click ?When you create a group and copy it, it is just like any component, and you get duplicate instances of the same definition (duplicate groups behaving like duplicate components).
However, if you double-click it, you edit it, and even if you do nothing on it, it is made into a different definition, therefor "unique".
What happened is that the plugin hide the face of a group behaving as a component and in doing so it hid the face of both components. If you'd flipped it like Dave suggested, you wouldn't see the problem.
-
@unknownuser said:
if you double-click it, you edit it, and even if you do nothing on it, it is made into a different definition, therefor "unique".
I don't believe that many people knows that!
(maybe in the manual but don't have the luck to see it!
It's the Dohdoh Duh of the day! -
@jql said:
@pilou said:
YEP! Excellent!
What make exactly this double click ?When you create a group and copy it, it is just like any component, and you get duplicate instances of the same definition (duplicate groups behaving like duplicate components).
However, if you double-click it, you edit it, and even if you do nothing on it, it is made into a different definition, therefor "unique".
What happened is that the plugin hide the face of a group behaving as a component and in doing so it hid the face of both components. If you'd flipped it like Dave suggested, you wouldn't see the problem.
This isn't documented well in the API either. Something we need to improve. Developers need to call group.make_unique to ensure groups are unique before modifying them.
-
I noticed that if the normals of the two overlapping faces are the same (both are "pointing" in the same direction), then the script fails.
-
@jclements said:
I noticed that if the normals of the two overlapping faces are the same (both are "pointing" in the same direction), then the script fails.
This is not really a bug (nor a feature). It's mentioned in the initial post. The reason for this behaviour is that it's a very convenient simplification from a developers point of view. The extension is centered around solids with consistently oriented faces so it's a reasonable simplification.
-
Thanks for version 2. That seems to work well now.
Would you please also add a "Show overlapping edges"?
When for example designing a multi floor facade it would be great to hide the edges to see how the whole facade looks and then it could be useful to turn the edges back on for viewing the different floors. -
@pixero said:
Thanks for version 2. That seems to work well now.
Would you please also add a "Show overlapping edges"?
When for example designing a multi floor facade it would be great to hide the edges to see how the whole facade looks and then it could be useful to turn the edges back on for viewing the different floors.Maybe the possibility to move the geometry to a specific layer is enough? Then you can turn the visibility of the layer on and off.
-
Yes that would do.
-
If you're developing that, could we define the layer's name by tinkering with rb?
-
Feeling really dumb. I created a box and then duplicated it and drug the corner of one box to the corners of the other box. I tried double clicking one of the boxes and then used the selection box to select both boxes. When I clicked on the Hide Overlapping Geometry, the overlapping geometry was not hidden.
I tried Dave's approach of flipping one of the boxes (that was the only change), clicked the Hide Overlapping Geometry and it worked as it should.
Not sure what I did wrong with the first approach.
Advertisement