I want to be able to place an object, in this case a king stud, where two walls intersect. i was able to get something running but for whatever reason some intersect are not getting picked up. it looks as if the Geometry.Intersect is removing some points from my list and i am not sure what is causing this or how to fix it.
You’re just checking each wall against the next. You want to check each wall against every other wall. You can do that with list levels (@L1
) or a custom node that specifically checks for all intersections. If you use the out of the box node, you will have to filter out the intersection of each wall with itself. You can either do this by removing each consecutive index of intersections from each sublist (ignore the first intersection with the first wall, second intersection with the second wall, etc) or you can just filter out all intersections that aren’t points (self intersection would of course be the centerline itself).
thank you! But I am fairly new to Dynamo and I understand what you are saying but I do not know what list levels are or how they could help me. Do you think you could explain how they could help. Thank you!
Hello @emunoz5EPPD . maybe this can help.
The Primer is definitely the place to start, but there have also been many discussions on the forum already covering how list levels work. I think you’re better off playing around with them and seeing for yourself how they actually affect list outputs.
If you still have any specific questions about your current scenario after you’ve done that, you can always ask for help here.