jpeg shows the desired start and end positions. (the first circle lives in the yz plane, the other in the xz plane.
The attached grasshopper file is a stripped down version -
I have thus far tried dividing the circles and creating a line between the end points - controlled via a single slider. This works, however the length of the line changes because the angle relationship is not equal.
Can anyone give me direction on the math needed to calculate this relationship or is there a way to set the length of the line as well as the start and end points (I believe this would have two solutions?).
Thanks…
de or base point. Having this angle would then ideally drive a distance parameter for each line - i.e. if a strut coming from index node (3) had neighboring struts at 20 degrees and 75 degrees to it's vector, then the 20 degree measurement would be associated with/drive a parameter for that specific strut (line). This would need to happen for each line as they come from each node. I used the Sandbox line topology component to get started, but I'm stuck on isolating for each specific strut and it's neighbors.
Any, help/advice would be appreciated!…
ace. I started working from a base file that modified the scaling across the range of a panelised surface according to an attractor point on a line. You'll see that at the bottom under 'remapping distances to the scale factor based on the attractor point.'
That's now redundant, so at the top right you'll see my attempt to get a polyline attractor working which scales (and copies) the panels according to their distance from the line at their centers. I'm trying to do this within a range of 10% original scale to 80% original scale (0.1 to 0.8).
Once again, any help is hugely appreciated. Sorry for the slightly messy file.
Cheers,
Alex…
n vary.
After that I want to colour the surface either red or blue, depending on the position of the horizontal line (surface created under horizontal line -> colour red; surface above horizontal line -> colour blue).
Hope somebody has a solution
Thanks in advance
Surface.jpg
Surfaces.jpg
Surfaces%20colours.jpg
…