Insert Reference panel: one Attach, labelled underlay tools, slide-out with Edit Reference and xref fading

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ramox81andClaude Opus 5.5 committed 2026-09-24 19:39:23 +03:00
1 parent 1a6279e841
commit 95e2bae0d2
35 files changed
+352 -54

No files matched your search

-13
View File
@@ -4,21 +4,8 @@ use acadrust::EntityType;
use glam::DVec3;
use crate::command::{CadCommand, CmdResult, WorkingPlane};
use crate::modules::{IconKind, ModuleEvent, ToolDef};
use crate::t;
pub const ICON: IconKind =
IconKind::Svg(include_bytes!("../../../assets/icons/underlay_layers.svg"));
pub fn tool() -> ToolDef {
ToolDef {
id: "PDFATTACH",
label: "Attach PDF",
icon: ICON,
event: ModuleEvent::Command("PDFATTACH".to_string()),
}
}
pub struct PdfAttachCommand {
definition_handle: Handle,
plane: WorkingPlane,