Skip to content

layerling 1.187.0

Choose a tag to compare

@henmedia henmedia released this 30 Nov 21:52
· 256 commits to main since this release

Cut out

  • Keep both pieces: one cutting shape cuts a body in two in place (Facebook group): Cut out has a new switch Keep both pieces. With it on, the part is only a cutting shape: the body comes out as two pieces where it was, the one with the cavity (with the clearance, as before) and the piece that lay inside the cutting shape (its own size, from an intersection of the two), and the cutting shape is deleted. Before, that took six steps: duplicating both, intersecting the copies, hiding them, cutting out, deleting the cutting shape and showing the piece again. The cutting shape can be any solid, also a group or an imported mesh; a clearance still needs an exact body. MCP: layerling_cut_out takes keepBoth and returns the piece. Guide chapter 5 and the MCP list in chapter 14 in every language. Tests in cutOutKeepBoth.e2e.ts.

Hollow

  • A loose tray without dividers (PR #2277, by @marcus040473, Discussion #2193): Hollow has a switch Loose tray without dividers where the box has no dividers. On Hollow it lays a plain tray beside the box, a plate and a wall of its own, the play smaller than the inside, with a height of your own if wanted. In a box with a shelf ledge it rests on the ledge, so there is room under it. It follows its box like the loose insert does, and switching on Dividers turns it into that insert. MCP: dividerInsert without dividers.
  • The tray as a drawer, with a knob or a grip bar (PR #2274, by @marcus040473, Discussion #2221): A box that is open at one upright side as well as the top now gets its loose tray as a drawer, which closes the open side with its own wall. It can carry a Round knob or a Grip bar of 8 to 40 mm that print without supports. MCP: insertKnob and insertKnobSize.
  • Shelf ledges in a box open at the front (PR #2276, by @marcus040473, Discussion #2188): A box hollowed with one side open instead of the top, or with two facing sides open, now takes shelf ledges too, like a bookcase. The plates slide in level, so every ledge keeps the full width and there can be up to 20 of them. With the top open nothing changes.

Split

  • Dowels, filament dowels and plugs show as see-through pins in the preview (PR #2272, by @marcus040473, Discussion #2251): Each connector was only marked as the ring of its hole on the cut plane, which is hardly to be seen on a thin plate. It now also lies through the plane as the see-through body it will be. The guide says that with the number per cut face at 0 a shorter cut can get one connector fewer.

Files

  • Save asks before writing over a design file that was changed elsewhere (PR #2275, by @marcus040473): In Chrome and Edge, layerling remembers the size and time of a linked .lyl file. If they differ at the next Save, say after work on a second computer through a synced folder, nothing is written; the message stays and offers Overwrite anyway, and Save as keeps both.
  • A description for each design on the start page (Discussion #2278): A design's menu on the start page, also opened by a right click on its card, has a new entry Description for a few lines about the design: its size, the material, the version, whether it has been printed. A card with a description shows a small mark in front of its date, and hovering over the card shows the text without opening the design; on a tablet it is read in the same menu. The text goes into the design's .lyl file (metadata.description, which older versions pass over), so it travels into backups, onto the server and into a copy.

Large designs

  • The mold panel's live check after a change is almost three times as fast (PR #2273, by @marcus040473, Discussion #2232): The geometry worker keeps the master's solid and the ratings of the opening directions while the panel is open, so a change of a wall, a key or a sprue no longer builds and rates the master anew. Two-part mold of 124,000 triangles: 1.8 s for the first check, 0.65 s for each after it; 492,000 triangles: 7.1 s and 2.5 s. What a check says is unchanged.
  • A hole pattern of many holes is built up to 60 times as fast: A new shape now holds only the fields that are set for its kind, instead of over two hundred keys of which most were empty; making such an object, and every copy of it, was slow. A pattern of 969 holes is built in 8 ms instead of 507 ms, one of 2,412 holes in 19 ms instead of 1,281 ms (measured), on every change of a number in the preview. Stored designs, signatures and meshes are the same for all library shapes.
  • Stencil bridges, a cookie cutter's bars and the connectors of a split: found faster, with the same result: The bridges of a stencil for a line of text (2,500 edges) are found in 42 ms instead of 124 ms for the whole tool, on every change of the width or the number; widely spaced islands went from 4.0 s to 0.07 s. A cookie cutter's bars for an outline of 2,400 points take 0.09 s instead of 0.74 s. Dowels, plugs and magnets are placed on a cut face of 6,000 edges in 23 ms instead of 468 ms, on a usual one of 300 edges in 4.5 ms instead of 25 ms; a dovetail without room 3 times as fast. All measured, the results identical to the last bit (stencil bridges by @plazmabokor, the split's connectors by @marcus040473; see Discussion #2232).
  • Surface texture: picking faces 3 times as fast, the own picture checked 10 times as fast: Choose faces on a body of 347,000 triangles takes 0.26 s instead of 0.8 s (the whole pick 0.45 s instead of 1.06 s); the check of an own picture, which ran on every change of a setting, 0.5 ms instead of 5.3 ms; a bark 8 % faster. Face numbers and textured bodies are the same (module by @marcus040473).
  • A vase with a relief is built 1.3 times as fast: What all quads of a row share is worked out once per row (blueten fine 461 ms -> 353 ms, a honeycomb over part of the height 230 ms -> 145 ms, measured), every corner and triangle as before (module by @marcus040473).
  • Large imports: lifting, the height handle and Lay flat react faster: The box of a tilted import is kept while the body is only moved, lifted or recoloured (a million triangles: 177 ms per step of a lift with the position shown -> none, the first box 30 ms instead of 178 ms). A height handle gives a tilted import a new mesh only when the height changes, not at every move of the pointer within one step of the grid. Lay flat finds a flat face of 200,000 triangles in 73 ms instead of 272 ms and no longer searches it again while the pointer stays on that face.
  • Paint, Punch, pattern plates and plain text: smaller gains: A brush line without the cutting kernel (kernel not loaded yet, meshes over 400,000 triangles, open imports) is laid on 100,000 triangles in 70 ms instead of 1.4 s; with the kernel, the usual case, 1.25 times as fast. A punch's outline of 128,000 triangles 22 to 30 % faster, a pattern plate with sloping openings 1.45 times, plain text at every key 6 to 13 % (paint and pattern plates by @marcus040473).

Guide

  • Frequent questions: a border round a name (Discussion #2271, asked by @tracyb70): New answer in every guide language for those who know LightBurn's offset: Make layers puts wider layers under a text, and Offset with Sideways grows only the outline of other bodies.

  • Frequent questions: the same space between parts (asked by a member of the Facebook group): New answer in every guide language: Align spaces three or more parts evenly with the wider dot next to the middle one, and Pattern repeats one part at a typed spacing.

Settings

  • Shape defaults have a colour field (Discussion #2280): Under Settings → Shape defaults each shape now has a Color field, with presets, a hex field and a button back to the app's colour. It is the same value that Save as default in the shape's properties already keeps: both set the colour a new shape of that kind starts with, and the shape library shows it too. Guide chapter 2 in every language.

Fixes

  • Saving to the server: no picture of the design opened next, no endless retry behind the start page: A change still waiting when the start page came up was tried again every 900 ms without ever reaching the server, and an editor already taken down for another design could send that other design's picture as its own. The editor now keeps the last picture of its own design and uses it when the view cannot be asked.
  • STEP: a cone mirrored top to bottom no longer comes out upside down; 3MF: a mirroring transform no longer turns the body inside out; DXF: a polyline of very many pieces is refused cleanly instead of failing with a stack overflow (DXF import by @plazmabokor, results for readable files unchanged).
  • Groups saved without a colour choice keep their parts' colours instead of turning one colour a quarter of a second after they are drawn.
  • Japanese and Chinese characters in a text with letter spacing: a text whose spacing is not 0 kept drawing "?" for them after their file had arrived. The spaced copies of a font are also limited to 16 (a drag on the slider held some 80 MB before).
  • A straight round rack's end caps have no flipped triangles (hairlines on 100 of 100 racks before; the bodies were closed already). A flat spring in a box too small for it is laid out in the smallest box that fits and brought down to size, instead of coordinates without number. A drive in a wing or star knob head stays within the head's real outline, and the face round it is filled without folded triangles; the default slot in those two heads is a little shorter for it (M6: 25.1 and 23.4 mm instead of 26.5 mm).
  • Japanese and Chinese characters in a font of one's own come at their full size: lent to a font that was already drawn when their file arrived, they kept their own 1,000 units, and in a font drawn on 2,048 units they stood at less than half their height (found in a review; the lending by @yokobond in #523).
  • Renaming an attachment whose name is 119 or 120 characters long no longer freezes the tab: the number added to make the name free was cut off again at the length limit, so the search never ended. The stem now gives way to the number (attachments by @jbuggie in #835).
  • Hollow: scoops that lie in no compartment no longer take the body away with a misleading message (the body handed back as it came was released).
  • Shared project store: a stale lock is taken over by one request only, and a request releases only its own lock (Node route and store.php alike).
  • Manifold bodies are freed when a step fails in flexi joints, a turned lid, Split and the cookie cutter's footprint.