-
Notifications
You must be signed in to change notification settings - Fork 85
docs: Change KCL docs examples to use startProfile() with explicit argument #7885
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
504c1db
to
b0cb94d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure why some of the output images changed, but this is worth trying!
Output images changed because the lines that extruded were commented with regular comments |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you know why these changed? I thought the rectangles were already extruded on main.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I already commented on this. #7885 (comment)
/// |> rectangle(center = [0, 0], width = 10, height = 5) | ||
// |> extrude(length = 2) | ||
/// rectSolid = rectangle(exampleSketch, center = [0, 0], width = 10, height = 5) | ||
/// |> extrude(length = 2) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@adamchalmers, see the missing slash that I fixed here?
Instead of:
change to:
This is more like how the app generates code, and it will hopefully give more examples to Text-to-CAD that the first parameter is required. Text-to-CAD seems to get this wrong a lot.
This doesn't update everything. We can follow-up with more if needed.