Grasshopper

algorithmic modeling for Rhino

Anders Holden Deleuran
  • Male
  • Copenhagen
  • Denmark
Share on Facebook
Share

Anders Holden Deleuran's Friends

  • LabLeo
  • Andy Watts
  • aman gupta
  • eliod ran
  • Mihai C
  • Vasily Sitnikov
  • Chapuline
  • Michel Schmeck
  • Gregory Quinn
  • Sepideh Garivani
  • Timothy Tai
  • Sebastian Gatz
  • Daniel Kolling Andersen
  • Phil Ayres
  • SA

Anders Holden Deleuran's Groups

Anders Holden Deleuran's Discussions

(Forum bug) Activity Feeds Appear Broken
2 Replies

Hi All,For the past week or so the activity feeds on Home and My Page appear to be broken (for me). Couple of things I've noticed: 1) On My Page the Latest Activity feed is either empty or not…Continue

Started this discussion. Last reply by djordje Feb 21.

GHPython: Slider Undo Causes Input Param to Temporarily Not Exist
2 Replies

Hi Giulio/Steve, Recently noticed a small "bug" in the GHPython component (also present in the Rhino 6 WIP version): If you have a slider wired up to an input param, change the slider and then undo,…Continue

Started this discussion. Last reply by Anders Holden Deleuran Sep 5, 2016.

Polyline Curves with CurveSelf Intersection not acting as expected
4 Replies

Hi All,I'm trying to wrap my head around how the Curve-Self intersection component (ie. Rhino.Geometry.Intersect.Intersection.CurveSelf class) deals with Polyline Curves. See images below and…Continue

Started this discussion. Last reply by Thibault Schwartz Jan 23, 2016.

C# Component: Keyboard Shortcuts, More Than One Editor Instance, Missing a Console
2 Replies

I've been getting up to speed with the C# scripting component and have a few questions/suggestions (coming from a GHPython component experience): 1) Does the C# component have any keyboard…Continue

Started this discussion. Last reply by Anders Holden Deleuran May 21, 2015.

 

Hello, Anders Holden Deleuran!

Latest Activity

Anders Holden Deleuran replied to Hayder's discussion Multiple paths between two points
"That's correct, it is quite common to add numeric attributes to graph nodes which signify some real-world property (such as shade, interesting-ness etc.) and then calculate shortest walks within this which use one of these properties as the…"
8 hours ago
Anders Holden Deleuran replied to Lorenzo Franceschini's discussion Components Record in a separate file
"There you go, I also added a check so that the GHPython component which does the counting as NOT included in the data."
12 hours ago
Anders Holden Deleuran replied to abril's discussion Tween Curve in between polygons
"Look "medial axis" here on the forum, there are several posts with examples of different implementations (all based on the Voronoi method through as far as I recall)."
13 hours ago
Anders Holden Deleuran replied to Lorenzo Franceschini's discussion Components Record in a separate file
"Here's a simple method using GHPython that might help:"
13 hours ago
Anders Holden Deleuran replied to Magnus Larsson's discussion New mesh from connected mesh edges
"Forget to upload the file, there you go.."
yesterday
Anders Holden Deleuran replied to Magnus Larsson's discussion New mesh from connected mesh edges
"Here's a simple RhinoCommon/GHPython solution for filling mesh face holes that might help:Note that for more "exotic" holes, such as the one I've circled in red, you'll need to further define special cases that you want to…"
yesterday
Anders Holden Deleuran replied to Tomo Nishimura's discussion ExtingGrasshopperComponent ⇒Python code
"Afraid not, Grasshopper is written in C# and VB and you would have to decompile its source to refer to it. That said, most things geometry-wise are wrappers around the RhinoCommon SDK (see the Rectangle here) which can be implemented using the…"
Tuesday
Anders Holden Deleuran commented on David Rutten's video
Thumbnail

Grasshopper 2.0 (alpha) Colour Picker

"From my earlier tests the same behaviour is true for the C# scripting component (see this post)."
Tuesday
Anders Holden Deleuran commented on David Rutten's video
Thumbnail

Grasshopper 2.0 (alpha) Colour Picker

