Skip to content

Instantly share code, notes, and snippets.

📺

John Mars j0hnm4r5

📺
Block or report user

Report or block j0hnm4r5

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 rhino_to_hpgl.py
'''This script creates an HPGL file from curves in a Rhino file.
Place all curves in the model world as they would sit in relation to the origin on the plotter.
File will export to same location as script.'''
import rhinoscriptsyntax as rs
from datetime import datetime
import os.path
filename = rs.GetString("What would you like to name the file? (Use \"#\" for ISO 8601) ", defaultString="output#")
@j0hnm4r5
j0hnm4r5 / etchASketch_forPlotter.py
Created Apr 30, 2014
Working etch-a-sketch for the plotter, controlled by BrainJr.
View etchASketch_forPlotter.py
import pygame
from pygame.locals import *
from pygame import midi
from colors import *
import chiplotle
import sys
import time
import random
You can’t perform that action at this time.