Reviewing my old script after learning Function and Vector.
This is a code I wrote originally for FEA model of a bridge. Using Rhino.VectorCrossProduct, I finally managed to draw normal line to a spline (at a point). As print screen shows above, input is simply a core spline of the bridge.
Assignment from Satoru's workshop. He provided basic For... Next framework, and by modifying conditionals and/or looping, students can create more complicated grid systems.
image from left Level1: Diagonal Lines Level2: Orthogonal Grid Level3: Diagrid Level4: Gradient Density I worked up to Level3, but for the final challenge I needed help, and was surprised how small modification I needed to make.