Set height of everything to zero (flatten everything)

Hi guys!

I’m new here so please be kind :blush:

My goal is to flatten everything in a scene in such a way that the result is a “2D” model.
The original geometry is a pretty simple floor plan with 3D walls, stairs etc.

My idea is to try and loop through all the geometry and in some way set the height of all the geometry to zero.

Would this idea work and can someone point me in the right direction of where to start?
Do you know a better solution?
Do you know if any plugin like this already exist?

Thanks!

Look at this tool I wrote: SketchUp Plugins | PluginStore | SketchUcation
You can probably crib some ideas…
You basically need to collect all of the vertices and transform them by vectors to a new ‘z=0’ position.
Try doing it on a few edges/faces first to see how it works…

2 Likes

Thank you so much, that was exactly what I was looking for! :heart_eyes: