Kwargs: startProfileAt (#6424)
Previous: ``` startProfileAt([x, y], %) startProfileAt([x, y], sketch001) ``` New: ``` startProfile(%, at = [x, y]) startProfile(sketch001, at = [x, y]) ```
This commit is contained in:
		@ -1,6 +1,6 @@
 | 
			
		||||
fn cube(pos, scale) {
 | 
			
		||||
  sg = startSketchOn(XY)
 | 
			
		||||
    |> startProfileAt(pos, %)
 | 
			
		||||
    |> startProfile(at = pos)
 | 
			
		||||
    |> line(end = [0, scale])
 | 
			
		||||
    |> line(end = [scale, 0])
 | 
			
		||||
    |> line(end = [0, -scale])
 | 
			
		||||
@ -12,7 +12,7 @@ part001 = cube([0, 0], 20)
 | 
			
		||||
  |> extrude(length = 20) as foo
 | 
			
		||||
 | 
			
		||||
part002 = startSketchOn(foo, face = "start")
 | 
			
		||||
  |> startProfileAt([0, 0], %)
 | 
			
		||||
  |> startProfile(at = [0, 0])
 | 
			
		||||
  |> line(end = [0, 10])
 | 
			
		||||
  |> line(end = [10, 0])
 | 
			
		||||
  |> line(end = [0, -10])
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user