Grasshopper

generative modeling for Rhino

yavar khonsari
  • Male
  • Berkeley, CA
  • United States
Share on Facebook
Share Twitter

Yavar khonsari's Friends

  • ALESSANDRO A P MORERO
  • sean arshia esrafily

yavar khonsari's Groups

yavar khonsari's Discussions

How to create sub-lists of data from a Base list using their values as the indicator
2 Replies

Hi All,I have another question regarding data sorting/filtering. I have a list of data (real numbers) with varying values which are not sorted in any specific way (they are sorted by the order of…Continue

Started this discussion. Last reply by yavar khonsari Apr 20, 2012.

Sorting set of data by value while keeping the original index
2 Replies

Hi All,I'm wondering what is the easiest way to filter and sort a set of real numbers by their value while keeping their original index number. The purpose of the exercise is to pick certain objects…Continue

Started this discussion. Last reply by yavar khonsari Apr 19, 2012.

Can C++ or VB code be generated out of a GH script?
6 Replies

Hi all,I have a very fundamental question about GH for which I can't find the answer. Is it possible to capture the script created in GH as a code. If so, what are the code languages and how could it…Continue

Started this discussion. Last reply by shezhad Aug 1, 2012.

How to run two sliders (set of parameters) and record all the possible results?
4 Replies

Dear all,How could I retrieve all the possible objects that emerge from two independent variables? I have two lists of data, I have separately attached them to a ListItem and a Slider. This way using…Continue

Started this discussion. Last reply by yavar khonsari Mar 14, 2012.

 

yavar khonsari's Page

Latest Activity

Hesam Yavari replied to yavar khonsari's discussion Problem installing gHowl in the group gHowl
"Thank you very much for your reply. Regards"
Feb 20
Luis Fraguada replied to yavar khonsari's discussion Problem installing gHowl in the group gHowl
"You want to download from the food4rhino.com link: http://www.food4rhino.com/project/ghowl The github link is only for the source code.  Food4rhino has the compiled component. -Luis "
Feb 20
Hesam Yavari replied to yavar khonsari's discussion Problem installing gHowl in the group gHowl
"Hi, I want to install ghowl add-on for grasshopper. Unfortunately, I cannot find the file: ghowl_r50.gha in the uncompressed file. What should I do? Steps I do: 1- press the zip button in this website: https://github.com/gHowl/gHowlComponents 2-…"
Feb 19
shezhad replied to yavar khonsari's discussion Can C++ or VB code be generated out of a GH script?
"This tool will generate C++, C# and VB code for you, just point it to your xml or schema. Try your GH code and let me know, it should work."
Aug 1, 2012
yavar khonsari replied to yavar khonsari's discussion How to create sub-lists of data from a Base list using their values as the indicator
"Thanks Andrew. This is the second time you've saved me."
Apr 20, 2012
Andrew Heumann replied to yavar khonsari's discussion How to create sub-lists of data from a Base list using their values as the indicator
"The "Domain Includes" component in conjunction with a cull will probably do what you want. You can create a list of indices and cull it by the same values to get the index pattern. "
Apr 20, 2012
yavar khonsari posted a discussion

How to create sub-lists of data from a Base list using their values as the indicator

Hi All,I have another question regarding data sorting/filtering. I have a list of data (real numbers) with varying values which are not sorted in any specific way (they are sorted by the order of data collection). I want to filter these into two (or hopefully more) target lists which are organized by their "acceptable domains". I also need to somehow know which item went to which sub-list so I need to keep track of the indices as well.Any suggestions kind GH people?Thanks,YavarSee More
Apr 20, 2012
yavar khonsari replied to yavar khonsari's discussion Sorting set of data by value while keeping the original index
"Thanks David. I tired the first method and it worked beautifully. Yavar"
Apr 19, 2012
David Rutten replied to yavar khonsari's discussion Sorting set of data by value while keeping the original index
"Hi Yavar, there's two common ways to approach this. Create the indices as a list of integers. You can use [List Length] and [Series] to create this list. Then, sort both your numeric values and your indices synchronously, i.e. using the same…"
Apr 19, 2012
David Rutten replied to yavar khonsari's discussion Can C++ or VB code be generated out of a GH script?
"My suggestion would be that you try some other platform. There's just no way you can transfer all the logic running inside a Grasshopper file to a stand-alone executable. You'd have to provide mirror images of the Grasshopper SDK, the…"
Apr 7, 2012
yavar khonsari replied to yavar khonsari's discussion Can C++ or VB code be generated out of a GH script?
"Thanks for response. Yes, I am interested in a way to capture and transfer the logic in some code language to be integrated with a more complex tool. I don't know how to write VB or C#, but  I was hoping there is a way to export the GH…"
Apr 7, 2012
Ángel Linares replied to yavar khonsari's discussion Can C++ or VB code be generated out of a GH script?
"Mmmm...you can code using Microsoft Visual Studio instead using standar c# and vb components inside GH. The editor is better and you get lot of new tools to develope your own code ;)"
Apr 7, 2012
David Rutten replied to yavar khonsari's discussion Can C++ or VB code be generated out of a GH script?
"Hi Yavar, there is no single script running behind the scenes. A Grasshopper definition consists of a runtime database of instantiated types which are defined in a collection of .NET assemblies. There is no restriction on what language was used to…"
Apr 7, 2012
Garcia del Castillo replied to yavar khonsari's discussion Can C++ or VB code be generated out of a GH script?
"Well, you can select everything in your GH definition, copy it and then paste it to any text editor. You would get a bunch of XML code that represents the definition you put together. Whatever you do with that from there on is up to you! ;) "
Apr 6, 2012
yavar khonsari posted a discussion

Can C++ or VB code be generated out of a GH script?

Hi all,I have a very fundamental question about GH for which I can't find the answer. Is it possible to capture the script created in GH as a code. If so, what are the code languages and how could it be done? I know that VB and C# codes could be brought into GH and used, but I don't know if the opposite process is also possible.I would appreciate any help.YavarSee More
Apr 6, 2012
Andrew Heumann replied to yavar khonsari's discussion How to run two sliders (set of parameters) and record all the possible results?
"2. Modulus is located under Math/Operators. See here for an explanation of what it does. 1. Do you have any way of composing a list of all possible MxN combinations? Can you for instance Graft M and get all possible values of N for every M? If…"
Mar 14, 2012

Profile Information

Company, School, or Organization
UC Berkeley

Comment Wall

You need to be a member of Grasshopper to add comments!

Join Grasshopper

  • No comments yet!
 
 
 

Translate

Search Grasshopper

Photos

  • Add Photos
  • View All

© 2013   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service