View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002860 | Draft | Bug | public | 2017-01-15 16:24 | 2017-01-15 19:55 |
Reporter | simsiem | Assigned To | yorik | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
OS | Ubuntu | OS Version | 14.04.5 | ||
Product Version | 0.17 | ||||
Summary | 0002860: Cannot create a Draft line with angle and length < 1 | ||||
Description | The task pane of the Draft Line tool offers to enter a point in X, Y and Z coordinates. The user can determine these coordinates by entering a length and an angle. According to the length and angle, FreeCAD updates the values for X, Y and Z. However, if I enter a length value starting with 0, the updating of X, Y and Z stops. I can then enter any value in length and angle (even length > 1), but nothing happens. Only if I update X, Y or Z, change to the length value have an effect. I tested this further with the following interesting observations. If I enter the length 077mm and add the comma after the zero in the end (to get 0,77mm), the updating works. Thus this seems to be a problem just when I enter 0. The algorithms seems to handle a zero in the wrong way (mathematical corner case). | ||||
Steps To Reproduce | I am in the draft workbench with an empty file. There I do the following. 1. Select the line tool. 2. Select a start point anywhere. 3. Select the angle checkbox. 4. Set the angle to -75 deg (actually, the value does not matter). 5. Set the length to 0,2m. 6. Press enter and enter again to confirm this coordinate. Nothing really happens. But if I do the same with a length of 200mm, a line is created. It also works for a length of 1m or 1,4m, for example. Thus it seems to be a problem with length < 1 (disregarding the unit of the length). | ||||
Additional Information | The discussion started in the forum: http://forum.freecadweb.org/viewtopic.php?f=3&t=19876 | ||||
Tags | No tags attached. | ||||
FreeCAD Information | |||||