View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0004264||Draft||Bug||public||2020-02-12 13:15||2020-02-19 15:53|
|Summary||0004264: Constructor from the makeArray Function in the Draft Workbench does not Allow Polar Array|
|Description||Yes, I have not created a thread because I think the bug is quite obvious.|
I verified it on 0.19 and 0.18.4 but it probably also affects other earlier versions.
When in Python mode, trying to construct an array with a name using for example
from the function (line 1249 from Draft.py) does not allow to directly make a polar array with a name.
Indeed, the instructions in the code say
but because of this part from the code:
it forces any call with a non-null "arg4" argument (in this case the name of the array) to make an Orthogonal array, or when the arguments for are polar array are given to simply return an error about wrong argument type.
|Steps To Reproduce||This is just an example:|
Make a new document, go to Part workbench, make a cylinder, go to python console, type:
|Tags||No tags attached.|
|FreeCAD Information||OS: Ubuntu 18.04.4 LTS (ubuntu:GNOME/ubuntu)|
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Build type: Unknown
Python version: 2.7.17
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: C/Default (C)
@louisgag : according guidelines (big yellow bow on top of the page), could you please open a topic on the forum (Draft subforum) so it can be more widely discussed ?
Please cross-post ticket number in forum, and forum thread in this ticket. Thanks.
||thanks for having a look at my report, here is the Forum thread I just opened.|