Grasshopper Player (custom tools & wish list)


by found interesting additions.

[DrawViewportWires]

[AddTextDot]

AddTextDot.gha (11.5 KB)

2 Likes

please share.

I thought about it a bit & choices that came to mind were overlay and custom linear one.. .

Hello,
I seem to have find new rabbit holes on this forum. :thinking:
What is a grasshopper player?

I’ve came to this thread to check once again how to create the buttons, since It’s a fair solution to call some definition to my dayly job, but when I try to create the button, the command _GrasshopperPlayer always shows the window to load the file manually… I can set it to go directly to the file that I want?

The command follows:
_GrasshopperPlayer _Document "C:\Users\myuser\Desktop\file.gh"

Thank you!

try:
-_GrasshopperPlayer
C:\Users\Name\OneDrive\GHplayer\Example.gh

make sure path is correct (above shows my path)

Apparently, if my file has some space in the middle like c:\users\leonardo_spacebar_PC rhino says that couldn’t load the file… interesting, but solved, just changed the path.

Thanks for your help!

1 Like

Enclose your path in double quotes:

-_GrasshopperPlayer "C:\Path with spaces\file.gh"

1 Like

Makes sense! It worked now!

Thank you!

1 Like

a few more tests:

13 Likes

Very nice work.
About the issue with things continuing to run in the background, I believe the fix for this (thanks to Steve) went into the latest service release candidate.

Also - I recently made a new goal that I thought might be useful for some of these custom interfaces.
It orients a frame to align with the grid direction of a quad mesh.
Although quad meshes don’t have global u/v directions like surfaces do, it is still possible to find locally aligned frames (which are maybe useful for orienting features, or further interface widgets).


orientOnMeshGoal.gh (266.4 KB)

(you might notice that the arrow turns as it moves around an irregular vertex - this is due to holonomy!)

I’ll later add some similar goals for aligning frames to NURBS surfaces and curves.

10 Likes

oh nice! looking fwd to that :wink:

the new orient goal looks very cool! I can already think of some use for it!
“irregular vert” : are you talking about around 0:17 ? looks like topology at the tip helps
turn the arrow, yep, it’d be cool to have a toggle direction (esp for geo w/ gaps or holes)
topop

Yes - it’s when it moves around a vertex where there are not 4 surrounding faces that the arrow has to turn.

I agree it will definitely also be useful to also include an input to toggle between the 4 possible alignment directions directly - I just thought it was a fun effect to see how it turns even just through topology.

1 Like

I’m very impressed with how beautiful “controllers?” you are building to manipulate with the geometry.

@DanielPiker Do you think that it would be possible to have a component similar to the Grab but which would allow us to also use precise text input? Or flip dot position on the curve? - more like a button in this case.

3 Likes

the holonomy toys are fantastic!

His Dodecahedral grasshopper definition looks to be a bit of a maze in itself.

1 Like

Not yet, but agreed it would be good to have, and we are discussing internally various possibilities around new types of gumball/widgets for this type of thing.

3 Likes

downloaded latest Candidate, and issue persists :sweat_smile:
basically running GHplayer files leave Rhino sluggish and disables gumball translation &
rotation (or both in some cases). this effects all subsequent modeling & geometry created in Rhino.
Weird!


Edit:
the sluggish issue & locking up seem to be limited to Kangaroo :thinking:
found 2 more issues:
-the ‘Undo’ option for the numerical inputs (GHplayer) doesn’t work any more
-now it leaves GH ghosting in the viewport without any GH files open/running (I saw this in a diff thread as well)

Thanks for letting us know.
Can you confirm which version number you are seeing this in?
Click Help>About Rhinoceros, then in the lower right it will show the full version number, eg
7.13.21292.5001, 2021-10-19

I am running 7.12 but it says newest possible.
ver

Aye, 7.12 is newest users can get through the regular update channel. 7.13 is currently internal latest 7 version.