BUG - Grasshopper Player - Wrong Geometry Scale & Rotation

Hello,

I started evaluating Grasshopper Player as a means to improve some of my workflows and I started with McNeels “wall example” here: Rhino - Grasshopper Player

I slightly modified the definition and created a toolbar button that runs GH player and the “wall definition” when the button is pressed.

I’m prompted with the inputs as expected and have two issues following:

  1. I have to enter a prompted value as expected and the first value takes just fine but each next prompt requires I hit enter after the value input to move onto the next input prompt… otherwise it keeps asking me repeatedly for the same prompt input again.

This would make sense if I’m entering a value like “typing a value here” but this happens if I click on a preset as well (only after the first prompt… the first prompt lets me click on a preset and moves onto the next just fine.

  1. The geometry is out of scale and incorrectly rotated, in the example of this simple wall script it flips the wall 90 degrees onto it’s side despite the script logic having an extrude with world z vector orientation.

Please see attached and let me know if I’m overlooking something or if anyone can help resolve this.

Thank you so much!

Please see the video here to illustrate the issues happening.

Macro:
-_GrasshopperPlayer C:\Users\UserName\Scripts\Wall_01d.gh

GH Player Script:
Wall_01d.gh (17.3 KB)

Hi @michaelvollrath

re 1: for the first getstring, you only have set both at least and and most to 1, but the next two strings your have set to at most 9. If you set both to at most 1, you will get only one wall.

re 2: It currently doesn’t work what you want. I’ve added this thread to RH-73559 Presets editor in the contextual components do not really behave properly.

The attached is a modified version that does work, but note the remarks in the YT.
Wall_01d.gh (33.7 KB)

Thank you @Gijs that makes sense!

Re2: Thank you!

Hi @Gijs,

Thanks for the updated file, I was able to get the inputs working as expected.

However the GH preview (when having the GH script open) and the GH Player preview (and final baked result) is flipped 90 degrees still.

In other words, the wall is created on its side instead of upright.

GH = Grasshopper Result (When not running through Player)
GHP = Grasshopper player preview and baked result

Thanks for your help!