Skip to content

Conversation

alteous
Copy link
Contributor

@alteous alteous commented Aug 29, 2025

No description provided.

Copy link

vercel bot commented Aug 29, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
modeling-app Ready Ready Preview Comment Aug 29, 2025 1:11pm

@alteous
Copy link
Contributor Author

alteous commented Aug 29, 2025

It's not possible to distinguish edges from faces with this design. Compare these scenarios:

label(rectangleSegmentA001, text = "hello!") // labels the tagged edge
sketch002 = startSketchOn(profile001, face = rectangleSegmentA001) // sketches on the face formed by the tagged edge

Perhaps we could disambiguate these scenarios by the parameter name:

label(face = rectangleSegmentA00, text = "face label")
label(surface = rectangleSegmentA00, text = "surface label")
label(edge = rectangleSegmentA00, text = "edge label")
label(curve = rectangleSegmentA00, text = "curve label")

) {}

/// Set a label.
@(impl = std_rust)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please mark this as experimental until we settle on the final API.

Suggested change
@(impl = std_rust)
@(impl = std_rust, experimental = true)

You'll want to use @settings(experimentalFeatures = allow) at the top of your KCL file to be able to call it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants