algorithmic modeling for Rhino
Hi Peter,
Thank you for the quick testing!!
I fixed the first issue with "installFolder_". Good eye!
As for the second issue: for some reason, the System.Drawing.Color methods do not like the British spelling of "grey" color, and accept only US "gray" spelling. I have no idea why is this so.
I fixed it with a small function.
Check the attached file below.
Let me know if any other error appeared.
If not, then I will explain the changes that I made with the attached definition.
I forgot to project the streets to the terrain.
Sorry about that.
EDIT: something is wrong with Ning forum. My text is not visible.
What I wrote is that: I can not replicate the error you had with color_the_buildings_Stuttgart2b_PZ.gh file. The "OSM 3D" component runs fine, as the rest of the definition. Check the attached screenshots of the definition once it has been ran, and the results.
Is it possible to run the color_the_buildings_Stuttgart2b_PZ.gh file on some other PC in your office?
Hello,
Really nice plugin, and great work !
Unfortunately, when I try the example files, the 2D Shapes component "Gismo_OSM Shapes" gives me a WindowsError (I attached the screenshot below with the output message).
Thanks for your help.
Best,
Mathieu
Hi Mathieu,
First of all, thank you for the kind words and for testing!! It is likely that there would be a few more bugs, and I am very grateful for the free time you spend in testing of Gismo! It enables me to make it better!
As for the issue you are having: for some reason, it seems that "open" function that "OSM shapes" component is using may cause resource leak on some Windows systems. At least this is according to a similar issue reported on stackoverflow. I tried fixing the issue by replacing the mentioned "open" with "with" syntax. Check the attached file below. It contains a new "OSM Shapes" component dated with "01_FEB_2017". Let me know if this component works now.
If it does, can you use that same component for other Gismo example files as well? Meaning: replace "OSM Shapes" component from those file with the "01_FEB_2017" one.
If it does work everywhere, then I will incorporate this version of "OSM Shapes" as the official one.
I would appreciate if you would let me know what happened.
EDIT: Before you open the "color_the_buildings2.gh" file, can you please close your Rhino and Grasshopper, and delete the whole following folder: "C:\gismo\osm_files". Then run Rhino and Grasshopper again, and open the "color_the_buildings2.gh" file. You will have to do this only now, not in the future.
Hello Djordje,
No luck, I try your definition after deleted the osm_files folder, and I get the same error on the OSM Shapes component. See the screenshot below also.
Glad to help you, I know what it is to debug some code ! I hope this will be easy, I'm very interested about your gismo plugin !
Hi Mathieu,
Try the attached .gh file below.
Please repeat again the previous folder deletion process before opening the "color_the_buildings2b.gh" file:
Close your Rhino and Grasshopper, and delete the whole folder: "C:\gismo\osm_files". Then run Rhino and Grasshopper again, and open the "color_the_buildings2b.gh" file.
I apologize for all this inconvenience.
Hi,
This one works !
Just one error telling that it cannot access to the path of the osmconf.ini, so I just go into the folder C:\Program Files\MapWinGIS\gdal-data, right-click properties on the osmconfig.ini and allow full control into security tab for all users and accounts.
Thanks for your help ! I'm going to play with gismo now, yeah !
Glad it worked Mathieu!
Just in case other users experience the same issue:
What was the text of osmconf.ini error message?
Here is the error shown : "1. Solution exception:Access to the path 'C:\Program Files\MapWinGIS\gdal-data\osmconf.ini' is denied."
To solve : osmconf.ini > properties > security > allow full control
And the screenshots for detailed error, and the properties settings.
Welcome to
Grasshopper
© 2024 Created by Scott Davidson. Powered by