I want to find a point that falls within the range obtained from the model line segment.
The site is obtained using the Dynamo file published by Building Mass Generator.
We would like to find a point that fits within the range of this site.
(I would like two of those points if possible)
What kind of program and how should I connect the nodes?
I would appreciate it if you could tell me.
site_boundary.rvt (5.1 MB)
site.dyn (32.7 KB)
You’ve got options. Offhand:
- Since you’re already in Generative Design, you could test the point for intersection with the desired site (as a surface) and let the result sway your outcome (say multiply or divide all results by two orders of magnitude greater than the expected range of values). This is easiest and let’s GD do what it’s best at.
- You could intersect an isocurve with the site surface, and then get a point on that line using a parameter value. Watch out for site shapes which can generate two lines after intersection though.
- You could pull a point on the surface via parameter value, and then use a closest point to method to shift things into position.
- You could write some custom code to do a combination of 1 and if that fails move onto 2.