* more regression tests Signed-off-by: Jess Frazelle <github@jessfraz.com> * snaps Signed-off-by: Jess Frazelle <github@jessfraz.com> * iupdates Signed-off-by: Jess Frazelle <github@jessfraz.com> --------- Signed-off-by: Jess Frazelle <github@jessfraz.com>
		
			
				
	
	
		
			32 lines
		
	
	
		
			838 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
		
			838 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| ---
 | |
| source: kcl-lib/src/simulation_tests.rs
 | |
| description: Result of unparsing subtract_regression12.kcl
 | |
| ---
 | |
| @settings(defaultLengthUnit = in)
 | |
| 
 | |
| sketch000 = startSketchOn(XY)
 | |
| 
 | |
| sketch000Profile000 = startProfile(sketch000, at = [0.22, 0.5])
 | |
|   |> xLine(length = -0.22)
 | |
|   |> yLine(length = -1)
 | |
|   |> xLine(length = 0.1)
 | |
|   |> line(end = [0.025, 0.1])
 | |
|   |> yLine(length = 0.789)
 | |
|   |> line(end = [0.095, 0.111])
 | |
|   |> close()
 | |
| 
 | |
| revolve000 = revolve(sketch000Profile000, axis = Y, angle = 360)
 | |
| 
 | |
| sketch002 = startSketchOn(YZ)
 | |
| 
 | |
| sketch002Profile000 = startProfile(sketch002, at = [-0.6, 0.02])
 | |
|   |> yLine(length = -0.04)
 | |
|   |> xLine(length = 0.9)
 | |
|   |> yLine(length = 0.04)
 | |
|   |> xLine(length = -0.9)
 | |
|   |> close()
 | |
| 
 | |
| cut000Extrude = extrude([sketch002Profile000], length = 0.2, bidirectionalLength = 0.2)
 | |
| 
 | |
| cut000 = subtract(revolve000, tools = cut000Extrude)
 |