"Hi David, I take it that Tomas is talking about the same issue described here (in point number 3) and more recently here. Also a couple of workarounds described in both cases. Hope that helps to clarify this concern a bit."
Monday
Anders Holden Deleuran replied to Jonathan Sheridan's discussion Grasshopper live updates switching.
"You can disable/enable the Grasshopper solver using the menu point "Solution -> Disable Solver", F6 key or the radial menu (space/middle-mouse button)."
Monday
Anders Holden Deleuran replied to Leonoor Leus's discussion Truncated octahedron
"Ah I see. If the Mac version allows you to use Grasshopper plugins, you could use the "Platonic Octahedron" component that comes with the LunchBox plugin. It has an truncation input:"
Mar 24
Anders Holden Deleuran replied to Leonoor Leus's discussion Truncated octahedron
"There are also other examples of how to model a truncated octahedron on the forum, that might offer a faster/easier solution than attempting to fix your current definition. Also, there's a Rhino plugin for modelling a whole host of…"
Mar 24
Anders Holden Deleuran replied to Omar Elnagar's discussion Giving lines physical properties before applying it to Kangaroo2 Solver
"You want to have a look at K2Engineering. It's awesome! You can learn about it in Cecilie's thesis."
Mar 24
Anders Holden Deleuran replied to Suzy's discussion How to input and use point in GhPython directly?
"Just for the sake of completeness on the topic of performance in the strict context of GHPython, I would be remiss not to point out the old output bottleneck concern (that is also quite apparent in your test Giulio). I've found that this can be…"
Mar 22
Anders Holden Deleuran replied to Suzy's discussion How to input and use point in GhPython directly?
"Hehe, thanks Giulio :)This is (as always) a terrific breakdown and I absolutely appreciate your points and input. The only point I was trying to make above was that if you can achieve an non-trivial increase in performance* simply by implementing a…"
Mar 22
Anders Holden Deleuran replied to Roman's discussion Deleting points by x- and y-value
"Unless I'm misunderstanding the problem, this is pretty straightforward using a conditional statements within a loop:"
Mar 22

Profile Information

Company, School, or Organization
PhD Fellow, CITA, Royal Danish Academy of Fine Arts, School of Architecture
Web or Blog
http://www.andersholdendeleuran.com

Anders Holden Deleuran's Photos

Loading…
  • Add Photos
  • View All

Anders Holden Deleuran's Videos

  • Add Videos
  • View All

Anders Holden Deleuran's Blog

Mesh Analysis GHPython Components

Hi All,



I'm currently in the process of wrapping my head around GitHub. Seeing as how I'm now back in academia I thought this might be a good chance to share some code, for once :)



CITA recently helped conduct the Amphibious Hamburg workshop at the AAC in Hamburg co-tutored by…

Continue

Posted on July 17, 2014 at 6:30am — 7 Comments

Comment Wall (14 comments)

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

Join Grasshopper

At 7:44am on October 10, 2016, Arpan Bakshi said…

GhPython Workshop coming up this month. Tool developer Chris Mackey is teaching a live webinar titled - Making Your Own Python Components. More information and registration at https://attendee.gototraining.com/42b11/register/4476111114579892225

At 7:31am on November 19, 2014, hamia Aghaiemeybodi said…

Many thanks Anders,

I used xlrd and xlwt it works but its a bit tricky. I'll try the .NET methods.

cheers

At 2:55pm on November 17, 2014, hamia Aghaiemeybodi said…

Hi Anders,

Do you know how can I open and excel sheet in python grasshopper, add some line to the sheet, save and close it!

Thanks

At 2:20pm on October 17, 2014, hamia Aghaiemeybodi said…

Hi Anders, thanks for the reply. I checked that already it says if it is cylinder but I'm looking for a way to find out an easy way to pre-rationalize sub-surfaces which are not cylinder but close to cylinder so I can convert them to cylinder surface later! if it make any sense to you . . .

At 5:24pm on October 10, 2014, hamia Aghaiemeybodi said…

Hi Anders;

Do you any easy and basic way to check if a double surface cab get converted into cylinder surface? Basically for fabrication to check if I can reduce the cost by converting few double curved panel and get more or less the same result!

many thanks!

At 7:30am on January 29, 2014, hamia Aghaiemeybodi said…

Many thanks Anders;

I figured that out, now I'm looking for way to convert text to one single curve (to save time for laser cutting). At the moment i get the out line of text as curve which is great but still time consuming.

Regards,

H/

At 7:26am on January 28, 2014, hamia Aghaiemeybodi said…

here is the complete one:

if(!string.IsNullOrEmpty(face) && size > 0 && !string.IsNullOrEmpty(content) &&
pl.IsValid)
{

var te = RhinoDoc.ActiveDoc.Objects.AddText(content, pl, size, face, bold, italics);
Rhino.DocObjects.TextObject txt = RhinoDoc.ActiveDoc.Objects.Find(te) as Rhino.DocObjects.TextObject;

if(txt != null)
{
var tt = txt.Geometry as Rhino.Geometry.TextEntity;
A = tt.Explode();
}

RhinoDoc.ActiveDoc.Objects.Delete(te, true);

At 7:14am on January 28, 2014, hamia Aghaiemeybodi said…

Hi Anders;

Do you know how can i convert  this c# code into python? The goal is to creat single curve text for laser cut:

RhinoDoc.ActiveDoc.Objects.AddText(content, pl, size, face, bold, italics);Rhino.DocObjects.TextObject txt = RhinoDoc.ActiveDoc.Objects.Find(te) as Rhino.DocObjects.TextObject;

thanks . . .

At 12:17am on March 7, 2013, hamia Aghaiemeybodi said…

Hi.

Of course. Thanks for reply. I'm using conditional check. It helps more and as you said easier to figure out where the problem is.

Thanks,

At 9:57am on March 4, 2013, hamia Aghaiemeybodi said…

Hej man,

I found it again, seems like to solve my problem i just need to post my question on your wall :D . .. 

cheers...

 
 
 

Translate

Search Grasshopper

Photos

  • Add Photos
  • View All

© 2017   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service