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

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.

Geometry Parameter: Vector being cast to Point

When you pass a Vector3D through a Geometry parameter it is cast to Point3D. Seems like a bug to me. See attached file. Best, AndersContinue

Started Jan 20, 2015

 

Hello, Anders Holden Deleuran!

Latest Activity

Anders Holden Deleuran replied to fedezorrozuag's discussion organize list of points to create polyline
"Here's the approach I usually use to sort the points radially around a center (using GHPython and RhinoCommon). Similar to a couple of the other suggestions."
16 hours ago
Anders Holden Deleuran replied to vodkaa's discussion need for help
"7B"
Monday
Anders Holden Deleuran replied to Bernhard Mueller's discussion Parameter must be a Guid or string representing a Guid
"That's great! I forgot to mention that rhinoscriptsyntax is basically wrapping around RhinoCommon. So a neat way of trying to learn both Python modules and how to implement .NET assemblies (i.e. RhinoCommon) in IronPython (i.e. Rhino's…"
Aug 17
Anders Holden Deleuran replied to Bernhard Mueller's discussion Parameter must be a Guid or string representing a Guid
"The rhinoscriptsyntax Python module operates on GUID's. The Rhino .NET namespace (i.e. RhinoCommon) operates onRhinoCommon objects. You can right-click the GHPython input parameter to set a typehint which will determine how an object…"
Aug 15
Anders Holden Deleuran replied to Devang's discussion Matplotlib in Python
"As far as I know Matplotlib won't work with IronPython (the Python interpreter used in Rhino/Grasshopper). I've heard good thing about Ilnumerics as an alternative that will run with IronPython. Might give that a…"
Aug 11
Anders Holden Deleuran replied to Paul Poinet's discussion "Automatize" imports in ghPython?
"You might add this request here as well :)Actually, now that we're at it. I wonder if the GitHub repo issue tracker is still being used for development. There are a few quite old feature requests in there that would terrific…"
Aug 11
Anders Holden Deleuran replied to Erik Sven Broberg's discussion Divide GUID list into sublists with out without DataTree
"For what it's worth, here are the simplest methods for reading/writing 2D datatrees that I know of. And for completeness, here are Giulio's methods for reading/writing arbitrarily complex datatrees. "
Aug 8
Anders Holden Deleuran liked M.K.T. Heinrich's video
Aug 4
Anders Holden Deleuran replied to Erik Sven Broberg's discussion Unsupported Operand error or bug
"Ah sorry, didn't see that you've already solved it :)"
Aug 3
Anders Holden Deleuran replied to Erik Sven Broberg's discussion Unsupported Operand error or bug
"You're overwriting the variable a at line 13 from a float to a GUID (which is returned by the rs.AddPoint() method)."
Aug 3
Anders Holden Deleuran liked Andrew Heumann's video
Jul 30
Anders Holden Deleuran commented on Marcus Strube's photo
Thumbnail

Å

"Also, it's pronounced more like "oh" if you say it really fast and don't drag it out like "ohhh". Fun fact: Å is the word for stream in Danish and Ø means island :)"
Jul 29
Anders Holden Deleuran replied to Fabio's discussion Kangaroo - output delay
"It's because you are essentially resetting the whole solver system (the zombie solver that is) each time you change any of the inputs. So in your case, moving the anchor points means they are no longer coincident with the vertices on the…"
Jul 20
Anders Holden Deleuran liked Jeg's video
Jul 19
Anders Holden Deleuran replied to Fabio's discussion Kangaroo - output delay
"Use the Zombie solver (available in both Kangaroo 1 and the last two versions of Kangaroo 2). "
Jul 19
Anders Holden Deleuran replied to Kenneth cheung's discussion Develop gha plugin using python or GHpython
"It is actually possible to compile IronPython code to a .dll which you can then reference/import in your scripting/userobject components (that is, as opposed to .py files). That said, this is probably only worth the effort if you're…"
Jul 18

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