Grasshopper

algorithmic modeling for Rhino

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

Anders Holden Deleuran's Friends

  • Phil Ayres
  • Aakriti Sood
  • CITA
  • Henrik Leander Evers
  • Brian Ringley
  • Mostapha Sadeghipour Roudsari
  • Miguel Rus
  • Erick Vásquez
  • Toussaint Jimenez Rojas
  • kao.gene
  • djordje
  • Ian Huff
  • hamia Aghaiemeybodi
  • Jeg
  • Mathias Gmachl

Anders Holden Deleuran's Groups

Anders Holden Deleuran's Discussions

Wish: Lock position and Name/Nickname of canvas objects
8 Replies

Hi David, I just did a search for "lock position" and a couple of…Continue

Started this discussion. Last reply by David Rutten Jun 25.

Making Kangaroo forces using Node-in-code is very slow
3 Replies

Hi All,Following a couple of…Continue

Tags: Node-in-code, Kangaroo, Python

Started this discussion. Last reply by Anders Holden Deleuran Apr 4.

Customize Remote Control Panel accent color and font style
2 Replies

First off let me express how awesome it is having the RCP back again. I've been testing it out this past week and it works really well! That…Continue

Tags: RCP

Started this discussion. Last reply by Anders Holden Deleuran Feb 28.

Wish: Timer block access within Grasshopper GUI
6 Replies

Hi David, When using timers, specifically with Kangaroo, I tend to use the global timer block switch on the Windows taskbar quite a lot. This works quite well, however it is somewhat inconvenient…Continue

Started this discussion. Last reply by Anders Holden Deleuran Sep 1, 2013.

 

Anders Holden Deleuran's Page

Latest Activity

Anders Holden Deleuran is attending Daniel Piker's event
Thumbnail

Advances in Architectural Geometry at University College London

September 17, 2014 at 4pm to September 21, 2014 at 6pm
Advances in Architectural Geometry / AAG is a symposium where both theoretical and practical work linked to new geometrical developments is presented.This symposium aims to gather the diverse components of the contemporary architectural tendencies which push the building envelope towards free form and respond to the multiple current design challenges. It involves architects, engineers, mathematicians, software designers and contractors. We aim at connecting researchers from architectural and…See More
Monday
Anders Holden Deleuran commented on Daniel Piker's photo
Thumbnail

Zombie Kangaroo+ Galapagos

"As promised, some videos of zombie-roo in action:https://vimeo.com/105742150https://vimeo.com/105742433Good times,Anders"
Sep 10
Anders Holden Deleuran commented on Daniel Piker's photo
Thumbnail

Zombie Kangaroo+ Galapagos

"Excellent release, the zombie-roo was most useful in our latest project up in Aalborg! I'll try to upload some video with some examples to the CITA Vimeo account when I get the chance. On an aside I noticed today that the Plankton shipping with…"
Sep 3
Anders Holden Deleuran replied to Andy VanMater's discussion Computing Mesh Normals not working
"This usually does the trick: myMesh.FaceNormals.ComputeFaceNormals();myMesh.Normals.ComputeNormals(); "
Aug 29
Anders Holden Deleuran commented on Anders Holden Deleuran's blog post Mesh Analysis GHPython Components
"Sweet, thanks Will. Looks great, I'll be sure to give it a look.."
Jul 30
Anders Holden Deleuran posted a blog post

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…See More
Jul 30
Will Pearson commented on Anders Holden Deleuran's blog post Mesh Analysis GHPython Components
"Hang on, I found it! I used the classic Taubin Tensors approach explained here: http://pdf.aminer.org/000/234/737/curvature_approximation_for_triangulated_surfaces.pdf"
Jul 23
Will Pearson commented on Anders Holden Deleuran's blog post Mesh Analysis GHPython Components
"Yes, sorry, here you go: https://gist.github.com/pearswj/4755800. This was back when numpy wasn't so readily use-able in RhinoPython so I wrote my own (albeit relying on ALGLIB for an eigenvector solver). I'm trying to track down the…"
Jul 23
Anders Holden Deleuran commented on Anders Holden Deleuran's blog post Mesh Analysis GHPython Components
"Hi Will. No worries, thanks for the warm Git welcome and for replying to the post :)I was actually thinking about how one might calculate curvature direction after writing the curvature analysis method in the blog post. So indeed a good place to…"
Jul 23
Will Pearson commented on Anders Holden Deleuran's blog post Mesh Analysis GHPython Components
"Anders, thanks for sharing and welcome to the GitHub revolution ;) This reminded me of a RhinoPython script that I wrote last year to extract local curvature tensors from a mesh: https://gist.github.com/pearswj/7151030. I was focusing more on…"
Jul 23
Anders Holden Deleuran replied to tristan.gobin's discussion Python module search path
"You should be able to add a path like so:import syssys.path.append("C:\YourModuleFolder")Hope that helps."
Jul 21
Anders Holden Deleuran replied to Brian Ringley's discussion Key/Value User Text Within Grasshopper Document?
"Added a version where the "metadata" is converted to a dictionary (Pythons key/value data type)."
Jul 18
Anders Holden Deleuran replied to Brian Ringley's discussion Key/Value User Text Within Grasshopper Document?
"Depending on the data type (i.e. strings) you could use the GH_Document.Properties property for persistent metadata. Not sure if that is what it is meant for, but it seems to work. See attached definition. Also, credits to Mostapha for…"
Jul 18
筑梦NARUTO commented on Anders Holden Deleuran's blog post Mesh Analysis GHPython Components
"very nice,Thanks for sharing"
Jul 17
djordje commented on Anders Holden Deleuran's blog post Mesh Analysis GHPython Components
"Nice. Thank you."
Jul 17
Anders Holden Deleuran posted a blog post

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…See More
Jul 17

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

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

Join Grasshopper

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.

At 1:53am on February 28, 2013, hamia Aghaiemeybodi said…

Just fixed the problem, Thanks anyway.

There was a coding mistake from my side :) ...

At 12:54am on February 28, 2013, hamia Aghaiemeybodi said…

Hi anders,

I'm working on a fillet script in python grasshopper, everything works fine as long as input polylines are in item structure, it gives eror when i set them in datatree structure this eror pops up:

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

any idea?!

fillet.gh

At 9:09am on September 24, 2009, Thomas Bildsøe said…
Yo!!! velkommen ombord!
 
 
 

Translate

Search Grasshopper

Photos

  • Add Photos
  • View All

© 2014   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service