diff --git a/GH/PyGH/examples/example_slider.py b/GH/PyGH/examples/example_slider.py index 6c7125c..16d8394 100644 --- a/GH/PyGH/examples/example_slider.py +++ b/GH/PyGH/examples/example_slider.py @@ -1,7 +1,7 @@ #! python3 def main(x): - y = 123 + y = 123 a = x - y c = x + y b = 123 diff --git a/README.md b/README.md index dae3b1a..6265831 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,23 @@ To close `script-sync` in RhinoV8, run the command `ScriptSyncStop` in RhinoV8. 👩💻 **`VScode`**: Open a script in VSCode and run it in RhinoV8 by pressing `F4` to run in Rhino or `shift+F4` for Grasshopper. diff --git a/VSCode/scriptsync/README.md b/VSCode/scriptsync/README.md index 3011b97..4a81383 100644 --- a/VSCode/scriptsync/README.md +++ b/VSCode/scriptsync/README.md @@ -29,6 +29,30 @@ You can execute the folloing languages from VSCode with script-sync:
+## Installation +🦏/🦗 **`Rhino/Grasshopper`**: Install script-sync rhino from food4rhino or the packageManager in Rhino (name: "script-sync"). For Grasshopper you might want to get rid of the old version of the plugin before installing the new one. Just right-click on the old icon and click *delete*. + +👩💻 **`VScode`**: Install script-syncVSCode extension from the VSCode extension marketplace (name: "script-sync") + +## How to use +🦏 **`Rhino`**: To start `script-sync` in RhinoV8, run the command `ScriptSyncStart` in RhinoV8. This will start a server that listens to commands from VSCode. +To close `script-sync` in RhinoV8, run the command `ScriptSyncStop` in RhinoV8. + +🦗 **`Grasshopper`**: To start `script-sync` in Grasshopper, add the component script-sync: + ++ + + +
+ + ## Installation 🦏/🦗 **`Rhino/Grasshopper`**: Install script-sync rhino from food4rhino or the packageManager in Rhino (name: "script-sync"). For Grasshopper you might want to get rid of the old version of the plugin before installing the new one. Just right-click on the old icon and click *delete*. @@ -42,7 +66,23 @@ To close `script-sync` in RhinoV8, run the command `ScriptSyncStop` in RhinoV8. 👩💻 **`VScode`**: Open a script in VSCode and run it in RhinoV8 by pressing `F4` to run in Rhino or `shift+F4` for Grasshopper.