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:
@ -23,10 +23,7 @@ microUsbWidth = 7.4
|
||||
connectorPadding = 4
|
||||
|
||||
miniHdmiHole = startSketchOn(XY)
|
||||
|> startProfileAt([
|
||||
0,
|
||||
border + miniHdmiDistance - (miniHdmiWidth / 2)
|
||||
], %)
|
||||
|> startProfile(at = [0, border + miniHdmiDistance - (miniHdmiWidth / 2)])
|
||||
|> lineTo([
|
||||
0,
|
||||
border + miniHdmiDistance + miniHdmiWidth / 2
|
||||
@ -42,7 +39,7 @@ miniHdmiHole = startSketchOn(XY)
|
||||
|> close()
|
||||
|
||||
case = startSketchOn(XY)
|
||||
|> startProfileAt([0, 0], %)
|
||||
|> startProfile(at = [0, 0])
|
||||
|> line(endAbsolute = [caseWidth, 0], $edge1)
|
||||
|> line(endAbsolute = [caseWidth, caseLength], $edge2)
|
||||
|> line(endAbsolute = [0, caseLength], $edge3)
|
||||
@ -61,7 +58,7 @@ case = startSketchOn(XY)
|
||||
|
||||
fn m25Screw = (x, y, height) => {
|
||||
screw = startSketchOn(XY)
|
||||
|> startProfileAt([0, 0], %)
|
||||
|> startProfile(at = [0, 0])
|
||||
|> circle(center= [x, y], radius=2.5)
|
||||
|> hole(circle(center= [x, y], radius = 1.25), %)
|
||||
|> extrude(length = height)
|
||||
|
Reference in New Issue
Block a user