Skip to content

layerling 1.183.0

Choose a tag to compare

@henmedia henmedia released this 29 Nov 16:31
· 108 commits to main since this release
  • Dovetail: tongues up a standing cut face, so they print without supports (Discussion #2129, reported by @BigToyBox): with Automatic direction on, a cut face that stands (within 30 degrees of upright) gets its tongues running up it, made smaller as far as needed, and only turns them across when even the smallest has no room upright. Before, a narrow standing face such as a 10 mm wall got its tongues across, standing out sideways, and the part could not be printed without supports under them. A lying cut face is placed as before, and so is a direction set by hand; the panel says when the tongues run up the face.
  • Stretch shows its result before it is applied (Discussion #2235, asked by @BigToyBox): while the Split panel is in Stretch, a dashed outline on the arrow's side shows at once, as far from the plane as the length, where the moved side ends up (or, for a minus length, where the slice that comes out ends); a moment after the length or the plane stops changing, the stretched part itself is drawn see-through in grey over the part as it is. It is worked out in the geometry worker as Stretch works it out, and a newer length calls off the one before; text is left to the outline, as it is built on the page.
  • Any two colours as one in the 3MF export (Discussion #2210, asked by @hlmodtech): Under "Colours and filaments", "Two colours as one" takes a colour that goes and the one it becomes; every body, part and paint stroke of the first gets the second, one filament fewer, and Ctrl+Z takes it back. Until now only two colours that look nearly alike could be made one. It also clears a colour painted over almost everywhere: in the design that asked for it, nine hidden triangles of grey, 0.16 mm² in all, still made a fifth filament.
  • Video list: The playlist "LAYERLING TUTORIAL" by 3D BOE is new, in German: the basics and step-by-step projects. It takes the place of the 3D Jesus video, which is no longer listed. In the start page list, the guide in every language, the READMEs and the first post of Discussion #296.

Fixes

  • The guide's search takes American spellings (Discussion #2210, reported by @hlmodtech): the English guide is written in British English, so "select by color" did not find the section about "colour". The search box of the guide now takes both spellings for each other (colour and color, grey and gray, centre and center, millimetre and millimeter and the like).
  • The measure bar stays in one column again (Discussion #2220, reported by @BigToyBox): Since 1.182.0 the measuring tools' own bar folded into two columns on a low view along with the view bar: the new rules for a view bar with the measuring tools also caught the measure bar, which is a view bar without them, and weighed more than its own one-column rule.
  • The tape measure's buttons stay where they were put (Discussion #2220, reported by @BigToyBox): dragged away from the measure bar or the view bar, they still counted their place from the bar's corner as it stood when they were dropped. Moving the bar afterwards carried them along, up past the edge of the view, where they were cut off and seemed gone. A moved bar now tells the panels inside it, and they stay where they were; the same goes for the protractor's buttons and the section view.
  • Fillet and chamfer: the view pans up to the top of a tall body (#2234, reported by @ValerioBulla): while the edge tools draw the bodies on their own, the list the camera pivot takes its reach from was empty, so the pivot was held to 120 mm above the plate and the top edges of two stacked 200 mm boxes were only reachable zoomed out. It reaches the highest and lowest body again, as without the tool.
  • Keys no longer work on the design behind an open window: with the settings open, Delete, Ctrl+Z, Ctrl+D, the arrow keys, the view keys 1 to 6 and the letter shortcuts still changed the design behind them, and Escape took the selection away instead of closing the settings. The same went for the questions about height colours of a 3MF, clearing the tape measure and the layer steps of a tag: Delete behind the tape question deleted the selection. While a window that waits for an answer is open, the editor and the view now leave every key alone (Ctrl+S still saves); the settings take the focus when they open and Escape closes them, in a colour picker only the picker.
  • Escape closes the questions on the start page: deleting, renaming and moving designs and folders, cutting a history, taking a shared design: ten questions had no key of their own.
  • The export window waits for a running export: STL, 3MF, OBJ, SVG and DXF could be started a second time while the first was still being made, two downloads or two writes into the same linked file at once.
  • A DXF that multiplies its blocks no longer stops the page: a block inserted as an array of very many rows and columns, or blocks that insert each other in arrays level upon level, was worked through copy by copy before the limit of a sketch was looked at, so a small file could hold the tab for good. Such a file is refused as too complex at once: the pieces and the entities are counted while they are read (200,000 pieces, far more than any sketch takes). An arc or an ellipse whose end angle lies very many turns off its start is read as the same arc within one turn, instead of being stepped through turn by turn.
  • The server store reads no more than it accepts: of an upload larger than the limit only one byte past it is taken into the temporary folder, the settings and the picture of a card are measured before they are read into memory, and an SVG above 32 MB gets the answer "too large" instead of a failed request when it does not fit PHP's memory_limit. The Docker and Node store has the same 32 MB for an SVG, which it checks as one string too.
  • WebGL contexts are given back at once when the preview of a revolved sketch or the second view closes. Browsers keep only a handful, and one left to the garbage collector each time could cost the main view its own.

Large designs

  • Large imports in the editor's own tools: measured on a mesh of a million triangles, proposed by Antigravity and checked against the code first:
    • The box of an import (aligning, dropping, snapping to the grid, the position card, finding a free place) was read through ten million small arrays each time: 0.64 s to 0.2 s. Dropping with D and Lay flat read the corners as a list of three million points; they are handed over one by one now.
    • Whether an import can be separated is counted on its numbers as they lie, at the first click on it: 1.05 s to 0.3 s.
    • Split: while the plane is dragged, only its position changes. The points were gone through anew twice a step (three times when turning it); now once per direction, and a step costs nothing. The view tells a position only when it moved to another tenth of a millimetre.
    • STL, 3MF and OBJ are made in the worker: cutting the loose holes, joining the bodies and writing the file ran on the page after the file had been picked, and the editor stood still for as long (seconds on a large design). The export window and the bridge now hand the work to the geometry worker; a design with text in it is still written on the page, where the fonts are, and so is one the worker fails on. The file is the same.
    • OBJ and 3MF export weld the corners without a list per corner and per cell: 0.66 s to 0.52 s, the same points and faces in the same order.
    • Restoring a backup unpacked every design of the ZIP at once, so the whole backup lay in memory a second time. The designs are read one by one now, each when its turn comes; a design that cannot be read is counted as failed instead of ending the restore.
    • An OBJ without normals got flat ones made for it and kept them: nine more numbers a triangle in memory, and in the saved design for an import in several colours. None are kept now, as for an STL; the view works out the same ones. An OBJ with its own normals keeps them, without a second copy.
    • A see-through body cut at the plate: the material of its far half is given back together with the material it was made from.
    • Left out: the calm edge lines in one pass (imports above 100,000 triangles do not get them) and rebuilding the revolve preview less often (it waits 90 ms already and keeps its view).
  • Large meshes in the contributed tools: less work, less memory: A second pass, this time over the tools that came as contributions. Measured on a fast PC, on a mesh of a million triangles unless said otherwise:
    • Simplify mesh (by @rmpel): the worker reads the mesh once and keeps what it made of it (corners welded, sharp edges split); the next rest of the slider sends only the count. 2.2 s to 0.7 s per rest with edges kept, and the mesh is no longer packed and sent each time (4 MB per rest for 57,000 triangles, now once). A count called off runs to its end instead of stopping the worker. Above 250,000 triangles the panel opens without the lines of the mesh, which took 48 MB and as much graphics memory for two million triangles; the box still shows them.
    • The overhang line (by @marcus040473) read every body's mesh twice, 200 ms after each change: once for what covers what, once for the overhang. Read once now: 3.5 s to 3.0 s, 0.9 s to 0.6 s for 250,000 triangles. While an edge is tried out on the plate, the body before it is read once instead of at every step.
    • The print check's open edges (by @marcus040473) read an import where its numbers lie instead of as ten million small arrays: 1.2 s to 0.8 s.
    • 3MF with colour changes by height (by @plazmabokor): the cut into a band per colour runs in the worker instead of holding the page, and a file of one body in one colour is no longer copied a second time while it is read (36 MB for half a million triangles).
    • One's own height picture of a surface texture or a vase (up to 350 KB of text) stood in the saved design wherever its settings stand: on the body, on its texture step, in each layer, and again in every undo state. It is one file of the package now: 20 states of a textured body with a layer were 21 MB of project.json, now 34 KB and the picture once. Such a design is a version 5 file (docs/LYL_PROJECT_FORMAT.md), which a layerling before this one refuses with "requires a newer layerling"; designs without such a picture are written as before, and older files open as before.
    • Small things: two places in the surface texture that could overflow the stack on a very large body, the lid preview's edges without text keys, and a picture's bitmap that is closed also when drawing it fails.
    • Proposed by Antigravity and checked against the code first; left out on purpose: Gridfinity (a few milliseconds beside a far longer chain, deep in code that must stay watertight) and the hole diameters of a group (only slow with 48 holes of one size while a handle is dragged).

Handles

  • A click on a handle puts the cursor into its field (Discussion #2231, wished by @MartinShake): A click without dragging on the handle on top, on an edge or on an X or Y arrow puts the cursor into the matching field in the properties on the right, its number selected, so the arrow keys change that value at once, with Shift, Ctrl or Alt in other steps as with the mouse wheel. Esc or a click in the view gives the keys back to the shape. A corner, the lift arrow and the curved arrows still open their numbers beside the shape on a click; a drag focuses nothing.

Ribbon

  • Clipboard and History at the front of the sketch ribbon (Discussion #2233, wished by @BigToyBox): They stood behind Select; now they stand first, as in the 3D ribbon. Moved behind Shapes in the 3D ribbon's settings, they stay behind Select in the sketch.

Building with an AI

  • Antigravity instead of Gemini CLI: Google has switched Gemini CLI off for personal accounts (free, AI Pro and Ultra) since 18 June 2026. The READMEs, the AI chapter of the guide and the skill now describe Google Antigravity, the app and its command-line tool agy: it finds the skill in the project folder by itself, and the server goes into its global ~/.gemini/config/mcp_config.json with an absolute path. Tried with Antigravity 2.26: it reads no server file from the project folder, so the repo ships none. The template is now docs/mcp/antigravity-config.example.json, the FAQ answers "Gemini CLI no longer works – what now?", and the Czech, French, Dutch and Russian chapters get the Antigravity section they were missing. Old links to the "Gemini & Antigravity" section still land.