Grasshopper

algorithmic modeling for Rhino

Stephen Maher
  • Columbus, OH
  • United States
Share on Facebook
Share

Stephen Maher's Friends

  • Paul Poinet
  • Kenryo
  • Gotzman
  • johnnyUtah05
  • Mahdiyar
  • Boyan Mihaylov
  • Vangel Kukov
  • Chris Mackey
  • Roland D. Sandoval
  • Olivier Suire
  • Holger

Stephen Maher's Groups

Stephen Maher's Discussions

Text Editor Support for Rhino.Python (Windows)?
4 Replies

Hey Pythonic People,I have a quick question. Does anyone know of a text editor that supports Rhino.Python for Windows?It's great that…Continue

Tags: editor, windows, text, ghpython, python

Started this discussion. Last reply by Stephen Maher Oct 30, 2015.

Clustering a [Python] Component: Input Access Does Not Change
8 Replies

Hi all,I may have ran into a bug (or maybe I'm missing something). Please forgive me (and direct me to the discussion) if this is a known occurrence.I'm using a [Python] component's inputs as the…Continue

Tags: access, input, cluster, python

Started this discussion. Last reply by Stephen Maher Aug 4, 2015.

GHPython's ZUI Functionalities
3 Replies

Hi all,I have a question about using the GHPython library. I’m curious how to use the dynamic nature of the ZUI functionality in a script, such as automating a script to incorporate / disassociate…Continue

Tags: zui, ghpython

Started this discussion. Last reply by Giulio Piacentino Jul 15, 2015.

Translating Python Script to GHPyhton
2 Replies

Hi, everyone.I haven't had trouble reusing and "translating" Python scripts to GHPython until now. The script is exactly the same with the exception of a conditional statement (see images and…Continue

Started this discussion. Last reply by Stephen Maher Feb 20, 2015.

 

Welcome, Stephen!

Latest Activity

Stephen Maher commented on Stephen Maher's blog post Write to Text File
"Philippe – I've never tried using this particular script with a CIX file. Do you mind posting the file so I can take a look?"
Sunday
Philippe HAMON commented on Stephen Maher's blog post Write to Text File
"hi, in the original data set, the text has only got "CRLF" hidden character: but in the exported data, i find new characters "CR" added:  it's annoying, because the CAM software can't directly open the exported…"
Sunday
Stephen Maher commented on Stephen Maher's blog post Write to Text File
"tsaohy – What .gcode are you referring to? This is a Python code that only requires the GHPython scripting component. Are you trying to write a .gcode file with this script? /SPM"
Apr 19
tsaohy commented on Stephen Maher's blog post Write to Text File
"Hi Stephen. Thanks for sharing this GH file. However, the gcode one doesn't work for me, I'm not sure why, there is no any .gcode file showing up. Thx for helping."
Apr 19
Stephen Maher commented on Stephen Maher's blog post Write to Text File
"Hey Patrick, mind posting your file so I can take a look? Or shoot me a DM with the file./SPM"
Oct 23, 2016
Patrick Monte commented on Stephen Maher's blog post Write to Text File
"This would be really useful to me because I am doing some operations that max out the panel character limit. I've tried writing to excel, but there again hit cell character limits, so I really need to be able to write a text file directly. I…"
Oct 23, 2016
Stephen Maher replied to tsaohy's discussion Remove last branches
Sep 21, 2016
Paul Poinet liked Stephen Maher's video
Sep 1, 2016
Stephen Maher replied to Paul Poinet's discussion "Automatize" imports in ghPython?
"Hey Paul, This is already the case in Rhino 6 WIP, but if you're working in Rhino 5 the fastest way I can think of is is to create a "template" user object. See attached. Best,/SPM"
Aug 10, 2016
Nick Devlin commented on Stephen Maher's blog post Write to Text File
"thanks Stephen."
May 27, 2016
Stephen Maher commented on Stephen Maher's blog post Write to Text File
"Hey, Nick. Sure thing; I just updated the file in the post. I hope it helps!/SPM"
May 27, 2016
Nick Devlin commented on Stephen Maher's blog post Write to Text File
"Hi Stephen,  Is there a link to the updated version with the append function? I downloaded from the link in the original post but it includes the overwrite function instead? Many thanks - this looks like just what I need.  regards Nick"
May 27, 2016
Stephen Maher replied to Alik Sumin's discussion install additional pythom library
"Oh, I see. My apologies, I misunderstood your post. No, you cannot install requests. That module is not compatible with IronPython, which is the language that Rhino/GHPython uses. /SPM"
May 25, 2016
Stephen Maher commented on Marcus Strube's photo
May 25, 2016
Stephen Maher replied to Alik Sumin's discussion install additional pythom library
"Oh, yeah. That's strange. I tried posting them again, but I keep getting an "undefined" value. Either way, you have all the information you need via my first comment. So give it a shot and post again if something awry. /SPM"
May 24, 2016
Stephen Maher replied to Alik Sumin's discussion install additional pythom library
"The easiest way that I know of is to download the module and either store it in a directory that the Rhino Python editor is already pointing at or add a new directory that contains that module. See screen shots below. In Rhino: EditPythonScript >…"
May 23, 2016

Profile Information

Company, School, or Organization
NBBJ
Web or Blog
http://stephenpmaher.net

Stephen Maher's Blog

Write to Text File

Lately I've found myself jotting down and formatting notes in Grasshopper then exporting to a text file. (If this is strange to you, I understand completely.) So I've written a quick script making that workflow a bit easier. I know there are other codes out there, but I thought it might be interesting to share nonetheless.

There are some simple built-in safety protocols. It checks for an existing file path first then proceeds with the exporting process. If the specified file contains…

Continue

Posted on August 20, 2015 at 9:00am — 15 Comments

Wire Display Toggle (Python Edition)

Inspired by Andrew Heumann's post (and its comments).

This Python script allows for dynamically changing the Grasshopper document's wire display types.

Hope this helps tidy up your definitions!

Download it here: …

Continue

Posted on July 20, 2015 at 6:00pm — 1 Comment

Stephen Maher's Videos

  • Add Videos
  • View All

Comment Wall

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

Join Grasshopper

  • No comments yet!
 
 
 

Translate

Search Grasshopper

Photos

  • Add Photos
  • View All

© 2017   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service