Roadmap 0.11, Suggestions and email, 2026-11-10 to 11-13
SU.1807 Pen-first drawing in CadCraft and BimCraft on iPad: Apple Pencil pressure, hover, double-tap to switch tools, palm rejection and pen gestures
Asked on /suggest (#1807, 2026-11-13, no email left): iPad and Apple Pencil support for BimCraft and CadCraft, rethinking how the pen is used in CAD and BIM.
What exists: Track ID (input devices, 0.8) handles pens through Pointer Events in the browser. This row, in the shared input code (one module, every app gets it): pointerType pen vs touch (palm rejection: touch ignored while a pen is near or down), hover preview with the pen above the glass, pressure and tilt passed to sketch tools, the Pencil's double-tap/squeeze mapped to a setting (last tool, eraser, snap menu) where Safari or the Studio web view exposes it, gestures (scribble out to delete, circle to select) behind a setting. Tested in Chromium with synthetic pen events; real Pencil behaviour is a hand test and the row stays Partly built until then.
Built 2026-11-14 (pen-10), partly, in the lab: assets/js/app-pen.js (one module, every app; loaded by app-devices-ui.js only when the page prints #cc-pen, which needs .env PEN_SHARED=1: off). Hover ring and 'cc-pen-hover'; pressure, tilt and a width curve as 'cc-pen-stroke' samples; palm rejection where app-phone.js is absent; the Pencil's double-tap and squeeze mapped to any command (Settings, Input devices, Pen), a double press of a pen's barrel button counts as a double-tap; scribble out and circle gestures behind a setting (off). Found out: no web API exposes the Apple Pencil's double-tap or squeeze (UIPencilInteraction is native), so a plain browser or Safari on an iPad cannot see them; Studio for iPad (IPAD,
LANDED 2026-11-20 (bim-inbox-11) BimCraft half: pen-bim.js reads the shell's cc-pen-stroke; a pen stroke on the plan with the Sketch stair tool becomes the walking line (corners by Douglas-Peucker, a line, an L or a U). node: --pen 8/0, --stairsketch passes. Not run in a page, with a real pen, or with PEN_SHARED on (the owner's switch, off). BimCraft has no freehand sketch tool beyond the stair, so pressure has nothing to size there. (bim-inbox-11)
Community comments
No comments yet
Add detail as we go: how you would use it, files or steps that show the problem, what other programs do. The team reads every comment.
Sign in or create a free account to add a comment.