View Issue Details

IDProjectCategoryView StatusLast Update
0004672SketcherBugpublic2021-06-02 20:32
Reporterwst Assigned To 
PriorityhighSeveritymajorReproducibilityhave not tried
Status feedbackResolutionopen 
Product Version0.19 
Summary0004672: Datum 10,00 m for the constraint with index 6 is invalid
Description
  1. create a new file > new part > open sketcher.
  2. draw a vertical line (vertical constraint)
  3. add a vertical length constraint of 4200 mm
  4. draw a new horizontal line from the bottom point to the right (horizontal constraint)
  5. add a horizontal length constraint of 10000 mm (10m)

You will receive: "Datum 10,00 m for the constraint with index 6 is invalid.



12:28:18  Traceback (most recent call last):
  File "<string>", line 1, in <module>
<class 'ValueError'>: Datum 10,00 m for the constraint with index 6 is invalid
12:28:18  App.getDocument('Naamloos').getObject('Sketch').setDatum(6,App.Units.Quantity('10000.000000 mm'))
12:28:30  Traceback (most recent call last):
  File "<string>", line 1, in <module>
<class 'ValueError'>: Datum 10,00 m for the constraint with index 6 is invalid
12:28:30  App.getDocument('Naamloos').getObject('Sketch').setDatum(6,App.Units.Quantity('10000.000000 mm'))


Steps To Reproduce
  1. create a new file > new part > open sketcher.
  2. draw a vertical line (vertical constraint)
  3. add a vertical length constraint of 4200 mm
  4. draw a new horizontal line from the bottom point to the right (horizontal constraint)
  5. add a horizontal length constraint of 10000 mm (10m)
Additional InformationWindows 10 latest update
TagsNo tags attached.
FreeCAD InformationOS: Windows 10 Version 2009
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.24276 (Git)
Build type: Release
Branch: releases/FreeCAD-0-19
Hash: a88db11e0a908f6e38f92bfc5187b13ebe470438
Python version: 3.8.6+
Qt version: 5.15.1
Coin version: 4.0.1
OCC version: 7.5.0
Locale: Dutch/Belgium (nl_BE)

Activities

Kunda1

2021-06-02 18:56

administrator   ~0015687

@wst can you reproduce on v0.20 dev? https://github.com/FreeCAD/FreeCAD-Bundle/releases/tag/weekly-builds

Issue History

Date Modified Username Field Change
2021-05-31 10:39 wst New Issue
2021-06-02 18:56 Kunda1 Note Added: 0015687
2021-06-02 20:32 Kunda1 Status new => feedback