Jump to content
Developer Wiki and Function Reference Links ×

Select 3D polygons + Extrude all downwards to Z value 0


AlexanderKoll

Recommended Posts

All

 

I have a large complex model of existing buildings and I was trying to simplfy it. All faces of every building are modeled as 3D polygons (it was an import from a DWG)

 

It occurred to me that I could simplfy it by making extrudes or the like but I would need to do something like the following:

 

Somehow select all horizontal 3D polygons (ie that is all 3D polys where all vertices of the 3D poly are equal in Z value)

then

Extrude (or Push/Pull) the underside of all those 3D polygons down to Z value 0)

 

my thinking was that the above would create a solid model of the whole thing, rather than individual triangulated 3D polygons on every face of every building, and remove some of the errors where vertical faces of buildings are missing from the import process.

 

Is the above possible?

Link to comment
  • Marionette Maven

It's definitely possible, but I think I would have to modify a couple of nodes to pull it off.

 

Here's a network that works on one 3D poly, it doesn't check that it's planar, but that is doable with some more work. If you add another 3D poly to the document, the script will fail because it won't know when to stop drawing one poly and move on to the next one.

 

With some work, this script can be modified to do what you want.

drop3DPoly.vwx

Link to comment

Thank you for replying Marissa.

 

I am a big fan of your work. We are only just beginning with Marionette and I've found your posts really helpful.

We ran the idea past a Vectorscript guru here in Sydney and they nailed it.

 

The applications of Marionette at the City / Urban scale that we work at are really exciting. We have been trying to kick off a bit of an R&D cell in collaboration with a few offices here and would love to stay in touch with progress.

 

Thanks again

Alexander Koll

MAKO Architecture.

 

 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...