You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A name tag's finished width can be set in mm (Discussion #2059): A name tag's width followed from the letter size, so a tag of a wanted width took trying sizes. Finished width on the name tag card, as on the icon tag, is the tag's widest point without the key ring tab; typing one makes the letters bigger or smaller so the tag comes out that wide, and a layer's extra width leaves the letters as they are. A line further down the card shows the finished size with the tab. Not for curved, stretched or top to bottom text. Texts in every language, guide chapter 8 in 17 languages. Tests in nameTagFinishedWidth.test.ts. By @plazmabokor in PR #2254.
Hole pattern
The countersink or counterbore on the far side of the wall (Discussion #2256, wished by @Darrylmc63): A hole pattern put a screw's head on the face picked, so a box to be screwed up under a desk from inside needed its holes set from the inner face, which is smaller by the wall, or mirrored by hand. Through holes with a countersink or counterbore now have Countersink on the far side (or Counterbore on the far side) under the depth: the holes stay where the outer face puts them, the head sits on the wall's inner side, and the holes go through that wall only, not on through the box. layerling_perforate_face takes it as headOnFarSide.
Languages
Malay (PR #2255, by @pintar3d): The interface can be read in Bahasa Melayu, chosen in the language list at the top right. Some newer sentences and the guide chapters are still in English. Corrections are welcome in Discussion #141.
History
A large undo history is said once, with a button to its steps (Discussion #2253, after a report by @sealyons): A design whose history had grown to hundreds of MB, as 52 steps of a vase with a surface texture taken on and off, saved slowly and made Safari reload the page, with nothing in the editor saying why. Once the whole history reaches about 200 MB, counted as in the history's list (a mesh that several steps share once), a note says how large it is, once per design and a few seconds after the last step so it does not cover that step's own message, with Show steps opening the list where the largest steps or the whole history can be deleted. Deleted below that size and grown back, it comes once more. The saved number of steps stays at 100: the size comes from a few steps that make a new mesh, not from their number. Texts in every language, guide chapter 4 in 16 languages. Tests in largeHistoryNotice.test.ts.
Backups
Restoring a large backup on an iPad no longer ends with no designs (#1945, reported by @Pretender69): A restore kept every design it had brought back in memory, with its history, pictures and attached files, until the last one was done, and only then put them all on the list at once. An iPad's Safari ends a page that holds that much, so the restore stopped around 75 % with a white page, and after the restart the overview showed none of the designs, though they were stored. Now each design goes on its card, with its picture and in its folder, as soon as it is stored, and is read from storage again when it is opened. A restore that is cut off keeps every design it got to, and restoring the same backup again skips those and brings the rest. Restoring 30 real designs (133 MB) took the page's memory from 1.2 GB down to 0.3 GB at its peak.
Large designs
Overhangs and volume of a large mesh: about twice as fast, 500 MB less memory: Which way each triangle of a closed mesh faces (closedMeshFaceOrientation) is what the overhang area, the overhang line, the print check and the volume are worked out from. It kept a small list of faces for every edge, one and a half million of them for a million triangles. The faces at each edge now sit in a flat table. A million triangles take 1.7 s instead of 3.1 s and about 500 MB less memory on the way; 200,000 take 0.26 s instead of 0.42 s. Every face turns out the same way and every volume is the same number: closedMeshOrientationTable.test.ts holds the table against the lists, bodies that touch along an edge included.
The overhang line no longer holds the page: With "Show overhangs" on, the line under the view was worked out on the page a moment after every change, seconds at a time on a large mesh. It is now worked out in the geometry worker (overhangFiguresOffThread); a newer change calls the older one off, and a design with text is still worked out on the page. Its search trees are filled without a list of every number first.
Mold & die: allowance, mixing ratio, price and density no longer build the mold again: These five settings change the mixing sheet and the cast's weight and no body, but each change ran the panel's live check, which builds the whole mold. The numbers are now worked out at once from what the last check poured (moldSheetFor), and come out exactly as a new check gives them (tested for five kinds in moldKinds.e2e.ts).
Smaller things: The mold panel's check and the lid panel's measuring of a screw top no longer wait for ever when the work breaks off. A surface texture's result is written straight into the list that goes to the page, without a second copy of every corner on the way (36 MB less per mesh of 500,000 triangles, as measured by Antigravity).
Every edge preview and sketch body: the check for a missing flat face takes a tenth of the time: After each fillet or chamfer preview and each sketch body, the kernel's mesh is looked over for a flat face left without triangles (#1711). Nearly every mesh is whole, but finding that out built a list of corners, a list of faces and three text maps: 0.33 s for 200,000 triangles. The whole case is now found on the flat lists first (everyEdgeTwice in meshHoleFill.ts): 0.03 s; a mesh that is not whole goes the way it did.
The open edges of a large cut are counted ten times as fast: A cut that leaves pieces inside its holes, and a group of imports, count the edges only one triangle uses (positionsBoundaryEdges), with a text per corner and an entry per edge until now: 1.07 s for 300,000 triangles, now 0.11 s. Both go through the new EdgeTable (lib/edgeTable.ts), which finds an edge by its two corner numbers in flat lists. meshEdgeTables.test.ts holds the new way against the old, edge for edge.
Surface texture and smooth shading, a little faster (by Antigravity's review): A surface texture numbers the corners of its body without a text per corner (the preparation of 300,000 triangles 0.73 s to 0.47 s), and the smooth shading of every generated shape (toCreasedNormals: vase, gear, spring, thread and more) finds corners at one place in a flat table (92 ms to 58 ms for 300,000 triangles). The numbers and the normals are the same.
Insert from the server no longer locks its list after a failure: If fetching or inserting a design from the server failed with an error, the list stayed greyed out until the window was opened again; and a folder that could not be read showed nothing. Both now say that it failed, and the designs can be clicked again.
CAD kernel
CAD kernel occt-wasm 5.21.0 (from 5.18.6): The kernel can now name a body's edges, faces and solids by their place in the body instead of by a hash that two of them can share (5.19.0 and 5.20.0), and its mesh buffers stay sound after a mesh call that failed (5.19.0). Checked as for every kernel: the herringbone gear fillet, the whole kernel test run, and an install with npm 10.
The edge tools find faces, lines and solids by their place, not by a hash: Which faces meet at an edge, which line is drawn for it and which part of a group an edge or face belongs to were looked up by the kernel's hash, which two edges or faces can share, with a second check behind it. They are now asked for by their place in the body, in one call each: no mix-up is possible, and it is about ten times faster (the faces round the edges of a plate with 576 holes in 0.8 ms, before 7.3 ms; the parts of 60 grouped bodies in 0.03 ms, before 1.9 ms). cadEdgeFaces.e2e.ts holds both ways against each other.
Less memory and time in three small places: The preview of an edge treatment on a single body sent its mesh to the page twice (about 4.6 MB more at 200,000 triangles); it now goes over once. A CAD kernel that is replaced after a fault is taken down at once, in the edge tools and in the sketch, and no longer waits for the browser to clear it away. A cut asks for every triangle whether it lies in a box or cylinder hole, and built the hole's rotation anew each time; it is now kept per hole (500,000 asks in 12 ms, before 46 ms).
Sketch
A design with a sketch line that lost its point opens again (#2259, reported by @phumborstad): In a sketch with a locked outline, a line drawn across the locked part is refused. The end of that refused line was still taken as the start of the next one, so the next click drew a line from a point the sketch did not have. The design was saved like that and could then not be opened: "sketchProfile contains a segment with a missing point reference". A refused line now leaves the start where it was, no change to a sketch can bring in such a line, and a design that carries one opens with that line left out; it never drew anything.
Edge tools
A shape whose mesh is too fine for the edge tools says so (review by @champierre): When the edge tools could not build a shape as an exact body and its mesh had too many triangles to stand in, the message said "No valid body could be built with these measures. Change them a little and try again", which hid the real cause. It now says that the mesh is too fine to stand in, that a small change to the measures often lets the exact body build, and that fewer details make the mesh lighter. Texts in every language. Tests in userErrors.test.ts.
Surface texture
The note on a textured body names the surface texture, not the edge tools (Discussion #2253, reported by @sealyons): A vase or other shape that became a mesh under a surface texture showed "Its own settings come back when the edge treatment is taken back: Fillet, Chamfer or Hollow", though it had none of them. The note now names the feature that made it a mesh, as the Undo an edge feature list shows it, for example "Surface texture (1 mm deep)" or "Fillet (2 mm, 4 edges)". Texts in every language.