Grasshopper

algorithmic modeling for Rhino

Hi

 

I have both a search and a wish for David, many of us create Grasshopper models that can and will be used by other people. For this we would like to enable the user to set data but not to tinker with the grasshopper graph, either intentionally or unintentionally.

 

Is it possible to create an external panel that would enable a user to greate geometry while keeping the grasshopper logic hidden?

 

Or perhaps better, and this is the wish for you David, have the option to select the input and ouput components that can be accessed and then save the file with a password protection.

This way when the user opens the file the logic is visible but non modifiable except for the components defined when saving this file.

 

Have a nice day

Views: 2982

Replies to This Discussion

Hi Phil,

 

as of 0.8.0051 there is a way to load and control grasshopper via RhinoScript. I realize that's not ideal but at least it's the first possible way.

 

I still need to re-instate the Remote Control Panel and it is my hope this UI can be used as a custom interface to Grasshopper parameters and sliders. 

 

I'm not sure about password protection, it would be a piece of cake to lock the entire file, though probably not very secure*. It will be much harder to lock specific objects, because every single object handles its own mouse and key events. I'm not saying it's impossible, just very difficult to make it consistent not just across Grasshopper but also all 3rd party libraries.

 

--

David Rutten

david@mcneel.com

Leusden, Holland

 

* Anyone with a passing knowledge of encryption and willing to edit some xml will probably be able to remove a password lock.

Hi again where can I find information on this RhinoScript approach?

 

About the password, The idea is not to protect the file from skilled malicious programers but to prevent a candid user from involuntarily modifying the grasshopper logic.

 

Maybe a simple command that would allow to lock some components preventing involuntary modifications such as disconnecting or moving, perhaps just a flag that would render them non selectable.

 

( I see your are back in Holland, I kind of liked the name "Poprad"  ;o)

hello, I am very interested in the subject.
 Through an xml file I get a dialogue already with GH from an external interface.
 (See my blog if interested).
 From a button nose and I expect script is an example of David scipt to access a GH.
Good works
Hi David 
This topic succitte lot of desire.
Can not wait to work on this to complete a project.

Hello everybody,

 

As I understood from David´s response, it is possible to create an interface to edit Grasshopper definitions using Rhinoscript, is that right?

 

Could you please comment a little further on this topic? Or, just to start on our own, which namespace from the reference should we look at?

 

Thanks.

Hi,
Yes it is possible...
List of parameters Script :
Added AssignDataToParameter() method to the Grasshopper RhinoScript object.Added BakeDataInObject() method to the Grasshopper RhinoScript object.Added RunSolver() method to the Grasshopper RhinoScript object.
The RhinoScript Édit your définition, i'm not sure to be create an interface !! 
Thanks!
If you have More idea, the subject is open for any discussion.
David, i'm sure take an exemple 

Hi David,

 

Maybe it is possible to add a password by saving a cluster?

 

Thanks

Dimitry

Hi all and discussion group,

password in cluster, it's possible today ?

 

I would be interested to create cluster protected.

Nope. Can't be done.

Unless you're willing to put a custom VB component in the cluster and then it would be very easy to crack.

 

--

David Rutten

david@mcneel.com

Poprad, Slovakia

Thank you for your answer, should the VB or C # component blocks the right to open the cluster, for example, if a password is active.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service