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:
@ -66,7 +66,7 @@ fn rightInvolute(i, sg) {
|
||||
|
||||
// Draw gear teeth
|
||||
start = startSketchOn(XY)
|
||||
|> startProfileAt([xs[101], ys[101]], %)
|
||||
|> startProfile(at = [xs[101], ys[101]])
|
||||
teeth = reduce([0..100], start, leftInvolute)
|
||||
|> arc(
|
||||
angleStart = 0,
|
||||
@ -93,10 +93,7 @@ startAngle = asin(keywayWidth / 2 / holeRadius)
|
||||
|
||||
// Sketch the keyway and center hole and extrude
|
||||
keyWay = startSketchOn(body, face = END)
|
||||
|> startProfileAt([
|
||||
holeRadius * cos(startAngle),
|
||||
holeRadius * sin(startAngle)
|
||||
], %)
|
||||
|> startProfile(at = [holeRadius * cos(startAngle), holeRadius * sin(startAngle)])
|
||||
|> xLine(length = keywayDepth)
|
||||
|> yLine(length = -keywayWidth)
|
||||
|> xLine(length = -keywayDepth)
|
||||
|
Reference in New Issue
Block a user