Repository navigation
layerling 1.166.0
-
CAD kernel occt-wasm 5.17.2 (from 5.17.1) and brepjs 20.28.3 (from 20.27.0): The kernel's fix for swept and offset faces, which are now taken on their BSpline form, comes along, and brepjs reports how shapes without metadata were changed, moves a shape by its location on a kernel that shares geometry, and imports each body of a mesh as its own solid or shell.
-
Mold & die: a suggested opening direction, a free one with a drag handle, casting material, air traps, several sprues and a contour shell (PR #1850 by @marcus040473, Facebook group and Discussion #1806): All three directions are rated with a visibility check per face and the best one is suggested; each button shows the share of the surface that would stick, and undercuts are painted red on the master. Besides X, Y and Z the mold can open in any direction (Free: a tilt and a turn), dragged by a violet knob on an arrow through the master. A casting material (silicone, casting resin, plaster, wax, soap, concrete) sets shrinkage and density, and silicone gives way, so small undercuts are only a hint there. Before making, the window shows the outside size, the pour volume with the sprue, the cast weight and an air trap finding with a red dot where air would stay; vents can be switched off one by one. A mold of several parts gives every separate cavity its own sprue and funnel (before, only the highest got one). The outside is a block or a contour shell (saves filament, prints without support), with bolt holes, rubber band grooves and a sprue shift; select a half, change something and the parts are made again in one undo step. The sheet kind is called Stamp & die and has an Emboss relief mode that copies the relief of a coin or logo into the stamp. MCP
layerling_make_moldtakes the new settings and answers with ananalysis. -
Hollow and Lid: a Gridfinity floor with magnet holes, dividers, stacking with a foot, stacking tops, slide latches and barrel bolts (PR #1848 by @marcus040473, Discussions #1693, #1560 and #1587): A box hollowed with its top open can get a Gridfinity floor: a 6.2 mm baseplate with a socket for each whole 42 mm cell the inside holds, walls fitted to the grid on request, four 6.5 x 2.4 mm magnet holes under each socket, and dividers across and along with the height and thickness of a Gridfinity bin. Stacking with a foot replaces the earlier collar and groove: the bottom becomes a foot that goes into the box below and widens at 45 degrees, optionally hollow and with grip recesses, so every lid still fits; a stacking top for plug, flat, cap, screw and bayonet lids takes the next box's foot. Two new latch kinds join the clips: sliders as on a tool case and barrel bolts printed in place. Magnets that would reach into the floor's cells are refused with the box size needed. MCP
layerling_hollow_objectandlayerling_make_lidtake the new settings. -
Print analysis: every layer checked in one go, with a layer view (PR #1847 by @marcus040473): A new Print analysis button next to Print check cuts the selected parts (or every visible one) into layers at the slicer's layer height and compares each layer with the one below. The findings come in one list, problems before hints: in the bed, floating, open mesh, larger than the build volume, area without support, overhang, bridge, thin wall, small island and too little bed adhesion, each saying what helps, many with a button for it. A click on a finding opens the layer view: the part cut open at that layer with the spot painted, an upright layer slider with a mark per finding, a chart of the cross-section over the height, playback and keys. It is no slicer preview. MCP
layerling_check_layers. -
Screws and threaded rods: split lengthwise and lay flat for printing, with centring pins (PR #1846 by @marcus040473): A screw printed standing breaks along its layers under load, printed lying down its thread is many times stronger. Split lengthwise and lay flat in the properties of a screw or threaded rod cuts it in two through its own axis (however it is turned) and lays both halves on their cut faces, in one undo step. Centring pins (on by default) line the halves up exactly along the axis too: one in the head and one to three along the thread by its length, in holes that need no bridge, with the printer's play. MCP
layerling_split_bolt. -
Thread insert: the hole for a heat-set insert, checked first (PR #1828 by @markopo1982, Discussion #1827): A new tool in the shape library, under Holes & cut-outs, makes the hole for a heat-set thread insert (M2 to M8, the short M3, M4 and M5, 1/4-20 or a size of your own) exactly where you click, on a flat face or on the outside wall of a cylinder or tube. The part is measured first: the wall beside the hole and the depth behind it must reach what the insert needs, and the window says by how much when not. A ring on the part shows it, green or red, and a red ring blocks the hole. The spot can be dragged, typed in millimetres from the face's corner, or put on the middle of the face. The hole is an ordinary round hole shape grouped with the body (ungroup frees it), as deep as the insert is long, and the CAD kernel cuts it as an exact cylinder (
cadThreadInsert.e2e.ts). In the shape library under Holes & cut-outs (not dragged into the design, it works on the selected body) and found with Ctrl+K (PR #1844 by @markopo1982, moved there after Discussion #1827); MCPlayerling_thread_insertwithdryRun.threadInsert.ts,threadInsertGeometry.ts,ThreadInsertPanel.tsx. -
An angle typed with several bodies selected turns them all: With two or more bodies selected, an angle typed into the angle box turned only the last of them: two boxes, 30 typed, and the first stayed at 0° while the second stood at 30°. Each body went to the editor as its own change, built on the bodies as they were before the box was closed, so every change undid the one before. The bodies now turn in one change, as a size typed for several bodies already does (#259), so the angle is also one step to undo (
commitRotationEditinWorkplaneViewport.tsx). Checked in the editor: two boxes selected, 30 typed, both at 30°, one Ctrl+Z puts both back and one Ctrl+Y turns both again. Unit test inrotationEditSelection. Contributed by @mlugo-apx. -
Gridfinity overhang: every edge on its two faces (after #1542, found by @mlugo-apx): A side switched open between solid, chamfered overhangs, or a solid or lip-on-grid overhang on a bin with a corner radius of 0, left edges with four faces on them in the display mesh, and a hollow overhang on an open side of a bin rounded less than 3.75 mm left a few loose edges on its underside. The editor and the export took them, but some slicers flag such edges as non-manifold; now every edge has its two faces. Every other bin is drawn exactly as before.
-
Hole pattern: a Mounting holes tab (PR #1814 by @plazmabokor): A second tab next to the usual pattern puts screw holes in the corners of the smallest rectangle round the picked face, the same distance from its sides, so a turned or notched plate gets them evenly where Along the edge spreads them along the notched edge. The distance is measured to the hole's edge (a screw head included) or to its middle; four holes go in the corners and the rest in pairs along the sides; on a round face they go evenly round a circle, three or more. Plain, counterbore or countersink, through or to a depth, made as ordinary hole shapes grouped with the body, so the group hole diameter card (#1809) works on them. MCP
perforate_facetakes it asarrangement: "corners"withtoCenterandcount.holePattern.ts,HolePatternPanel.tsx,holePatternCorners.test.ts. -
Sector shape (PR #1807 by @plazmabokor, as agreed in #1798): A new library shape after the Torus, a disc cut back with Angle (1-360 degrees, from twelve o'clock clockwise), hollowed with Inner diameter into a ring or a ring segment, and rounded at both ends with End rounding up to a half circle for a curved slot. Diameter and height as on the Cylinder; the frame stays the full circle.
sectorGeometry.tsbuilds the outline andoutlineExtrusion.tsextrudes it into a closed body for display and export;sectorAngle,sectorInnerDiameterandsectorEndRadiusare checked inlylProject.ts; MCPcreate_shapetakes it. -
Polygon: corners rounded with one radius (PR #1808 by @plazmabokor, as agreed in #1798): A Corner fillet slider under Sides and a drag dot on the model like the Rounded box's, one radius for every corner of any number of sides, in mm so a stretched polygon keeps round corners. 0 is the plain polygon as before.
roundedPolygonGeometry.tsrounds the corners, the exact outline incadProfileExtrusion.tsgets true arcs. -
Group: the round holes' diameter all at once or one by one (PR #1809 by @plazmabokor, as agreed in #1798): A group, or a group inside it, with round cylinder holes shows Hole diameter (one slider for all) and One by one (each hole with its own diameter) in its panel. Every hole keeps its middle and its depth; the groups are rebuilt from the inside out as Edit group → Done does, in one undo step. Boards, tags, QR codes, bundles and non-round holes are left alone.
groupHoles.ts. -
Gridfinity: bins that overhang the grid: A baseplate fitted to a drawer that is not whole units has padding along its walls, and the bins stopped at the grid, so a gap was left between them and the wall where small things fell in. A bin can now overhang the grid on each side, 0 to 41 mm from the grid line (Overhang at the back, at the front, on the left, on the right): its body above the feet reaches out over the padding to the wall, while the feet stay on the grid and where they are, so it still stands in the baseplate. Typed as the plate's padding, the bin ends flush with the plate. By default the overhang is hollow, the stacking lip follows the wider outline and compartments, shelves and scoops spread across the whole inside; its underside lies flat on the padding and needs supports. Chamfer under the overhang slopes the underside straight up from the bin's wall over its feet to that height at the outer wall so it prints without supports, the same height on every side (a solid overhang goes higher), with a hint naming the sides flatter than 45° that may need supports; Solid overhang keeps the inside on the grid, topped flush with the lip, whose chamfer runs on round its outer edge, and Keep the lip on the grid, on a bin with a lip, keeps the lip there so ordinary bins stack on it. A side switched open stays open across a solid overhang; a partial opening on such a side is not cut through it, which the hint says. Display mesh and exact body (STEP, fillet, chamfer) alike; saved designs, custom shapes and the MCP tools know the new settings. Texts in every interface language, and guide chapter 9 in every language that has the padding paragraph.
-
Gridfinity: a divider height for compartments (Discussion #1560): The dividers in a Gridfinity bin or tray always ran their full height, up to 0.85 mm under 7 mm per height unit in a bin and up to the top in a tray. The Compartments card now has Divider height under Divider thickness, measured from the floor, from 3 mm up to the full height, which it shows until it is set: 14.2 mm in a bin of 3 units, 18.8 in a tray 20 mm high. Unset, at 0, or within 0.1 mm of the full height or over it, the dividers run the full height, so existing bins and trays stay as they are. Only the dividers come down: the walls, the lip and a tray's top stay. A compartment's label shelf on the wall keeps its height, made a fraction of a millimetre narrower where its underside would meet the lowered dividers' top, so the exact body has no hair-thin edges; one on a divider stands at the dividers' top and has less room, at most 8.67 mm wide with dividers 8 mm high in a bin of 3 units (17.2 at the full height), and none on dividers 4.6 mm high or lower; the view draws the letters on it in their Letter colour too. The finger scoops in the compartments stay 0.5 mm under the dividers' top and are left out with dividers lower than 4 mm; the note under Scoop radius now says that too.
layerling_create_shapeandlayerling_update_objecttake it asgridfinityDividerHeight. 2 new texts and 1 reworded in 20 languages, guide chapter 9 in 16 languages and all three SKILL.md. Checked in the editor: a bin of 3 x 2 units, 3 high, with 3 x 2 compartments and a tray of 80 x 40 x 20 mm with 2, both with dividers 8 mm high: the walls stay, the exact body builds, and a height typed in is one undo step. Tests ingridfinityGeometry.test.ts,gridfinityLetterColor.test.ts,cadGridfinityDividers.e2e.tsandgridfinityDividerHeightPanel.e2e.ts. Asked for by @Bav-Peek in #1560. Contributed by @mlugo-apx. -
Gridfinity: text on a tray's label shelves (Discussion #1501): A tray's label shelves took no text: they run up to its top, so letters on them would have stood over it, and the text rows were left out on a tray. They now take a text as a bin's do, along a wall or in a compartment, with the same Font, Letter colour and Letter size. A shelf with a text sits 0.4 mm lower, at 19.6 mm in a tray 20 mm high, so the letters end level with the tray's top; the shelves along the walls go down together, as they meet in the corners. Nothing stands over the top, so the tray is still as high as its Height, and a tray turned over by a mirror still lies flat on its top. In the Lid panel, Flat and Over the top fit; Push in, the default, and Both sides take the opening just under the top and so reach into a lowered shelf, as they do on a bin without a lip. The letters are part of the exact body, so the STEP export has them. A tray that kept a text from when it was a bin now shows it. layerling 1.165.2 opens a tray with letters without them. Guide chapter 9 in 16 languages, the MCP description of
gridfinityLabelBackText, all three SKILL.md. Tests ingridfinityLabelText.test.ts,gridfinityLetterColor.test.ts,cadGridfinityLabelText.e2e.ts,gridfinityLabelTextPanel.e2e.tsandgridfinityLabelColorPanel.e2e.ts. Asked for by @HWKPARISTX. Contributed by @mlugo-apx. -
Gridfinity: a baseplate split to fit the printer (Issue #1388, Discussion #1522): A baseplate larger than the print bed - up to 12 x 12 units with Large plate - was only flagged by the bed warning, and the plates that fit had to be made one by one, each with its units and padding set by hand. With a printer chosen in the workspace settings, such a plate now has Split to fit the printer in its properties. It cuts the plate on its cell lines into the fewest plates that fit the bed, all as they lie or all turned a quarter; there is no margin (as for the bed warning, a plate the bed's size fits), and on a round bed a plate counts by how far its rounded corners reach. When two cuts give as many plates, the one that needs fewer keys wins, and a cell left over goes to the plate with the least padding, so 7 units with 30 mm of padding on the left become 3 + 4 units, 156 and 168 mm, on the 180 mm bed of the Bambu Lab A1 mini. Each plate keeps the padding on its outer sides and the paint on its cells, and gets Swallowtail, so it is 7.4 mm tall, and Large plate only when it is over 6 units. The plates stay where their cells were, also turned or mirrored, so the bed warning flags each one that reaches past the bed until it is moved, or turned a quarter, onto it. A key for each pair of pockets across a seam is laid out in one row in front, none for the outer sides, and the keys laid out for the plate before give way. One undo step. On the Prusa CORE One (250 x 220 mm), 10 x 8 units with 20 mm of padding on every side become 4 plates of 230 x 188 mm and 18 keys. The button is there only for a plate lying flat, not a hole and not fitted to an outline, whose single cells, with their padding, fit the bed.
layerling_update_objecttakes it asgridfinitySplit, once a printer is chosen. 3 texts in 20 languages, guide chapter 9 in 16 languages and all three SKILL.md. Checked in the editor: that plate on the Prusa CORE One gives the 4 plates and 18 keys, and one undo brings back the plate of 460 x 376 mm. Tests ingridfinityGeometry.test.tsandgridfinityPaddingPanel.e2e.ts. Asked for by @Mserago in #1388 and @The-Rocky in #1522. Contributed by @mlugo-apx. -
Hollow: a ledge for a shelf plate inside a box with the top open (Discussion #1663): A new Shelf ledge switch in the Hollow tool window, offered when the top is the one open side, lays a ledge all round the inside of the wall for a plate to rest on: Ledge width (1.5 mm to begin with, 0.5 to 5) and Ledge height (the top of the ledge above the inside of the floor, 20 mm to begin with, 4 to 200). The ledge is 2 mm thick, cut from the outline of the cavity at that height so it follows rounded corners and round boxes, and reaches a little into the wall so it is one with it; with Stackable on, the collar and the groove are built round it. It needs straight walls and a body clearly taller than the ledge height; where it cannot be built the window says why. Built by the CAD kernel on the hollowed body (
shellShelfSolidinlib/cadShellShelf.ts), kept with the hollow so it can be edited from the history and survives resizing; the MCP toollayerling_hollow_objecttakesshelfandshelfHeight. Messages in every language, the guide chapter and the MCP skill updated, kernel testtests/e2e/cadShellShelf.e2e.ts. A separate loose shelf plate is not part of this. -
The texture mask is inside the Surface texture card, and the card is further down (Discussion #1573): The mask choice had a card of its own, so a box or cylinder used as a mask showed two cards for one purpose. It is now the first field of the Surface texture card; the folded card still says "Texture mask: ..." in its header whenever the body is a mask. Wrap around a cylinder and Surface texture now follow the Twist & Lean cards instead of sitting above Properties. Existing mask choices are unchanged (
surfaceTextureMask). Checked in the panel tests (surfaceMaskFoldPanel).