QCAD Bugtracker

  • Status Assigned
  • Percent Complete
    0%
  • Task Type Bug Report
  • Category QCAD (main)
  • Assigned To
    Andrew
  • Operating System All
  • Severity Low
  • Priority Very Low
  • Reported Version 3.26.4
  • Due in Version Undecided
  • Due Date Undecided
  • Votes 1
    • CVH (14.10.2021)
  • Private
Attached to Project: QCAD Bugtracker
Opened by Stan Tibbs - 27.09.2021

FS#2284 - Zooming in & out causes grid/snap scale value change introducing errors.

I have set the grid/snap value to X=.0625 Y=.0625 on all 4 viewports.
When zooming in and out the grid/snap scale changes from .0625 to 3.90625. at this point the grid/snap points differ,
This causes a variation in the grid/snap reference points lending to drawing errors.

example
When I use the grid settings defaults .01, when zooming in and out, the grid/snap scaling doesn’t seem to have this issue.
Other values do, See below.

set value first zoom second zoom next zoom

	point		point		point ...	

0.01 0.1 1.0 10.0 ...
0.02 0.04 0.4 4.0 ...
0.04 0.16 1.6 16.0 ...
0.05 0.25 2.5 25.0 ...
0.0625 0.390625 3.90625 39.0625 ...
0.0254 0.64516 6.4516 64.516 ...

Why is there a squaring of the original set value? Which then becomes a new zoomed grid/snap value?

QCAD Professional
Version: 3.26.4.0 (3.26.4)
Internet: QCAD.org
Build Date: Jun 3 2021
Revision: 0bb4334
Qt Version: 5.13.2
Architecture: i386
Compiler: Unknown

CVH commented on 28.09.2021 11:47

Related forum topic:
https://qcad.org/rsforum/viewtopic.php?t=8761

It is not squared as explained:
0.02^2 = 0.004 vs 0.4 ; 0.0254^2 = 0.00064516 vs 0.64516

The best approximation of the first multiplication factor I could come up with is:
Grid setting in exponential notation but with the exponent set to 0
Next successive multiplication factors = 10x

Regards,
CVH

CVH commented on 02.07.2023 10:56

Andrew,
The user grid preference is indeed squared for all higher as the minimal.

Please refer to https://www.qcad.org/rsforum/viewtopic.php?f=33&t=10155#p41481

Regards,
CVH

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing