forked from 1b-agent/opencadstudio-upstream
feat: DATAEXTRACTION — export entity data to CSV
- DATAEXTRACTION / EATTEXT / ATTEXT commands trigger an async save dialog - Extracts all model-space entities with: Type, Handle, Layer, Color, Linetype, and a geometry summary per entity type (coords, radius, etc.) - DataExtractionSave / DataExtractionSaveResult message pair drives the rfd save-file dialog asynchronously - CSV fields are properly escaped (commas, quotes, newlines) - ROADMAP.md: 12 DATAEXTRACTION marked ✅ Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
This commit is contained in:
1 parent
b15be3af3d
commit
f80d694818
4 files changed
+118
-1
No files matched your search
@@ -422,6 +422,11 @@ pub enum Message {
|
||||
WblockSave(String),
|
||||
/// Result of the WBLOCK save path dialog.
|
||||
WblockSaveResult(String, Option<std::path::PathBuf>),
|
||||
// ── DATAEXTRACTION ────────────────────────────────────────────────────
|
||||
/// Save the pre-built CSV string to a file chosen by the user.
|
||||
DataExtractionSave(String),
|
||||
/// Path chosen (or None = cancelled).
|
||||
DataExtractionSaveResult(String, Option<std::path::PathBuf>),
|
||||
}
|
||||
|
||||
impl H7CAD {
|
||||
|
||||
Reference in new issue
Block a user