Jump to content

ForEach Polyextrude deforms geometry at edges


Recommended Posts

Hey guys,

I'm having a bit of an issue with using the ForEach node to extrude my model according to color.

At each edge of the building either there is a gap where an extrusion should be, or (as can be seen on the front left edge) it deforms the edge completely.

Is this something to do with the normals?

Or the use of the paint SOP?

I've attached 2 files: one with only the front plane painted, and the second with each edge painted too.

I did this because when I realised the front left edge was deforming, I wanted to test the others.

Any help would be much appreciated

Thanks in advance.

garage1_od.hipnc

garage2_od.hipnc

Link to comment
Share on other sites

I think it is the groups themselves. Obviously you can't get the average position of two points if they are not in the same foreach cycle.

Why do you need the foreach at all by the way? If you just polyextrude it looks fine. Perhaps an attribute based solution would be better.

Edited by Macha
Link to comment
Share on other sites

I'm using the foreach to extrude the geometry and keep the coloured groups.

Is there a way to do this without a foreach so that when the simulation occurs and the building breaks up, it breaks up according to the colours?

If I was to just use a polyextrude, how do I reference the colour groups?

Thanks

Link to comment
Share on other sites

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.   Paste as plain text instead

  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...