View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001493 | File formats | Feature | public | 2014-03-25 14:59 | 2019-07-30 22:40 |
Reporter | barleyman | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Summary | 0001493: IDF import fails on 0 height | ||||
Description | IDF import fails if a geometry has 0 height | ||||
Steps To Reproduce | From the FILE menu, select OPEN and select an *.emn file which has 0 height component in it | ||||
Additional Information | Opening IDF file that neglects to define height for all components throws an exception Traceback (most recent call last): File "<string>", line 1, in <module> File "C:\Program Files\FreeCAD 0.14\Mod\Idf\Idf.py", line 66, in open process_emn(doc,filename) File "C:\Program Files\FreeCAD 0.14\Mod\Idf\Idf.py", line 131, in process_emn process_emp(doc,filename,placement,board_thickness) File "C:\Program Files\FreeCAD 0.14\Mod\Idf\Idf.py", line 249, in process_emp comps.append((comp_PartNumber,[Process_comp_outline(doc,comp_outline,comp_height),comp_GeometryName])) File "C:\Program Files\FreeCAD 0.14\Mod\Idf\Idf.py", line 321, in Process_comp_outline out_shape=out_shape.extrude(Base.Vector(0,0,comp_height)) <type 'exceptions.Exception'>: BRepSweep_Translation::Constructor To fix the issue, change all 0-height components to 0.1 height components by adding this to line 249 if comp_height==0: comp_height=0.1 | ||||
Tags | No tags attached. | ||||
FreeCAD Information | |||||
FreeCAD: master d40d5a3e 2014-03-25 16:07:20 Details Diff |
Update Idf.py Fixes for bugs 0001491, 0001492, 0001493 |
Affected Issues 0001491, 0001492, 0001493 |
|
mod - src/Mod/Idf/Idf.py | Diff File | ||
FreeCAD: master 69044c6b 2014-03-29 13:00:41 Details Diff |
Merge branch 'patch-1' of https://github.com/Barleyman/FreeCAD_sf_master |
Affected Issues 0001491, 0001492, 0001493 |
|
mod - src/Mod/Idf/Idf.py | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2014-03-25 14:59 | barleyman | New Issue | |
2014-03-25 14:59 | barleyman | File Added: Zero height IDF.zip | |
2014-03-29 12:55 | wmayer | Changeset attached | => FreeCAD Master master 69044c6b |
2014-03-29 12:56 | wmayer | Status | new => closed |
2014-03-29 12:56 | wmayer | Resolution | open => fixed |
2019-07-30 22:40 | Kunda1 | Changeset attached | => FreeCAD master d40d5a3e |