1
$\begingroup$

I am making Building and i am trying to Change the Window Corner into WallCorner Red Circle Wall Corner into Window Corner

$\endgroup$
3
  • $\begingroup$ you could use the index to do this. if you provide your blend file, i will show you. $\endgroup$
    – Chris
    Commented Jan 17, 2022 at 15:11
  • $\begingroup$ we.tl/t-8fBmc0unNX blend file $\endgroup$
    – George K.
    Commented Jan 17, 2022 at 16:41
  • $\begingroup$ thank you. what blender version are u using? $\endgroup$
    – Chris
    Commented Jan 17, 2022 at 16:47

1 Answer 1

2
$\begingroup$

This is NOT the complete solution, just a "push" to the right direction. If you still have question, ask in the comments.

enter image description here

You already had the right idea with the "Point Separate" node.

You put in there your value WallCorner.

I just filled that with some "useful" value.

So i got your px and pz value and compared these to some "fixed" values, put that in two other values (WallMask1 +2) and then i multiplied these two values.

Because the Attribute Compare nodes outputs a true(1) or false(0) we can multiply both values to get a logical AND result for the WallCorner. If both conditions are true, the Mask will be True and so it works:

enter image description here

So this is the principle.

NOTE: Of course you shouldn't compare to fixed values, but to computed values in relation to your grid length and width!

Here the modified blend file:

$\endgroup$
2
  • $\begingroup$ Thank you but how achieved legacy nodes in blender 3.0 also now blender 2.93.7 cant read those nodes $\endgroup$
    – George K.
    Commented Jan 17, 2022 at 22:17
  • $\begingroup$ i got point i just didn't knew that was possible way to make it $\endgroup$
    – George K.
    Commented Jan 17, 2022 at 22:21

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .