Move tests into simulation (#4487)
Replace wasm-lib integration tests with KCL simulation tests.
This commit is contained in:
19
src/wasm-lib/kcl/tests/linear_pattern3d_a_pattern/input.kcl
Normal file
19
src/wasm-lib/kcl/tests/linear_pattern3d_a_pattern/input.kcl
Normal file
@ -0,0 +1,19 @@
|
||||
exampleSketch = startSketchOn('XZ')
|
||||
|> startProfileAt([0, 0], %)
|
||||
|> line([0, 2], %)
|
||||
|> line([3, 1], %)
|
||||
|> line([0, -4], %)
|
||||
|> close(%)
|
||||
|> extrude(1, %)
|
||||
|
||||
pattn1 = patternLinear3d({
|
||||
axis: [1, 0, 0],
|
||||
instances: 7,
|
||||
distance: 6
|
||||
}, exampleSketch)
|
||||
|
||||
pattn2 = patternLinear3d({
|
||||
axis: [0, 0, 1],
|
||||
distance: 1,
|
||||
instances: 7
|
||||
}, pattn1)
|
||||
Reference in New Issue
Block a user