View Issue Details

IDProjectCategoryView StatusLast Update
0004177SketcherBugpublic2020-05-29 18:45
Reportersoftmoth Assigned Toabdullah  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionno change required 
Platformx86_64OSArch LinuxOS Version5.3.5
Product Version0.18 
Summary0004177: Sketcher polyline perpendicular/tangent line to first point collapse
DescriptionThe Sketcher polyline tool, when using the "new segment is a line which is perpendicular/tangential to the previous segment" mode (press "M" once or twice) fails when attempting to draw a line perpendicular or tangential to the first point.

See forum thread https://forum.freecadweb.org/viewtopic.php?f=8&t=40260
Steps To Reproduce1) Select the Sketcher workbench and create a new sketch on the X-Y plane.
2) Click the "Create a polyline in the sketch" tool.
3) Left-click three times, to establish three corners of a box (points P1, P2, P3).
4) Move towards the fourth corner of the box. Press "m" once to switch to perpendicular line mode.
5) Move to the first point (P1), ensure it is pre-selected, and left-click on it.

Expected behavior is to create the fourth point of the box (P4). The line should have 4 vertices, connected by 3 edges, and still be active (ready to create another edge).

Observed behavior, if "Auto constraints" is NOT checked, is that P4 is created, P1 is removed, and an edge is created between P4 and P2. The line is closed (i.e., the next click will not create a new edge, instead it starts a new polyline). See first two screenshots.

Observed behavior, if "Auto constraints" is checked and the first two edges are perpendicular, is that the 3 edges are placed directly on top of each other, and there are numerous conflicting constraints defined. See last two screenshots.
TagsPoly-line, sketcher
FreeCAD InformationOS: Arch Linux
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.16144 (Git)
Build type: Release
Branch: makepkg
Hash: 5a1527f954c69e022a42d4bbaccdd032996fdfb1
Python version: 3.7.4
Qt version: 5.13.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/United States (en_US)

Activities

softmoth

2019-10-26 19:38

reporter  

shot-20191021.5.png (77,778 bytes)   
shot-20191021.5.png (77,778 bytes)   
shot-20191021.6.png (81,196 bytes)   
shot-20191021.6.png (81,196 bytes)   
shot-20191021.7.png (73,703 bytes)   
shot-20191021.7.png (73,703 bytes)   
shot-20191021.8.png (79,992 bytes)   
shot-20191021.8.png (79,992 bytes)   

Kunda1

2020-01-12 13:21

administrator   ~0014063

Confirmed and added to 0.19 target

abdullah

2020-05-29 18:45

manager   ~0014439

The behaviour is consistent with user input:

https://forum.freecadweb.org/viewtopic.php?p=403597#p403594

Issue History

Date Modified Username Field Change
2019-10-26 19:38 softmoth New Issue
2019-10-26 19:38 softmoth Tag Attached: Poly-line
2019-10-26 19:38 softmoth Tag Attached: sketcher
2019-10-26 19:38 softmoth File Added: shot-20191021.5.png
2019-10-26 19:38 softmoth File Added: shot-20191021.6.png
2019-10-26 19:38 softmoth File Added: shot-20191021.7.png
2019-10-26 19:38 softmoth File Added: shot-20191021.8.png
2019-10-26 19:38 softmoth File Added: bug-polyline-perptang.FCStd
2020-01-12 13:21 Kunda1 Status new => confirmed
2020-01-12 13:21 Kunda1 Target Version => 0.19
2020-01-12 13:21 Kunda1 Note Added: 0014063
2020-05-29 18:45 abdullah Assigned To => abdullah
2020-05-29 18:45 abdullah Status confirmed => closed
2020-05-29 18:45 abdullah Resolution open => no change required
2020-05-29 18:45 abdullah Fixed in Version => 0.19
2020-05-29 18:45 abdullah Note Added: 0014439