Fansim Posted Wednesday at 02:00 PM Share Posted Wednesday at 02:00 PM Hey guys so I'm working on randomizing shutters orientation for windows, right now I only have the left shutters to try and no matter what i tried "@orient" and for each loop with transform and rand expression, for some direction the pivot remains wrong which is understanble depending on the direction after being copied xmax and zmax could become xmin and zmin. I also tried to set the pivot before the copy to point before the shutters itself and a loop and still not working :/ [url=https://ibb.co/jvL26RYy][img]https://i.ibb.co/4ZjGmdL8/randomizing-rotation-with-iteration-metdata-v0-jx4x5lbn7ezf1.webp[/img][/url] I uploaded the image to explain. I tried both method , copy to points with orient randomization // copy to point with loop and transform inside of it Quote Link to comment Share on other sites More sharing options...
AntoineSfx Posted yesterday at 11:17 AM Share Posted yesterday at 11:17 AM (edited) On 11/5/2025 at 3:00 PM, Fansim said: Hey guys so I'm working on randomizing shutters orientation for windows, right now I only have the left shutters to try and no matter what i tried "@orient" and for each loop with transform and rand expression, for some direction the pivot remains wrong which is understanble depending on the direction after being copied xmax and zmax could become xmin and zmin. I also tried to set the pivot before the copy to point before the shutters itself and a loop and still not working :/ [url=https://ibb.co/jvL26RYy][img]https://i.ibb.co/4ZjGmdL8/randomizing-rotation-with-iteration-metdata-v0-jx4x5lbn7ezf1.webp[/img][/url] I uploaded the image to explain. I tried both method , copy to points with orient randomization // copy to point with loop and transform inside of it It's just: a loop on some points of a curve, with a computed N for the orientation of copied objects. And some logic inside the loop to get an attribute from the backbone of the wall, so that you can see how to vary the attribute which controls the opening. Most of the logic is in this node: odforce.shutters.hipnc Edited yesterday at 11:18 AM by AntoineSfx Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.