Bug report #17685

Advanced Digitizing - Parallel function not parallel

Added by Geert Overmars about 6 years ago. Updated about 6 years ago.

Assignee:Denis Rouzaud
Affected QGIS version:master Regression?:Yes
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:fixed/implemented
Crashes QGIS or corrupts data:No Copied to github as #:25582


Using QGIS 2.99 on Windows 10. When using the Parallel function in the Advanced Digitizing Panel, lines are not truly parallel when lines diagonal. Difficult to explain, watch the video attached.

QGIS parallel.mp4 (4.17 MB) Geert Overmars, 2017-12-12 05:41 PM

Associated revisions

Revision 3abf27f5
Added by Martin Dobias about 6 years ago

[cad] Fix precision issues with angle constraint (fixes #17685)


#1 Updated by Nyall Dawson about 6 years ago

I can confirm this bug.

Funnily enough, it only applies if the parallel mode is enabled. What I've found so far:

- enabled parallel mode, click a segment
- the correct angle is entered into the angle constraint box, but moving the mouse shows a slightly offset line from both the selected parallel segment AND the "preview" line
- turning off the parallel mode, and manually leaving the detected angle in the angle constraint results in a perfectly parallel line!

So it's a bug in the code relating to the parallel constraint being in place, NOT the angle constraint OR the initial detection of the correct parallel angle .

#2 Updated by Saber Razmjooei about 6 years ago

  • Operating System deleted (Windows 10)

#3 Updated by Denis Rouzaud about 6 years ago

  • Assignee set to Denis Rouzaud

#4 Updated by Martin Dobias about 6 years ago

  • % Done changed from 0 to 100
  • Status changed from Open to Closed

#5 Updated by Giovanni Manghi about 6 years ago

  • Resolution set to fixed/implemented

Also available in: Atom PDF