Files
modeling-app/docs/kcl-std/getOppositeEdge.md
Nick Cameron 574d6dae7f Add modules to docs (#6699)
* 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>
2025-05-06 11:02:55 +12:00

96 KiB

title, excerpt, layout
title excerpt layout
getOppositeEdge Get the opposite edge to the edge given. manual

Get the opposite edge to the edge given.

getOppositeEdge(edge: TagIdentifier): Uuid

Arguments

Name Type Description Required
edge TagIdentifier The tag of the edge you want to find the opposite edge of. Yes

Returns

Uuid

Examples

exampleSketch = startSketchOn(XZ)
  |> startProfile(at = [0, 0])
  |> line(end = [10, 0])
  |> angledLine(angle = 60, length = 10)
  |> angledLine(angle = 120, length = 10)
  |> line(end = [-10, 0])
  |> angledLine(angle = 240, length = 10, tag = $referenceEdge)
  |> close()

example = extrude(exampleSketch, length = 5)
  |> fillet(radius = 3, tags = [getOppositeEdge(referenceEdge)])

Rendered example of getOppositeEdge 0