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:
Adam Chalmers
2024-08-20 23:12:38 -05:00
committed by GitHub
parent f14c27e1c4
commit 61dc94b1ee
2 changed files with 11 additions and 7 deletions

View File

@ -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

View File

@ -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, %)