This is great Pirouz, thank you for sharing! I get this error: (I have the Syntactic 2.7 and the latest SpiderWeb installed which includes MathNet.Numerics.dll)
Hi Amir, thanks for your messages. Sorry for responding late, I'm busy with a deadline on Wednesday now. Does it work for you now?
In case of difficulties with installing MathNet.Numerics, may I suggest the following steps:
Please install the MathNet on your system and make sure you find a file called “MathNet.Numerics.dll”
Copy & Paste this file into your “Grasshopper/File/SpecialFolders/Components” Folder
Make sure this dll is not blocked by your system. To do so, hover on this file and right click; go to its properties and see at the bottom of the message if it is blocked. If blocked, you will see an “Unblock” button. Push that button.
Hi Pirouz, I checked my curves very carefully and there are well connected at their intersections. But it still has error "1. Solution exception:Value was either too large or too small for an Int32." Can you help me? Thanks a lot!
Hi Tran, As I can see from the image you are using the old version of Configurbanist. Could you please try the same thing with the new test version released a couple of days ago?
Hi Pirouz, I managed to work with the plug-in it is really nice! What i still cannot figure out is how can i possibly "bake" the colored result from the zoning/vicinity/proximity, I tried the Custom preview, but the streets cannot be baked so that after you can see them in Rhino with the exact same gradient colors as you see in gh. The image under is just a screenshot, but i wanted to obtain that visible in Rhino
Unfortunately, I'm getting error running your new example and the new dll file. There are a few different versions of MathNet.Numerics.dll with various sizes, dies it matter which one to use?
@ Amir Soltani : Hi, as I can see from the error message it has to do with the other library called configraphics_cs.dll; could you please ensure you have put that dll into your components folder and unblocked it? if the error persists, please go onto the component and copy/paste the whole error message here.
@ Maria: glad to see it is working for you but I guess you are still using the old version. I would suggest that you try the new version and use its functionalities. As a direct answer to your question: baking thick curves would be rather difficult and computationally heavy. That is, if you want them to become vector objects afterwards. However, with the help of third-party plugins such as those made by Guilio Piacentino: http://www.giuliopiacentino.com/grasshopper-tools/
after baking lines with colors you could export them to a vector graphics editor such as Adobe Illustrator or Corel Draw and give them thickness I guess. However, if JPG images are needed the component curve thickness in the new version might do the job as well.
I am getting an error that says: "Solution exception: Value was either too large or too small for an int32". I checked all of the comments on grasshopper.com. Pirouz recommended Tran to use new workshop example but it requires other programs on computer.43%20Nolu%20Otopark_Cheetah.gh
Hi Can, for the new components to work you need to install the Math.NET library and configraphics.dll on your system. Have you done these two installations?
@ Pirouz: I installed MathNet.Numerics.dll and Configraphix_CS.dll according to your guide but grasshopper asks me Configraphix_C.dll. I couldn't find any Configraphix_C.dll on web. Can you please share a Configraphix_C.dll file?
1. Error (CS1061): 'MathNet.Numerics.LinearAlgebra.Single.SparseMatrix' does not contain a definition for 'ToRowArrays' and no extension method 'ToRowArrays' accepting a first argument of type 'MathNet.Numerics.LinearAlgebra.Single.SparseMatrix' could be found (are you missing a using directive or an assembly reference?) (line 104)
2. Error (CS1061): 'MathNet.Numerics.LinearAlgebra.Single.SparseMatrix' does not contain a definition for 'ToRowArrays' and no extension method 'ToRowArrays' accepting a first argument of type 'MathNet.Numerics.LinearAlgebra.Single.SparseMatrix' could be found (are you missing a using directive or an assembly reference?) (line 105)
3. Error (CS1061): 'MathNet.Numerics.LinearAlgebra.Single.SparseMatrix' does not contain a definition for 'ToRowArrays' and no extension method 'ToRowArrays' accepting a first argument of type 'MathNet.Numerics.LinearAlgebra.Single.SparseMatrix' could be found (are you missing a using directive or an assembly reference?) (line 106)
I'm assuming the issue is related to the MathNet.Numerics.dll
Hi Tom, Yes it has to do with the Math.NET library... I guess the version of the library you are using is different from the version I had implemented in my code back in 2016. Can you please try to see if it works by using this old version? MathNet.Numerics.dll
Unfortunately when I copy the supplied .dll to the grasshopper library [unblocked] and reopen your script, I'm still confronted with the same error warning.
To be honest, I'm expecting this issue to be the result of my incompetence but i'm unsure of what I can do to resolve it.
Hmmm... could it be that the input of the component providing L2LG, L2LC, and L2LN is problematic?
Ps. I'd suggest to set your view in GH to show component names instead of icons, especially because I haven't yet designed icons for most of these components.
Hi Tom, I can see that the tolerance for error (tol) is quite small compared to the scale of your network segments, please try raising the tolerance and check the "out" content of the L2L graph component.
Hi Jonothan, thanks for your compliments! I have a completely new process for cleaning networks and I have also rewritten half of the plugin. theoretically I could release a new version in a few days but I cannot promise a date actually because of our very heavy education workload at this moment. I know that it is possible to do network cleansing with QGIS. If you can code in Python or C# I can also help you snap all line end points to a grid, so that they really connect to one another. However, this business of cleaning networks is quite tricky in general. If it is only one study, then a visual inspection also helps (zoom in/zoom-out, clean/replace the problematic parts). I hope this helps a little for now.
I am trying to install this as the GSI / FSI functions look interesting.
I am stuck on the Math.net stuff as they seem only to provide the libraries in some Microsoft Visual Studio compressed format from which I cannot extract the required dlls. Am I missing something?
Hi Michael, We have switched to Accord.NET for the new version (to be released hopefully before Christmas). I know it can be difficult to find Math.NET without going through installations. For the time being, I don't know if the licence allows me to share the dll publicly here. Could you please send me an email to p.nourian@tudelft.nl?
Hi, possibly, it might have been the previous GH (0075); but my guess is: this is most probably because of a missing geometric object. Do you have both closed a set of plot polygons and a network of lines?
In the context of zonning analysis, you show in the paper an ilustration of zonning diagram in 5 minutes walking distance. If i want to get the zonning diagram in case of 3 minute walking distance within, what should i do?
I would suggest using the new (work in progress) version from my website. The inputs are called How Far (HF), their units must be minutes. You can change the inputs to 3 minutes.
Hi Valters, are the tools working now? if not, you can do the following: download the mathnet.numerics.dll from https://numerics.mathdotnet.com/; then close your file and open it again. When it asks for a reference to a new location of the dll, you can locate the dll on your machine.
This is for the time being the way to get it to work. We have made a new version which will be less technical to use but I cannot promise an exact date of arrival for the new version because of our busy schedule. We will announce it here.
Hi Valters, you are missing the SpiderWeb plugin; however, you can run the model without those extra components. Re your second question, shattering a network with a certain resolution might result in tearing it apart. It is a tricky business in general. With our new methods it will be much easier to get valid networks out. However, for the time being, you can bake your resultant network and inspect it by your hand/eyes and make sure it is really connected where it is supposed to be.
Hello Could anyone help me ?? The Betweenness Centrality component sends this message error: 1. Solution exception: Array dimensions have exceeded the accepted range.
Hi Renato, can you please check the number of graph nodes (line segments)? Could it be that your units (meters/centimeters) are such that the network is shattered into too many pieces?
Hi Prof. @Pirouz Nourian. Thanks for helping me. The number of line segments is 829. The units i'm working with is meters. I'm tryling to analyze a neighborhood as shown in the image. Other components have been having problems, such as the Shortest Path and the Network Distance Calculator.
Hi Renato, 829 line segments (after shattering) should really be fine. However, looking at the image I guess the original number of line segments is 829 and after they are shattered you end up with many more. Please check the outputs of the first network constructor component and make sure that the shattered pieces are not too many (and not too small). Judging the scale from the grid of Rhino I guess your streets are way too long, can you check the length of a few segments?
Amir Soltani
This is great Pirouz, thank you for sharing! I get this error: (I have the Syntactic 2.7 and the latest SpiderWeb installed which includes MathNet.Numerics.dll)
Nov 25, 2016
Amir Soltani
Enabling the "Memory load" from Grasshopper Developer Settings fixed the Syntactic error problem which made it not show up in the GH ribbon.
Nov 27, 2016
Pirouz Nourian
Hi Amir, thanks for your messages. Sorry for responding late, I'm busy with a deadline on Wednesday now. Does it work for you now?
In case of difficulties with installing MathNet.Numerics, may I suggest the following steps:
Nov 28, 2016
Tran Huy Vu Nguyen
Hi Pirouz, I checked my curves very carefully and there are well connected at their intersections. But it still has error "1. Solution exception:Value was either too large or too small for an Int32." Can you help me? Thanks a lot!
0000001.gh
Nov 29, 2016
Pirouz Nourian
Hi Tran, As I can see from the image you are using the old version of Configurbanist. Could you please try the same thing with the new test version released a couple of days ago?
Dec 1, 2016
Maria
Hi Pirouz,
I managed to work with the plug-in it is really nice! What i still cannot figure out is how can i possibly "bake" the colored result from the zoning/vicinity/proximity, I tried the Custom preview, but the streets cannot be baked so that after you can see them in Rhino with the exact same gradient colors as you see in gh. The image under is just a screenshot, but i wanted to obtain that visible in Rhino
Dec 6, 2016
Amir Soltani
Unfortunately, I'm getting error running your new example and the new dll file. There are a few different versions of MathNet.Numerics.dll with various sizes, dies it matter which one to use?
Dec 6, 2016
Pirouz Nourian
@ Amir Soltani : Hi, as I can see from the error message it has to do with the other library called configraphics_cs.dll; could you please ensure you have put that dll into your components folder and unblocked it? if the error persists, please go onto the component and copy/paste the whole error message here.
Dec 7, 2016
Pirouz Nourian
@ Maria: glad to see it is working for you but I guess you are still using the old version. I would suggest that you try the new version and use its functionalities. As a direct answer to your question: baking thick curves would be rather difficult and computationally heavy. That is, if you want them to become vector objects afterwards. However, with the help of third-party plugins such as those made by Guilio Piacentino: http://www.giuliopiacentino.com/grasshopper-tools/
after baking lines with colors you could export them to a vector graphics editor such as Adobe Illustrator or Corel Draw and give them thickness I guess. However, if JPG images are needed the component curve thickness in the new version might do the job as well.
Dec 7, 2016
Can Tuncok
Mar 13, 2017
Can Tuncok
undefined this is the rhino file of my study. I forgot adding this. Sorry
Mar 13, 2017
Pirouz Nourian
Hi Can, for the new components to work you need to install the Math.NET library and configraphics.dll on your system. Have you done these two installations?
Mar 13, 2017
Can Tuncok
@ Pirouz: I installed MathNet.Numerics.dll and Configraphix_CS.dll according to your guide but grasshopper asks me Configraphix_C.dll. I couldn't find any Configraphix_C.dll on web. Can you please share a Configraphix_C.dll file?
Mar 14, 2017
Pirouz Nourian
Configraphix_C.dll
Mar 16, 2017
Pirouz Nourian
Configraphix_CS.dll
Mar 16, 2017
Can Tuncok
thank you so much
Mar 21, 2017
tom
Hello, could somebody help me with this?
1. Error (CS1061): 'MathNet.Numerics.LinearAlgebra.Single.SparseMatrix' does not contain a definition for 'ToRowArrays' and no extension method 'ToRowArrays' accepting a first argument of type 'MathNet.Numerics.LinearAlgebra.Single.SparseMatrix' could be found (are you missing a using directive or an assembly reference?) (line 104)
2. Error (CS1061): 'MathNet.Numerics.LinearAlgebra.Single.SparseMatrix' does not contain a definition for 'ToRowArrays' and no extension method 'ToRowArrays' accepting a first argument of type 'MathNet.Numerics.LinearAlgebra.Single.SparseMatrix' could be found (are you missing a using directive or an assembly reference?) (line 105)
3. Error (CS1061): 'MathNet.Numerics.LinearAlgebra.Single.SparseMatrix' does not contain a definition for 'ToRowArrays' and no extension method 'ToRowArrays' accepting a first argument of type 'MathNet.Numerics.LinearAlgebra.Single.SparseMatrix' could be found (are you missing a using directive or an assembly reference?) (line 106)
I'm assuming the issue is related to the MathNet.Numerics.dll
Thanks
Tom
Mar 24, 2017
tom
Mar 24, 2017
Pirouz Nourian
Hi Tom, Yes it has to do with the Math.NET library... I guess the version of the library you are using is different from the version I had implemented in my code back in 2016. Can you please try to see if it works by using this old version? MathNet.Numerics.dll
Mar 24, 2017
tom
Hi Pirouz, thank you for the quick reply.
Unfortunately when I copy the supplied .dll to the grasshopper library [unblocked] and reopen your script, I'm still confronted with the same error warning.
To be honest, I'm expecting this issue to be the result of my incompetence but i'm unsure of what I can do to resolve it.
Mar 24, 2017
Pirouz Nourian
Hmmm... could it be that the input of the component providing L2LG, L2LC, and L2LN is problematic?
Ps. I'd suggest to set your view in GH to show component names instead of icons, especially because I haven't yet designed icons for most of these components.
Mar 24, 2017
tom
Mar 24, 2017
tom
Mar 24, 2017
Pirouz Nourian
Hi Tom, I can see that the tolerance for error (tol) is quite small compared to the scale of your network segments, please try raising the tolerance and check the "out" content of the L2L graph component.
Mar 27, 2017
Jonathan Wiederin
Hi Pirouz
Thank you for the great Plugin.
Are you still working on Cheetah?
I get the same error when using it.
"Solution exception: Value was either too large or too small for an int32".
Can you recommend some Plugins or tool to clean up streetnetworks to avoid this error?
I had some success with the Plugin Vipers. But still get the same error.
Thanks
Nov 30, 2017
Pirouz Nourian
Hi Jonothan, thanks for your compliments! I have a completely new process for cleaning networks and I have also rewritten half of the plugin. theoretically I could release a new version in a few days but I cannot promise a date actually because of our very heavy education workload at this moment. I know that it is possible to do network cleansing with QGIS. If you can code in Python or C# I can also help you snap all line end points to a grid, so that they really connect to one another. However, this business of cleaning networks is quite tricky in general. If it is only one study, then a visual inspection also helps (zoom in/zoom-out, clean/replace the problematic parts). I hope this helps a little for now.
Nov 30, 2017
Pirouz Nourian
BTW, Jonathan Wiederin, are you using the WIP version from my website or the last GHA version?
Nov 30, 2017
Jonathan Wiederin
Hi
Thank You for the advice. I will try qgis.
I`m using the WIP Version from your website.
If your new version of Cheetah is ready i would be glad to test it.
Dec 3, 2017
Michael Donn
Gidday
I am trying to install this as the GSI / FSI functions look interesting.
I am stuck on the Math.net stuff as they seem only to provide the libraries in some Microsoft Visual Studio compressed format from which I cannot extract the required dlls. Am I missing something?
m
Dec 9, 2017
Pirouz Nourian
Hi Michael, We have switched to Accord.NET for the new version (to be released hopefully before Christmas). I know it can be difficult to find Math.NET without going through installations. For the time being, I don't know if the licence allows me to share the dll publicly here. Could you please send me an email to p.nourian@tudelft.nl?
Best regards,
Pirouz
Dec 11, 2017
Jonathan Wiederin
Hey Pirouz
Could yo please tell which version of Grasshopper and Rhino you are using?
Thx
Dec 11, 2017
Pirouz Nourian
Hi Jonathan Wiederin,
The WIP version was developed for the latest GH and Rhino5.
Any installation challenge?
Dec 11, 2017
Jonathan Wiederin
Hey
I get the error: "Solution exception:Object reference not set to an instance of an object" in the PlotMeasures Component.
I thought i may be using the wrong grasshopper or rhino version...
Dec 11, 2017
Pirouz Nourian
Hi, possibly, it might have been the previous GH (0075); but my guess is: this is most probably because of a missing geometric object. Do you have both closed a set of plot polygons and a network of lines?
Dec 11, 2017
Bimapranata
In the context of zonning analysis, you show in the paper an ilustration of zonning diagram in 5 minutes walking distance. If i want to get the zonning diagram in case of 3 minute walking distance within, what should i do?
Feb 1, 2018
Bimapranata
Feb 1, 2018
Pirouz Nourian
Hi Bimapranata,
I would suggest using the new (work in progress) version from my website. The inputs are called How Far (HF), their units must be minutes. You can change the inputs to 3 minutes.
Feb 5, 2018
Valters Grauziņš
Hi,
I am third year student in architecture.
We have task (in urban design) design city. I saw your video about cheetah. It's amazing. But I can not understand how to install this awesome add-on.
1) I downloaded all files from https://sites.google.com/site/pirouznourian/configurbanist put it in Components Folder/ and installed file from zip (of course unlocked)
nothing happened
2) I read comments about MathNet.Numerics.dll I opened the link and could not understand where i can download the file...
nothing happened
3) I read comments here I found the file that you gave, put it in Components Folder
I'm just that far:
What shall I do?
I'm sorry for the stupid question. I'm not so powerful.
Mar 27, 2018
Valters Grauziņš
Sorry for the disturbance, I did not check the file that I installed.
Now all the tools are visible in grasshopper. Nice... :)
But still don't get why is it necessary MathNet.Numerics.dll file?
Mar 27, 2018
Pirouz Nourian
Hi Valters, are the tools working now? if not, you can do the following: download the mathnet.numerics.dll from https://numerics.mathdotnet.com/; then close your file and open it again. When it asks for a reference to a new location of the dll, you can locate the dll on your machine.
This is for the time being the way to get it to work. We have made a new version which will be less technical to use but I cannot promise an exact date of arrival for the new version because of our busy schedule. We will announce it here.
Mar 27, 2018
Valters Grauziņš
Thanks for the fast answer.
I tried to open the file after mathnet.numerics.dll, now i can open the file.
But, I have this now:
But still the file opens. But as soon as I put the streets (from openstreetmap) and topography (from google earth) I got this error:
Mar 28, 2018
Valters Grauziņš
After that, I decided to try to make it, following your video.
As soon as, I am reaching to resoultion - 10 I got this error:
Mar 28, 2018
Pirouz Nourian
Hi Valters, you are missing the SpiderWeb plugin; however, you can run the model without those extra components. Re your second question, shattering a network with a certain resolution might result in tearing it apart. It is a tricky business in general. With our new methods it will be much easier to get valid networks out. However, for the time being, you can bake your resultant network and inspect it by your hand/eyes and make sure it is really connected where it is supposed to be.
Mar 28, 2018
Pirouz Nourian
Essential Means for Urban Computing: Specification of Web-Based Computing Platforms for Urban Planning, a Hitchhiker’s Guide
https://www.cogitatiopress.com/urbanplanning/article/view/1299
Apr 2, 2018
Thomas Lagarde
I got this on Rhino 6 64 bits after using your .dll, what could be the problem ?
Aug 4, 2020
Pirouz Nourian
@Thomas Lagarde: what do you see at the bottom of the list of errors?
Aug 13, 2020
Renato Sá
Hello Could anyone help me ??
The Betweenness Centrality component sends this message error: 1. Solution exception: Array dimensions have exceeded the accepted range.
Dec 7, 2021
Pirouz Nourian
@Renato Sá:
Hi Renato, can you please check the number of graph nodes (line segments)? Could it be that your units (meters/centimeters) are such that the network is shattered into too many pieces?
Dec 9, 2021
Renato Sá
Hi Prof. @Pirouz Nourian. Thanks for helping me.
The number of line segments is 829. The units i'm working with is meters.
I'm tryling to analyze a neighborhood as shown in the image. Other components have been having problems, such as the Shortest Path and the Network Distance Calculator.
Dec 14, 2021
Pirouz Nourian
Hi Renato, 829 line segments (after shattering) should really be fine. However, looking at the image I guess the original number of line segments is 829 and after they are shattered you end up with many more. Please check the outputs of the first network constructor component and make sure that the shattered pieces are not too many (and not too small). Judging the scale from the grid of Rhino I guess your streets are way too long, can you check the length of a few segments?
Dec 30, 2021