View Issue Details

IDProjectCategoryView StatusLast Update
0001451FreeCADBugpublic2014-02-28 19:19
Reporterquick61 Assigned Toyorik  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Versiontrunk 
Summary0001451: Draft Array Broken
DescriptionReference forum thread - http://forum.freecadweb.org/viewtopic.php?f=3&t=5963&p=47494#p47494

Draft Array fails when attempting polar array in current master build.

OS: Ubuntu 13.10
Platform: 64-bit
Version: 0.14.3218 (Git)
Branch: master
Hash: a84abfda39d2c8c5301f9f73b917c2dcd22c142c
Python version: 2.7.5+
Qt version: 4.8.4
Coin version: 4.0.0a
SoQt version: 1.5.0
OCC version: 6.7.0
Steps To ReproducePick an object and attempt to make a polar array with it.
Additional InformationTraceback (most recent call last):
  File "/usr/local/Mod/Draft/Draft.py", line 4270, in execute
    sh = self.polarArray(obj.Base.Shape,obj.Center,obj.Angle,obj.NumberPolar,obj.Axis)
  File "/usr/local/Mod/Draft/Draft.py", line 4308, in polarArray
    fraction = angle/(num-1)
<type 'exceptions.TypeError'>: unsupported operand type(s) for /: 'Base.Quantity' and 'int'
Array: unsupported operand type(s) for /: 'Base.Quantity' and 'int'
TagsQuantity
FreeCAD Information

Activities

quick61

2014-02-28 05:35

reporter   ~0004327

Looking over this ticket again I should of made the Reproducibility "Always"

Related Changesets

FreeCAD: master 363b62a8

2014-02-28 19:53:09

yorik

Details Diff
Draft: Fixed PropertyAngles - fixes 0001451 Affected Issues
0001451
mod - src/Mod/Draft/Draft.py Diff File
mod - src/Mod/Draft/DraftTools.py Diff File

Issue History

Date Modified Username Field Change
2014-02-28 04:20 quick61 New Issue
2014-02-28 05:35 quick61 Note Added: 0004327
2014-02-28 08:03 shoogen Tag Attached: Quantity
2014-02-28 08:04 shoogen Assigned To => yorik
2014-02-28 08:04 shoogen Status new => assigned
2014-02-28 08:04 shoogen Reproducibility have not tried => always
2014-02-28 19:19 yorik Changeset attached => FreeCAD Master master 363b62a8
2014-02-28 19:19 yorik Status assigned => closed
2014-02-28 19:19 yorik Resolution open => fixed