Previous: ``` startProfileAt([x, y], %) startProfileAt([x, y], sketch001) ``` New: ``` startProfile(%, at = [x, y]) startProfile(sketch001, at = [x, y]) ```
		
			
				
	
	
		
			18 lines
		
	
	
		
			354 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			354 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
---
 | 
						|
source: kcl-lib/src/simulation_tests.rs
 | 
						|
description: Result of unparsing helix_simple.kcl
 | 
						|
---
 | 
						|
// Create a helix around an edge.
 | 
						|
helper001 = startSketchOn(XZ)
 | 
						|
  |> startProfile(at = [0, 0])
 | 
						|
  |> line(end = [0, 10], tag = $edge001)
 | 
						|
 | 
						|
helixPath = helix(
 | 
						|
  angleStart = 0,
 | 
						|
  ccw = true,
 | 
						|
  revolutions = 5,
 | 
						|
  length = 10,
 | 
						|
  radius = 5,
 | 
						|
  axis = edge001,
 | 
						|
)
 |