|
27 | 27 | {'name': 'scale', 'kwargs': {'v': 0.5}, 'expected': '\n\nscale(v = 0.5000000000);', 'args': {}, },
|
28 | 28 | {'name': 'rotate', 'kwargs': {'a': 45, 'v': [0, 0, 1]}, 'expected': '\n\nrotate(a = 45, v = [0, 0, 1]);', 'args': {}, },
|
29 | 29 | {'name': 'mirror', 'kwargs': {}, 'expected': '\n\nmirror(v = [0, 0, 1]);', 'args': {'v': [0, 0, 1]}, },
|
| 30 | +{'name': 'resize', 'kwargs': {'newsize':[5,5,5], 'auto':[True, True, False]}, 'expected': '\n\nresize(auto = [true, true, false], newsize = [5, 5, 5]);', 'args': {}, }, |
30 | 31 | {'name': 'multmatrix', 'kwargs': {}, 'expected': '\n\nmultmatrix(m = [[1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]);', 'args': {'m': [[1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]}, },
|
31 | 32 | {'name': 'color', 'kwargs': {}, 'expected': '\n\ncolor(c = [1, 0, 0]);', 'args': {'c': [1, 0, 0]}, },
|
32 | 33 | {'name': 'minkowski', 'kwargs': {}, 'expected': '\n\nminkowski();', 'args': {}, },
|
@@ -202,7 +203,7 @@ def test_separate_part_hole(self):
|
202 | 203 | # Make two parts, a block with hole, and a cylinder that
|
203 | 204 | # fits inside it. Make them separate parts, meaning
|
204 | 205 | # holes will be defined at the level of the part_root node,
|
205 |
| - # not the overall node. This allows us to preserve holes as |
| 206 | + # not the overall node. This allows us to perve holes as |
206 | 207 | # first class space, but then to actually fill them in with
|
207 | 208 | # the parts intended to fit in them.
|
208 | 209 | b = cube(10, center=True)
|
|
0 commit comments