[FEATURE REQUEST] Life-size view ?
Forum rules
and Helpful information
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help
Also, be nice to others! Read the FreeCAD code of conduct!
Also, be nice to others! Read the FreeCAD code of conduct!
[FEATURE REQUEST] Life-size view ?
Hello FC people.
How can I display a life-size view of a part/assembly (normal projection) ? After a length unit is chosen, a screen having an immutable pixel size, it's just a question of doing a ratio to show a life-size representation, but how achieve this ?
Thank.
How can I display a life-size view of a part/assembly (normal projection) ? After a length unit is chosen, a screen having an immutable pixel size, it's just a question of doing a ratio to show a life-size representation, but how achieve this ?
Thank.
Last edited by fcaduser on Fri Jun 05, 2020 9:14 am, edited 3 times in total.
- papyblaise
- Veteran
- Posts: 8024
- Joined: Thu Jun 13, 2019 4:28 pm
- Location: France
Re: Life-size view ?
not sure but I think it's depend of the size of your screen (laptop or screen of the stadium) and the definition of your's HD or older
But you can verify this by afixe the grid with 10mm of space of lines and use your meter directly on
But you can verify this by afixe the grid with 10mm of space of lines and use your meter directly on
Re: Life-size view ?
Yes, for sure.
For example, considering a typical 0.25 mm square pitch, the user working with millimeter as unit. So obviously a 15 mm long edge requires 60 pixel, but the routine in charge of the final display must be informed of the screen specifications.
For example, considering a typical 0.25 mm square pitch, the user working with millimeter as unit. So obviously a 15 mm long edge requires 60 pixel, but the routine in charge of the final display must be informed of the screen specifications.
Re: Life-size view ?
Should be easily scripted.
Re: Life-size view ?
I even think it might deserve being set as a feature, and put into the view menu (along side "fit all").
Re: [FEATURE REQUEST] Life-size view ?
Thanks for being awesome, kisolre.
It would be a nice feature. If no one else takes this on, I might look into a python solution later this year. Perhaps the issue will be making it multi-platform but I know DPI is also available on Windows systems. I expect MAC to closely follow the Linux side. I'm sure we can figure it out.
DPI of the monitor and scale of the object view is all that should be needed to calculate the zoom ratio.
Here's an article on finding, testing, and potentially correcting the DPI register on a Linux system.
https://winaero.com/blog/find-change-screen-dpi-linux/
It would be a nice feature. If no one else takes this on, I might look into a python solution later this year. Perhaps the issue will be making it multi-platform but I know DPI is also available on Windows systems. I expect MAC to closely follow the Linux side. I'm sure we can figure it out.
DPI of the monitor and scale of the object view is all that should be needed to calculate the zoom ratio.
Here's an article on finding, testing, and potentially correcting the DPI register on a Linux system.
https://winaero.com/blog/find-change-screen-dpi-linux/
Re: [FEATURE REQUEST] Life-size view ?
IMO you shouldn't bother yourself too much with the details. Qt already has everything needed, eg. in the QScreen class.TomB19 wrote: ↑Wed Jun 10, 2020 6:52 pm Here's an article on finding, testing, and potentially correcting the DPI register on a Linux system.
https://winaero.com/blog/find-change-screen-dpi-linux/
Re: [FEATURE REQUEST] Life-size view ?
I'm actually confused by this discussion.fcaduser wrote: ↑Mon Jun 01, 2020 12:27 pm Hello FC people.
How can I display a life-size view of a part/assembly (normal projection) ? After a length unit is chosen, a screen having an immutable pixel size, it's just a question of doing a ratio to show a life-size representation, but how achieve this ?
Thank.
Do you actually want to hold a 30 cm ruler up to the screen and measure 30 cm?
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
Re: [FEATURE REQUEST] Life-size view ?
Thank you, Mr. Brain!
Is it as simple as this?
Is it as simple as this?
from PySide import QtGui
dpi = QtGui.QScreen.logicalDotsPerInch();