-
Notifications
You must be signed in to change notification settings - Fork 55
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
Deletion of Sketch on Offset Plane in the feature tree misses the profiles #5385
Comments
This is definitely something to do with @jtran expressed some concern that this has something to do with the artifact graph representation of offset planes, so I want to leave space in case that is where the problem actually lies. That would probably be something about sketches on offset planes creating new plane artifacts. |
Okay yes, this is related to the artifact graph representation of offset planes. Selecting the sketch item that is on an offset plane gets a null artifact, then the source range is naive and only deletes the plane's declaration line. |
I think this is the TODO that I need to...do. https://github.com/KittyCAD/modeling-app/blob/main/src/wasm-lib/kcl/src/execution/artifact.rs#L344-L346 |
We should chat about this. |
Does this branch, adding the code ref, help at all? main...jtran/plane-code-ref |
Let me try @jtran, thanks! |
@jtran I don't think I can see this codeRef in the artifactGraph because "sketch" type artifacts are not included there? Let me know if I'm mistaken though Screenshare.-.2025-02-20.12_22_23.PM-compressed.mp4 |
The TODO and the code_ref branch so far only affects sketch-on-face. Specifically if you use |
I'm a little confused, here's my KCL code:
I though I was using |
Screen.Recording.2025-02-14.at.8.43.35.AM.copy.mov
Originally posted by @pierremtb in #5196 (comment)
The text was updated successfully, but these errors were encountered: