Repository navigation
Replies: 13 comments 15 replies
|
@marcus040473 one more, in the project file and not in your code: a picture of one's own for a surface texture ( |
|
@henmedia I have no objections at all; If you can fix issues without having to wait for my busy schedule, that's all for the good of the project. |
|
@marcus040473 a second round, again in tools you contributed, in 1df7a195c. Results are unchanged in all of these. Overhang line (
Mold & die (
Lid: measuring a screw top ( Surface texture: If you have open branches on these files, please rebase onto |
|
@marcus040473 one more, in 7aa05a55b. The surface texture numbers the corners of its body without a text per corner now ( |
|
@marcus040473 one more for this list: Three places changed: the near points per cell are chained through flat tables instead of a Map of small lists (oldest first, as before, so the same point leads), the quick test in The result is the same to the last bit; I compared old against new on six meshes (near points, open, T-joint, tiny). Commit: d33577cf5 |
|
@marcus040473 @rmpel three more for this list, all in 4b8528c15: Print check and mold (@marcus040473): Surface texture (@marcus040473): a texture that runs out of time now ends its worker. Before, the worker went on, and every later texture waited behind it and timed out too. Simplify mesh (@rmpel): the search for flaps and |
|
@marcus040473 two more for this list, both in b67df5fd4: Vase: Mold, relief die: |
|
@marcus040473 three more for this list, all in 6c5c19f99: Vase, picture patterns: Surface texture, cracks: Lid: the outline of the arrow on a slider latch is now deleted with the rest, and when the kernel fails half-way, the bodies already set aside to hand back are deleted too. The lids are the same. One place is left: if a |
|
Thank you, Stefan, for going through all of this and for writing so clearly what you changed. All of it is fine with me, and storing the pictures only once is a great improvement. I started with your third suggestion, the mold panel's live check. On my branch I can open a pull request for it if you like. The overhang in the worker and the vase after a drag are still on my list, I will look at them next. My open branches are on the current main. Generated by Claude Code |
|
Thanks @henmedia for the careful pass and for the list! I'll go through the points in my files one by one and send the fixes as small pull requests. Generated by Claude Code |
|
Hi @mlugo-apx, thank you for finding this. Yes please, go ahead and take all four places with the unit test in one PR. I'm happy to leave it to you. (@henmedia, so this is settled: mlugo-apx does it.) |
|
A quick follow-up: I went through all 11 points and fixed them in one pull request, with a test for each one I could reproduce. For point 11 (make exact) I could not build a body that reaches those paths either, so that one is a small safety fix without a test. The one you can see most easily is the pattern plate: with the cut at the edge off, motifs of several parts now stay whole at the edge of a round, star or polygon plate. A few of the fixes change what existing settings make (wider trays in boxes that widen upwards, dividers 2 mm higher in L/U/C boxes). I think that is right, but please tell me if you would rather handle any of them differently. Generated by Claude Code |
|
Hi Stefan, I had promised to look at the vase drawing window next, and here it is. When you let go of a point now, the vase is built on the vase worker instead of the main thread. The drag only ends (one undo step) once the full vase is there. For a vase with a pattern, the longest freeze after letting go went from about 2.8 s to 1.4 s in the dev build. What is left is the editor taking the new body in, the same as after a slider. About The branch is Thanks again for the careful review! Generated by Claude Code |





Uh oh!
There was an error while loading. Please reload this page.
@marcus040473 @plazmabokor @rmpel a heads-up, because I changed code in tools you contributed.
I have set up a workflow where Claude Code and Antigravity check and improve each other's work, each with its strongest and most expensive model. One result is a performance pass over the whole editor with very large meshes (a million triangles), and it found a few places in the contributed tools where the page stood still for seconds or used far more memory than needed. I fixed those myself in d6b822f8d, which is on
mainnow.This is not criticism of your work. These things only show with meshes far larger than anyone tests with, and layerling is much better for your tools. It is for the good of everyone who uses it, and I will keep making changes like this where performance or memory need it. I will always tell you what I changed.
@rmpel, Simplify mesh:
@marcus040473, overhang line, print check, texture, lid:
overhangFigures.ts: each body's mesh is read once instead of twice (3.5 s to 3.0 s for a million triangles). The body before an edge treatment is read once per preview.printCheck.ts: open edges of an import are counted on the flat positions (1.2 s to 0.8 s).surfaceTexture.tsandsurfaceTextureMesh.ts: twopush(...list)calls that could overflow the stack are loops now.LidPreviewOverlay.tsusesfastEdgesGeometry.@plazmabokor, 3MF and picture import:
picturePixelscloses its bitmap also when drawing fails.Results and outputs are unchanged in all of these. If you have open branches on these files, please rebase onto
main.All reactions