Show the SketchGroup can be found even if it's deeper in an object (#3462)
* Show the SketchGroup can be found even if it's deeper in an object * trigger rust Signed-off-by: Jess Frazelle <github@jessfraz.com> --------- Signed-off-by: Jess Frazelle <github@jessfraz.com> Co-authored-by: Jess Frazelle <jessfraz@users.noreply.github.com> Co-authored-by: Jess Frazelle <github@jessfraz.com>
This commit is contained in:
2
.github/workflows/cargo-test.yml
vendored
2
.github/workflows/cargo-test.yml
vendored
@ -7,6 +7,7 @@ on:
|
|||||||
- '**/Cargo.toml'
|
- '**/Cargo.toml'
|
||||||
- '**/Cargo.lock'
|
- '**/Cargo.lock'
|
||||||
- '**/rust-toolchain.toml'
|
- '**/rust-toolchain.toml'
|
||||||
|
- 'src/wasm-lib/**.kcl'
|
||||||
- .github/workflows/cargo-test.yml
|
- .github/workflows/cargo-test.yml
|
||||||
|
|
||||||
pull_request:
|
pull_request:
|
||||||
@ -15,6 +16,7 @@ on:
|
|||||||
- '**/Cargo.toml'
|
- '**/Cargo.toml'
|
||||||
- '**/Cargo.lock'
|
- '**/Cargo.lock'
|
||||||
- '**/rust-toolchain.toml'
|
- '**/rust-toolchain.toml'
|
||||||
|
- 'src/wasm-lib/**.kcl'
|
||||||
- .github/workflows/cargo-test.yml
|
- .github/workflows/cargo-test.yml
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
permissions: read-all
|
permissions: read-all
|
||||||
|
@ -9,12 +9,14 @@ fn test = () => {
|
|||||||
|
|
||||||
fn test2 = () => {
|
fn test2 = () => {
|
||||||
return {
|
return {
|
||||||
thing: startSketchOn('XY')
|
thing1: {
|
||||||
|> startProfileAt([0, 0], %)
|
thing2: startSketchOn('XY')
|
||||||
|> line([0, 1], %)
|
|> startProfileAt([0, 0], %)
|
||||||
|> line([1, 0], %)
|
|> line([0, 1], %)
|
||||||
|> line([0, -1], %)
|
|> line([1, 0], %)
|
||||||
|> close(%)
|
|> line([0, -1], %)
|
||||||
|
|> close(%)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -23,5 +25,5 @@ x
|
|||||||
|> extrude(-10, %)
|
|> extrude(-10, %)
|
||||||
|
|
||||||
const x2 = test2()
|
const x2 = test2()
|
||||||
x2.thing
|
x2.thing1.thing2
|
||||||
|> extrude(10, %)
|
|> extrude(10, %)
|
||||||
|
Reference in New Issue
Block a user