1
$\begingroup$

My question is very similar to this theme

quellenform shared great example for polys, visible in camera

I can't to remake nodes for polys, visible in all directions, to delete all inside geometry.

This is an example enter image description here I want only visible polys here enter image description here In this video i did that with "select brush" https://youtu.be/NlDyPYREcwQ

Help me to do this with GN.

UPD: Better Example enter image description here all mesh parts are solid non-cross sub-meshes

UPD2: Add real model + 6axis mod of @quellenform 's nodetree

enter image description here

UPD3: simple remove from itself raycasting I think this is tha way, but needed raycast from world sphere, what do you think?

enter image description here

$\endgroup$
22
  • $\begingroup$ Hello, have you tried using a boolean modifier ? $\endgroup$
    – Gorgious
    Commented Mar 7 at 14:11
  • $\begingroup$ No, boolean is not for my task. My aim is optimisation electronic details with complex body and many diodes inside? to get only visible poly-faces. Body has gaps, has wall-thickness and not waterclosed, boolean don't solve my task. $\endgroup$ Commented Mar 7 at 15:03
  • $\begingroup$ Shoot a ray from every corner of every polygon in the direction of its face normal. If all rays hit the back of another face, then they're inside another mesh. You do need manifold meshes or else this won't always be true. But if you're working with non-manifold meshes the very concept of "inner" faces doesn't make sense. :) $\endgroup$
    – Gorgious
    Commented Mar 7 at 15:12
  • 1
    $\begingroup$ From the video, it seems cubes and sphere are the same mesh, right? Any rules to know who is to be cut and who is the cutter? $\endgroup$
    – lemon
    Commented Mar 7 at 17:46
  • 2
    $\begingroup$ Looking at the model, I'm really unsure of what should be removed or not... $\endgroup$
    – lemon
    Commented Mar 10 at 17:14

0

You must log in to answer this question.

Browse other questions tagged .