View Issue Details

IDProjectCategoryView StatusLast Update
0002625FreeCADBugpublic2016-07-17 11:15
Reporterm42kus Assigned Towmayer  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
PlatformLinuxOSArch Linux 
Fixed in Version0.17 
Summary0002625: Wrong dimension (str) from Unit
DescriptionA Unit created from the string "mm^2*kg/(s^3*K)" results in an Unit object that prints: "mm^2*kg/s^3*K". The Unit seems to have the right dimension, but the string is wrong:

>>> from Units import Unit
>>> Unit("mm*kg/(s^3*K)")
Unit: mm*kg/s^3*K (1,1,-3,0,-1,0,0,0)
>>> Unit("mm*kg/(s^3*K)") == Unit("mm*kg/s^3*K")
False
Tagsunits
FreeCAD Information

Activities

There are no notes attached to this issue.

Related Changesets

FreeCAD: master 7544444d

2016-07-17 13:14:06

wmayer

Details Diff
issue 0002625: Wrong dimension (str) from Unit Affected Issues
0002625
mod - src/Base/Unit.cpp Diff File

Issue History

Date Modified Username Field Change
2016-07-15 21:10 m42kus New Issue
2016-07-15 21:11 m42kus Tag Attached: units
2016-07-17 11:14 wmayer Changeset attached => FreeCAD Master master 7544444d
2016-07-17 11:15 wmayer Status new => closed
2016-07-17 11:15 wmayer Assigned To => wmayer
2016-07-17 11:15 wmayer Resolution open => fixed
2016-07-17 11:15 wmayer Fixed in Version => 0.17