View Issue Details

IDProjectCategoryView StatusLast Update
0004043FreeCADBugpublic2020-12-03 15:05
Reportermaiden Assigned Toabdullah  
PriorityhighSeveritycrashReproducibilityalways
Status closedResolutionfixed 
PlatformLinux,Windows 
Product Version0.18 
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)
Tags#pending-forum
FreeCAD Information

Activities

Kunda1

2019-06-30 10:30

administrator   ~0013320

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

abdullah

2020-06-07 06:04

manager   ~0014491

I cannot reproduce the issue.

Is this bug still there?

see:
https://forum.freecadweb.org/viewtopic.php?f=3&t=37361&p=317695#p406231

Kunda1

2020-06-18 10:56

administrator   ~0014568

@maiden ping

Kunda1

2020-12-01 11:36

administrator   ~0015039

@maiden ping

Kunda1

2020-12-03 15:05

administrator   ~0015053

OP can't repeat the bug either (reported via the forum thread). Closing ticket.

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
2020-12-01 11:36 Kunda1 Note Added: 0015039
2020-12-01 11:36 Kunda1 Tag Attached: #pending-forum
2020-12-03 15:05 Kunda1 Status feedback => closed
2020-12-03 15:05 Kunda1 Resolution open => fixed
2020-12-03 15:05 Kunda1 Fixed in Version => 0.19
2020-12-03 15:05 Kunda1 Note Added: 0015053