View Issue Details

IDProjectCategoryView StatusLast Update
0002554FreeCADBugpublic2016-05-14 17:31
Reporterwandererfan Assigned Towmayer  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
OSLinuxOS Version12.04 
Product Version0.17 
Target Version0.17Fixed in Version0.17 
Summary0002554: Py Quantity Constructor Angles
DescriptionConstructing Quantity in Python for Angle units has problems with Degree and Radian.

Degree returns 'mm'.
Radian throws exception.

Steps To ReproduceIn Console:

>>> App.Units.Quantity(1, App.Units.Degree)
1 mm
>>> App.Units.Degree
1 deg
>>> App.Units.Quantity(1, App.Units.Radian)
"Unhandled FreeCAD Exception"
>>> App.Units.Radian
57.2958 deg
>>> App.Units.Quantity(1, App.Units.Gon)
1
>>> App.Units.Gon
0.9 deg
TagsNo tags attached.
FreeCAD Information

Activities

There are no notes attached to this issue.

Related Changesets

FreeCAD: master 948bd3f6

2016-05-14 19:30:43

wmayer

Details Diff
+ fixes 0002554: Py Quantity Constructor Angles Affected Issues
0002554
mod - src/Base/QuantityPyImp.cpp Diff File

Issue History

Date Modified Username Field Change
2016-05-14 13:31 wandererfan New Issue
2016-05-14 17:31 wmayer Changeset attached => FreeCAD Master master 948bd3f6
2016-05-14 17:31 wmayer Assigned To => wmayer
2016-05-14 17:31 wmayer Status new => closed
2016-05-14 17:31 wmayer Resolution open => fixed
2016-05-14 17:31 wmayer Fixed in Version => 0.17