Skip to content
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

[BUG]: After creating a sketch on an existing model face, sketch ends up on wrong plane, produces internal error #2528

Closed
yeroca opened this issue May 24, 2024 · 9 comments · Fixed by #2753
Assignees
Labels
bug Something isn't working engine high-priority

Comments

@yeroca
Copy link

yeroca commented May 24, 2024

Describe the bug

If I select an existing face on a model, for example a face of the example shelf bracket, and then create a simple line sketch on that face, then exit the sketch, I see that the polygon sketch I created has been place on the XY plane instead of the face, and also there's an internal error showing in the code view.

Steps to Reproduce

  1. Open the existing shelf bracket model
  2. click sketch
  3. select a planar face of the shelf bracket
  4. sketch a simple polygon
  5. exit sketch
  6. notice location of sketch (not on bracket face), and internal error showing in code view

Expected Behavior

I expected that the sketch will be on the chosen face

Screenshots and Recordings

Screencast.from.2024-05-24.16-45-15.webm

Desktop OS

Fedora 39

Browser

Firefox 126.0

Version

0.21.9

Additional Context

No response

@yeroca yeroca added the bug Something isn't working label May 24, 2024
@jessfraz
Copy link
Contributor

Yeah revolve hasn’t been pulled thru to click and point yet, you can track what is pulled thru where here #729

@yeroca
Copy link
Author

yeroca commented May 29, 2024

Yeah revolve hasn’t been pulled thru to click and point yet, you can track what is pulled thru where here #729

I think this comment may be on the wrong issue. There's no revolve in this example.

@jessfraz
Copy link
Contributor

im sorry it was! i moved it!

@jessfraz
Copy link
Contributor

hmm I cant tell if this is engine side or not but its curious, the other annoying thing is did it not zoom you automatically on click to the face when you said you wanted to sketch on it?

@jessfraz
Copy link
Contributor

i opened a seperate issue for the zoom thing, its giving "this this a sketch for ants" vibes

@jessfraz
Copy link
Contributor

I assigned @Irev-Dev only to rule out the front end selecting the wrong face? but this could also be kcl, or even engine

@franknoirot
Copy link
Collaborator

hmm I cant tell if this is engine side or not but its curious

Back in the day before we had sketches on non-XY planes working, when we would try to sketch on XZ it would successfully sketch but then render on the XY plane. This looks similar to me, that something like the face ID is invalid or missing, so when we exit sketch mode and submit it to the engine it quietly fails and bails out to rendering the sketch as if on the XY plane.

@jessfraz
Copy link
Contributor

if i get rid of the fillets it works, this is an order of operations thing we need to do the fillets last in the executor since they eat ids.

@jessfraz
Copy link
Contributor

related to #2227

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working engine high-priority
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants