19 lines
		
	
	
		
			486 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
		
		
			
		
	
	
			19 lines
		
	
	
		
			486 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
|   | --- | ||
|  | source: kcl-lib/src/simulation_tests.rs | ||
|  | description: Result of unparsing clone_w_shell.kcl | ||
|  | --- | ||
|  | // Remove the end face for the extrusion. | ||
|  | firstSketch = startSketchOn(XY) | ||
|  |   |> startProfile(at = [-12, 12]) | ||
|  |   |> line(end = [24, 0]) | ||
|  |   |> line(end = [0, -24]) | ||
|  |   |> line(end = [-24, 0]) | ||
|  |   |> close() | ||
|  |   |> extrude(length = 6) | ||
|  | 
 | ||
|  | // Remove the end face for the extrusion. | ||
|  | firstShell = shell(firstSketch, faces = [END], thickness = 0.25) | ||
|  | 
 | ||
|  | secondShell = clone(firstShell) | ||
|  |   |> translate(x = 50) |