Hello, I’m very new to Dynamo, so ill try to explain what I want or create to the best of my ability. So right now I have two floors filled with a mixer of 2x6 Column wood studs, and Stud_Column_TF 362S162-33 or just steel studs. The first floor 2x6 timber wood studs need to have a total of 29 Nails driven on both sides. The First floor wood studs all of a total height of 9’ – 8 ¼”
And the Second floor wood studs are all a total heigh of 11’ -1, and are driven with 34 nails on
Both sides.




I wanted to see if I can achieve This by First creating script that would Find the Start Points and End Points Of every Stud in the Model. The next is to create another script to tell the program to mark all the sides of each stud, where the nails are to be driven in. This is as far as I could get, I would appreciate if any of you would share your thoughts, or send a Dyn or make a video if you have the solution.


Wonder if setting up the nails with an array in the stud family itself would be a better approach. Have parameters drive the starting point and spacing of the array and a calculated parameter that determines the number of nails based on the length of the stud. I did it that way with head studs on a steel plate and it worked nicely. But I understand if you want to achieve this with Dynamo.
By the way, we can’t click to see a closeup of your images, so please include your graph that you have developed so far.
This is likely a good direction to go rather than placing each individually with Dynamo.
Better still: don’t model nails. I can’t see any realized value in doing this, as even long term maintenance will require removing excess content to find the fastener location.
1 Like
Good call! Didn’t think about the cluttering of the model.
@rklughjr if you are looking for a total quantity of nails, you can use the calculated values for that.
Thank you for your reply, but what do you mean by graph. Are you talking about what i have put up so far on the Dynamo program?
Yeah. Graph is term used in the forums a lot. It’s your Dynamo script dyn file.
StartAndEndpoint.dyn (61.7 KB)
This is what i have so far.
If you have to show actual nails and the array in the family option is not what you want, then I would work with the points getting those setup in the correct locations and then place the nail family at the points. A couple of nodes you can look at is Offset Point Z Value (bakery package). Curve.PointsAtEqualSegmentLengthFromPoint and Geometry.Translate. These will help with getting the points set up. PullOntoPlane or PullOntoSurface. And then use the FamilyInstance.ByPoint node to place the families.