Bases: chiplotle.hpgl.compound.compound._CompoundHPGL
Bezier curve interpolation
Bases: chiplotle.hpgl.compound.compound._CompoundHPGL
A class for making simple presentation/business cards.
Bases: chiplotle.hpgl.compound.compound._CompoundHPGL
Catmull-Rom spline interpolation
Bases: chiplotle.hpgl.compound.compound._CompoundHPGL
Circle with absolute position.
Bases: chiplotle.hpgl.compound.compound._CompoundHPGL
Generic container for CompoundHPGL commands. Only _CompoundHPGL commands can be contained by this Container.
Bases: chiplotle.hpgl.compound.compound._CompoundHPGL
Cross. Can be rotated.
Bases: chiplotle.hpgl.compound.compound._CompoundHPGL
A 3D Cube. Can be rotated on x, y, and z.
Bases: chiplotle.hpgl.compound.compound._CompoundHPGL
A Fan is a slice of a donut seen from above (the hole in the middle). Or think of it as bent rectangle.
the shape.
All angles are assumed to be in radians.
Bases: chiplotle.hpgl.compound.compound._CompoundHPGL
FancyLabel.
Write text with arbitrary Chiplotle-font and arbitrary cell shape.
xy: (x, y) position of the label.
text: a string of the text to be printer.
Chiplotle-fonts live in chiplotle/fonts.
These can be simple Chiplotle-HPGL commands or Compound commands.
pen: the pen to use [1 to 8].
width: the width of each character. May be a number or None.
height: the height of each character. May be a number or None.
to each of the cells making up each character.
Bases: chiplotle.hpgl.compound.compound._CompoundHPGL
Rectangular grid.
xy : tuple, (x, y) position.
width : int or float, width of the rectangle.
height : int or float, height of the rectangle.
width_divisions : int, number of horizontal equidistant partitions.
partitions.
pen : int, pen number.
Bases: chiplotle.hpgl.compound.compound._CompoundHPGL
Primitive HPGL commands can be contained in this container. The position of primitive absolute HPGL commands (e.g., PA, RA) is relative to the position of this container.
Bases: chiplotle.hpgl.compound.compound._CompoundHPGL
Text label.
xy: 2-tuple of coordinates pair for label location.
text: The actual text to be printed.
in centimiters.
run (direction on x axis), rise (direction on y axis).
Positive separates, negatives bring together.
Positive separates, negatives bring together.
Possible values:
.
Left
Inside
Right
Above
3
6
9
Inside
2
5
8
Below
1
4
7
If 10 is added to the above-mentioned location number, positions (except 5) will be offset towards the center by 1/2 the character width and 1/2 the character height.
0 is vertical, 0.5 is 45 degs., ...
vertical: Print text from left to right (False) or top down (True).
Bases: chiplotle.hpgl.compound.compound._CompoundHPGL
Line at absolute position.
Bases: chiplotle.hpgl.compound.compound._CompoundHPGL
draws a path given a list of waypoints
Bases: object
Bases: chiplotle.hpgl.compound.compound._CompoundHPGL
A Polygon that models the HPGL polygon definition via PM.
the totality of the polygon. Each subshape is ended with ‘PM1;’ in the HPGL returned by the formatter.
Bases: chiplotle.hpgl.compound.histograms.radialhistogram._RadialHistogram
A radial histogram with linear outward fill. The shape draws a circular histogram for the given list of relative frequencies. The bars of the histogram are filled ‘linearly’, i.e., with lines moving outwards from the center.
min_radius: a scalar of the smallest radius of the histogram.
max_radius: a scalar of the maximum radius of the histogram.
assumed to be between 0 and 1.
fill: a boolean that indicated whether the bars should be filled or not.
in radians.
Bases: chiplotle.hpgl.compound.histograms.radialhistogram._RadialHistogram
A radial histogram with radial fill. The shape draws a circular histogram for the given list of relative frequencies. The bars of the histogram are filled ‘radially’, i.e., with arc shapes.
min_radius: a scalar of the smallest radius of the histogram.
max_radius: a scalar of the maximum radius of the histogram.
assumed to be between 0 and 1.
fill: a boolean that indicated whether the bars should be filled or not.
fillines_spacing: a scalar indicating the spacing between fill lines.
chord: the chord tolerance of the arcs drawn.
Bases: chiplotle.hpgl.compound.compound._CompoundHPGL
Random Walk.
Bases: chiplotle.hpgl.compound.compound._CompoundHPGL
Compound Rectangle. Can be rotated. Cannot be filled
Bases: chiplotle.hpgl.compound.compound._CompoundHPGL
Supershape, generated using the superformula first proposed by Johan Gielis. arguments are: w - width h - height a=b=1.0, m, n1, n2, n3 - controls of shape