Skip to content

layerling 1.130.0

Choose a tag to compare

@henmedia henmedia released this 01 Nov 09:32
· 1541 commits to main since this release
  • Counterbores, countersinks and nut pockets by screw size: The counterbore, countersink and double countersink have a Screw size choice, M2 to M30 (a countersink up to M20, where ISO 15065 ends): it sets the shaft to the ISO 273 medium clearance hole, a counterbore's head to DIN 974-1 for socket head cap screws, as deep as the screw's diameter plus 0.4 mm, and a countersink's head to ISO 15065 at 90 degrees. The length stays unless it is too short for the head. A hexagon (polygon with six sides) has Nut pocket: the width across flats and height of an ISO 4032 nut plus 0.4 mm each, its length the width across corners. Neither is stored: a body with those measures shows its size, as the washer does (screwHoleSizes.ts, nutPocketSizes.ts). layerling_create_shape takes screwSize and nut. Texts in every fully kept language, guide chapter 9, READMEs and the start page. Asked for by mail.
  • Section panel stays in view (Discussion #1101): The section view hangs from its button and opens upwards; with the camera bar moved far up (or a low window) its title bar, with the close button, lay above the work area. Then the panel now opens lower down, so the title bar is in view. It is not remembered: the next time it opens at its usual place if there is room.
  • Fillet and Chamfer keep their size after Apply (Discussion #1115): Since #538 the tool opens again after Apply with the same kind and size, so that fillets follow one after another, but the size was only taken over together with picked edges (as an "Edit" brings them), and after Apply no edge comes along: the radius, a chamfer's distance and angle, and a variable fillet's end radius went back to the default each time. They now stay until Done, Esc or the cross (cadModifierPresetValues). Unit tests in cadModifierRuntime.test.ts. Reported by @Oldandretired.
  • Port opening: Micro-HDMI and Extra clearance (Discussion #1098): The socket list has Micro-HDMI after Mini-HDMI, the HDMI socket of the Raspberry Pi 4 and 5 and the BIGTREETECH Pi: 6.8 x 3.6 mm, the shell of the Würth WR-COM 685119248123 (6.2 x 3.0 mm) plus about 0.3 mm as on Mini-HDMI, with both lower corners cut at the slant read from its front view (microHdmi in PORT_PRESETS and PORT_PROFILE_CHAMFERS). Under the socket list, "Extra clearance" (0 to 2 mm, default 0) adds room on every side on top of the preset's, so a board slides into a printed box: the opening gets wider and taller by twice the value and its corners rounder by it, an upright opening moves down by the value so its middle stays on the socket, and the list still shows the socket (portClearance, portPresetSize and portPresetFor in portGeometry.ts). The value only records the room that is in width and height already, so the body, the exact CAD body and the export are unchanged, and a design without it opens exactly as before. It is saved in .lyl files (checked to 0 to 2 mm) and the workspace defaults; layerling_create_shape takes portPreset: "microHdmi" and portClearance (with a preset it grows the opening), and layerling_read_scene reports it. Texts in every language, the guide (chapter 9, the list in every language, the clearance in English, German and Hungarian) and the README say so. Tests: portClearance.test.ts, portClearancePanel.e2e.ts and a Micro-HDMI exact body in cadBoreShapes.e2e.ts. Suggested by @plazmabokor, built by @plazmabokor in PR #1114.
  • Larger Gridfinity baseplates, up to 12 x 12 units: A baseplate stopped at 6 x 6 units (252 mm), which fits a 256 mm print bed, so a drawer larger than 334.5 mm needed several plates even on a larger printer, and a drawn outline to fit a plate into (Discussion #1061) can be larger than 252 mm. The baseplate has a switch, "Large plate (up to 12 units)", off by default: on, it takes up to 12 units across and deep (504 mm), more than the 11 a 500 mm bed takes, and Drawer width and depth fit a drawer of up to 586.5 mm. In the browser its exact body takes about 25 s at 12 x 12 and 55 s at 15 x 15, which is why the limit is 12 (MAX_GRIDFINITY_LARGE_PLATE_UNITS, gridfinityMaxUnits and gridfinityDrawerMax in gridfinityGeometry.ts). Switching it off brings a larger plate back to 6 units, its padding kept, in one Undo step. With the printer chosen in the workspace settings, a plate larger than its bed is flagged as any other body. The switch is saved in .lyl files and the workspace defaults, and layerling_create_shape/layerling_update_object take it as gridfinityLargePlate; an older version opens such a plate at 6 units. Texts in every language, guide chapter 9 and the MCP skill say so. Unit tests in gridfinityGeometry.test.ts, panel tests in gridfinityPaddingPanel.e2e.ts, and cadGridfinityShape.e2e.ts builds a plate of 12 x 12 units against its display mesh. Contributed by @mlugo-apx in PR #1103.
  • Lid: magnets in the corners (PR #1108): The Lid tool can hold a lid by magnets. With Magnets in the corners ticked, a magnet picked (6 x 2, 8 x 3 or 10 x 3 mm, or any diameter and height) and the play round it (0.1 mm to press it in, more to glue it), Make lid finds one place in each corner of the body as seen from above (a round pot gets them on its diagonals), cuts a pocket 0.2 mm deeper than the magnet into the rim and into the lid, and where the wall is too thin for the pocket a post fills the corner from the bottom up to the rim. Texts, the guide (chapter 6) and the MCP description in the kept languages. Contributed by @marcus040473.
  • Trace: two sketches that would not build (PR #1107): Two traced outlines ended in "OpenCascade produced invalid sketch topology" at Finish sketch: a corner moved to where its two sides meet could land behind the step before it, so the outline crossed itself for a fraction of a pixel; and an area picked twice (a door clicked above and below its crossbar) gave two holes on the same line. Corners now only move along their own sides, and an area that is the same as one already picked is left out (samePatch). The hints in the Trace card are shorter, and the guide shows Trace in pictures. Unit tests in pictureTrace.test.ts. Contributed by @marcus040473.
  • A selected bundle is outlined in green (PR #1117): A selected group and a selected bundle had the same blue outline, so once shapes were grouped or bundled there was no telling which one was selected. A bundle now gets a green outline; groups and single shapes keep the blue. Contributed by @AbhiRoutray21.
  • Arabic brought up to 1.129.1 (PR #1104): the interface, the release notes and the guide from 1.110.0 on. Contributed by @sevagjb.
  • Danish brought up to 1.129.1 (PR #1116): the loft with cross-sections, the draggable camera bar and Gridfinity in the guide. Contributed by @Henrikth12.