Grasshopper

algorithmic modeling for Rhino

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

Anders Holden Deleuran's Friends

  • Phil Ayres
  • Sood Aakriti
  • Fakinos Konstantinos
  • Marc
  • ng5 Alex
  • CITA
  • Henrik Leander Evers
  • Brian Ringley
  • Mostapha Sadeghipour Roudsari
  • Miguel Rus
  • Erick Vásquez
  • Robert Vier
  • Toussaint Jimenez Rojas
  • kao.gene
  • djordje

Anders Holden Deleuran's Groups

Anders Holden Deleuran's Discussions

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

Wish: Add Single Click Functionality to Boolean Toggle
4 Replies

Hi David,I've been using the RCP quite a lot lately and have come to appreciate how a Boolean Toggle published in the RCP acts more like a radio button requiring only a single mouse click to change…Continue

Started this discussion. Last reply by Anders Holden Deleuran Nov 12, 2014.

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

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

Started this discussion. Last reply by Andrew B. Reitz Apr 4.

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

 

Hello, Anders Holden Deleuran!

Latest Activity

Anders Holden Deleuran replied to Dimitar Baldzhiev's discussion C# multithreading failure
"A note on profiling. You should be careful with relying too much on the GH profiler when timing code within a script. Especially if you have an output parameter with many items as this may be a larger bottleneck than the actual code! One way of…"
10 hours ago
Anders Holden Deleuran replied to Homar's discussion Number of times a value is in list
"The Python Counter module is super neat for this kind of stuff. Attached an example.."
Thursday
Anders Holden Deleuran liked David Stasiuk's photo
Wednesday
Anders Holden Deleuran replied to Shane Simon's discussion Understanding how Python interacts with iterations
"Great idea. Although, perhaps it makes more sense (coupling-wise) to add them as functions of the GHPython component itself (maybe in ghenv)? "
Wednesday
Anders Holden Deleuran replied to Rasmus Holst's discussion GH Python - Live output/update
"Well clearly! Also, have it send you a mail once it's done. That will surely impress any manager :)"
Tuesday
Daniel Christev liked Anders Holden Deleuran's video
Monday
ng5 Alex liked Anders Holden Deleuran's video
Monday
Anders Holden Deleuran replied to morten bilde hougård's discussion Bricks on a vault surface
"You sure will, best of luck with the research. Perhaps we'll have a nice vault we can work under by August :)"
Monday
Anders Holden Deleuran replied to Rasmus Holst's discussion GH Python - Live output/update
"It sounds like what you what is actually not really like Kangoo, which basically outputs the amount of iterations and the resulting geometry each time a step in the system has been solved. This can be implemented in GHPython using the sticky instead…"
Monday
Anders Holden Deleuran replied to Daniel da Rocha's discussion Missing plugin and vanishing GHPython components
"Did you remember to unblock the ghpython.gha file?"
Apr 12
Anders Holden Deleuran replied to morten bilde hougård's discussion Bricks on a vault surface
"That vault is by the Block Research Group at ETH, seems that a good place to start would be to try out their thrust network form finding tools for Rhino. I think they just made some Grasshopper components for this as well. Another option is of…"
Apr 10
Anders Holden Deleuran replied to Lasse Rahbek's discussion loading values into a genepool
"That path is probably hidden. If you in this %appdata% in Windows explorer you'll the roaming folder. If you unhide this folder you should be able to get to it. Anywho, glad it helped :)"
Apr 10
Anders Holden Deleuran replied to Lasse Rahbek's discussion loading values into a genepool
"Nice one Andrew. I recently had the same issue as well. Attached a basic example of the approach I came up with using GHPython. It operates on an existing genepool and does some naughty upstream stuff, so use with caution :)"
Apr 10
Mkr liked Anders Holden Deleuran's video
Apr 9
Anders Holden Deleuran replied to pierre z's discussion definition
Apr 9
Anders Holden Deleuran liked Daniel Piker's video
Apr 8

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

Videos

  • Add Videos
  • View All

© 2015   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service