diffCheckOrg / diffCheck

diffCheck is a CAD-integrated tool for evaluating digital timber fabrication processes.
https://diffcheckorg.github.io/diffCheck/
GNU General Public License v3.0
9 stars 3 forks source link

Append Additional Menu Item for paramter inputs #116

Open eleniv3d opened 1 month ago

eleniv3d commented 1 month ago

I spent some time trying to make this work but didn't succeed in Rhino 8. The idea is to override the GH_Component.AppendAdditionalMenuItems method so that we can have custom additional menus for inputs and change between Assembly-Beam-Joint-Face previews for example. Here a successful example for Rhino 7 from gh forum in case someone else has more luck/ understands better why it doesn't work in our case.

https://github.com/user-attachments/assets/547806d6-edb5-4ce9-be8f-6d1b8b27f147

GHPy_SDKMode_contextMenu.zip

DamienGilliard commented 1 month ago

Maybe it would be quicker to add a drop-down menu as done with the visualisation settings ?

9and3 commented 1 month ago

@eleniv3d is there already a component in diffCheck where do you think it would be a good fit?