View Issue Details

IDProjectCategoryView StatusLast Update
0004177SketcherBugpublic2019-10-26 19:38
Reportersoftmoth Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Platformx86_64OSArch LinuxOS Version5.3.5
Product Version0.18 
Target VersionFixed in Version 
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)
bug-polyline-perptang.FCStd (6,425 bytes)

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