How to install python packages/modules with pip ? - Grasshopper2024-03-29T07:25:00Zhttps://www.grasshopper3d.com/forum/topics/how-to-install-python-packages-modules-with-pip?commentId=2985220%3AComment%3A1798914&feed=yes&xn_auth=noLink to the solution for expo…tag:www.grasshopper3d.com,2017-08-15:2985220:Comment:17988802017-08-15T17:10:55.471Zvladimir ondejcikhttps://www.grasshopper3d.com/profile/vladimirondejcik312
<p>Link to the solution for exporting canvas with python:</p>
<p><a href="http://www.grasshopper3d.com/forum/topics/save-grashopper-canvas-as-picture-with-python" target="_blank">http://www.grasshopper3d.com/forum/topics/save-grashopper-canvas-as-picture-with-python</a></p>
<p>Link to the solution for exporting canvas with python:</p>
<p><a href="http://www.grasshopper3d.com/forum/topics/save-grashopper-canvas-as-picture-with-python" target="_blank">http://www.grasshopper3d.com/forum/topics/save-grashopper-canvas-as-picture-with-python</a></p> that is it, i wonder if it wo…tag:www.grasshopper3d.com,2017-08-15:2985220:Comment:17988752017-08-15T16:54:54.242Zvladimir ondejcikhttps://www.grasshopper3d.com/profile/vladimirondejcik312
<p>that is it, i wonder if it works properly, all tiles are ending up in C:\Temp no matter what settings i use in: "gh.GUI.Canvas.GH_Canvas.GH_ImageSettings()" and no picture appears i path i set</p>
<p>that is it, i wonder if it works properly, all tiles are ending up in C:\Temp no matter what settings i use in: "gh.GUI.Canvas.GH_Canvas.GH_ImageSettings()" and no picture appears i path i set</p> I think this one might be it:
tag:www.grasshopper3d.com,2017-08-15:2985220:Comment:17988422017-08-15T12:36:35.331ZAnders Holden Deleuranhttps://www.grasshopper3d.com/profile/AndersHoldenDeleuran
<p>I think this one might be it:</p>
<p><a href="http://storage.ning.com/topology/rest/1.0/file/get/2769318329?profile=original" target="_self"><img src="http://storage.ning.com/topology/rest/1.0/file/get/2769318329?profile=original" width="590" class="align-full"/></a></p>
<p>I think this one might be it:</p>
<p><a href="http://storage.ning.com/topology/rest/1.0/file/get/2769318329?profile=original" target="_self"><img src="http://storage.ning.com/topology/rest/1.0/file/get/2769318329?profile=original" width="590" class="align-full"/></a></p> I imagine that the Grasshoppe…tag:www.grasshopper3d.com,2017-08-15:2985220:Comment:17989192017-08-15T12:10:02.877ZAnders Holden Deleuranhttps://www.grasshopper3d.com/profile/AndersHoldenDeleuran
<p>I imagine that the Grasshopper SDK might expose the functionality for capturing the canvas, I'm sure David can elaborate on this. Otherwise, you could automate something like GreenShot (which has an API). .NET probably also have some capture functionality.<br></br><br></br>You just unzip the .gz, then the .tar and extract the folder with the name of the module. So for networkx it would look like this:…<br></br><br></br></p>
<p>I imagine that the Grasshopper SDK might expose the functionality for capturing the canvas, I'm sure David can elaborate on this. Otherwise, you could automate something like GreenShot (which has an API). .NET probably also have some capture functionality.<br/><br/>You just unzip the .gz, then the .tar and extract the folder with the name of the module. So for networkx it would look like this:<br/><br/><a href="http://storage.ning.com/topology/rest/1.0/file/get/2769318333?profile=original" target="_self"><img src="http://storage.ning.com/topology/rest/1.0/file/get/2769318333?profile=original" width="468" class="align-full"/></a></p>
<p>And inside this folder:</p>
<p><a href="http://storage.ning.com/topology/rest/1.0/file/get/2769319039?profile=original" target="_self"><img src="http://storage.ning.com/topology/rest/1.0/file/get/2769319039?profile=original" width="359" class="align-full"/></a></p> Hi Anders,
thanks i ll try to…tag:www.grasshopper3d.com,2017-08-15:2985220:Comment:17989142017-08-15T11:44:59.420Zvladimir ondejcikhttps://www.grasshopper3d.com/profile/vladimirondejcik312
<p>Hi Anders,</p>
<p>thanks i ll try to go though manual installation.</p>
<p></p>
<p>i want to do a tool that saves screenshot of grasshopper canvas, (Export HiRes image or Export quick image in grasshopper) do you know ith there is direct python command for that or do i need to go through windows capture?</p>
<p></p>
<p>also regarding this topic of python packages, most fiels i find are *.tar.gz how to load those?</p>
<p>Hi Anders,</p>
<p>thanks i ll try to go though manual installation.</p>
<p></p>
<p>i want to do a tool that saves screenshot of grasshopper canvas, (Export HiRes image or Export quick image in grasshopper) do you know ith there is direct python command for that or do i need to go through windows capture?</p>
<p></p>
<p>also regarding this topic of python packages, most fiels i find are *.tar.gz how to load those?</p> Hi Vladimir, four things:1) I…tag:www.grasshopper3d.com,2017-08-15:2985220:Comment:17988312017-08-15T10:39:07.387ZAnders Holden Deleuranhttps://www.grasshopper3d.com/profile/AndersHoldenDeleuran
<p>Hi Vladimir, four things:<br></br><br></br>1) In my experience it is less brittle/easier to simply download, unzip and install Python modules manually (<a href="http://www.grasshopper3d.com/forum/topics/using-third-party-module-in-rhinopython?commentId=2985220%3AComment%3A818878" rel="nofollow" target="_blank">like so</a>).<br></br><br></br>2) Be aware that some modules aren't compatible with IronPython (numpy/scipy comes to mind) and some use features available in a CPython version that are beyond the…</p>
<p>Hi Vladimir, four things:<br/><br/>1) In my experience it is less brittle/easier to simply download, unzip and install Python modules manually (<a rel="nofollow" href="http://www.grasshopper3d.com/forum/topics/using-third-party-module-in-rhinopython?commentId=2985220%3AComment%3A818878" target="_blank">like so</a>).<br/><br/>2) Be aware that some modules aren't compatible with IronPython (numpy/scipy comes to mind) and some use features available in a CPython version that are beyond the current IronPython version (networkx for instance).<br/><br/>3) You should probably use double backslashes when specifying a path in Python.<br/><br/>4) Specifically regarding mx, there are classes/functions for making GUI's in Rhino and .NET that might work for your needs, negating any external dependencies.<br/><br/>Hope that helps a bit :)<br/><br/>Best,<br/><br/>Anders</p>