Repository navigation
layerling 1.152.0
-
Fillet: a refusal at a tight curve says where and how tight (#1473): A fillet along a curved edge, such as the outline of a sketch or an SVG, was refused with "cannot be filleted together at this size" and no hint where. Where the edge bends round the outside of the body tighter than the radius, the rounding cannot follow it: a refused fillet now measures the picked curves, says the radius of the tightest outside bend (say 0.53 mm) and draws the edges with such a bend in red. A notch bending the other way does not count, and when no bend is that tight the old message stands. The guide's edges chapter explains it, with the tip to round the top edges before a corner gets a small radius. Unit test
cadTightBends.test.ts; reported by @MethylBromide. -
Cylinder and cone: a diameter or radius can be typed past the slider (drucktipps3d forum): A cylinder of 198 mm came out at 160: the slider ends there, and the Diameter field cut a typed value to it, while width, length and height may be typed past the slider's end. The same held for the cone's Base Radius (80) and Top Radius (40). These fields now take any size typed, and the largest size set for a shape in the settings holds the diameter too. Panel test
typedAboveSliderPanel.e2e.ts. -
Hollow: upright prisms through their outline, so a sharp corner in a round outline no longer stops it (Making Layers, mail): A box with an oval on one end, cut off where the box's side runs on, would not hollow: exported as an STL and imported again, the kernel's thick solid failed from a 1.5 mm wall on ("The walls cannot be this thick"), and on the same STL rebuilt with arcs it never came back, so the editor gave up after a minute ("The CAD worker was closed"). A body that is flat at its bottom and top with every side upright is now hollowed through its outline: the outline moved inward by the wall (holes outward) and pushed up into the cavity, the walls the same as before, with rounded or sharp upright inside corners as asked. Where the kernel cannot move an outline of many small arcs cleanly, it is moved as straight pieces within 0.01 mm of it. Other bodies, and openings on a side, are hollowed as before.
-
Saving: a save window that ends without a file now says so (asked in the Layerling User Group on Facebook): A user on Chrome saw the save window close after Ctrl+S and Back up all, and nothing in layerling said what had happened. A browser also reports a window it could not use as closed without a choice, and layerling stayed silent then. The status line now reads "Nothing saved: no file was chosen in the save window" (for a backup "No backup made") and suggests another folder, for Ctrl+S, Save as, Back up all, the server backup and the backup of My shapes.
-
Rounded box: top and bottom edge on their own: A rounded box took one radius for the top and the bottom edge. A new switch, Top/Bottom Separately, gives each its own radius (Top fillet and Bottom fillet): a box can be flat on top and rounded below, or the other way round, and the two can differ. Switching it on starts both at the radius they had, so the shape does not change; switching it off gives both the top's radius again. Together the two cannot be taller than the box, so each row stops where the other one leaves off. The exact body used for cutting and exporting rounds the two ends one after the other, so it matches what the view shows, and the MCP tools take the new
bottomFilletnext totopBottomFillet. Without it everything works as before and old projects open unchanged. -
MCP: the AI can name the project (Discussion #1483): An AI building a design through the MCP server gave every part a clear name, but the project kept "Untitled design 38", hard to find later in the project list. The new
layerling_rename_projectnames it as the pencil beside the project name does (trimmed, at most 80 characters, never empty) and returns the old and the new name.layerling_list_editorsandlayerling_read_scenealready report the project's name, so the AI can check which project a tab has open before it changes anything. Unit testmcpRenameProject.test.ts. Asked for by @danyvanimpe-lab. -
Rounded box: each corner its own radius (Discussion #1470): The Rounded box rounded all four corners alike. A new switch in the inspector, Corners Separately, gives each corner its own radius (back left, back right, front right, front left, seen from above): four fields instead of one, and four corner radius dots on the top edge, one at each corner, each pulled along its own edge. Switching it on starts every corner at the radius they shared, and switching it off returns to one shared radius; it is available while the top and bottom are flat, as rounded ends round every corner alike. The exact body follows each radius, so exact-size boolean results and STEP export show the same corners as the view; a Rounded box that does not use the switch stays exactly as it was. The new texts are in all eight languages, and the tests cover the outline, the exact body against the area worked out by hand, the four dots staying clear of the size handles, and the drag.
-
Slope Along: Sides Lowered (Discussion #1470): The top could run down along the length, but not down to the two sides. Two new settings in Slope Along, Sides Lowered (in mm) and Sides Curve, lower the two longer sides evenly across the shorter way: the middle keeps the full height and the edges go down by the set amount, in a straight line or, with Sides Curve, bulging up like a dome or sagging. Together with a slope the two drops add up (the lower end's edge loses both), and the body keeps at least the same 0.2 mm of height a slope does. The default, 0, leaves every existing shape exactly as it was. Like the slope from the middle, it is drawn from the display mesh for now and has no exact CAD body yet. Available in the inspector, the saved project and the MCP shape settings; the new texts are in all eight languages, and
tests/unit/slopeAlong.test.tscovers the heights, the sum with a slope, a closed body, and a body drawn at unit size and stretched afterwards. -
Cone: the base radius keeps it round (Issue #1476), and a hint for a wider top (Issue #1477): Changing a cone's Base Radius in the settings changed only its width, so with Keep proportions off the cone went oval. Width and length now both follow the radius, and an oval cone becomes round again. Width and length count the base circle; once the Top Radius is the larger one, a hint under it says so and how to get a cone wider at the top: set the larger radius as Base Radius and turn the cone over. Panel test
coneRadiusPanel.e2e.ts. Reported by @ddemtlapps. -
Build plates: the Arrange on plates button arranges again (Issue #1463): A click on Arrange on plates in the plate bar did nothing, with or without a selection: the bar handed its click to the arrange function as the list of bodies to arrange, and it stopped with an error before moving one. The button now arranges the selection, or every body, as the guide says. The MCP action
layerling_build_plateswas not affected. Unit testplateBarArrange.test.ts. -
Rounded box and Box: a corner radius dot on the top edge (Discussion #1470): A Rounded box has a dot on its top edge, at the back right corner, like the corner dot in Inkscape. Drag it along the edge and the corner radius follows; it moves with the radius, and stays clear of the resize handles on the screen, also when seen from above. A plain Box has the dot too: the first pull turns it into a Rounded box with flat top and bottom, the same size, and one undo turns it back into the Box. The Corner fillet field works as before. Bodies made before keep their shape.
-
Slope Along: the curve can start in the middle (Discussion #1470): Slope Along always started the curve at one end of the shape. A new setting, Curve Starts At, can instead keep the full height in the middle and let the top run down to the same end height at both ends, the two halves mirror images, so a ridge or a hump needs no second cut. The setting works the same for all four slope sides, with the curve shape (Curve) applying to each half, and the default, One end, leaves every existing shape exactly as it was. A third choice, Arched from the middle (slope kept), keeps the slope from the full height down to the end height as it is and lets Curve bend that line evenly about its own middle, a hump above it or a sag below it, with the same end heights, so a slanted wedge gets a symmetric arch instead of a ridge. The two-sided middle version is drawn from the display mesh for now: it has no exact CAD body yet, so it is not used for exact-size boolean results (the arched slope has one, like the plain slope). Available in the inspector, the saved project and the MCP shape settings; the new texts are in all eight languages, and
tests/unit/slopeAlong.test.tscovers the heights, the mirror symmetry and the closed body, andtests/e2e/slopeAlong.e2e.tsthe exact body of the arched slope. -
Text: up to 250 characters, and no width limit (asked in the Layerling User Group on Facebook): A text took 24 characters, a limit from the first version, when a text could only be one line; typing on past 260 mm made the letters smaller. A text, a name tag, a line of a text block and the default text in the settings now take 250 characters, the letters keep their size and the line gets as long as it needs to be. A rounded or chamfered letter edge works on a text of up to 40 characters: on a longer one its build took a minute or more. A longer text keeps the setting and shows plain letters, and the field says why. A Gridfinity label shelf keeps its 24 characters.
-
Windows quickstart: runs on a PC that does not allow scripts: On Windows 10 and 11, PowerShell runs no script files until they are allowed, and the one-line installer stopped at
npm installwith "npm.ps1 cannot be loaded because running scripts is disabled on this system". It now callsnpm.cmd, which needs no permission, so the one line works on a fresh PC as the README says (reported in the drucktipps3d forum). -
Hide others and Invert selection (Discussion #1472): To work on a few parts deep inside a design, select them and choose Hide others in the right-click menu or the Visibility menu: everything else is hidden in one undo step, so Ctrl+Z or Ctrl+Shift+H brings it back. Invert selection in the right-click menu selects every visible part that was not selected (hidden parts and reference images stay out, as with Select all). Both are in the command search (Ctrl+K), where a key of your own can be set for them. MCP:
layerling_select_objectstakesinvert: true, andlayerling_hide_othersis new. Asked for by @Elkniwt. -
Align: the dots in the colours of their axis (Discussion #1472): The align dots and the equal-gaps pills are red, green and blue like the move and size handles (red X, green Y, blue Z for the height), so overlapping dots can be told apart; hovered and greyed-out dots look as before. Asked for by @Elkniwt.