Previous: ``` startProfileAt([x, y], %) startProfileAt([x, y], sketch001) ``` New: ``` startProfile(%, at = [x, y]) startProfile(sketch001, at = [x, y]) ```
		
			
				
	
	
		
			15 lines
		
	
	
		
			419 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			419 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
---
 | 
						|
source: kcl-lib/src/simulation_tests.rs
 | 
						|
description: Result of unparsing tests/assembly_mixed_units_cubes/cube-inches.kcl
 | 
						|
---
 | 
						|
@settings(defaultLengthUnit = in)
 | 
						|
 | 
						|
sketch001 = startSketchOn(XY)
 | 
						|
cubeIn = startProfile(sketch001, at = [-10, -10])
 | 
						|
  |> xLine(length = 5)
 | 
						|
  |> yLine(length = -5)
 | 
						|
  |> xLine(length = -5)
 | 
						|
  |> line(endAbsolute = [profileStartX(%), profileStartY(%)])
 | 
						|
  |> close()
 | 
						|
  |> extrude(%, length = 5)
 |