Problem description
To display a shape, the ViewProvider creates a mesh of the shape data. The
resolution depends also on the two parameters "Angular Deflection" and
"Deviation" in the View properties. (The values of these parameters are also
updated for all objects when changing these settings in the Preferences
dialog).
Changing the parameters from a high value to a lower value has an immediate
effect on the displayed shape -- for example a circle will be displayed finer
with more line segments. But changing the parameter back to the higher value
(with less resolution) will keep the finer view-mesh instead of calculating a
coarser one. To get back to the coarse view, the object has to be manually
recomputed or the file re-opened.
Solution
I just set the meshing parameter AllowQualityDecrease to True. I guess that
this was not implemented before because this parameter is quite new (introduced
in OCC v7.5 in the year 2020).
Improve sliders and checkboxes
* Delete CMakePresets.json
* Delete VSInheritEnvironments.txt
* Fix for calltips transparant issue https://github.com/FreeCAD/FreeCAD/pull/9715#issuecomment-1633146515
* removed inkscape from a bunch of svg files
* Small bug grid color for draft workbench was to dark.
* The sketcher colors are added.
* The transparant calltips: https://github.com/FreeCAD/FreeCAD/pull/9715#issuecomment-1633146515
* There were some corner dots that I removed.
* I fixed the splitter not working with hovering.
* I also removed the extra dark splitter background, so now you won't see the splitters unless you hover over them.
* Also fixed the url label color.
* These fixes can be tested true the theme's beta addon.
* added preference packs
* Fix for transparant in Qwidget disabled. https://github.com/FreeCAD/FreeCAD/issues/10077
* [Base] Add hasExtension for multiple values
* [Gui] Use hasExtension for multiple values
* [Drawing] Use hasExtension for multiple values
* [Fem] Use hasExtension for multiple values
* [Import] Use hasExtension for multiple values
* [Mesh] Use hasExtension for multiple values
* [Part] Use hasExtension for multiple values
* [TechDraw] Use hasExtension for multiple values
This ensure invoking it to open different files only start the
program once, and load new files into the already running instance.
Patch by Håvard Flaget Aasen <haavard_aasen@yahoo.no> and
Tobias Frost <tobi@debian.org>.
Related to https://bugs.debian.org/1029846 and
c7a21ecbee .
Been part of the Debian edition of FreeCAD since 2021.
The underlying C++ class use an unsigned long to reference neighbour facets. ULONG_MAX is used to indicate a missing neighbour facet.
Since the value of ULONG_MAX is platform dependent and can be confusing in Python the Python wrapper FacetPy now explicitly uses -1 to indicate missing neighbour facets