Grasshopper

algorithmic modeling for Rhino

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

Anders Holden Deleuran's Friends

  • Mihai C
  • Vasily Sitnikov
  • Chapuline
  • Gregory Quinn
  • Sebastian Gatz
  • Daniel Kolling Andersen
  • Phil Ayres
  • SA
  • M.K.T. Heinrich
  • Fakinos Konstantinos
  • Marc
  • 筑梦NARUTO
  • ng5 Alex
  • CITA
  • Starsk Lara

Anders Holden Deleuran's Groups

Anders Holden Deleuran's Discussions

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.

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.

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.

GHPython Some Bottlenecks (Bugs?)
38 Replies

Hi Giulio and Steve, I've recently noticed a couple of bottleneck with the GHPython component which can quite severely impede on performance. Thought I would bring them up here so as to hopefully…Continue

Started this discussion. Last reply by Giulio Piacentino Jul 14.

 

Hello, Anders Holden Deleuran!

Latest Activity

Anders Holden Deleuran replied to Malte Harrig's discussion increasing width city network
"Ah yes, I wrote the algorithm under the assumption that your network edges were always Lines. Attached a version that works with Curves (which is slightly more complex in terms of defining an absolute midpoint and taking tolerance into account)."
14 hours ago
Anders Holden Deleuran replied to Malte Harrig's discussion increasing width city network
"Looks like the input data has nulls in the list. Did my file work when you opened it? Can you provide a file that does not work?"
15 hours ago
Anders Holden Deleuran replied to Malte Harrig's discussion increasing width city network
"No sure why my attachments aren't making it these days, here it is again."
15 hours ago
Anders Holden Deleuran replied to Malte Harrig's discussion increasing width city network
"I'm sure this is probably easily done with straight up Grasshopper, but since I suck at that, here's a GHPython solution :)"
16 hours ago
Anders Holden Deleuran replied to Malte Harrig's discussion increasing width city network
"You can rendering/print lines with different line weights using the Human plugin. It has the PreviewLW component that allows you to render curves with custom line weights (in pixels or absolute values). If you print (in Rhino i.e. CTRL + P) to a pdf…"
18 hours ago
Anders Holden Deleuran liked Daniel Piker's video
yesterday
Anders Holden Deleuran replied to Hendrik's discussion Planarize Hexa Cells on Freeform in the group Kangaroo
"File didn't upload, there you go."
Tuesday
Anders Holden Deleuran replied to Hendrik's discussion Planarize Hexa Cells on Freeform in the group Kangaroo
"You cannot mix Kangaroo1 forces and Kangaroo2 goals. They use entirely different solvers (BTW you should update your Kangaroo2). Depending it how you define handsome, your problem is likely under-defined (i.e. should all the cells exclusively be…"
Tuesday
Anders Holden Deleuran replied to Nicholas Rawitscher's discussion Load Grasshopper script on web server?
"You might also want to have a look at ShapeDiver and Speckle."
Monday
Anders Holden Deleuran replied to taisukeoO's discussion Is there any tools to solve linear equation in C# script in Rhino/Grasshopper
"Even so, it's a nice trajectory :)"
Monday
Anders Holden Deleuran replied to taisukeoO's discussion Is there any tools to solve linear equation in C# script in Rhino/Grasshopper
"Awesome, does that mean that Rhino eventually will ship with Math.Net?"
Monday
Anders Holden Deleuran replied to taisukeoO's discussion Is there any tools to solve linear equation in C# script in Rhino/Grasshopper
"Edit: to use it download the zip file and extract the .dll files you'll need. Then right-click a C# scripting component and go to Manage Assemblies. Here you can add references to the dlls and start using them in your script. Hope that helps :)"
Saturday
Anders Holden Deleuran replied to taisukeoO's discussion Is there any tools to solve linear equation in C# script in Rhino/Grasshopper
"Math.Net is a .NET library so you can use it directly in C#: http://numerics.mathdotnet.com"
Saturday
Anders Holden Deleuran commented on Mostapha Sadeghipour Roudsari's video
Thumbnail

Butterfly

"Looks awesome! Guessing this was where you implemented the timer snippet :)"
Sep 19
Anders Holden Deleuran liked Mostapha Sadeghipour Roudsari's video
Sep 19
Anders Holden Deleuran liked Petras Vestartas's video
Sep 19

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 (13 comments)

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

Join Grasshopper

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...

At 8:04am on March 4, 2013, hamia Aghaiemeybodi said…

Hi anders,

I'm trying to split curves in python and i get this eror:

Runtime error (TypeErrorException): Parameter must be a Guid or string representing a Guid

Im sure its Guid!!!

here is the simple script:

import rhinoscriptsyntax as rs
import Rhino as rc
curve01=rs.coercegeometry(x)
curve01.Domain = rc.Geometry.Interval(0,1)
print (rs.CurveDomain(curve01))
a=rs.SplitCurve(curve01,y)

ay idea!

Thanks.

 
 
 

Translate

Search Grasshopper

Photos

  • Add Photos
  • View All

© 2016   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service