Grasshopper

algorithmic modeling for Rhino

Kyle Vansice
  • Ankeny, IA
  • United States
Share on Facebook
Share

Kyle Vansice's Groups

Kyle Vansice's Discussions

Convert list to matrix, matrix transpose and other operations
4 Replies

All,I'm looking to perform some simple operations on a matrix like transpose and invert. If I extract a set of points using Brep.DuplicateVertices, can I treat the list (which is one-branch tree) as…Continue

Started this discussion. Last reply by Kyle Vansice Jul 12, 2016.

Python to C# - Understanding mutability
10 Replies

Hello,I've recently started working in C# and I'm realizing what a lazy coder I've been; I've got what is probably a simple problem. I'm attempting to split a Brep with multiple Breps, which is…Continue

Started this discussion. Last reply by Tom Jankowski Jul 3, 2016.

Exporting geometry (from gh python component) to stl WITHOUT using Rhino command line
1 Reply

Any suggestions on exporting geometry to an .stl format without having to bake within Rhino and then export from the Rhino command line? I haven't been able to find any API methods.thanksContinue

Tags: python

Started this discussion. Last reply by Nik Willmore Jun 17, 2016.

Grasshopper Python Primer
7 Replies

Anybody have a favorite primer for Grasshopper/Python...? specifically looking for good documentation on accessing RhinoCommon using the Python component.Continue

Started this discussion. Last reply by Kyle Vansice Jun 3, 2016.

 

Kyle Vansice's Page

Latest Activity

Kyle Vansice commented on Andrew Heumann's group Doodlebug
"Anyone having trouble with Doodlebug and Illustrator 2017? (getting a COM error)"
Mar 16
Kyle Vansice commented on Andrew Heumann's group Doodlebug
"Hey Andrew, thanks for the plugin! One quick question: can you link views other than "Top?" Say Perspective, Front, Right?  Grasshopper 1.0 has a Make2D component which would make perspective drawings much easier with doodlebug."
Nov 29, 2016
Kyle Vansice replied to Kyle Vansice's discussion Convert list to matrix, matrix transpose and other operations
"I think this is the second time you've saved my life Tom. This explains things perfectly! Thanks for the help."
Jul 12, 2016
Tom Jankowski replied to Kyle Vansice's discussion Convert list to matrix, matrix transpose and other operations
"   Matrix M = new Matrix(4, 4);     M[0, 0] = 1;  M[1, 0] = 0;  M[2, 0] = 0; M[3, 0] = 0;    M[0, 1] = -3;  M[1, 1] = 3; M[2, 1] = 0;  M[3, 1] = 0;    M[0, 2] = 3;  M[1,…"
Jul 12, 2016
Tom Jankowski replied to Kyle Vansice's discussion Convert list to matrix, matrix transpose and other operations
"Example with LeastSquare"
Jul 12, 2016
peter fotiadis replied to Kyle Vansice's discussion Convert list to matrix, matrix transpose and other operations
"Hmm ... appears that you need some stuff from the Mother Goose collection of defs. Get an entry level one (notify if you need the "equivalent" for all the Morph Methods available). Note: There's also the V1B version around that…"
Jul 12, 2016
Kyle Vansice posted a discussion

Convert list to matrix, matrix transpose and other operations

All,I'm looking to perform some simple operations on a matrix like transpose and invert. If I extract a set of points using Brep.DuplicateVertices, can I treat the list (which is one-branch tree) as a single matrix. If so, how can I perform linear algebra operations while maintaining the same data type. Everything I've seen thus…See More
Jul 11, 2016
Tom Jankowski replied to Kyle Vansice's discussion Python to C# - Understanding mutability
"yes because imagine a situation where the split fails, then your array consits of only one part and you are getting an out-of-bounds exception while trying to get the secondd item"
Jul 3, 2016
Kyle Vansice replied to Kyle Vansice's discussion Python to C# - Understanding mutability
"Ok, actually I think I got it. You're saying if the range is greater than 1 (meaning there is a trimmed surface and an open brep), then set the base brep to result index 1 (which is the open brep). "
Jul 3, 2016
Kyle Vansice replied to Kyle Vansice's discussion Python to C# - Understanding mutability
"Ha, no worries, thanks again for your help. I just learned a lot.  Could you briefly explain the IF statement?"
Jul 3, 2016
Tom Jankowski replied to Kyle Vansice's discussion Python to C# - Understanding mutability
"ok, yeah still a small logical error in here...now it should work. sorry its early in the morning here :)"
Jul 3, 2016
Kyle Vansice replied to Kyle Vansice's discussion Python to C# - Understanding mutability
"Ok, great thanks. I did try it out, and I'm only getting the one hole to cut however. This is what I'm getting with your script. but this is what I'm inputting: I've also attached the file. Thanks for your help."
Jul 3, 2016
Tom Jankowski replied to Kyle Vansice's discussion Python to C# - Understanding mutability
"you know what, I simply made it:"
Jul 3, 2016
Tom Jankowski replied to Kyle Vansice's discussion Python to C# - Understanding mutability
"sorry havn' tested if (breps.Length > 1) base_geometry= breps[1] ; if (breps.Length > 1) base_geometry[i]= breps[1] ;"
Jul 2, 2016
Tom Jankowski replied to Kyle Vansice's discussion Python to C# - Understanding mutability
"can you refresh, I updated my script. look at the third"
Jul 2, 2016
Kyle Vansice replied to Kyle Vansice's discussion Python to C# - Understanding mutability
"Thanks for the reply, I did declare the variable as a list access in the input param, so at the private Void RunScript level, I pass these in as Brep<List>. Is that not enough?"
Jul 2, 2016

Profile Information

Company, School, or Organization
Iowa State University

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

© 2017   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service