GH-KN
(GH-KN)
February 4, 2023, 10:32am
1
Hi,
Fairly question but I cant find it:
I would like to draw a simple arrow between two defined points.
(yes there is the dimension tool, but I dont want the size to show (and its an rather slow component when there are alot of arrows).
In other words → is there an option to convert a line into an arrow?
Any suggerstions?
Many thanks!
Hello,
If you only need visualization, Vector Display
is probably the best answer.
There are other fancy solutions.
You could also build the contour with a polyline…
Arrows.gh (9.9 KB)
2 Likes
GH-KN
(GH-KN)
February 4, 2023, 12:04pm
3
Hi Thanks, for the quick answer.
I had the same idea, only the thing is that the arrow has to point in both directions…
You didn’t mention that detail in your initial post.
2 Likes
I imagine duplicating the arrow is not a solution ?
Is it only for display purposes or do you eventually need this arrow to be baked, printed, or whatever that would require curve/surface/solid output ?
1 Like
GH-KN
(GH-KN)
February 4, 2023, 2:18pm
6
Haha yep, thats sort of an solution.
However, the thing with the vector preview is that when you zoom out the arrows become automatically very big… (blocking the rest of the view).
I was just wondering if there isnt an GH component, similar to create line A—>B. create arrow A–>B.
Thanks for all the suggestions!
GH-KN
(GH-KN)
February 4, 2023, 2:29pm
7
Ahh Wait, I think I found it!
using the - Line Dimension Component - with at text an empty ‘space’ (so no length is showing)
Only remaining question, do you have a suggestion how we can change the colour of this arrow? (instead of red making it black or so?)
Many thanks!
This can easily be clustered:
arrows_2023Feb4a.gh (10.9 KB)
Same code in a cluster:
arrows_2023Feb4b.gh (10.5 KB)
3 Likes
GH-KN
(GH-KN)
February 4, 2023, 2:39pm
9
Wow nice!
Would it be possible to share the GH file?
You mentionned drawing dimensions were too slow for your case, so I removed that as a solution, but indeed it works.
You can use Elefront’s Define Linear Dimension
and feed the output in a Custom Preview.
Arrows.gh (10.5 KB)
2 Likes
GH-KN
(GH-KN)
February 4, 2023, 2:49pm
12
Haha nice!
the only downside is that you need an extra plugin ‘elefront’ I noticed, this while I would like to limit the amount of plugins needed for this script…
You can use Vector Display Ex
, which also enables custom weight/color:
230204_VectorDisaplayEx_00.gh (10.0 KB)
4 Likes
AndyPayne
(Andy Payne)
February 4, 2023, 2:58pm
14
If you use Rhino 8, you can use the new Leader component and you can style it using any of the annotation styles in your Rhino document (or you can create your own annotation style).
4 Likes
GH-KN
(GH-KN)
February 4, 2023, 6:41pm
15
Haha oke thanks,
I have done it, works perfectly, thanks!
1 Like
Same code in a cluster:
arrows_2023Feb4b.gh (10.5 KB)