mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2024-12-29 16:29:40 +00:00
remove ALLPOS
This commit is contained in:
parent
5b62f2859a
commit
8b5a02297a
1 changed files with 8 additions and 16 deletions
|
@ -107,7 +107,7 @@ INCH = 25.4;
|
||||||
|
|
||||||
// Constant: LEFT
|
// Constant: LEFT
|
||||||
// Topics: Constants, Vectors
|
// Topics: Constants, Vectors
|
||||||
// See Also: RIGHT, FRONT, BACK, UP, DOWN, CENTER, ALLPOS, ALLNEG
|
// See Also: RIGHT, FRONT, BACK, UP, DOWN, CENTER
|
||||||
// Description: Vector pointing left. [-1,0,0]
|
// Description: Vector pointing left. [-1,0,0]
|
||||||
// Example(3D): Usage with `anchor`
|
// Example(3D): Usage with `anchor`
|
||||||
// cuboid(20, anchor=LEFT);
|
// cuboid(20, anchor=LEFT);
|
||||||
|
@ -115,7 +115,7 @@ LEFT = [-1, 0, 0];
|
||||||
|
|
||||||
// Constant: RIGHT
|
// Constant: RIGHT
|
||||||
// Topics: Constants, Vectors
|
// Topics: Constants, Vectors
|
||||||
// See Also: LEFT, FRONT, BACK, UP, DOWN, CENTER, ALLPOS, ALLNEG
|
// See Also: LEFT, FRONT, BACK, UP, DOWN, CENTER
|
||||||
// Description: Vector pointing right. [1,0,0]
|
// Description: Vector pointing right. [1,0,0]
|
||||||
// Example(3D): Usage with `anchor`
|
// Example(3D): Usage with `anchor`
|
||||||
// cuboid(20, anchor=RIGHT);
|
// cuboid(20, anchor=RIGHT);
|
||||||
|
@ -124,7 +124,7 @@ RIGHT = [ 1, 0, 0];
|
||||||
// Constant: FRONT
|
// Constant: FRONT
|
||||||
// Aliases: FWD, FORWARD
|
// Aliases: FWD, FORWARD
|
||||||
// Topics: Constants, Vectors
|
// Topics: Constants, Vectors
|
||||||
// See Also: LEFT, RIGHT, BACK, UP, DOWN, CENTER, ALLPOS, ALLNEG
|
// See Also: LEFT, RIGHT, BACK, UP, DOWN, CENTER
|
||||||
// Description: Vector pointing forward. [0,-1,0]
|
// Description: Vector pointing forward. [0,-1,0]
|
||||||
// Example(3D): Usage with `anchor`
|
// Example(3D): Usage with `anchor`
|
||||||
// cuboid(20, anchor=FRONT);
|
// cuboid(20, anchor=FRONT);
|
||||||
|
@ -134,7 +134,7 @@ FORWARD = FRONT;
|
||||||
|
|
||||||
// Constant: BACK
|
// Constant: BACK
|
||||||
// Topics: Constants, Vectors
|
// Topics: Constants, Vectors
|
||||||
// See Also: LEFT, RIGHT, FRONT, UP, DOWN, CENTER, ALLPOS, ALLNEG
|
// See Also: LEFT, RIGHT, FRONT, UP, DOWN, CENTER
|
||||||
// Description: Vector pointing back. [0,1,0]
|
// Description: Vector pointing back. [0,1,0]
|
||||||
// Example(3D): Usage with `anchor`
|
// Example(3D): Usage with `anchor`
|
||||||
// cuboid(20, anchor=BACK);
|
// cuboid(20, anchor=BACK);
|
||||||
|
@ -143,7 +143,7 @@ BACK = [ 0, 1, 0];
|
||||||
// Constant: BOTTOM
|
// Constant: BOTTOM
|
||||||
// Aliases: BOT, DOWN
|
// Aliases: BOT, DOWN
|
||||||
// Topics: Constants, Vectors
|
// Topics: Constants, Vectors
|
||||||
// See Also: LEFT, RIGHT, FRONT, BACK, UP, CENTER, ALLPOS, ALLNEG
|
// See Also: LEFT, RIGHT, FRONT, BACK, UP, CENTER
|
||||||
// Description: Vector pointing down. [0,0,-1]
|
// Description: Vector pointing down. [0,0,-1]
|
||||||
// Example(3D): Usage with `anchor`
|
// Example(3D): Usage with `anchor`
|
||||||
// cuboid(20, anchor=BOTTOM);
|
// cuboid(20, anchor=BOTTOM);
|
||||||
|
@ -154,24 +154,16 @@ DOWN = BOTTOM;
|
||||||
// Constant: TOP
|
// Constant: TOP
|
||||||
// Aliases: UP
|
// Aliases: UP
|
||||||
// Topics: Constants, Vectors
|
// Topics: Constants, Vectors
|
||||||
// See Also: LEFT, RIGHT, FRONT, BACK, DOWN, CENTER, ALLPOS, ALLNEG
|
// See Also: LEFT, RIGHT, FRONT, BACK, DOWN, CENTER
|
||||||
// Description: Vector pointing up. [0,0,1]
|
// Description: Vector pointing up. [0,0,1]
|
||||||
// Example(3D): Usage with `anchor`
|
// Example(3D): Usage with `anchor`
|
||||||
// cuboid(20, anchor=TOP);
|
// cuboid(20, anchor=TOP);
|
||||||
TOP = [ 0, 0, 1];
|
TOP = [ 0, 0, 1];
|
||||||
UP = TOP;
|
UP = TOP;
|
||||||
|
|
||||||
// Constant: ALLPOS
|
|
||||||
// Topics: Constants, Vectors
|
|
||||||
// See Also: LEFT, RIGHT, FRONT, BACK, UP, DOWN, CENTER, ALLNEG
|
|
||||||
// Description: Vector pointing right, back, and up. [1,1,1]
|
|
||||||
// Example(3D): Usage with `anchor`
|
|
||||||
// cuboid(20, anchor=ALLPOS);
|
|
||||||
ALLPOS = [ 1, 1, 1]; // Vector pointing X+,Y+,Z+.
|
|
||||||
|
|
||||||
// Constant: ALLNEG
|
// Constant: ALLNEG
|
||||||
// Topics: Constants, Vectors
|
// Topics: Constants, Vectors
|
||||||
// See Also: LEFT, RIGHT, FRONT, BACK, UP, DOWN, CENTER, ALLPOS
|
// See Also: LEFT, RIGHT, FRONT, BACK, UP, DOWN, CENTER
|
||||||
// Description: Vector pointing left, forwards, and down. [-1,-1,-1]
|
// Description: Vector pointing left, forwards, and down. [-1,-1,-1]
|
||||||
// Example(3D): Usage with `anchor`
|
// Example(3D): Usage with `anchor`
|
||||||
// cuboid(20, anchor=ALLNEG);
|
// cuboid(20, anchor=ALLNEG);
|
||||||
|
@ -180,7 +172,7 @@ ALLNEG = [-1, -1, -1]; // Vector pointing X-,Y-,Z-.
|
||||||
// Constant: CENTER
|
// Constant: CENTER
|
||||||
// Aliases: CTR
|
// Aliases: CTR
|
||||||
// Topics: Constants, Vectors
|
// Topics: Constants, Vectors
|
||||||
// See Also: LEFT, RIGHT, FRONT, BACK, UP, DOWN, ALLNEG, ALLPOS
|
// See Also: LEFT, RIGHT, FRONT, BACK, UP, DOWN
|
||||||
// Description: Zero vector. Centered. [0,0,0]
|
// Description: Zero vector. Centered. [0,0,0]
|
||||||
// Example(3D): Usage with `anchor`
|
// Example(3D): Usage with `anchor`
|
||||||
// cuboid(20, anchor=CENTER);
|
// cuboid(20, anchor=CENTER);
|
||||||
|
|
Loading…
Reference in a new issue