- Status Closed
- Percent Complete
- Task Type Bug Report
- Category QCAD (main)
-
Assigned To
Andrew - Operating System All
- Severity Low
- Priority Very Low
- Reported Version 3.23.0
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
Opened by Mads Nyholm - 24.11.2019
Last edited by Andrew - 25.11.2019
FS#2002 - Draw > Viewport > Add Viewport: Hatch is offset incorrectly in Viewport
Hi,
When a hatch have been offset in the Model then it appears incorrectly when rendered in a Viewport. It seems that in Viewports the hatch Origin value is not taken into consideration. This means that when adjusting a hatch in the Model to look correct (align along a line for example). This alignment is off in the Viewport.
See screenshots and attached test dxf file in this thread on the forum: https://qcad.org/rsforum/viewtopic.php?f=33&t=6742
Edit: After looking more into this issue is seems it is the Viewport’s position that is ignored when transforming the pattern into Viewport space. See the following gif:
https://i.imgur.com/vD8cOuC.gif
Above it can be seen that that pattern is always rendered in ‘worldspace’ since the pattern is static (the pattern is not moved when the viewport is moved around)
25.11.2019 19:02
Reason for closing: Fixed
Additional comments about closing:
https://github.com/qcad/qcad/commit /b625b32de6ff748b76c6b0a8f953a9f6474ae57 5