Files
modeling-app/docs/kcl-std/functions/std-sketch-profileStart.md
2025-06-04 15:41:01 -04:00

78 KiB

title, subtitle, excerpt, layout
title subtitle excerpt layout
profileStart Function in std::sketch 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): Point2d

Arguments

Name Type Description Required
profile Sketch Profile whose start is being used. Yes

Returns

Point2d - A point in two dimensional space.

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)

Rendered example of profileStart 0