Chiplotle Plotters
chiplotle.hpgl.plotters
module(name[, doc])
Create a module object.
The name must be a string; the optional doc argument can have any type.
-
class chiplotle.plotters.plotter.Plotter(ser, **kwargs)
- Bases: chiplotle.plotters.drawingplotter._DrawingPlotter
-
class chiplotle.plotters.dxy1300.DXY1300(ser, **kwargs)
- Bases: chiplotle.plotters.drawingplotter._DrawingPlotter
-
class chiplotle.plotters.hp7475a.HP7475A(ser, **kwargs)
- Bases: chiplotle.plotters.drawingplotter._DrawingPlotter
-
class chiplotle.plotters.drawingplotter._DrawingPlotter(serialPort)
Bases: chiplotle.plotters.baseplotter._BasePlotter
TEXT OUTPUT & SETTINGS
-
abortCommand()
- Tells the plotter to discard commands in its buffer.
-
absoluteCharSize(w=None, h=None)
-
absoluteDirection(run=1, rise=0)
-
accelSelect(accel=None, pen=None)
-
advanceFrame()
-
advanceFullPage()
-
advanceHalfPage()
-
altCharSet(n=0)
-
arcAbsolute(x, y, aa, ca=5)
-
arcRelative(x, y, aa, ca=5)
-
automaticPen(p=None)
-
bufferLabel(text=None)
-
bufferPlot()
-
charChordAngle(angle=5)
-
charPlot(spaces=None, lines=None)
-
charSelectionMode(switch=0, fallback=0)
-
charSet(set=0)
-
charSlant(tan=0)
-
chordTolerance(type=0)
-
circle(rad, ca=5)
-
clearDigitizer()
-
defaultInstruction()
-
defineLabelTerminator(t='x03')
-
digitizePoint()
-
edgePolygon()
-
edgeRectAbsolute(x, y)
-
edgeRectRelative(x, y)
-
enableCutLine(n)
-
fillPolygon()
-
fillType(type=1, space=None, angle=0)
-
forceSelect(force=None, pen=None)
-
goto(x, y)
- Alias for PA() with only one point
-
inputWindow(xLL=None, yLL=None, xUR=None, yUR=None)
-
label(text)
-
lineType(pattern, length=4)
-
notReady()
- what’s this for?
-
nudge(x, y)
-
pageFeed(n=None)
-
paperSize(size=None)
-
penDown(coords=None)
- Pen Down.
-
penThickness(thickness=0.29999999999999999)
-
penUp(coords=None)
- Pen Up.
-
plotAbsolute(coords=None)
Plot Absolute.
Takes a tuple of any number of sets of points:
(0,0,100,100,2500,1000) will go to three different points:
0,0 100,100 2500,1000
-
plotPolygon(n=0)
-
plotRelative(coords=None)
Plot Relative.
Takes a tuple of any number of sets of points:
(0,0,100,100,2500,1000) will go to three different points:
0,0 100,100 2500,1000
-
printBufferedLabel()
-
relCharSize(w=None, h=None)
-
replot(n=1)
-
rotate(angle=0)
-
scale(xMin, xMax, yMin, yMax)
-
selectAltCharSet()
-
selectPen(penNum=0)
-
selectStandardCharSet()
-
shadeRectAbsolute(x, y)
-
shadeRectRelative(x, y)
-
symbolMode(char=None)
-
tickLength(tp=0.5, tn=0.5)
-
velocitySelect(v=None, pen=None)
- Set pen’s velocity.
-
writeToDisplay(text)
-
xTick()
-
yTick()