Deformed Building Curves in Some Layouts

Hi Mike - I noticed in certain rectangular layouts that the building curves can be deformed due to the way the OffsetCurve utility relies on point normals. See attached screenshot. This occurs where the Inner Curve point normals are (0,1,0) or (0,-1,0) or (-1,0,0) or (1,0,0) because our assumptions for using the square root of 2 to adjust the scale for those points is no longer true. For those points, we should use 1.0 instead. I put in my own fix (using 1.0 for normals whose x or y coordinate is zero) - not sure if there is a more elegant way to do it. BTW this is fantastic tutorial - really enjoying it!

Steve Howard


1 love
Reply
  • M
    Mike Hodgetts replied

    Hi Steve, great catch and workaround! The other thing you can do here is to drop in the utility group Collapse Curve Edges which will get rid of those intermediate points in the middle leaving you with just the corners. It's the same issue that arose when creating the roads way back at the start.


    Glad to hear you're enjoying the course! 

    1 love