Cheetah, the CONFIGURBANIST

"Cheetah, the CONFIGURBANIST" is a plugin for analyzing and designing urban configurations. A new version is released here https://sites.google.com/site/pirouznourian/configurbanist

Load Previous Comments
  • SHILPA PANDE

    where can i download cheetah from? i tried the above links..can't seem to find it anywhere

  • Pirouz Nourian

  • John Park

    distance got weird  ... show me infinity then errors 

  • Pirouz Nourian

    Hi SHILPA PANDE you can go to https://sites.google.com/site/pirouznourian/configurbanist and press the downward arrow to download. 

  • Pirouz Nourian

    Hi John Park, it seems like you have a network that is not as connected as it appears. For the time being, I cannot offer an automated method to clean your network and you have to inspect it manually. 

  • John Park

    Dear Pirouz Nourian, what do you mean by "a network that is not as connected as it appears"? ... if I know what it is  ... I will do it manually ... much appreciated ...!!!

  • Pirouz Nourian

    some of the lines that appear to be connected might not be exactly connected. There might also be many other problems such as lines near one another, duplicate lines, overlapping lines, junctions which should not exist and so on.  

  • Pirouz Nourian

    turn on the control points of all lines, zoom in and out, use modelling aids such as snapping options to ensure the lines are clean and connected at their end points. I hope this helps. The next version of the tools are better at this but such problems are difficult to solve automatically in general.  

  • John Park

    Thanks, I will try and let you know!!! 

  • John Park

    Dear Pirouz,

    Thanks a lot!!!

    Yes, it worked ...

    Would you let me know how I can run "local betweenness" you explained in your paper " Configurbanist: Urban Configuration Analysis for Walking and Cycling via Easiest Paths"

  • Pirouz Nourian

    Hi John, happy to hear that. I could send you the individual tool but it will need adaptations to work with the old version. I will be defending my PhD (on Aula's agenda if you are in Delft) by the end of the week and hopefully soon after I will share the next version of Cheetah, which includes local between-ness and several other new stuff. 

  • Nadine Müller

    Hi everyone! I am trying to use the NetworkDistanceCalculator and I connected the point parameter to the attraction points as list (AttP), but when I choose the points in Rhino I'm getting the following error message  "Solution exception:Value was either too large or too small for an Int32". Can someone help me fixing that?

  • Pirouz Nourian

    Hi Nadine, based on my experience, that error has most probably to do with the network being disconnected at some street junctions, so that effectively one or more streets end up being kind of an island. This is most likely invisible to eyes unless you zoom in and out to find where such problems are. Please check my posts below about potential cases (duplicate lines, lines not exactly touching each other etc.) I hope this helps. The next version underway might be better at dealing with this indicating where such problems are but in general these problems are difficult to tackle. 

  • Pirouz Nourian

    Hi, we are going to release the latest version of CONFIGURBANIST as a dll library (API) that can be accessed through C# and VB.NET components. In the meantime, I thought you could try and test the modules and provide suggestions. It comes with some goodies useful along with SYNTACTIC tools, such as Spectral Graph Drawing and Matrix Plots. Simple connectors are also provided for SYNTACTIC and SpiderWeb. This new toolkit is in some ways fundamentally different from the version you have been using so far. For more info please check my dissertation: 

    http://abe.tudelft.nl/index.php/faculty-architecture/issue/archive

    if you don't have the time to read this, check this one out:

    https://www.researchgate.net/publication/303944600_Spectral_Modelli...

    If you want to try this version you need to install two libraries in your Grasshopper/Special Folders/Components Folder

    * Math.NET (MathNet.Numerics.dll): http://www.mathdotnet.com/

    * Configraphics_CS.dll (the library to be completed by me)

    Please note that because this package uses Math.NET their licencing terms apply as well as those of mine. Please read the Read-Me panel in the file.

    If you want to write a C#/VB snippet to do something in connection to this package we'd be happy to help you with that (as much as the schedules and other things allow us) and eventually involve you as a developer in the next versions. 

    Our vision for the next versions is to connect/integrate this package with SYNTACTIC and SpiderWeb. 

    I will replace some of the groups with better/newer modules in the coming days. Stay tuned. 

    CONFIGURBANIST_Nov2016_TestVersion.gh

    Configraphix_CS.dll

    NOTE: This file is a Work-in-Progress and likely to contain bugs and errors. Use at your own risk. In no circumstances the authors (mentioned in the CC licence above) can be held responsible for any kind of damage (hardware, software or other kinds of property) caused by using these packages. The package does not come with any sort of guarantee. 

  • Pirouz Nourian

    forgot to share an example map: 

    Configraphics_Evaluation.3dm

  • Pirouz Nourian

    Hi all, is it working? 

  • 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)

  • 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.

  • 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:

    • 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.
    • Close Rhino & Grasshopper
    • Open Rhino & Grasshopper again. 
  • 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

  • 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? 

  • 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

  • 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?

  • 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. 

  • 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.

  • Can Tuncok

    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
    Can you help me fixing this problem.
  • Can Tuncok

    undefined this is the rhino file of my study. I forgot adding this. Sorry

  • 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?

  • 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? 

  • Pirouz Nourian

  • Pirouz Nourian

  • Can Tuncok

    thank you so much

  • 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

  • tom

  • 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

  • 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.

     

  • 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. 

  • tom

  • tom

  • 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. 

  • 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

  • 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.

  • Pirouz Nourian

    BTW,  Jonathan Wiederin, are you using the WIP version from my website or the last GHA version?

  • 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.

  • 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?

  • 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

  • Jonathan Wiederin

    Hey Pirouz

    Could yo please tell which version of Grasshopper and Rhino you are using?

    Thx

  • Pirouz Nourian

    Hi  Jonathan Wiederin,

    The WIP version was developed for the latest GH and Rhino5. 

    Any installation challenge?

  • 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...

  • 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?