Hi, I’m creating beams that follow along the bottom surface of a plane that bends in every direction. This is based on a tutorial by Marcello Sgambelluri on Practical uses of Dynamo.
Unfortunately when I run the script, some of the beams are created on top of the roof and not below it. I used the StructuralFraming.BeamByCurve to create beams where the grids intersect the bottom roof plane. I used a Geometry.Intersect node to find the intersection between the grids and the roof.
Unfortunately, some of the beams come in with their “Cross-Section Rotation” set to -180.00° instead of zero. This appears to be a Dynamo glitch. I attempted to fix this glitch by setting all of the Cross-Section Rotations to 0, but it is not working and I’m not sure why. The warning says that there is no Parameter found by that name, which is odd considering the beams do have this parameter. I think I’m having trouble understanding how GetParameters and SetParameters work together. How do I set all of the beams’ Cross-Section Rotation to Zero, using Dynamo nodes?
CANOPY_BEAMS_usingProjection.dyn (30.0 KB)