Direction constants¶
Constants provided by BOSL2 (BOSL2 constants.scad).
-
pybosl2.constants.INCH : float =
25.4¶ The number of millimeters in an inch.
-
pybosl2.constants.IDENT : list[list[float]] =
[[1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]¶ Identity transformation matrix for three-dimensional transforms. Equal to ident(4).
-
pybosl2.constants.LEFT : Anchor =
Anchor.LEFT¶ Left face/anchor selector. Equal to
Anchor.LEFT.
-
pybosl2.constants.RIGHT : Anchor =
Anchor.RIGHT¶ Right face/anchor selector. Equal to
Anchor.RIGHT.
-
pybosl2.constants.FRONT : Anchor =
Anchor.FRONT¶ Front face/anchor selector. Equal to
Anchor.FRONT.
-
pybosl2.constants.FORWARD : Anchor =
Anchor.FRONT¶ Forward anchor – alias for
FRONT.
-
pybosl2.constants.BACK : Anchor =
Anchor.BACK¶ Back face/anchor selector. Equal to
Anchor.BACK.
-
pybosl2.constants.BOTTOM : Anchor =
Anchor.BOTTOM¶ Bottom face/anchor selector. Equal to
Anchor.BOTTOM.
-
pybosl2.constants.DOWN : Anchor =
Anchor.BOTTOM¶ Down anchor – alias for
BOTTOM.
-
pybosl2.constants.TOP : Anchor =
Anchor.TOP¶ Top face/anchor selector. Equal to
Anchor.TOP.
-
pybosl2.constants.UP : Anchor =
Anchor.TOP¶ Up anchor – alias for
TOP.
-
pybosl2.constants.CENTER : Anchor =
Anchor.CENTER¶ Center anchor selector. Equal to
Anchor.CENTER.
-
pybosl2.constants.SEGMENT : list[bool] =
[True, True]¶ Treat a line as a segment.
-
pybosl2.constants.RAY : list[bool] =
[True, False]¶ Treat a line as a ray, based at the first point.
-
pybosl2.constants.LINE : list[bool] =
[False, False]¶ Treat a line as an unbounded line.