mirror of https://github.com/vitalif/openscad
36 lines
1.9 KiB
Plaintext
36 lines
1.9 KiB
Plaintext
polygon(points = undef, paths = undef, convexity = 1);
|
|
polygon(points = [], paths = undef, convexity = 1);
|
|
polygon(points = [[], []], paths = undef, convexity = 1);
|
|
polygon(points = [[[]]], paths = undef, convexity = 1);
|
|
multmatrix([[1, 0, 0, 2], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
|
|
polygon(points = [[0, 0], [1, 0], [1, 1]], paths = undef, convexity = 1);
|
|
}
|
|
multmatrix([[1, 0, 0, 0], [0, 1, 0, 2], [0, 0, 1, 0], [0, 0, 0, 1]]) {
|
|
polygon(points = [[0, 0]], paths = undef, convexity = 1);
|
|
}
|
|
multmatrix([[1, 0, 0, 2], [0, 1, 0, 2], [0, 0, 1, 0], [0, 0, 0, 1]]) {
|
|
polygon(points = [[0, 0], [1, 1]], paths = undef, convexity = 1);
|
|
}
|
|
multmatrix([[1, 0, 0, 2], [0, 1, 0, 2], [0, 0, 1, 0], [0, 0, 0, 1]]) {
|
|
polygon(points = [[0, 0], [1, 1], [2, 2]], paths = undef, convexity = 1);
|
|
}
|
|
multmatrix([[1, 0, 0, 0], [0, 1, 0, -2], [0, 0, 1, 0], [0, 0, 0, 1]]) {
|
|
polygon(points = [[0, 0], [1, 0], [1, 1], [0, 1]], paths = undef, convexity = 1);
|
|
}
|
|
multmatrix([[1, 0, 0, 0], [0, 1, 0, -4], [0, 0, 1, 0], [0, 0, 0, 1]]) {
|
|
polygon(points = [[0, 0], [1, 0], [1, 1], [0, 1]], paths = [], convexity = 1);
|
|
}
|
|
multmatrix([[1, 0, 0, 2], [0, 1, 0, -2], [0, 0, 1, 0], [0, 0, 0, 1]]) {
|
|
polygon(points = [[0, 0], [1, 0], [0.8, 0.5], [1, 1], [0, 1]], paths = undef, convexity = 1);
|
|
}
|
|
multmatrix([[1, 0, 0, -2], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
|
|
polygon(points = [[0, 0], [0.5, -0.2], [1, 0], [1.2, 0.5], [1, 1], [0.5, 1.2], [0, 1], [-0.2, 0.5]], paths = undef, convexity = 1);
|
|
}
|
|
multmatrix([[1, 0, 0, -2], [0, 1, 0, -2], [0, 0, 1, 0], [0, 0, 0, 1]]) {
|
|
polygon(points = [[0, 0], [0.5, -0.2], [1, 0], [1.2, 0.5], [1, 1], [0.5, 1.2], [0, 1], [-0.2, 0.5]], paths = [[0, 1, 2, 3], [4, 5, 6, 7]], convexity = 1);
|
|
}
|
|
multmatrix([[1, 0, 0, 2], [0, 1, 0, -4], [0, 0, 1, 0], [0, 0, 0, 1]]) {
|
|
polygon(points = [[0, 0], [1, 0], [1, 1], [0, 0]], paths = undef, convexity = 1);
|
|
}
|
|
|