View Issue Details

IDProjectCategoryView StatusLast Update
0004745PathBugpublic2021-09-17 07:17
Reportermclane Assigned To 
Status newResolutionopen 
PlatformX86-64OSLinuxOS VersionManjaro
Product Version0.20 
Summary0004745: Creating a 2D path job for ShapeStrings fails
Descriptionsee forum thread

The creation of a path job with a 2D ShapeString fails with a Python error. This seems to happen only in Linux environments, not in Windows. However, the Python versions are different, see forum thread.
Steps To Reproduce
  1. Create new document
  2. Go to Draft workbench and create ShapeString
  3. Go To Path workpench and click on CreatePathJob; check 2D ShapeString and click ok
  4. --> Python error is thrown
Additional Information09:10:50 Traceback (most recent call last):
  File "/usr/lib/freecad/Mod/Path/PathScripts/", line 153, in onChanged
  File "/usr/lib/freecad/Mod/Path/PathScripts/", line 147, in execute
    shape = Part.makeBox(self.length, self.width, self.height, self.origin)
<class 'ValueError'>: height of box too small
09:10:50 PathJobGui.ERROR: height of box too small
09:10:50 Traceback (most recent call last):
09:10:50 File "/usr/lib/freecad/Mod/Path/PathScripts/", line 1561, in Create
    obj = PathJob.Create("Job", base, template)
09:10:50 File "/usr/lib/freecad/Mod/Path/PathScripts/", line 718, in Create
    obj.Proxy = ObjectJob(obj, models, templateFile)
09:10:50 File "/usr/lib/freecad/Mod/Path/PathScripts/", line 244, in __init__
    obj.Stock = PathStock.CreateFromTemplate(obj, json.loads(stockTemplate))
09:10:50 File "/usr/lib/freecad/Mod/Path/PathScripts/", line 390, in CreateFromTemplate
    return CreateFromBase(job, neg, pos, placement)
09:10:50 File "/usr/lib/freecad/Mod/Path/PathScripts/", line 267, in CreateFromBase
09:10:50 File "/usr/lib/freecad/Mod/Path/PathScripts/", line 147, in execute
    shape = Part.makeBox(self.length, self.width, self.height, self.origin)
09:10:50 ValueError: height of box too small
FreeCAD InformationOS: Manjaro Linux (XFCE/xfce)
Word size of FreeCAD: 64-bit
Version: 0.20.25697 (Git)
Build type: Release
Branch: master
Hash: da918350c9efbd7751bd7e48a71cd4bded571500
Python version: 3.9.6
Qt version: 5.15.2
Coin version: 4.0.1
OCC version: 7.5.0
Locale: German/Germany (de_DE)


There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2021-09-17 07:15 mclane New Issue
2021-09-17 07:15 mclane Tag Attached: Path
2021-09-17 07:17 mclane Description Updated