Files
create/src/Mod
bdieterm c9028e46fe Part: allow reduction of Part ViewProvider tesselation resolution
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).
2023-08-07 10:19:58 -06:00
..
2023-07-26 11:05:11 +02:00
2023-08-04 19:46:12 +02:00
2023-07-26 11:05:11 +02:00
2023-08-06 20:29:56 -06:00
2023-07-25 14:26:30 +02:00
2023-08-06 23:17:10 +02:00
2023-08-06 01:35:39 +02:00
2023-07-24 13:37:52 +00:00
2023-03-31 10:36:04 +02:00
2023-07-26 11:05:11 +02:00
2023-07-24 13:37:52 +00:00
2023-07-26 11:05:11 +02:00
2023-05-02 12:49:54 -05:00
2023-05-02 12:49:54 -05:00