Skip to content

Instantly share code, notes, and snippets.

Stephen P. Maher StepMaher

Block or report user

Report or block StepMaher

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View wire_display.py
"""
Allows for dynamically changing the Grasshopper document's Faint and Hidden wire display types. This will not affect wires set to Default.
Inputs: WireDisplay: Plug in a boolean value here. True = "Faint" wires, False = "Hidden" wires.
"""
# Name component
ghenv.Component.Name = "Wire Display Changer"
ghenv.Component.NickName = 'Wire Changer'
# Import libraries and methods
View txt_doc_writer.py
"""
Writes to a TXT or CSV file.
Inputs:
relative: Set to 'True' to create a new Text File using relative path. This file will live in the same directory as the Grasshopper document.
file: TXT or CSV file to write to.
lines: Text to write.
write: Set to True to write.
overwrite: Set to True to overwrite the specified file.
append: Set to True to append the specified file.
"""
You can’t perform that action at this time.