View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002035 | FreeCAD | Feature | public | 2015-03-31 13:54 | 2015-04-27 14:26 |
| Reporter | yorik | Assigned To | yorik | ||
| Priority | normal | Severity | minor | Reproducibility | N/A |
| Status | closed | Resolution | not fixable | ||
| Fixed in Version | 0.16 | ||||
| Summary | 0002035: Draft - Add units support to the DXF importer | ||||
| Description | Imported DXF files that contain units information should be treated accordingly. For reference: $INSUNITS 70 = 1 = inches $DIMLUNIT 70 = 4 = Architectual I also tried with 2 = decimal | ||||
| Additional Information | http://forum.freecadweb.org/posting.php?mode=reply&f=3&t=10341 | ||||
| Tags | No tags attached. | ||||
| FreeCAD Information | |||||
|
|
h = importDXF.drawing.header for d in h.data: if d[1] == "$INSUNITS": print h.data[h.data.index(d)+1][1] From http://images.autodesk.com/adsk/files/acad_dxf0.pdf Default drawing units for AutoCAD DesignCenter blocks: 0 = Unitless 1 = Inches 2 = Feet 3 = Miles 4 = Millimeters 5 = Centimeters 6 = Meters 7 = Kilometers 8 = Microinches 9 = Mils 10 = Yards 11 = Angstroms 12 = Nanometers 13 = Microns 14 = Decimeters 15 = Decameters 16 = Hectometers 17 = Gigameters 18 = Astronomical units 19 = Light years 20 = Parsecs |
|
|
These settings actually indicate a unit in which you wish to import blocks. It is not meant to indicate the units of the DXF file itself. As far as I could see, there is no setting in the DXF reference that allow to specify in which unit the file is made. I think it's best not to use the settings above as it might not indicate the wish of the user. I'll close this issue until new info arises |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2015-03-31 13:54 | yorik | New Issue | |
| 2015-03-31 13:54 | yorik | Status | new => assigned |
| 2015-03-31 13:54 | yorik | Assigned To | => yorik |
| 2015-04-02 01:41 | yorik | Note Added: 0005959 | |
| 2015-04-27 14:26 | yorik | Note Added: 0006092 | |
| 2015-04-27 14:26 | yorik | Status | assigned => closed |
| 2015-04-27 14:26 | yorik | Resolution | open => not fixable |
| 2015-04-27 14:26 | yorik | Fixed in Version | => 0.16 |
FreeCAD