DonRomano Posted August 20, 2019 Share Posted August 20, 2019 Hey, I'm working on a building generator and I can't find a way to align my windows properly when the base shape of the building is oval. When it's a circle everything is okay : But when the shape starts to be oval, it looks like this : Here's the vop network I built to align it with a circle shape, but not functionning with an oval shape : I don't know what I miss to get it working... Cheers, Quote Link to comment Share on other sites More sharing options...
DonRomano Posted August 20, 2019 Author Share Posted August 20, 2019 I finally managed to find a solution : I've separate the circle in two parts : one with the points where I copy my windows, and the other is the original geometry where I want my windows to be aligned with (to do this, just duplicate the circle and double the divisions, and then do a grouprange with an offset and keep the part you want to be the source of the copy (the points in blue are the ones from the original geo and the orange ones are those where I copy the geo)) Then, I compute normals based on the tangent u (with a polyframe sop) from the original geometry and I transfer it to the points I want to copy my windows over, and I rotate my windows by 90 and then boom, it's aligned. I've attached a hipfile because I think my explanations are really non-understandable Cheers, Align_the_windows.hipnc 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.