View Issue Details

IDProjectCategoryView StatusLast Update
0004043FreeCADBugpublic2020-06-18 10:56
Reportermaiden Assigned Toabdullah  
Status feedbackResolutionopen 
Product Version0.18 
Target Version0.19 
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
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.
FreeCAD Information



2019-06-30 10:30

administrator   ~0013320

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


2020-06-07 06:04

manager   ~0014491

I cannot reproduce the issue.

Is this bug still there?



2020-06-18 10:56

administrator   ~0014568

@maiden ping

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
2020-01-12 13:19 Kunda1 Status acknowledged => confirmed
2020-06-07 06:04 abdullah Assigned To => abdullah
2020-06-07 06:04 abdullah Status confirmed => feedback
2020-06-07 06:04 abdullah Note Added: 0014491
2020-06-18 10:56 Kunda1 Note Added: 0014568