From f8b3e91e23fc662c9b469ea230271c98b9ed2b2a Mon Sep 17 00:00:00 2001
From: Furgo <148809153+furgo16@users.noreply.github.com>
Date: Thu, 10 Jul 2025 12:20:03 +0200
Subject: [PATCH] Import: DXF, add suggestions and improve UI copy.
---
.../Resources/ui/preferences-dxf-import.ui | 14 +++----
src/Mod/Draft/Resources/ui/preferences-dxf.ui | 42 +++++++++----------
2 files changed, 28 insertions(+), 28 deletions(-)
diff --git a/src/Mod/Draft/Resources/ui/preferences-dxf-import.ui b/src/Mod/Draft/Resources/ui/preferences-dxf-import.ui
index fa66b241e8..a6b6b883e6 100644
--- a/src/Mod/Draft/Resources/ui/preferences-dxf-import.ui
+++ b/src/Mod/Draft/Resources/ui/preferences-dxf-import.ui
@@ -17,7 +17,7 @@
-
- Import as
+ Import As
-
@@ -26,10 +26,10 @@
Creates fully parametric Draft objects. Block definitions are imported as
reusable objects (Part Compounds) and instances become `App::Link` objects,
maintaining the block structure. Best for full integration with the Draft
-Workbench. (Legacy importer only)
+workbench.
- Editable draft objects
+ Editable Draft objects
@@ -39,10 +39,10 @@ Workbench. (Legacy importer only)
Creates parametric Part objects (e.g., Part::Line, Part::Circle). Block
definitions are imported as reusable objects (Part Compounds) and instances
become `App::Link` objects, maintaining the block structure. Best for
-script-based post-processing. (Not yet implemented)
+script-based post-processing.
- Editable part primitives
+ Editable Part primitives
@@ -54,7 +54,7 @@ imported as reusable objects (Part Compounds) and instances become `App::Link`
objects, maintaining the block structure. Good for referencing and measuring.
- Individual part shapes (recommended)
+ Individual Part shapes (recommended)
@@ -66,7 +66,7 @@ structures are not preserved; their geometry becomes part of the layer's
shape. Best for viewing very large files with maximum performance.
- Fused part shapes (fastest)
+ Fused Part shapes (fastest)
diff --git a/src/Mod/Draft/Resources/ui/preferences-dxf.ui b/src/Mod/Draft/Resources/ui/preferences-dxf.ui
index 881e5f5e7c..27d1d024f7 100644
--- a/src/Mod/Draft/Resources/ui/preferences-dxf.ui
+++ b/src/Mod/Draft/Resources/ui/preferences-dxf.ui
@@ -105,7 +105,7 @@ the 'dxf_library' addon from the Addon Manager.
-
- Import as
+ Import As
-
@@ -117,10 +117,10 @@ the 'dxf_library' addon from the Addon Manager.
Creates fully parametric Draft objects. Block definitions are imported as
reusable objects (Part Compounds) and instances become `App::Link` objects,
maintaining the block structure. Best for full integration with the Draft
-Workbench.
+workbench.
- Editable draft objects (Highest fidelity, slowest)
+ Editable Draft objects (highest fidelity, slowest)
dxfImportAsDraft
@@ -145,10 +145,10 @@ Workbench.
Creates parametric Part objects (e.g., Part::Line, Part::Circle). Block
definitions are imported as reusable objects (Part Compounds) and instances
become `App::Link` objects, maintaining the block structure. Best for
-script-based post-processing and Part Workbench integration.
+script-based post-processing and Part workbench integration.
- Editable part primitives (High fidelity, slower)
+ Editable Part primitives (high fidelity, slower)
dxfImportAsPrimitives
@@ -172,7 +172,7 @@ imported as reusable objects (Part Compounds) and instances become `App::Link`
objects, maintaining the block structure. Good for referencing and measuring.
- Individual part shapes (Balanced, recommended)
+ Individual Part shapes (balanced, recommended)
true
@@ -199,7 +199,7 @@ structures are not preserved; their geometry becomes part of the layer's
shape. Best for importing and viewing very large files with maximum performance.
- Fused part shapes (Lowest fidelity, fastest)
+ Fused Part shapes (lowest fidelity, fastest)
dxfImportAsFused
@@ -221,7 +221,7 @@ shape. Best for importing and viewing very large files with maximum performance.
-
- Import settings
+ Import Settings
-
@@ -229,7 +229,7 @@ shape. Best for importing and viewing very large files with maximum performance.
-
- Global scaling factor:
+ Global scaling factor
@@ -250,7 +250,7 @@ shape. Best for importing and viewing very large files with maximum performance.
Scale factor to apply to DXF files on import. The factor is the conversion
-between the unit of your DXF file and millimeters. Example: for files in
+between the DXF file's unit and millimeters. Example: for files in
millimeters: 1, in centimeters: 10, in meters: 1000, in inches: 25.4,
in feet: 304.8
@@ -276,7 +276,7 @@ in feet: 304.8
-
- Import:
+ Import
@@ -285,7 +285,7 @@ in feet: 304.8
-
- If checked, text, mtext, and dimension entities will be imported as Draft objects.
+ If checked, text, mtext, and dimension entities will be imported as Draft objects
Texts and dimensions
@@ -301,7 +301,7 @@ in feet: 304.8
-
- If checked, point entities will be imported.
+ If checked, point entities will be imported
Points
@@ -321,7 +321,7 @@ in feet: 304.8
If checked, entities from the paper space will also be imported. By default,
-only model space is imported.
+only model space is imported
Paper space objects
@@ -338,7 +338,7 @@ only model space is imported.
If checked, anonymous blocks (whose names begin with *) will also be imported.
-These are often used for hatches and dimensions.
+These are often used for hatches and dimensions
Anonymous blocks (*-blocks)
@@ -376,7 +376,7 @@ These are often used for hatches and dimensions.
-
- Appearance:
+ Appearance
@@ -386,7 +386,7 @@ These are often used for hatches and dimensions.
If checked, colors will be set as specified in the DXF file whenever
-possible. Otherwise, default FreeCAD colors are applied.
+possible. Otherwise, default FreeCAD colors are applied
Use colors from the DXF file
@@ -408,7 +408,7 @@ possible. Otherwise, default FreeCAD colors are applied.
false
- If checked, imported texts will get the standard Draft Text size, instead of
+ If checked, imported texts will get the standard Draft text size, instead of
the size defined in the DXF document. (Legacy importer only)
@@ -427,7 +427,7 @@ the size defined in the DXF document. (Legacy importer only)
-
- Advanced processing:
+ Advanced processing
@@ -480,10 +480,10 @@ representing that width. (Legacy importer only)
If checked, the legacy importer will attempt to create Sketcher objects
-instead of Draft or Part objects. This overrides the 'Import as' setting.
+instead of Draft or Part objects. This overrides the 'Import As' setting
- Create sketches (legacy importer only)
+ Create sketches
dxfCreateSketch