Skip to content

Change samples to call startProfile() with explicit sketch parameter #7884

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

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

jtran
Copy link
Contributor

@jtran jtran commented Jul 22, 2025

Instead of:

thing = startSketchOn(XY)
  |> startProfile(at = [0, 0])

change to:

thingSketch = startSketchOn(XY)
thing = startProfile(thingSketch, at = [0, 0])

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.

Copy link

vercel bot commented Jul 22, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
modeling-app ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 22, 2025 7:17pm

@jtran jtran changed the title Change to call startProfile() with explicit sketch parameter Change samples to call startProfile() with explicit sketch parameter Jul 22, 2025
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.

1 participant