mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2024-12-29 00:09:41 +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
|
||||
// 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]
|
||||
// Example(3D): Usage with `anchor`
|
||||
// cuboid(20, anchor=LEFT);
|
||||
|
@ -115,7 +115,7 @@ LEFT = [-1, 0, 0];
|
|||
|
||||
// Constant: RIGHT
|
||||
// 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]
|
||||
// Example(3D): Usage with `anchor`
|
||||
// cuboid(20, anchor=RIGHT);
|
||||
|
@ -124,7 +124,7 @@ RIGHT = [ 1, 0, 0];
|
|||
// Constant: FRONT
|
||||
// Aliases: FWD, FORWARD
|
||||
// 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]
|
||||
// Example(3D): Usage with `anchor`
|
||||
// cuboid(20, anchor=FRONT);
|
||||
|
@ -134,7 +134,7 @@ FORWARD = FRONT;
|
|||
|
||||
// Constant: BACK
|
||||
// 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]
|
||||
// Example(3D): Usage with `anchor`
|
||||
// cuboid(20, anchor=BACK);
|
||||
|
@ -143,7 +143,7 @@ BACK = [ 0, 1, 0];
|
|||
// Constant: BOTTOM
|
||||
// Aliases: BOT, DOWN
|
||||
// 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]
|
||||
// Example(3D): Usage with `anchor`
|
||||
// cuboid(20, anchor=BOTTOM);
|
||||
|
@ -154,24 +154,16 @@ DOWN = BOTTOM;
|
|||
// Constant: TOP
|
||||
// Aliases: UP
|
||||
// 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]
|
||||
// Example(3D): Usage with `anchor`
|
||||
// cuboid(20, anchor=TOP);
|
||||
TOP = [ 0, 0, 1];
|
||||
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
|
||||
// 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]
|
||||
// Example(3D): Usage with `anchor`
|
||||
// cuboid(20, anchor=ALLNEG);
|
||||
|
@ -180,7 +172,7 @@ ALLNEG = [-1, -1, -1]; // Vector pointing X-,Y-,Z-.
|
|||
// Constant: CENTER
|
||||
// Aliases: CTR
|
||||
// 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]
|
||||
// Example(3D): Usage with `anchor`
|
||||
// cuboid(20, anchor=CENTER);
|
||||
|
|
Loading…
Reference in a new issue