Skip to content

layerling 1.151.0

Choose a tag to compare

@henmedia henmedia released this 07 Nov 20:47
· 217 commits to main since this release
  • Lid: a slide-in lid for boxes (Discussion #1443): The Lid tool has a seventh kind, Slide-in, like a wooden pencil box's lid: a plate in the opening, flush with the rim, whose lower edges run as tongues in grooves in three walls. The fourth wall (the front unless another is picked) is cut down to the lid's underside where it passes, so the lid slides in over it, and the lid's end fills that cut. The body prints upright and the lid turned over on its top without support. Rounded box corners work, walls too thin for the tongue and round or leaning bodies are refused with the thickness needed. Click bumps, a finger notch and a pull tab are available; magnets and a hinge are not for this kind. MCP layerling_make_lid takes type: "slide" and slideSide. Texts in 14 languages, guide chapter 6 in 15.

  • Lid: a flip-top for screw and bayonet caps: With Flip-top ticked, the cap's plate gets a round opening (8 mm to begin with, 4 to 40) and a flap that closes it, printed in the opening itself and joined to the plate by a 0.4 mm hinge strip, as on a shampoo bottle. A catch clicks it shut, a groove takes a fingernail, and everything prints in one piece without support (PETG or PP, since a PLA strip breaks after a few bends). Openings too large and plates too thin are refused with the figure that fits. MCP flipTop and flipTopOpening. Texts in 14 languages, guide chapter 6 in 15.

  • Lid: a tether that keeps a screw or bayonet cap on the body: A screw or bayonet lid can have a Tether, as the caps of drinks bottles have: one part printed flat beside the cap, two open rings joined by a strap. The larger ring snaps over a collar round the cap, the smaller sits on a bead round the body below the cap; both keep the lid's gap, so the cap still turns freely. Everything prints without support. Refused with a message where there is no room for collar, ring and bead. MCP tether. Texts in 14 languages, guide chapter 6 in 15. Asked for in the Layerling User Group on Facebook.

  • Lid, screw: a standard bottle's or jar's thread: The screw lid's thread can be a standard's instead of its own: PCO 1881, PCO 1810, GL 45, Mason 70 or Mason 86. The cap is made to the standard whatever the body; the body gets the neck's thread only if its top is that neck. Any other body stays as it is and only the cap is made. Sizes and sources are in the comment of LID_THREAD_STANDARD_SPECS. MCP threadStandard. Texts in 14 languages, guide chapter 6 in 15. Asked for in the Layerling User Group on Facebook.

  • Lid, bayonet: the cap's turn can be set, up to a quarter turn: Turn (0 = automatic) sets how far the cap turns to lock, 15 to 90 degrees; 0 keeps the turn the lugs give, so every lid made so far comes out as before. A turn too long to leave 3 mm before the next slot is cut back to what fits, and the status bar says so. MCP bayonetTurn. Texts in 14 languages, guide chapter 6 in 15. Asked for in the Layerling User Group on Facebook.

  • Screw and bayonet lids: a rounded or chamfered rim stays (Discussion #1426): A vessel with a rim rounded over its whole wall was refused as not round. The lid now looks for the straight wall below the rim and puts the thread or the lugs there, with the cap's rim reaching over the rounding. A rounding that leaves too little straight wall is refused with its own message. Bodies accepted before come out exactly as before. The MCP answer gives rimRounding. Texts in 14 languages, guide chapter 6 in 15.

  • Image texture: smooth on a large or round body, not in steps of the grid (Discussion #1347, PR #1468): A picture pressed into a wavy vase came out pixelated because it was softened for a grid finer than the one used. It is now softened to the grid as made. Round an axis, the long strips of a round wall are cut across first, so a cup 50 mm across no longer comes out twice as coarse as asked and Fine is finer than Medium. Built by @marcus040473.

  • Bent tube: changing a segment keeps the start where it is, also on a tilted tube (Discussion #1422): On a bent tube tilted off the plate, lengthening Segment 1 carried the start of the tube up or down as well as moving the far end, because the body was kept standing on the same floor. A change to the segments (length, bend angle, bend radius, roll, adding or removing one) now holds the start in all three directions, so only the far end moves. If that puts part of the tube below the plate it stays there, since lifting it would move the start again. Size, wall, profile and quality changes work as before, and tubes already made keep their shape and position.

  • Framing square: arms of any length, or as long as the build plate (Discussion #1469): The square's arms were always 100 × 80 mm. A small circle at the end of each arm now drags it longer or shorter, in whole millimetres from 10 mm on, and the lowest button under the handle, Arms as long as the build plate, makes them as long as the plate of the printer in the settings is wide and deep (the arm along the width gets the width, turned too). The lengths are kept with the design as before, and a square set again takes them over; the bodies at the arms that show their measures follow the longer arms. Texts in all 19 languages, guide chapter 10 in 15. Unit test cornerRulerArms.test.ts; checked in the editor: an arm dragged from 100 to 146 mm, the corner staying put, and both arms 200 mm on the default plate. Asked for by @Philster56.

  • Lid: a screw-in lid (Discussion #1432, PR #1459): Screw in, a new kind in the Lid tool, turns the screw lid the other way round, for a round pen holder whose outside should stay smooth: the body gets the thread inside its opening, added to the wall like a nut's, and the lid is a plate as large as the body on the rim with a threaded plug below it that screws in clockwise. Pitch, turns and fit work as for Screw on; the plug is a ring with a Plug wall (0.8 mm at least) and stays solid where a hole would be under 4 mm. Body and opening must be round round the same middle; a square opening, an opening too narrow or not deep enough for the plug is refused with a message. Both parts print without support. MCP layerling_make_lid takes type: "screwIn". Texts in 14 languages, guide chapter 6 in 15. Unit tests in lidTool.test.ts, end-to-end test lidScrewIn.e2e.ts. Built by @marcus040473, asked for by @dlguess.

  • Lid hinge: a printed pin can be pressed into the body (PR #1454): With Print the pin too, the pin slid through the lid's knuckles but hardly ever went into the body's: their holes were only 0.05 mm per side larger than the pin, so that a piece of filament sits tight there, and a printed pin comes out at its full diameter in holes printed a little smaller than drawn. With a printed pin the body's holes now have 0.15 mm per side, never more than the lid's play, so the pin still sits firmly but can be pressed in; a piece of filament keeps its 0.05 mm. This holds for outside, flush and pivot hinges; end plugs follow the body's holes and come out 0.1 mm per side thicker with a printed pin. Guide chapter 6 in 15 languages, MCP layerling_make_lid description. Unit test in lidTool.test.ts. Reported in the drucktipps3d forum, built by @marcus040473.

  • Hole pattern: turned slots and rectangles (Discussion #942, PR #1453): Slots and rectangles in a hole pattern always lay along the face. Angle of the holes, a slider under the hole's height for the Rectangle and Slot forms, turns each hole by -90° to 90° while the grid stays straight - ventilation slots at 45°, for example. The holes are fitted with the turned outline, so a hole near the edge keeps the margin, and they are cut turned on a flat face, on the outside of a cylinder or tube and inside a bore. For turned holes the row spacing and the wall shown in the panel count every neighbour, the diagonal ones too, so no two come closer than the least wall; unturned patterns come out exactly as before. MCP layerling_perforate_face takes holeAngle. Texts in every language, guide chapter 4. Unit test holePatternHoleAngle.test.ts. Built by @js9986, asked for by @keithbutch959-ai.

  • STL import: an upright model stays upright (Discussion #1450): An STL that was thin front to back and taller than that, like a knife standing on its back (306 × 30 × 70 mm), was taken for a file with Y up and came in lying flat, so a model angled on purpose to cut a display holder had to be turned back by hand every time. layerling guessed that from the proportions. Every STL is now read with Z up, as every slicer reads it, and keeps the orientation it was made in; only layerling's own STL exports are known by their header, as before. 3MF and OBJ are not touched. Unit test with the knife's proportions. Asked for by @ggrrf667.

  • Hull: keep the holes of its parts open (Discussion #1440): A hull wraps its parts and fills whatever is hollow in them: a tube, a cylinder hollowed with the Hollow tool, a part grouped with its holes. Only holes selected as shapes of their own were cut out again. Keep the parts' holes, a switch under Properties of a hull, builds it again so that what each part's own hull has more than the part - its bore, its hollow, its holes, a recess at its side too - is cut out of the whole hull, and the parts are joined back in, so a neighbour reaching into it keeps its shape (HullBuildOptions.keepHoles in editorBooleans.ts, WorkplaneShape.hullKeepHoles, kept when the hull is opened and closed again). Off, it fills them as before. MCP layerling_hull_objects takes keepHoles, also with the id of one hull to switch it, and a hull's summary says keepHoles. Texts in 18 languages, guide chapter 5 in 15. Kernel test: a tube grouped with its hole beside a cylinder loses exactly its bore. Asked for by @uninteressant2026.

  • Chamfer and fillet on a hull of three cylinders (#1442): A flange made as a hull of a large and two small cylinders refused every chamfer and fillet, even on a single straight edge of its rim; one of two cylinders worked. The hull joins corners of the cylinders' polygons, so its flat sides missed the circles' common tangent by about half a degree, and rebuilt exact for the edge tools each side cut its cylinder in a sliver a hair wide. Now a flat face that runs into a cylinder at less than 8° is set onto it before the body is built: moved to touch one cylinder, turned onto the common tangent of two (meshSurfaceTouch.ts), and the corners slide along the line it touches along to where it really touches (touchingSlide in meshSurfaceTopology.ts). Kernel test on the flange of the report: chamfer and fillet on the whole rim and on one edge, and sides that touch to a millionth of a millimetre; both failed before.