@@ -36,26 +36,38 @@ <h2>Constants</h2>
36
36
< dd > undefined value</ dd >
37
37
< dt > < code > < a href ="https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/General#Numbers "> PI</ a > </ code > </ dt >
38
38
< dd > mathematical constant < a href ="https://en.wikipedia.org/wiki/Pi "> π</ a > (~3.14159)</ dd >
39
+ < dt > < code > < a href ="https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/General#Numbers "> 0xHHH…</ a > </ code > </ dt >
40
+ < dd > Hexadecimal number</ dd >
39
41
</ dl >
40
42
</ article >
41
43
< article >
42
44
< h2 > Operators</ h2 >
43
45
< dl >
44
- < dt > < code > < a href ="https://en.wikibooks.org/w/index.php?title=OpenSCAD_User_Manual/Mathematical_Operators#Scalar_Arithmetical_Operators "> n + m</ a > </ code > </ dt > < dd > Addition</ dd >
45
- < dt > < code > < a href ="https://en.wikibooks.org/w/index.php?title=OpenSCAD_User_Manual/Mathematical_Operators#Scalar_Arithmetical_Operators "> n - m</ a > </ code > </ dt > < dd > Subtraction</ dd >
46
- < dt > < code > < a href ="https://en.wikibooks.org/w/index.php?title=OpenSCAD_User_Manual/Mathematical_Operators#Scalar_Arithmetical_Operators "> n * m</ a > </ code > </ dt > < dd > Multiplication</ dd >
47
- < dt > < code > < a href ="https://en.wikibooks.org/w/index.php?title=OpenSCAD_User_Manual/Mathematical_Operators#Scalar_Arithmetical_Operators "> n / m</ a > </ code > </ dt > < dd > Division</ dd >
48
- < dt > < code > < a href ="https://en.wikibooks.org/w/index.php?title=OpenSCAD_User_Manual/Mathematical_Operators#Scalar_Arithmetical_Operators "> n % m</ a > </ code > </ dt > < dd > Modulo</ dd >
49
- < dt > < code > < a href ="https://en.wikibooks.org/w/index.php?title=OpenSCAD_User_Manual/Mathematical_Operators#Scalar_Arithmetical_Operators "> n ^ m</ a > </ code > </ dt > < dd > Exponentiation</ dd >
50
- < dt > < code > < a href ="https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Mathematical_Operators#Relational_Operators "> n < m </ a > </ code > </ dt > < dd > Less Than</ dd >
51
- < dt > < code > < a href ="https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Mathematical_Operators#Relational_Operators "> n < = m</ a > </ code > </ dt > < dd > Less or Equal</ dd >
52
- < dt > < code > < a href ="https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Mathematical_Operators#Relational_Operators "> b == c</ a > </ code > </ dt > < dd > Equal</ dd >
53
- < dt > < code > < a href ="https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Mathematical_Operators#Relational_Operators "> b != c</ a > </ code > </ dt > < dd > Not Equal</ dd >
54
- < dt > < code > < a href ="https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Mathematical_Operators#Relational_Operators "> n > = m</ a > </ code > </ dt > < dd > Greater or Equal</ dd >
55
- < dt > < code > < a href ="https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Mathematical_Operators#Relational_Operators "> n > m</ a > </ code > </ dt > < dd > Greater Than</ dd >
56
- < dt > < code > < a href ="https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Mathematical_Operators#Logical_Operators "> b && c</ a > </ code > </ dt > < dd > Logical And</ dd >
57
- < dt > < code > < a href ="https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Mathematical_Operators#Logical_Operators "> b || c</ a > </ code > </ dt > < dd > Logical Or</ dd >
58
- < dt > < code > < a href ="https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Mathematical_Operators#Logical_Operators "> !b</ a > </ code > </ dt > < dd > Negation</ dd >
46
+ <!-- Scalar -->
47
+ < dt > < code > < a href ="https://en.wikibooks.org/w/index.php?title=OpenSCAD_User_Manual/Mathematical_Operators#Scalar_arithmetic_operators "> n + m</ a > </ code > </ dt > < dd > Addition</ dd >
48
+ < dt > < code > < a href ="https://en.wikibooks.org/w/index.php?title=OpenSCAD_User_Manual/Mathematical_Operators#Scalar_arithmetic_operators "> n - m</ a > </ code > </ dt > < dd > Subtraction</ dd >
49
+ < dt > < code > < a href ="https://en.wikibooks.org/w/index.php?title=OpenSCAD_User_Manual/Mathematical_Operators#Scalar_arithmetic_operators "> n * m</ a > </ code > </ dt > < dd > Multiplication</ dd >
50
+ < dt > < code > < a href ="https://en.wikibooks.org/w/index.php?title=OpenSCAD_User_Manual/Mathematical_Operators#Scalar_arithmetic_operators "> n / m</ a > </ code > </ dt > < dd > Division</ dd >
51
+ < dt > < code > < a href ="https://en.wikibooks.org/w/index.php?title=OpenSCAD_User_Manual/Mathematical_Operators#Scalar_arithmetic_operators "> n % m</ a > </ code > </ dt > < dd > Modulo</ dd >
52
+ < dt > < code > < a href ="https://en.wikibooks.org/w/index.php?title=OpenSCAD_User_Manual/Mathematical_Operators#Scalar_arithmetic_operators "> n ^ m</ a > </ code > </ dt > < dd > Exponentiation</ dd >
53
+ < dt > < code > < a href ="https://en.wikibooks.org/w/index.php?title=OpenSCAD_User_Manual/Mathematical_Operators#Scalar_arithmetic_operators "> - n</ a > </ code > </ dt > < dd > Negation</ dd >
54
+ <!-- Binary -->
55
+ < dt > < code > < a href ="https://en.wikibooks.org/w/index.php?title=OpenSCAD_User_Manual/Mathematical_Operators#Binary_arithmetic "> n | m</ a > </ code > </ dt > < dd > Binary Or</ dd >
56
+ < dt > < code > < a href ="https://en.wikibooks.org/w/index.php?title=OpenSCAD_User_Manual/Mathematical_Operators#Binary_arithmetic "> n & m</ a > </ code > </ dt > < dd > Binary And</ dd >
57
+ < dt > < code > < a href ="https://en.wikibooks.org/w/index.php?title=OpenSCAD_User_Manual/Mathematical_Operators#Binary_arithmetic "> n << m</ a > </ code > </ dt > < dd > Left shift</ dd >
58
+ < dt > < code > < a href ="https://en.wikibooks.org/w/index.php?title=OpenSCAD_User_Manual/Mathematical_Operators#Binary_arithmetic "> n >> m</ a > </ code > </ dt > < dd > Right shift (sign preserving)</ dd >
59
+ < dt > < code > < a href ="https://en.wikibooks.org/w/index.php?title=OpenSCAD_User_Manual/Mathematical_Operators#Binary_arithmetic "> ~ n</ a > </ code > </ dt > < dd > Binary Not</ dd >
60
+ <!-- Relational -->
61
+ < dt > < code > < a href ="https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Mathematical_Operators#Relational_operators "> n < m </ a > </ code > </ dt > < dd > Less Than</ dd >
62
+ < dt > < code > < a href ="https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Mathematical_Operators#Relational_operators "> n < = m</ a > </ code > </ dt > < dd > Less or Equal</ dd >
63
+ < dt > < code > < a href ="https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Mathematical_Operators#Relational_operators "> b == c</ a > </ code > </ dt > < dd > Equal</ dd >
64
+ < dt > < code > < a href ="https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Mathematical_Operators#Relational_operators "> b != c</ a > </ code > </ dt > < dd > Not Equal</ dd >
65
+ < dt > < code > < a href ="https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Mathematical_Operators#Relational_operators "> n > = m</ a > </ code > </ dt > < dd > Greater or Equal</ dd >
66
+ < dt > < code > < a href ="https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Mathematical_Operators#Relational_operators "> n > m</ a > </ code > </ dt > < dd > Greater Than</ dd >
67
+ <!-- Logical -->
68
+ < dt > < code > < a href ="https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Mathematical_Operators#Logical_operators "> b && c</ a > </ code > </ dt > < dd > Logical And</ dd >
69
+ < dt > < code > < a href ="https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Mathematical_Operators#Logical_operators "> b || c</ a > </ code > </ dt > < dd > Logical Or</ dd >
70
+ < dt > < code > < a href ="https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Mathematical_Operators#Logical_operators "> ! b</ a > </ code > </ dt > < dd > Logical Negation</ dd >
59
71
</ dl >
60
72
</ article >
61
73
< article >
0 commit comments