DWF/DGN underlays: draw content as vector wires

A DWF sheet or DGN model is drawn as world-space wires (one line wire per
colour and width, one fill wire per colour) instead of a raster rescaled
to the view, so it stays sharp while zooming instead of showing pixels
until the raster is made again. Colours go through the colour table
mapping, contrast, fade and monochrome; clip boundaries clip the wires.
The wires are drawn and plotted but neither picked nor snapped; the
underlay's own snap geometry still serves object snaps.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ramox81andClaude Opus 5.5 committed 2026-09-29 12:43:20 +03:00
1 parent be023142de
commit 507a6ab43c
8 files changed
+310 -100

No files matched your search

+3
View File
@@ -11,6 +11,9 @@ mod dgn7;
mod dgn8;
mod dwf;
mod model;
mod wires;
pub(crate) use wires::display_wires;
use std::collections::HashMap;
use std::sync::{Arc, Mutex, OnceLock};