Repository navigation
Ideas #1
Replies: 7 comments 4 replies
|
Hi there, sorry I totally missed this, both 1 and 2 as PR would be fine |
|
Hi! Could you provide some information on what other features are expected? |
|
Hi henmedia, Following up after the twist/lean contribution - thank you again for merging that in and fixing the edge-treatment and MCP gaps I'd missed. This time I'm opening a PR for a turtle-style Bend panel: for a cylinder (or an already-bent result), a new panel in the inspector lets you build a tube step by step - Segment Length, Bend Angle and Bend Roll sliders add one straight spine segment relative to the tube's current heading, and Lock In & Start Next Segment commits it and starts the next one, so a multi-bend tube (pipe routing, a cable guide, a bracket) can be built entirely from the panel without leaving the editor. A few implementation notes, in case they're useful for review:
typecheck and the full existing test suite (586 tests) pass; I have not yet tested this manually in a browser myself. One more thing before you look at this PR: I have a second idea I'd like your take on, inspired by a Tinkercad community shape generator called "Bent Pipe" - a hollow version (round, square, hexagon, octagon, with the outer and inner profile independently selectable) using genuine arc-radius bends instead of straight segments, closer to a real pipe-bender's output. Keeping this panel's chained, multi-segment approach rather than Tinkercad's one-shot generator would actually make it more ergonomic, not just different - a whole multi-bend run (several bends in sequence) can be built and adjusted live in one continuous session, instead of creating, positioning and union-ing a separate shape per bend. A hollow, multi-segment bent tube like this would also be genuinely useful for 3D printing itself - for example building duct-style part-cooling fan shrouds/horns, where a hollow, precisely bent (and often multi-bend) duct is exactly the shape needed. I've validated the geometry approach already (leg-arc-leg spine using Thanks again for the project. |
|
Proposal: a neutral grey dark theme ("Graphite") Hi! Would you be open to a fourth theme option next to System / Light / Dark? "Graphite" is the existing dark theme with neutral grey surfaces instead of the warm brown ones, and a light grey workplane grid instead of the yellow one. The orange accents stay exactly as they are - no blue. How it works (I have it running locally):
Screenshots below. If you like the idea, I'll send it as a separate PR (independent of #13). If you'd rather keep a single dark theme, no problem at all. |
|
Proposal: a neutral grey dark theme ("Graphite") – would you like it, or build it yourself? Hi! I personally find the warm brown dark UI and the yellow workplane grid hard on the eyes, so I built a neutral grey variant for myself and wanted to ask whether you'd like it in layerling – or whether you'd rather build it yourself, your way. What it is: How it works (running locally, typecheck and all unit tests pass):
Honest downsides:
Side finding that may be useful for the current dark theme too: a few light-theme colours are never overridden in dark mode, e.g. the inactive "Hole" label (#74614e) and the empty part of the sliders (#e8e3da). So, three options – whichever you prefer is fine: Thanks! |
|
It's a great tool, just supported with a small donation. It would be good if you can setup a discord server so community can ask,comment and contribute. |
|
Proposal: exact CAD bodies for catalog shapes, so fillets/chamfers work beyond 4,000 triangles Hi! The edge tool is the main thing stopping me now. Most of the models I build are groups of about 8,000–10,000 triangles, so fillets and chamfers are refused by the 4,000-triangle limit. I understand why the limit is there (your measurements in cadModifierRuntime.ts are clear: 3,806 triangles in ~11 s, 7,612 not done after 4 min), so raising it would not help. But I think the cause can be removed for most shapes, without changing the UI at all. What I found in the code (1.17.3)
Proposal: build exact B-Reps from the shape parameters, like the primitives already do
Imported STL would stay on the mesh path (STEP remains the exact route there). Result: a star or a bent tube becomes a body of a few dozen faces instead of thousands of triangles, fillets run on real edges, and a group only counts its remaining mesh parts – so typical models would drop far below the limit or out of it entirely. Same simplicity for the user; the difference is only behind the scenes. How I'd do it
Would you like this? If yes, I'd start with step 1 as a focused PR. If you'd rather design it yourself because it touches the CAD worker, that's completely fine too – then please take this as a suggestion. Thanks! |

Uh oh!
There was an error while loading. Please reload this page.
Hi henmedia,
Great work on layerling — the autosave fix alone makes a real difference in daily use. We have been running a local fork of SketchForge for 3D printing work and wanted to share what we have built, in case any of it is useful to you.
1. Sweep / pipe bend feature
We built a turtle-style bend tool for cylinders, using the existing occt-wasm pipeline:
sweepPipeShell(Frenet mode, with a straight-line spine), committed with Lock In & Start Next SegmentextrudeSweepPathand radius inextrudeSweepRadiusonWorkplaneShapesweep), one newshapeFromSweptPathasync function, and the ShapeInspector panel — no changes to any other existing fileUseful for pipe routing, cable guides, brackets.
2. Extrude Twist, Width Offset and Length Offset
We also have three additional properties for box and cylinder extrusions that are not in layerling (or the original SketchForge) yet:
extrudeTwist): rotates the top face relative to the base, ±720°, giving a twisted or spiral extrusionextrudeTopOffsetX): shifts the top face along the X axis, ±80 mmextrudeTopOffsetZ): shifts the top face along the Z axis, ±80 mmThese are implemented as slider properties in ShapeInspector and handled in the geometry rebuild in SketchForgeEditor — the top face vertices are offset and the sides are re-triangulated accordingly. Very useful for creating angled brackets, tapered connectors and wedge-like shapes without needing a sketch.
3. Chamfer / fillet freezing (already fixed in layerling)
Just to confirm what we found independently: the chamfer hang on complex objects (cylinders with 96+ sides) was caused by the autosave blocking the main thread — exactly what your PR #105 fixes. With that fix in place, chamfer on a 512-side cylinder at 2 mm works without issue. We strongly recommend this reaches SketchForge upstream as well.
Would it be useful if we sent you the implementation files for the sweep and the extrude offset/twist features, or would you prefer a pull request?
Thanks for the great work.


All reactions