* Support modules in docs Signed-off-by: Nick Cameron <nrc@ncameron.org> * shuffle around directories Signed-off-by: Nick Cameron <nrc@ncameron.org> --------- Signed-off-by: Nick Cameron <nrc@ncameron.org>
78 KiB
78 KiB
title, excerpt, layout
title | excerpt | layout |
---|---|---|
profileStart | Extract the provided 2-dimensional sketch's profile's origin value. | manual |
Extract the provided 2-dimensional sketch's profile's origin value.
profileStart(profile: Sketch): [number]
Arguments
Name | Type | Description | Required |
---|---|---|---|
profile |
Sketch |
Profile whose start is being used | Yes |
Returns
Examples
sketch001 = startSketchOn(XY)
|> startProfile(at = [5, 2])
|> angledLine(angle = 120, length = 50, tag = $seg01)
|> angledLine(angle = segAng(seg01) + 120, length = 50)
|> line(end = profileStart(%))
|> close()
|> extrude(length = 20)