Grasshopper

algorithmic modeling for Rhino

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

Anders Holden Deleuran's Friends

  • LabLeo
  • Andy Watts
  • aman gupta
  • eliod ran
  • Mihai C
  • Vasily Sitnikov
  • Chapuline
  • Michel Schmeck
  • Gregory Quinn
  • Sepideh Garivani
  • Timothy Tai
  • Sebastian Gatz
  • Daniel Kolling Andersen
  • Phil Ayres
  • SA

Anders Holden Deleuran's Groups

Anders Holden Deleuran's Discussions

(Forum bug) Activity Feeds Appear Broken
6 Replies

Hi All,For the past week or so the activity feeds on Home and My Page appear to be broken (for me). Couple of things I've noticed: 1) On My Page the Latest Activity feed is either empty or not…Continue

Started this discussion. Last reply by ng5 Alex Jun 16.

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

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

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.

 

Hello, Anders Holden Deleuran!

Latest Activity

Anders Holden Deleuran replied to Anders Holden Deleuran's discussion (Forum bug) Activity Feeds Appear Broken
"Maybe.. we'll have to wait another 25 years to find out!"
Jun 16
Anders Holden Deleuran replied to Anders Holden Deleuran's discussion (Forum bug) Activity Feeds Appear Broken
"Specifically point number 3. The Latest Activity feed keeps going back to February for me. This happens across devices and appears to occur more a less randomly."
Jun 16
Anders Holden Deleuran replied to Petras Vestartas's discussion Using Grasshopper on rhino 5 and 6 wip
"You can get the default Grasshopper folders from the Grasshopper.Folders namespace. Not sure if that helps here, but like say this to reference the default libraries folder:Grasshopper.Folders.DefaultAssemblyFolder"
Jun 2
Anders Holden Deleuran replied to Michiel Spaapen's discussion Grasshopper export mesh or object to python
"That might be the path of least resistance, but can be slow depending on your use-case. You can export to an obj file (a text file format representing an vertex-face mesh) from a scripting component. This could be done either by writing your own…"
Jun 2
Anders Holden Deleuran replied to Gabriella Rossi's discussion Control over Light attributes
"Could be, try checking your Service Release and make sure it's up to date (might be an issue with an earlier build of RhinoCommon)."
Jun 2
Anders Holden Deleuran replied to Gabriella Rossi's discussion Control over Light attributes
"Hi Gabriella, I'm not entirely sure I understood the issue, that said your code seems to work as expected for me (perhaps it's the mapping from the 0.00-1.00 range in RhinoCommon to the 0-100 range in Rhino that's causing the…"
Jun 2
Philip Belesky liked Anders Holden Deleuran's profile
Jun 2
Anders Holden Deleuran replied to Nicholas Rawitscher's discussion GH_Point in python component
"I agree. That said, dynamically typed doesn't necessarily imply not being explicitly (as in not being ambiguous) typed (such as in the case here). I personally wouldn't use a statically typed language unless I will be compiling (for the…"
Jun 1
Anders Holden Deleuran replied to Nicholas Rawitscher's discussion GH_Point in python component
"Quick best practice/tip: I would advise against using the from foo import * style. This not only makes it difficult/impossible to trace the namespace/module a function/class comes from, it can also lead to name conflicts if two (or more…"
Jun 1
Anders Holden Deleuran replied to Roman's discussion Comparing unequal lists
"Something like this maybe (using in and list.index() to first check for value containment and then get index):"
May 30
Anders Holden Deleuran replied to Marc's discussion Questions about Python stickies?
"Yes on all four accounts (sticky is simply a Python dictionary). Closing/crashing Rhino will clear the sticky."
May 22
Anders Holden Deleuran replied to Jose Ángel's discussion HoneyBee LabelSurface: 'Brep' object has no attribute 'Surfaces' in the group Ladybug Tools
"Might be a long shot, but perhaps you're running an old Rhino Service Release in which RhinoCommon does not have the Brep.Surfaces property yet (admittedly, sounds like a long shot, but perhaps)."
May 22
Anders Holden Deleuran replied to Grasshope's discussion Interesting network UI functions of the latest Houdini v16
"The ability to switch between wire styles (bezier, straight, angled, curved etc.) would be much appreciated (love the rounded ones in the screenshot above). Also the "dot" concept seems very interesting, I usually insert a parameter to…"
May 18
Anders Holden Deleuran replied to Mateusz Zwierzycki's discussion Python clr module problem
"I think so. I know that a single forward slash "should" work on Windows, but this does proves that something's fucky! As far as I recall you can use os.path.normpath() to normalise paths such that they "should" work…"
May 18
Anders Holden Deleuran replied to Mateusz Zwierzycki's discussion Python clr module problem
"Seems to work on my system. Sounds like you might be referencing a stray/wrong assembly like Tom said (likely caused by the ambiguous reference method): I'm surprised that your referencing is even working, here's what I would expect:"
May 18
Anders Holden Deleuran replied to Mateusz Zwierzycki's discussion Python clr module problem
"Not sure that this will help, but you probably want to use clr.addreferencetofileandpath() when targeting a full path like that (and use double backslash instead of forward slash, if I recall correctly)."
May 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 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 (14 comments)

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

Join Grasshopper

At 7:44am on October 10, 2016, Arpan Bakshi said…

GhPython Workshop coming up this month. Tool developer Chris Mackey is teaching a live webinar titled - Making Your Own Python Components. More information and registration at https://attendee.gototraining.com/42b11/register/4476111114579892225

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

 
 
 

Translate

Search Grasshopper

Photos

  • Add Photos
  • View All

© 2017   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service