Jump to content

[QUESTION] Possible for a For Each Loop to boolean every time on the geometry left from the previous iteration?


neblina

Recommended Posts

Hello everyone,

how would one accomplish something like this? 

Given a sphere with many points scattered on its surface, how should a For Each Point Loop be setup to have every iteration boolean a cube out of the surface of the sphere, but always use the resulting geometry of the first iteration for the next boolean? 

The expected result is a sphere with many holes. What I get instead is a sphere that has been indeed booleanized, but since all results 'overlap' without Single Pass checked, it still looks like a full sphere (see example attached). This is a simplified version of one issue I'm having with a project.

I hope I could explain this properly. Has anyone an idea? 

Thanks in advance! 

 

5a1008ec4f379_ScreenShot2017-11-18at18_17_54.thumb.png.410994676e9e61bb9eeb6885dfee6d68.png

Link to comment
Share on other sites

Is there some special reason for doing boolean in each iteration?  If you only need holes on your sphere there is no need to use FOR loop since CopyToPoints node already do iteration. It's just about thinking. Instead to bool with each box, you can first create whole geometry for bool difference (stamping cubes all around) and then you use single bool node to make subtraction against sphere.

Boolean.hip 

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