View Issue Details

IDProjectCategoryView StatusLast Update
0004043FreeCADBugpublic2019-06-30 10:30
ReportermaidenAssigned To 
PriorityhighSeveritycrashReproducibilityalways
Status acknowledgedResolutionopen 
PlatformLinux,WindowsOSOS Version
Product Version0.18 
Target Version0.19Fixed in Version 
Summary0004043: Shape.exportStl locks FreeCAD
DescriptionForum thread: Here

I detected that FreeCAD locks when i run a python script to export stl files.

After some debugging i found that calling Shape.exportStl() will permanently freeze FreeCAD.

There are several 'workarounds' as there are other way to export stl files. But if we want to keep the interface we should resolve this.
Steps To ReproduceGiven that you have a partDesign document open with a object within that have a Shape.

I have tested this by creating a sketch then pad.

objs = FreeCAD.ActiveDocument.Objects
objs[0].Shape.exportStl('test.stl')
Additional InformationOS: Ubuntu 19.04
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.1.
Build type: Release
Python version: 3.7.3
Qt version: 5.12.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/United States (en_US)

also verified on:

OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.17161 (Git)
Build type: Release
Branch: master
Hash: ffd0019063ea0896340563b18c718fa42ad36ffb
Python version: 3.6.6
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: German/Germany (de_DE)
TagsNo tags attached.

Activities

Kunda1

2019-06-30 10:30

administrator   ~0013320

Added 'high' priority due to crash. Thanks for report.

Issue History

Date Modified Username Field Change
2019-06-30 07:20 maiden New Issue
2019-06-30 10:30 Kunda1 Priority normal => high
2019-06-30 10:30 Kunda1 Status new => acknowledged
2019-06-30 10:30 Kunda1 Target Version => 0.19
2019-06-30 10:30 Kunda1 Note Added: 0013320