Grasshopper

generative modeling for Rhino

John Harding
  • Male
  • London
  • United Kingdom
Share on Facebook
Share Twitter

John Harding's Friends

  • Odysseas Georgiou
  • Daniel Hambleton
  • Arthur Mamou-Mani
  • Jon Mirtschin

John Harding's Groups

John Harding's Discussions

Parent doesn't have a valid document
4 Replies

Dear all,I have an interesting problem that occurs since the recent 0.9.0051 release on some components I am developing.I would like to create and store a component in a private field that gets…Continue

Tags: RemoveObject

Started this discussion. Last reply by John Harding on Monday.

Persistent Data
2 Replies

Dear forum.I've been struggling with getting a persistent parameter to work on my component after a file save. Basically, I'm creating my own parameter using the GH_PersistentParam<T> class,…Continue

Tags: Data, Persistent, C#

Started this discussion. Last reply by John Harding May 5.

Quadrangulate Typo
1 Reply

Just a little typo on one of the quadrangulate component outputs. I believe it still thinks it is triangulate... albeit... only in its dreams!…Continue

Tags: Typo

Started this discussion. Last reply by David Rutten Feb 7.

Custom (Component) Attributes - Wire Rendering
2 Replies

Hello all, I'm trying to override the GH_ComponentAttributes Render method for a custom component, but struggling to render the wires. I know the SDK gives a custom parameter example using…Continue

Tags: Attributes, Custom, Wires, C#

Started this discussion. Last reply by John Harding Sep 6, 2012.

 

John Harding's Page

Latest Activity

John Harding replied to John Harding's discussion Parent doesn't have a valid document
"Yes, thanks for the pointer. Got it working by adding a handler to the SolutionStart event. Next step is to see what happens when the solvers are incorporated (hopefully not bad things).Code attached for reference (does something slightly…"
Monday
David Rutten replied to John Harding's discussion Parent doesn't have a valid document
"Would it not be possible to change your code so that the component+wire additional/removal happens outside of a solution? You could for example handle the SolutionStart event on GH_Document or maybe schedule a solution with a callback…"
May 18
John Harding replied to John Harding's discussion Parent doesn't have a valid document
"Thanks for the explanation David.A while ago, I thought it would be kind of interesting to write a component that generated grasshopper definitions from scratch automatically, kind of like genetic programming for grasshopper. This set of components…"
May 18
David Rutten replied to John Harding's discussion Parent doesn't have a valid document
"Looking into it... -- David Rutten david@mcneel.com Poprad, Slovakia"
May 9
John Harding replied to M NICK's discussion GetDataTree Problem
"Sorry to butt in, but perhaps you could try the GH_Structure<GH_Number>.get_DataItem(GH_Path path, int index) method to get your doubles and then reconstruct your tree/ do multiplication/ whatever. I have used the simpler get_DataItem(int…"
May 9
John Harding posted a discussion

Parent doesn't have a valid document

Dear all,I have an interesting problem that occurs since the recent 0.9.0051 release on some components I am developing.I would like to create and store a component in a private field that gets removed in a later call to SolveInstance. Whilst the code previously worked in previous versions, I seem to be getting a component exception thrown: "parent doesn't have a valid document". It still goes on to remove the component, so I know I'm getting the canvas correctly and my component is being…See More
May 9
Salma Louise joined John Harding's group
Thumbnail

Embryo

The Embryo project aims to apply genetic programming concepts to grasshopper, offering an alternative to top-down visual graph generation and manipulation.See More
May 8
John Harding replied to John Harding's discussion Persistent Data
"Ah, goodbye GH_ObjectWrapper! Thanks for pointing me in the right direction. John."
May 5
David Rutten replied to John Harding's discussion Persistent Data
"Hi John, I'm afraid IGH_Goo and GH_ObjectWrapper were not properly designed to be fully (de)serializable. This will be rectified in 2.0 but until then you probably won't be able to read and write object wrappers with custom data in…"
May 5
John Harding posted a discussion

Persistent Data

Dear forum.I've been struggling with getting a persistent parameter to work on my component after a file save. Basically, I'm creating my own parameter using the GH_PersistentParam<T> class, where I'm using a GH_ObjectWrapper type. This may not be the best way about doing this, but it does work.localSettings of type EM_Settings is the data that gets wrapped and then added to the Parameter.Whilst everything works fine first time around, when I re-open the GH file the persistent data is…See More
May 5
Marius Otte joined John Harding's group
Thumbnail

Embryo

The Embryo project aims to apply genetic programming concepts to grasshopper, offering an alternative to top-down visual graph generation and manipulation.See More
Mar 27
John Harding joined Robert Vier's group
Thumbnail

Octopus

Octopus is seen as an extension to Galapagos by introducing multiple fitness values to the optimization. The best trade-offs between those objectives are searched, producing a set of possible optimum solutions that ideally reach from one extreme trade-off to the other uniformly. Results are shown in a two- to five-dimensional, 3D-navigable solution-viewport. User-preferences on specific solutions can be specified when the optimization is paused, so the further optimization gets densfied around…See More
Mar 26
John Harding replied to Arthur Mamou-Mani's discussion GetData() can only be called on a parameter with access set to GH_ParamAccess.item
"Sorry, bit late on this one but the problem is not the datatype being a string, but that you were using the 'ref' keyword.  For example, the following works fine: pm.Register_IntegerParam("Some numbers", "I",…"
Mar 25
Philippos Philippidis joined John Harding's group
Thumbnail

Embryo

The Embryo project aims to apply genetic programming concepts to grasshopper, offering an alternative to top-down visual graph generation and manipulation.See More
Mar 20
Eduardo De Oliveira Barata joined John Harding's group
Thumbnail

Embryo

The Embryo project aims to apply genetic programming concepts to grasshopper, offering an alternative to top-down visual graph generation and manipulation.See More
Mar 14
Mishal Shah joined John Harding's group
Thumbnail

Embryo

The Embryo project aims to apply genetic programming concepts to grasshopper, offering an alternative to top-down visual graph generation and manipulation.See More
Feb 25

Profile Information

Company, School, or Organization
University of Bath & Ramboll UK
Web or Blog
http://designwithcomputer.com

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