diff --git a/compute/py/SampleTkinter/README.md b/compute/py/SampleTkinter/README.md index df8ae655..00c37962 100644 --- a/compute/py/SampleTkinter/README.md +++ b/compute/py/SampleTkinter/README.md @@ -4,7 +4,7 @@ This sample uses rhino3dm to create a brep from a sphere and then sends it to Co ```commandline $ python3 -m venv venv -$ source venv/bin/activate +$ source venv/scripts/activate $ pip install rhino3dm compute-rhino3d $ python makemesh.py ``` diff --git a/compute/py/SampleTkinter/makemesh.py b/compute/py/SampleTkinter/makemesh.py index 52ff7273..790e8427 100644 --- a/compute/py/SampleTkinter/makemesh.py +++ b/compute/py/SampleTkinter/makemesh.py @@ -4,21 +4,9 @@ import compute_rhino3d.Mesh import compute_rhino3d.Util -auth_token = "" + top = Tkinter.Tk() -def onClickOk(): - global auth_token - auth_token = auth.get() - top.destroy() -lbl = Tkinter.Label(top, text="Rhino Accounts auth token") -lbl.grid(row=0, column=0) -auth = Tkinter.Entry(top) -auth.grid(row=0, column=1) -btn = Tkinter.Button(top, text='Ok', command=onClickOk) -btn.grid(row=1, column=1) -top.mainloop() -compute_rhino3d.Util.authToken = auth_token center = Point3d(250, 250, 0) sphere = Sphere(center, 100) diff --git a/rhino.inside/javascript/SampleRhinoInsideCEF/README.md b/rhino.inside/javascript/SampleRhinoInsideCEF/README.md index 17e5fb9d..13e0acdc 100644 --- a/rhino.inside/javascript/SampleRhinoInsideCEF/README.md +++ b/rhino.inside/javascript/SampleRhinoInsideCEF/README.md @@ -6,7 +6,6 @@ Sample showing how to start Rhino and Grasshopper from a winforms app with a CEF ## Requirements - [Rhino 7 for Windows](https://www.rhino3d.com/download/rhino-for-windows/7/latest) -- [node.js and npm](https://nodejs.org/en/) (tested on node version 12.18.0 and npm 6.14.4) ## Dependencies - [CEFSharp](https://github.com/cefsharp/CefSharp) - [version 86.0.241] Used to host the UI, and javascript. diff --git a/rhino.inside/javascript/SampleRhinoInsideJavascriptLibs.sln b/rhino.inside/javascript/SampleRhinoInsideJavascriptLibs.sln index 3303078d..9f70a5bf 100644 --- a/rhino.inside/javascript/SampleRhinoInsideJavascriptLibs.sln +++ b/rhino.inside/javascript/SampleRhinoInsideJavascriptLibs.sln @@ -7,6 +7,11 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SampleRhinoInsideJavascript EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SampleRhinoInsideJavascriptTaskManagerLib", "SampleRhinoInsideJavascriptTaskManagerLib\SampleRhinoInsideJavascriptTaskManagerLib.csproj", "{B70ABEBE-DF8A-4960-82E4-97959F353738}" EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Docs", "Docs", "{D493F377-527B-418B-8BBE-00FCC8CBCF34}" + ProjectSection(SolutionItems) = preProject + README.md = README.md + EndProjectSection +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU