Hiding Lines


I’m sure this topic has probably been covered before and I am quite certain that Christina Eneroth has a plugin that specifically deals with this issue in a somewhat related manner.

If you look at the 2D model below you can see the separate wall segments.

I am trying to figure out a way to hide the line segments between each wall panel so that the end result is what you would more typically see for a floor plan layout.

I suppose one way to do it would be to pushpull all of the segments then union them together into one solid and then delete everything except the bottom face of the wall solid leaving just the single face.


Why? Most of the time, when framing, it is very helpful to have those little edges, instead of one merged walloutline. Keep in mind what your potential users would prefer, another ‘realistic-real-estate-nice-looking-drawing’ or a technical correct representation.




This isn’t exactly what you are looking for, but the code entities.grep(Sketchup::Edge).each{|e| e.hidden=true } will hide all of the edges (I think it will also hide the edges that are not shared between faces…). You can change it to remove edges from only one face at a time and I’m sure you could tweak the code to only hide certain edges on each face (maybe the first and third edge or second and fourth edge that makes up each face depending on how they are drawn).

I hope that helps at least somewhat!


If your code created the faces so that the edges of interest are shared by exactly two faces you can test the edges for the number of faces that use them and hide the ones used by two faces.