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.lock'
 | 
			
		||||
      - '**/rust-toolchain.toml'
 | 
			
		||||
      - 'src/wasm-lib/**.kcl'
 | 
			
		||||
      - .github/workflows/cargo-test.yml
 | 
			
		||||
 | 
			
		||||
  pull_request:
 | 
			
		||||
@ -15,6 +16,7 @@ on:
 | 
			
		||||
      - '**/Cargo.toml'
 | 
			
		||||
      - '**/Cargo.lock'
 | 
			
		||||
      - '**/rust-toolchain.toml'
 | 
			
		||||
      - 'src/wasm-lib/**.kcl'
 | 
			
		||||
      - .github/workflows/cargo-test.yml
 | 
			
		||||
  workflow_dispatch:
 | 
			
		||||
permissions: read-all
 | 
			
		||||
 | 
			
		||||
@ -9,12 +9,14 @@ fn test = () => {
 | 
			
		||||
 | 
			
		||||
fn test2 = () => {
 | 
			
		||||
  return {
 | 
			
		||||
    thing: startSketchOn('XY')
 | 
			
		||||
      |> startProfileAt([0, 0], %)
 | 
			
		||||
      |> line([0, 1], %)
 | 
			
		||||
      |> line([1, 0], %)
 | 
			
		||||
      |> line([0, -1], %)
 | 
			
		||||
      |> close(%)
 | 
			
		||||
    thing1: {
 | 
			
		||||
      thing2: startSketchOn('XY')
 | 
			
		||||
        |> startProfileAt([0, 0], %)
 | 
			
		||||
        |> line([0, 1], %)
 | 
			
		||||
        |> line([1, 0], %)
 | 
			
		||||
        |> line([0, -1], %)
 | 
			
		||||
        |> close(%)
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -23,5 +25,5 @@ x
 | 
			
		||||
  |> extrude(-10, %)
 | 
			
		||||
 | 
			
		||||
const x2 = test2()
 | 
			
		||||
x2.thing
 | 
			
		||||
x2.thing1.thing2
 | 
			
		||||
  |> extrude(10, %)
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user