View Issue Details

IDProjectCategoryView StatusLast Update
0001440DraftBugpublic2014-03-11 01:59
Reporterrockn Assigned Toyorik  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
PlatformLinuxOSUbuntu 12.04OS Version64 bits
Product Versiontrunk 
Summary0001440: [DXF] Error when export project along the current view direction
DescriptionI get an error when I export a 3d file (made in FreeCAD) to dxf when the "Project export along the curretn view direction" option is cheked.

Traceback (most recent call last):
  File "<string>", line 4, in <module>
  File "/home/jo/BEBois/Dev/Git/FreeCAD_yorik/build/Mod/Draft/importDXF.py", line 1635, in export
    direction = FreeCADGui.ActiveDocument.ActiveView.getViewDirection()
<type 'exceptions.NameError'>: global name 'FreeCADGui' is not defined
Stack Trace: Traceback (most recent call last):
  File "<string>", line 4, in <module>
  File "/home/jo/BEBois/Dev/Git/FreeCAD_yorik/build/Mod/Draft/importDXF.py", line 1635, in export
    direction = FreeCADGui.ActiveDocument.ActiveView.getViewDirection()
Steps To ReproduceChek the option Project exported along the current view direction and try and export.
Additional InformationAdd : "Import FreeCADgui" in line 1634 of importDXF.py solve the issue.
TagsNo tags attached.
FreeCAD Information

Activities

rockn

2014-02-25 11:22

developer   ~0004300

OS: Ubuntu 12.04.4 LTS
Platform: 64-bit
Version: 0.14.3205 (Git)
Branch: master
Hash: bab0c366a7fdccb6f77b9af817bd690ad214b9e1
Python version: 2.7.3
Qt version: 4.8.1
Coin version: 3.1.3
SoQt version: 1.5.0
OCC version: 6.5.1

Related Changesets

FreeCAD: master 39a6b170

2014-03-11 02:36:37

yorik

Details Diff
Draft: bug in DXF export - fixes 0001440 Affected Issues
0001440
mod - src/Mod/Draft/importDXF.py Diff File

Issue History

Date Modified Username Field Change
2014-02-25 03:21 rockn New Issue
2014-02-25 11:22 rockn Note Added: 0004300
2014-03-11 01:37 yorik Assigned To => yorik
2014-03-11 01:37 yorik Status new => assigned
2014-03-11 01:37 yorik Project Arch => Draft
2014-03-11 01:59 yorik Changeset attached => FreeCAD Master master 39a6b170
2014-03-11 01:59 yorik Status assigned => closed
2014-03-11 01:59 yorik Resolution open => fixed