Grasshopper

algorithmic modeling for Rhino

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

Anders Holden Deleuran's Friends

  • Chapuline
  • Gregory Quinn
  • Daniel Kolling Andersen
  • Phil Ayres
  • Sood Aakriti
  • Fakinos Konstantinos
  • Marc
  • 筑梦NARUTO
  • ng5 Alex
  • CITA
  • Starsk Lara
  • Henrik Leander Evers
  • Thomas Perkov
  • Brian Ringley
  • Mostapha Sadeghipour Roudsari

Anders Holden Deleuran's Groups

Anders Holden Deleuran's Discussions

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.

GHPython Some Bottlenecks (Bugs?)
26 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 Anders Holden Deleuran Aug 10.

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.

 

Hello, Anders Holden Deleuran!

Latest Activity

Anders Holden Deleuran replied to enrique soriano's discussion kangaroo2+galapagos in the group Kangaroo
"Yes, that happens due to some of the "simplifications" I did. Basically the variables ps and counter do not exist yet if you have not reset the component. So reset it and you should be good. What I had done earlier was to check if counter…"
19 hours ago
Anders Holden Deleuran replied to enrique soriano's discussion kangaroo2+galapagos in the group Kangaroo
"Hi Thomas, looks like your problem is related to Greg's problem above. Also, you're using the output on the standard solver component which outputs all the points (particles) which the solver is operating on. I didn't call that method…"
20 hours ago
Anders Holden Deleuran replied to enrique soriano's discussion kangaroo2+galapagos in the group Kangaroo
"Hi Greg, I think it might simply be the data structure of the goals input causing the issues (which Daniel is dealing with internally in the standard K2 solver). If you flatten the Goals input on the custom GHPython solver component that appears to…"
20 hours ago
Anders Holden Deleuran replied to enrique soriano's discussion kangaroo2+galapagos in the group Kangaroo
"Is this the same file as above (Anders_g2.gh)? I only just quickly had a look and it seems that none of your input parameters are actually referenced in the script (Goals, Reset and Step). So that what explain why nothing happens )also, Python is…"
Tuesday
Anders Holden Deleuran replied to enrique soriano's discussion kangaroo2+galapagos in the group Kangaroo
"Hi Thomas, if you could be a bit more specific about how it isn't working that would make it easier to troubleshoot :)I suspect it may have to do with referencing the KangarooSolver.dll. If so try following the instructions regarding "Add…"
Tuesday
Anders Holden Deleuran replied to enrique soriano's discussion kangaroo2+galapagos in the group Kangaroo
"Sweet, glad it helped. Hope to see you at Design Modelling Symposium in a month's time :)"
Aug 26
Anders Holden Deleuran replied to enrique soriano's discussion kangaroo2+galapagos in the group Kangaroo
"Hi Enrique, Daniel designed K2 to be scriptable and made it pretty straight forward to define custom solving. Here's an example (using Python) which works similar to the Zombie-mode in…"
Aug 26
Anders Holden Deleuran replied to Anton Szilasi's discussion Sum each branch of a datatree using python
"Indeed, all copyrights owned by Mr.Reeves :)"
Aug 22
Anders Holden Deleuran replied to Anton Szilasi's discussion Sum each branch of a datatree using python
"Cheers Djordje, we're actually already well into it. Dave Reeves made me a nice hat:"
Aug 22
Anders Holden Deleuran liked Marios Tsiliakos's photo
Aug 21
Anders Holden Deleuran commented on Mostapha Sadeghipour Roudsari's group Ladybug + Honeybee
"Excellent, thanks Mostapha. We'll be doing some radiation analysis and what not for the AA Visiting School in Aarhus next week :)"
Aug 20
Anders Holden Deleuran commented on Mostapha Sadeghipour Roudsari's group Ladybug + Honeybee
"The download links on box.com does seem to be down. Tried from Chrome and Internet Explorer. I guess one can just grab it straight from GitHub instead?"
Aug 20
Anders Holden Deleuran liked Richard Schaffranek's video
Aug 14
Stephen P. Maher liked Anders Holden Deleuran's video
Aug 12
Anders Holden Deleuran commented on Anders Holden Deleuran's video
Thumbnail

ShapeOpGHPython

"Uh also, another pretty nifty constraint is a feature preserving Laplacian smoothing. I'm not sure if that is available in other GH plugins."
Aug 12
Anders Holden Deleuran commented on Anders Holden Deleuran's video
Thumbnail

ShapeOpGHPython

"Hi Nik, must have missed your reply. Apologies. Conceptually ShapeOp is quite similar to Kangaroo2 (i.e. the solver is projection-based as opposed to using explicit or implicit integration methods) and has similar (if fewer) constraints currently…"
Aug 12

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

© 2015   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service