I think it'll be a bit interesting to use, as Chiplotle is py2, and drawbot is py3, but it seems from the sample scripts that it can work. I've not tested, though I have a pen plotter sitting waiting to be used....
benkiel
@benkiel
0
Reputation
4
Posts
3
Profile views
0
Followers
0
Following
Best posts made by benkiel
This user hasn't posted anything yet.
Latest posts made by benkiel
-
RE: Pen Plotter
-
RE: Pen Plotter
Don't forget that there is also this: https://github.com/jenskutilek/DrawBotPlotter
-
RE: New line characters causing issues?
Testing that line in drawbot, it works. It seems your doing it with imported drawbot. Wonder if it might work with
textBox
rather thantext
? -
Getting RGBA values from a Variables Colorwell
This came up in a class today, and thanks to Just van Rossum, we were able to solve it.
We all love being able to pick from the colorwell variable, but sometimes you need to know the RGBA value of the picked color, but the color you get from a colorwell is a NSColor object.
This will give you the RGBA of that color
Variable([ dict(name="color", ui="ColorWell") ], globals()) color = color.colorUsingColorSpaceName_("NSCalibratedRGBColorSpace") r,g,b,a = color.redComponent(), color.greenComponent(), color.blueComponent(), color.alphaComponent() print(r,g,b,a)
(now in a year I'll be able to find the answer again!)