Grasshopper

generative modeling for Rhino

Kris Hammerberg's Friends

  • Matt
  • ĐỒNG VIẾT NGỌC BẢO
  • Agnes Tan

Kris Hammerberg's Groups

Kris Hammerberg's Discussions

2D Isovist Calculation Definition

Greetings All, I've just had a stab a writing a definition to calculate and analyze isovists in a more robust way than the built in IsoVist component. Please take a look and give me your feedback.…Continue

Tags: isovists

Started Oct 15, 2011

VB split @ multiple parameters
8 Replies

Hi,I am writing a code recursively analyze some curves at certain points and if they meet certain criteria then "shatter" them at those points. I think this means I need to use Curve  Split Method…Continue

Started this discussion. Last reply by Giulio Piacentino Oct 15, 2011.

GH_Structure or initializing datatrees in VB.net
5 Replies

Greetings, I'm trying to add data to an empty data tree (in a custom VB.net component) and I'm getting an index error when I try to access it. I presume this is happening because it's empty an…Continue

Started this discussion. Last reply by Kris Hammerberg Oct 14, 2011.

Grasshopper Solution Counter or Galapagos Generation # output
1 Reply

Hi All,I'm currently trying to use Finches: Local Code to export generations of galapagos solutions. I can use the…Continue

Tags: counter, generation, finches, galapagos

Started this discussion. Last reply by Kris Hammerberg Dec 16, 2010.

 

Kris Hammerberg's Page

Latest Activity

Kris Hammerberg joined to]'s group
Thumbnail

[uto] tools Plug-ins

- Geco- MeshEdit- FlowLines See More
May 25
Kris Hammerberg joined Monique's group
Thumbnail

Coffee + Grasshopper

A daily geometric problem is presented to the grasshopper 3d community. Degrees of difficulty vary by day.The idea is to sharpen skills, challenge, or a fun exercise: Useful for beginners wanting to learn, or as an alternative to your morning coffee + cross-word puzzle. Rules:Contributions can be posted by anyone. Either selected from a previously posted problem from the general discussion (please acknowledge original poster), a selection from one of the many grasshopper+ primers (please…See More
May 22
Kris Hammerberg replied to Andrea Lu's discussion how to return the number of "true" in one list using GH?
"Convert to integer and then sum."
Oct 27, 2011
Giulio Piacentino replied to Kris Hammerberg's discussion VB split @ multiple parameters
"Hi again, well, 'Item access' was sufficient, so there was no reason to write more looping code. Double looping was not wrong by itself. I am not completely sure what the code in the lower part was doing.IEnumerable(Of T) is an interface…"
Oct 15, 2011
Kris Hammerberg posted discussions
Oct 15, 2011
Kris Hammerberg replied to Kris Hammerberg's discussion VB split @ multiple parameters
"That got me going again. Thanks! I'm still not exactly sure what I was doing wrong. I noticed that you use 'item access' for the crv input. Can you explain the benefits of doing that versus bring in the crv input as a list and…"
Oct 15, 2011
Giulio Piacentino replied to Kris Hammerberg's discussion VB split @ multiple parameters
"I hope I understand the task, and in this case this should be one implementation.Let's see if this is helpful, - Giulio_______________giulio@mcneel.comMcNeel Europe"
Oct 15, 2011
Kris Hammerberg replied to Kris Hammerberg's discussion VB split @ multiple parameters
"of course!  "
Oct 15, 2011
Giulio Piacentino replied to Kris Hammerberg's discussion VB split @ multiple parameters
"Hi Kris, do you think you could attach even a small sample?This way it will be easier to figure out where to help. Thanks, - Giulio____________giulio@mcneel.comMcNeel Europe"
Oct 15, 2011
Kris Hammerberg replied to Kris Hammerberg's discussion VB split @ multiple parameters
"I can get closer by making a nested FOR EACH loop that went into S(i) and tlist and performed the split individually... but this is a problem for curves with more than one point on them as it treats each split independently. e.g. a curve with two…"
Oct 15, 2011
Kris Hammerberg replied to Kris Hammerberg's discussion VB split @ multiple parameters
"Thanks for the reply! Can I ask for a bit more help? It's not quite working yet. t_list.toarray gives the correct parameters and using it as you suggest doesn't throw any warnings or errors, but I get a null value. Even though if I pull…"
Oct 15, 2011
Vicente Soler replied to Kris Hammerberg's discussion VB split @ multiple parameters
"Just use an array of numbers. If you are using the List(Of T) class to define a list of doubles use .toarray:   a = crv.Split(t_list.toarray)"
Oct 14, 2011
Kris Hammerberg replied to Kris Hammerberg's discussion GH_Structure or initializing datatrees in VB.net
"Thanks David! That really did the trick. (also it helps to use paths when you are adding to a DataTree...) oops. It seems coding is not like riding a bike."
Oct 14, 2011
castroecosta replied to Kris Hammerberg's discussion GH_Structure or initializing datatrees in VB.net
"Thank you David! Best Eduardo"
Oct 14, 2011
David Rutten replied to Kris Hammerberg's discussion GH_Structure or initializing datatrees in VB.net
"DataTree is declared inside the Grasshopper.dll file. You'll need to reference this dll if you want to use DataTree. You may also need to reference GH_IO.dll as a lot of Grasshopper.dll depends on GH_IO.dll.   -- David…"
Oct 14, 2011
castroecosta replied to Kris Hammerberg's discussion GH_Structure or initializing datatrees in VB.net
"Hi guys! i'm having a problem with custom components and data trees, so maybe this is the thread to be:   I'm developing a class in VS2010, to be used with VB.net components In a nutshell, the class represents parametric solids…"
Oct 14, 2011

Profile Information

Company, School, or Organization
TUWien

Comment Wall (1 comment)

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

Join Grasshopper

At 10:55pm on September 25, 2010, ĐỒNG VIẾT NGỌC BẢO said…
xin chào, bạn là người việt a2h
 
 
 

Translate

Search Grasshopper

Members

Photos

  • Add Photos
  • View All

© 2012   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service