Is it possible to improve the visibility of this part?

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
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!
ezzieyguywuf
Posts: 542
Joined: Tue May 19, 2015 1:11 am

Is it possible to improve the visibility of this part?

Postby ezzieyguywuf » Thu Sep 19, 2019 8:45 pm

Below is an image of an excrusion that I recently made:
2019-09-19 16_42_37-Clipboard.png
2019-09-19 16_42_37-Clipboard.png (74.74 KiB) Viewed 165 times
You can see in the image that there are various visual artifacts in the upper-right portion of the profile, along the entire length. If I change the angle a bit, it looks normal:
2019-09-19 16_44_31-Window.png
2019-09-19 16_44_31-Window.png (68.2 KiB) Viewed 165 times
Is this an issue with one of my settings?

OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.16131 (Git)
Build type: Release
Branch: releases/FreeCAD-0-18
Hash: 3129ae4296e40ed20e7b3d460b86e6969acbe1c3
Python version: 3.6.6
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)
ezzieyguywuf
Posts: 542
Joined: Tue May 19, 2015 1:11 am

Re: Is it possible to improve the visibility of this part?

Postby ezzieyguywuf » Thu Sep 19, 2019 8:47 pm

Forgot to upload the freecad file. See attached.
Attachments
LoopMounting.FCStd
(59.25 KiB) Downloaded 7 times
User avatar
DeepSOIC
Posts: 6949
Joined: Fri Aug 29, 2014 12:45 am
Location: Saint-Petersburg, Russia

Re: Is it possible to improve the visibility of this part?

Postby DeepSOIC » Thu Sep 19, 2019 10:26 pm

Sometimes this helps:
1. switch to perspective camera
2. view fit
3. switch back to ortho camera
ezzieyguywuf
Posts: 542
Joined: Tue May 19, 2015 1:11 am

Re: Is it possible to improve the visibility of this part?

Postby ezzieyguywuf » Fri Sep 20, 2019 7:32 pm

I tried that, it didn't go away. Thanks for the tip.

Is this perhaps a bug in some of our ViewProvider code?
kisolre
Posts: 1359
Joined: Wed Nov 21, 2018 1:13 pm

Re: Is it possible to improve the visibility of this part?

Postby kisolre » Fri Sep 20, 2019 7:58 pm

View/Standard views/Fit all fixes it here with same version as yours. It first becomes very small but then when I zoom in there are no more artifacts.
UR_
Posts: 972
Joined: Tue Jan 03, 2017 8:42 pm

Re: Is it possible to improve the visibility of this part?

Postby UR_ » Sat Sep 21, 2019 5:48 am

If I open provided file, I got:

Code: Select all

>>> obj.Shape.BoundBox
BoundBox (-19.05, -19.05, 0, 19.05, 19.05, 2438.4)

and

Code: Select all

>>> Gui.ActiveDocument.ActiveView.getCamera()
'#Inventor V2.1 ascii\n\n\nOrthographicCamera {\n  viewportMapping ADJUST_CAMERA\n  position -281.32678 -105.48135 48.087006\n  orientation -0.20818105 0.77575141 0.5957101  0.17700431\n  nearDistance -2409.7192\n  farDistance 8.5008163\n  aspectRatio 1\n  focalDistance 17.320509\n  height 77.095169\n\n}\n'

that means your cam is placed in the middle of your part and a negative "nearDistance" is necessary :shock:


a new cam after switching to perspective view and back to ortho view

Code: Select all

>>> Gui.ActiveDocument.ActiveView.getCamera()
'#Inventor V2.1 ascii\n\n\nOrthographicCamera {\n  viewportMapping ADJUST_CAMERA\n  position 78.057686 6.4297304 2520.6848\n  orientation -0.20818105 0.77575141 0.5957101  0.17700431\n  nearDistance 88.758568\n  farDistance 2511.981\n  aspectRatio 1\n  focalDistance 93.062103\n  height 94.164246\n\n}\n'

and so we will have a nice camera position outside of your part and a positive near and far distance ;)

Screenshot 001.png
Screenshot 001.png (10.77 KiB) Viewed 75 times
User avatar
papyblaise
Posts: 539
Joined: Thu Jun 13, 2019 4:28 pm
Location: France

Re: Is it possible to improve the visibility of this part?

Postby papyblaise » Sat Sep 21, 2019 6:42 am

Hello
I Don't know why :?: but very ofen we can see this , like a invisible window cut the extrusion
Don't panique just to have clik on the bouton "Zoom all" (sheet paper with a magnifier)