Grasshopper

generative modeling for Rhino

Brian Lockyear
  • Male
  • Portland, OR
  • United States
Share on Facebook
Share Twitter
  • Blog Posts
  • Discussions (18)
  • Events
  • Groups
  • Photos
  • Photo Albums
  • Videos

Brian Lockyear's Friends

  • Kyle
  • Nancy Yen-wen Cheng
  • Sameer Kumar
  • Jon Mirtschin
  • William R. Taylor

Brian Lockyear's Discussions

Invalid planes constructed from equations
4 Replies

What makes a plane "invalid"?  I can't seem to create a "valid" Rhino.Geometry plane using the constructor "plane(a, b, c, d)".  For example, Plane p = new Plane(2,-8,5,18);results in an invalid…Continue

Tags: rhinocommon, equations, plane, c#

Started this discussion. Last reply by Brian Lockyear May 16.

Function component If-Then-Else non-lazy eval?
4 Replies

I have a small function component with an If/Then/Else statement in it to defend from a divide by zero call.  Turns out that I'm getting a fault regardless.  If this were using lazy evaluation I…Continue

Started this discussion. Last reply by David Rutten May 1.

No longer stopping for breakpoints
2 Replies

Hi Gang-I've got two machines, a 32 bit desktop and a 64 bit laptop.  Visual Studio 2010 on both. Developing a Grasshopper plugin, all has been working fine for months.  However, sometime in Dec the…Continue

Started this discussion. Last reply by Brian Lockyear Jan 5.

Default string parameters nwae (not-working-as-expected) (Self Answered)

My own answer just in case anybody viewed earlier... seems that the new default for a string input parameter was set fine when I created a new grasshopper object instead of expecting the one already…Continue

Started Dec 22, 2011

 

Brian Lockyear's Page

Latest Activity

Brian Lockyear replied to Brian Lockyear's discussion Invalid planes constructed from equations
"Thanks very much, David.   This is new territory for me as well :^)"
May 16
David Rutten replied to Brian Lockyear's discussion Invalid planes constructed from equations
"Yup, that fixed it. The next RhinoCommon release will have a working equation constructor. -- David Rutten david@mcneel.com Poprad, Slovakia"
May 16
David Rutten replied to Brian Lockyear's discussion Invalid planes constructed from equations
"One quick fix is the do the following: I'll go about adding a unitize to the plane constructor as well. -- David Rutten david@mcneel.com Poprad, Slovakia"
May 16
David Rutten replied to Brian Lockyear's discussion Invalid planes constructed from equations
"Hi Brian, this is not quite my area of expertise (I didn't understand how a plane equation worked until I looked it up just now). According to the OpenNurbs source code, the Plane.IsValid check does the following: If the Plane Equation is…"
May 16
Brian Lockyear posted a discussion

Invalid planes constructed from equations

What makes a plane "invalid"?  I can't seem to create a "valid" Rhino.Geometry plane using the constructor "plane(a, b, c, d)".  For example, Plane p = new Plane(2,-8,5,18);results in an invalid plane p.  But if I construct the same plane using point and normal as:Vector3d v = new Vector3d(2, -8, 5);Point3d pt = new Point3d(1, -2, 0);p = new Plane(pt, v);its all good.  p is now "valid".  For various reasons I'd like to be able to use the first call.  Thoughts?     - Brian -See More
May 16
David Rutten replied to Brian Lockyear's discussion Function component If-Then-Else non-lazy eval?
"Another option (less neat than Danny's) would be: where you can replace 1e-12 with whatever tolerance makes sense in the current case. -- David Rutten david@mcneel.com Poprad, Slovakia "
May 1
Brian Lockyear replied to Brian Lockyear's discussion Function component If-Then-Else non-lazy eval?
"Fair enough, I'll go with that.  Thx"
May 1
Giulio Piacentino replied to Brian Lockyear's discussion Function component If-Then-Else non-lazy eval?
"While not making this lazy, you could still avoid the error with this trick: 0.25/If(x≠0.0, x, 0.25) - Giulio________________giulio@mcneel.com"
May 1
David Rutten replied to Brian Lockyear's discussion Function component If-Then-Else non-lazy eval?
"Hi Brian, If() actually is a function, so the eval is not lazy. -- David Rutten david@mcneel.com Poprad, Slovakia"
May 1
Brian Lockyear posted a discussion

Function component If-Then-Else non-lazy eval?

I have a small function component with an If/Then/Else statement in it to defend from a divide by zero call.  Turns out that I'm getting a fault regardless.  If this were using lazy evaluation I don't believe I should get a fault.  Would it be possible to correct?If(x≠0.0, (0.25/x), 1.0)Attached is the (trivial) example file.Thanks!    - Brian -See More
May 1
Brian Lockyear replied to David Rutten's discussion Grasshopper 0.8.0066 available for download
"Speaking of wishes, is there a wish list somewhere?  Here are two that come to mind for me... Ability to import my own libraries into grasshopper c# components... Oh!  The debugging we could do! Sliders with external parameter inputs...?…"
Jan 27
Brian Lockyear replied to Brian Lockyear's discussion No longer stopping for breakpoints
"Thanks so much for the help & ideas... still not making it happen yet. Looked for stale .gha files, can add and remove a new component from my build and see it in the menu so that seems okay. .pdb file has same date and time. not sure re…"
Jan 5
Giulio Piacentino replied to Brian Lockyear's discussion No longer stopping for breakpoints
"Hi Brian, several things might cause it: the built .gha is not the one that is actually loaded. It is residing in another location. the build process does not produce a .pdb file with the same date and time as the .gha file the .gha file is in…"
Jan 5
Brian Lockyear posted a discussion

No longer stopping for breakpoints

Hi Gang-I've got two machines, a 32 bit desktop and a 64 bit laptop.  Visual Studio 2010 on both. Developing a Grasshopper plugin, all has been working fine for months.  However, sometime in Dec the 64 bit laptop stopped stopping for breakpoints in VS2010. The other machine still works fine, I'm compiling the same code.  The plugins run fine on both machines.  The GrasshopperDeveloper settings are the same... I reinstalled Rhino 5 and Grasshopper... But the laptop now ignores breakpoints.I…See More
Jan 4
Brian Lockyear posted a discussion

Default string parameters nwae (not-working-as-expected) (Self Answered)

My own answer just in case anybody viewed earlier... seems that the new default for a string input parameter was set fine when I created a new grasshopper object instead of expecting the one already existed in my view to be modified.  Apologize if I used any thought cycles out there!       - Brian -See More
Dec 22, 2011
Brian Lockyear replied to Brian Lockyear's discussion Casting problems in C#
"Thanks David, here's the problem I'm running into... I created an object with one input and read that input into a GeometryBase variable.   It reads a Mesh object fine, but reports an error with a Point input.  Attached is the…"
Nov 11, 2011

Profile Information

Company, School, or Organization
Slate Shingle Studio & University of Oregon
Web or Blog
http://www.lockyeardesign.com

Comment Wall

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

Join Grasshopper

  • No comments yet!
 
 
 

Translate

Search Grasshopper

Members

Photos

  • Add Photos
  • View All

© 2012   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service