Превращение бумажного плана или устаревшего MEP-чертежа в чистый, полностью редактируемый DWG/DXF не должно ощущаться как перестройка проекта с нуля. The goal is editability: joined polylines, true arcs, reusable blocks, searchable text. This guide gives a reproducible workflow from scan to QA.
Шаг 1 — Сканировать для редактируемости
Target 300–600 DPI for architectural/MEP sheets. Prefer TIFF or PNG; avoid JPEG for masters. Flatten sheets, confirm orientation, include a known dimension or scale bar.
Шаг 2 — Предобработка изображения
Deskew, denoise, binarize (global or adaptive threshold). Use morphology to reconnect breaks. Test on a small region first.
Шаг 3 — Векторизация с настройками «сначала редактируемость»
Balance detection thresholds, corner sensitivity, smoothing, gap-closing. Enable OCR for notes/dimensions. Define blocks for repeated symbols after conversion.
Шаг 4 — Калибровка масштаба и единиц в CAD
Set units (-DWGUNITS/INSUNITS). Calibrate with a known dimension (SCALE Reference or ALIGN). Verify with DIST.
Шаг 5 — Очистка и QA
AUDIT; PURGE; OVERKILL. PEDIT Join; rebuild symbols as blocks; clean layers (LAYMRG). QA: closed polylines, real arcs, selectable text, correct scale/units.
Шаг 6 — Пропускная способность и воспроизводимость
Define presets per drawing type; log parameters per batch; use batch convert and named profiles where supported.
Практический пример — JPG/PNG в CAD онлайн
Use Image to CAD: upload JPG/PNG, technical-drawing preset, enable OCR, export DWG/DXF. Keep 300–600 DPI; spot-check before full batch.
Устранение неполадок — симптомы и исправления
| Symptom | Cause | Fix |
|---|---|---|
| Фрагментированные полилинии | Low DPI; gap closing; noise | Rescan 300–600 DPI; denoise; PEDIT Join |
| Ступенчатые кривые | Low res; threshold; smoothing | Higher DPI; adaptive threshold; smoothing |
| Линии-призраки | Shadows; JPEG artifacts | Rescan flat; avoid JPEG; deskew |
| Текст распознан неверно | Low contrast; OCR bounds | Contrast; widen OCR; correct post-export |
| Смещение масштаба | DPI unknown; unit mismatch | -DWGUNITS; SCALE Ref or ALIGN; verify |
Когда перерисовывать частично
If scans are badly smudged or low-res, convert what you can and redraw illegible details. Hatches are often faster to reapply in CAD.
Заключение
Scan cleanly, preprocess, vectorize with editability-first settings, lock units/scale, then cleanup and QA. Use Image to CAD to verify DPI and OCR before finalizing in your CAD.