Workshop notebook for tablets: a calibrated photo and a pencil sketch become a dimensioned 2D drawing, with layers, blocks and export to DXF, SVG, scaled PDF and eModel3D.

eCADMobile is a workshop notebook for tablets. You take a photo of a part, a piece of furniture or a wall, draw and dimension on top of it with the pen, and get a clean 2D drawing measured in centimetres. It is meant for taking measurements on site or in the workshop without going through a desktop CAD program.
Work starts with a photo and a calibration: you mark a reference of known size (an A4 sheet, a card, the four corners of a wall with their measurements, or a distance between two points) and the app computes a homography that corrects perspective and sets the scale. From then on everything is stored in centimetres.
You sketch freehand on the photo. When you press "Clean up to drawing", each stroke is recognised as a line, arc, circle, rectangle or polyline by least squares, snapping to 15° angles, parallels, perpendiculars and points. On the Drawing tab recognition is immediate.
Dimensions drive the drawing. A dimension solver (weighted Levenberg-Marquardt) readjusts the whole drawing when a measurement is fixed:
With a pen, fingers only pan and zoom (palm rejection); without a pen, a finger or the mouse draws. Live ink is painted on a separate layer with a small prediction of the next point to reduce lag. The document saves itself and has undo.
Written in Flutter and Dart. The core (geometry, stroke recognition, homography, document, dimensions, solver and exporters) is pure Dart, independent of the interface, with its own tests. Editor state uses Riverpod. The PDF is generated with the pdf package and handwritten figures are read with ML Kit Digital Ink, whose model is downloaded once. The interface uses the shared theme of the in-house apps.
It is a working drawing, not a full CAD system: it draws in 2D and accuracy depends on the photo calibration. Photos are corrected as a flat plane, so anything that sticks out from the wall or the part is not to scale. Handwritten figure recognition works on the tablet; on the desktop the figure is typed.