Grasshopper

generative modeling for Rhino

Jason Lim
  • Male
  • Singapore
  • Singapore
Share on Facebook
Share Twitter

Jason Lim's Friends

  • Ben Howes
  • Selen Ercan
  • Erick Vásquez
  • Matthew Naugle
  • kao.gene
  • djordje
  • Jonatan Schumacher
  • paloma
  • esc11
  • Merate Barakat
  • Benjamin Fortunato
  • Guy Snover
  • Greg D
  • William Bergeron
  • John Gulliford

Jason Lim's Groups

Jason Lim's Discussions

Question on adding object dynamically to active Grasshopper document

Hi,I have a python script from which I would like to add components dynamically to an active Grasshopper definition.I have managed to do it successfully with a panel. The following is a snippet of my…Continue

Started Jan 9

Accessing my extension methods from Python Component
2 Replies

Hi I have written some extension methods for the Rhino.Geometry.Transform struct but am not sure how to access it from the Python component within Grasshopper ( I remember getting it to work once but…Continue

Started this discussion. Last reply by Jason Lim Jan 12.

DA.GetData Question for a custom component
4 Replies

Hi,I am creating a custom component; it receives ID which is an integer and S which is a double, and then returns a command as a string (e.g. set_analog_out(1,0.25)). In the case that the argument…Continue

Started this discussion. Last reply by Jason Lim Jan 5.

Remove referenced assemblies for C# components
2 Replies

Hi,How do I remove a referenced assembly for the C# component (there is only an add option). Not sure if I am doing things the right way: I am writing class libraries in visual studio and using C#…Continue

Started this discussion. Last reply by Jason Lim Dec 21, 2012.

 

Jason Lim's Page

Latest Activity

Jason Lim replied to Jason Lim's discussion Accessing my extension methods from Python Component
"Hi Benjamin, Thank you for takingt he time to reply. I have found the solution, which I did before but somehow forgot. The key is to use clr.ImportExtensions which is provided by IronPython 2.7 So the above code should be: import…"
Jan 12
Benjamin Golder replied to Jason Lim's discussion Accessing my extension methods from Python Component
"It looks like you set up your paths correctly for importing your dll to IronPython, so the problem is either: 1. a difference in the actual object you are using in C# vs. Python - perhaps you aren't calling .ToAxisAngleRepresentation() on the…"
Jan 10
Jason Lim posted discussions
Jan 9
Jason Lim replied to Jason Lim's discussion DA.GetData Question for a custom component
"Hi David, Thanks for your help with this, I would have no clue how to do this without your suggestion. I managed to look at the volatile data got the type info (tried TypeName, TypeDescription fields and GetType(). It does seem like extra work for…"
Jan 5
David Rutten replied to Jason Lim's discussion DA.GetData Question for a custom component
"You need to do this once per solution, so inside your SolveInstance method add the following conditional block, inside of which you'll do the testing) -- David Rutten david@mcneel.com Poprad, Slovakia"
Jan 4
Jason Lim replied to Jason Lim's discussion DA.GetData Question for a custom component
"Hi David, Thanks for the reply. I think that I will keep it the way it is as you mentioned (figure parameter type and add warning). However I cannot figure out how to get the parameter types from within SolveInstance. It seems to me the only way to…"
Jan 4
David Rutten replied to Jason Lim's discussion DA.GetData Question for a custom component
"Hi Jason, this is automatic casting. If the user supplies a curve where a number is needed, the curve length becomes the input. You cannot stop this from happening, it is the way Grasshopper is supposed to work. There are two things you can do, the…"
Jan 4
Jason Lim posted a discussion

DA.GetData Question for a custom component

Hi,I am creating a custom component; it receives ID which is an integer and S which is a double, and then returns a command as a string (e.g. set_analog_out(1,0.25)). In the case that the argument supplied is of the wrong type, I would like a TypeError exception to be thrown.However in this case (see 'incorrect' in pic below), it works even with incorrect types. For example I am feeding it curve objects (they are the same curves ) as arguments - this should give an error. However I think…See More
Jan 3
Jason Lim replied to Jason Lim's discussion Remove referenced assemblies for C# components
"Ahh ok thanks that was stupid of me."
Dec 21, 2012
David Rutten replied to Jason Lim's discussion Remove referenced assemblies for C# components
"Select the assembly you want to delete and press the Delete button. Assemblies, once loaded can never be unloaded again from the AppDomain. So it is not possible to unload assemblies without restarting Rhino and Grasshopper. It should however be…"
Dec 21, 2012
Jason Lim posted a discussion

Remove referenced assemblies for C# components

Hi,How do I remove a referenced assembly for the C# component (there is only an add option). Not sure if I am doing things the right way: I am writing class libraries in visual studio and using C# components as a quick way to test the code. If I need to change some code, I would like to rebuild the dlls, remove the old referenced assemblies and use the new ones instead (preferably without having to restart Rhino as well - is this possible).thanks!See More
Dec 21, 2012
Leceta replied to Jason Lim's discussion Selecting Geometry Problems with the latest Python component
"About changing the doc's target between rhinoDoc and GHdoc, what about Steve Baer says in this post oh and yes scriptcontext.doc is better to use than Rhino.RhinoDoc.ActiveDoc. The reason is that multiple docs may exist on the Mac and the…"
Oct 29, 2012
Jason Lim replied to Jason Lim's discussion Python Component problem with updated Rhino?
"Thanks for replying though. Somehow when I restarted Rhino, the error disappeared. I am curious why this occurred though. thanks, Jason"
Aug 14, 2012
Anders Holden Deleuran replied to Jason Lim's discussion Python Component problem with updated Rhino?
"Steve has updated the Python component as  well, perhaps that might help with your error: http://www.grasshopper3d.com/forum/topics/python-component-updated-for-grasshopper-0-9-6?xg_source=activity"
Aug 14, 2012
Jason Lim posted a discussion

Python Component problem with updated Rhino?

Hi,I just updated Rhino yesterday. My grasshopper definition using Python components are giving me error messages that did not exist prior to the update. I am using the Sticky dictionary in my components and as an example have the following code:import scriptcontext as scsc.sticky["check"] = 1This gives the error:Runtime error (MissingMemberException): 'ScopeStorage' object has no attribute 'scriptcontext'Traceback (most recent call last):AttributeError: 'ScopeStorage' object has no attribute…See More
Aug 14, 2012
Jason Lim replied to Jason Lim's discussion Making custom GUI widgets
"Hi David, very cool, thanks."
Aug 1, 2012

Profile Information

Company, School, or Organization
Atelier Panda
Web or Blog
http://atelierbinturong.com

Jason Lim's Photos

Loading…
  • Add Photos
  • View All

Jason Lim's Videos

  • Add Videos
  • View All

Jason Lim's Blog

Produt Architecture Lab Summer Workshop

The Product Architecture Lab at Stevens Institute of Technology is offering a 6 week workshop focusing on the topic of Interoperability in Contemporary Design Practice. The Workshop is geared towards architectural professionals looking to upgrade their software skills and learn… Continue

Posted on May 26, 2011 at 5:50pm

Free Grasshopper Tutorials

Just wanted to share some learning resources that I developed for a grasshopper workshop that I taught. They include a series of videos, some accompanying notes (blog entries) and down-loadable definitions and rhino models. These tutorials are geared more towards novice users. All the resources can be found on our blog atelierbinturong and the videos are on our vimeo page…

Continue

Posted on February 1, 2011 at 6:00pm — 18 Comments

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