Skip to content

layerling 1.170.0

Choose a tag to compare

@henmedia henmedia released this 23 Nov 07:28
· 137 commits to main since this release
  • Hollow: dividers by hand, finger scoops and shaped pockets, and dividers that follow a turned box (PR #1974, Discussion #1560, by @marcus040473): For a box hollowed with its top open and no Gridfinity floor. Next to "Even grid" there is "By hand": the window draws the inside from above, and a wall is put into the compartment you clicked, dragged, pulled by an end, set at a slant, turned or mirrored (the first switch takes the even dividers over as walls); while the window is open every compartment shows its size on the body, and with dividers by hand the walls have grips there too, larger on a tablet or phone. A finger scoop: tap a compartment and choose the side its floor runs up into (also without dividers). A shaped pocket cuts the outline of another part, seen from above where it lies over the box, into a filling of the box. The dividers were laid along the scene's x and z, so in a box turned on the workplane they stood askew to its walls; they are now measured in the box's own inside. MCP: layerling_hollow_object takes dividerWalls, scoops, scoopRadius, pockets and pocketFill.
  • Hebrew (PR #1973, by @eitanavgil): The interface can be read in Hebrew, chosen in the language list at the top right. The sentences added since it was translated and the guide chapters are still in English. Corrections are welcome in Discussion #141.
  • Gridfinity: clip notches on a baseplate (PR #1966, Discussion #1957): A baseplate printed in pieces can now be joined with the wall clips of ostat's Gridfinity Extended baseplates (Connector_Clip, size 10, tolerance 0.1), so it also joins plates made there. With the new Clip notches switch the rim is cut away at the middle of each cell along every side without padding, 10.2 mm wide, from 0.05 mm under where the socket's wall turns upright up through the top, but for a wall 1 mm thick and 1.5 mm tall at the plate's side; two plates side by side leave a 2 mm wall, and the clip is pressed over it from above. The plate keeps its size, a plate fitted into an outline has none, and with Swallowtail the notches stand on its floor (gridfinityClipCuts in gridfinityGeometry.ts; in the exact body each notch is one cutter, in gridfinitySolid.ts). The Add clips switch below it lays one clip out in front of the plate, on its feet, and the Clips field that then appears sets how many, laid out anew at each change (off takes them away): each is ostat's ClipConnector for a straight wall, 10 mm of the rim's section, 4.3 mm thick and 3.2 mm tall, with a slot of 2.1 x 1.7 mm for the two kept walls (gridfinityClipOutline). Split to fit the printer (#1388) joins the pieces of a plate with Clip notches by clips: they keep Swallowtail as the plate has it, so they stay 5 mm tall without it, have the notches on their cut sides too, as those have no padding, and a clip for each pair of notches across a seam is laid out in one row in front of them, behind the keys when Swallowtail is on as well, each piece set to the clips of the seams it owns (gridfinityPlatePieceClips, gridfinityPlateSplitsWithClips). Through the MCP: gridfinityClipNotches, gridfinityClipCount and gridfinityClips, and gridfinitySplit lays out the clips too. Unit and kernel tests.
  • Align: equal gaps also overlap nested parts evenly (Discussion #1968): Where the parts were longer than the room between the outer two, the equal-gaps dot refused ("Not enough room"). Nested cups overlap along the axis without touching, so that kept them from being spaced evenly. The gap now simply becomes negative: the outer parts stay, the ones between get the same negative gap, and the status bar names it. Parts stacked exactly on one spot still get the message with the hint at the plate, and on a board or the plate the parts must still fit, as they would stick out over its edge.
  • Edge tool: a crash of the CAD kernel no longer leaves it dead (Discussion #1970): On some bodies, such as a piece of an imported STL made exact with many tiny facet edges, one fillet size runs the kernel out of memory while the next is refused cleanly. The search for the largest size that fits then ended at the first crash, and the tool stayed open but could not do anything any more ("Prepare an object before opening the preview"), although the message said no page refresh was needed. Now a crash during the search counts as a size that does not fit: the worker starts a fresh kernel, prepares the same body again and searches on, up to three crashes (largestHoldingSteps and probeSurvivingKernelFaults in the new cadLargestAmount.ts). A crash of a preview opens the tool again by itself on the same body, with the edges and the size it had, and says the size crashed the kernel; that preview is not sent again until the size or the edges change, so it cannot crash in a loop. Unit test; checked in the editor with the reporter's design (the search now answers that no size fits all the edges, 0.1 and 0.15 mm reopen the tool with its edges). Texts in 19 languages.
  • View cube: Top and Bottom can keep the view's turn (Discussion #1967): A click on Top or Bottom of the view cube, or the keys 5 and 6, always turned the view so that the front lay at the bottom, also when it had been turned to look at the plate from the right. Under Settings > Appearance, the new switch Top and Bottom keep the view's turn (viewCubeKeepsTurn, off by default) makes them look straight down or up from the quarter turn nearest to where the view stands, so the side you were looking from stays at the bottom (poleDirectionKeepingTurn in viewCubeDrag.ts, used by setCameraToViewFace for the 3D view and the second view). Faces at the sides, edges and corners of the cube are as before. Unit test, guide chapter 2 in every language that has it.
  • Framing square: new designs can start with it at the corner of the build plate (Discussion #1961): The setting that gives every new design a framing square (#1386) put it at the origin in the middle of the plate with 100 × 80 mm arms, so it still had to be moved to the corner and stretched every time. Under Measurement in the settings, Start new designs with a framing square (no longer "at the origin" in its name) now has Where it goes below it: At the origin, as before, or Front left corner of the build plate, arms as long as the plate. Then the square's corner sits at the plate's front left corner and its arms run right and back over the whole plate of the printer chosen in the settings, as Arms as long as the build plate makes them (startCornerRuler, seedStartCornerRuler with the new design's plate in cornerRulerStore.ts). The × still removes it from a design that should not have one. A setting of this browser like the switch above it; whoever uses the switch now keeps the square at the origin. Unit tests; checked in the editor (a new design on the 200 × 200 mm plate got the square at its front left corner, both arms 200 mm). Texts in 20 languages, guide chapter 2 in 16. Asked for by @Philster56.
  • Drawing: the title block takes a drawing number, a revision and who drew it (forum, Lofo): The 2D drawing's title block had its fields "Drawing / revision" and "Drawn by / date" set to a dash and a fixed A, so the sheet could not be filed with a number. Below PDF or SVG in the export window's 2D tab there are now three fields, Drawing number, Revision and Drawn by, written into the title block; a field left empty keeps the dash, the fixed A is gone, and a long entry shrinks to fit its half of the block as the title does. The number and revision stay with the design, beside it in the browser and in its .lyl file (also when it is opened, restored or copied), the name is kept in the browser for every design, and the date is still the day of the export. MCP: layerling_export_drawing takes drawingNumber, revision and drawnBy for one drawing, otherwise the ones typed in the window go in. Checked in the editor (a new design: fields typed, the drawing through the MCP bridge read "Z-0042 / B" and "Lothar Müller / 2026-11-22", the window showed them again when reopened, the name in a second design too); unit tests for the title block, SVG and PDF escaping, storage and the .lyl round trip; texts in 20 languages, guide chapter 12 in 16 languages, the MCP skill.
  • CAD kernel occt-wasm 5.18.2 (from 5.18.0): Faster intersections of straight edges with planes, cylinders and other round faces, a ruled loft whose straight edges are real lines, and a faster search for shared points where two faces meet. layerling needs no change for it.