Commit Graph

15 Commits

Author SHA1 Message Date
wandererfan
fbfdb69c20 [TD]Py Cosmetic Vertex, Line, Circle Arc 2019-07-15 12:36:48 -04:00
Markus Lampert
e13c09235f Changed all catch types to references for polymorphic exceptions. 2018-08-08 15:45:30 +02:00
Dmitrii Starostin
89a11dcf0d IMHO it looks like a bug... 2018-07-03 17:53:43 -03:00
TeroK
61b202992c TechDraw: Add option to use polygonal HLR algorithm
Now on property panel there is option 'Coarse View' which allows to set
selected drawing view's Hidden Line Removal to utilize polygonal algorithm.
This should be faster on same cases (complex models).

When this option is set for a view there is known limitation with dimensions not
working on this experimental mode. At least currently this is best utilized on
view with no dimensions.

Also the vertices' 'black dots' are not drawn on this mode view to avoid
cluttering.  Face hilite is avoided, to gain speed. All curves are represented
by short linesegments in this mode.

Previously TechDraw always used OCC's exact HLR algorithm to generate views,
which produces good quality and continous shape lines but is sometimes
slower to generate than with polygonal approach.

Additionally now there is bool 'CoarseView' Parameter Editor setting, if anyone
wants to set this as their default.
2018-01-22 19:31:30 +01:00
Peter Lama
fa4bebf2e0 Use OCCT Handle macro for Handle_ classes
This is the result of running OCCT's upgrade script provided
with OCCT 7.0. See
https://www.opencascade.com/content/freecad-occt710-and-windows-rtti-data-missing#comment-form
and
https://www.forum.freecadweb.org/viewtopic.php?f=4&t=21405&start=120#p169019
for why this is necessary for OCCT >= 7.1
2017-04-20 12:27:34 +02:00
WandererFan
c3fd7a8c12 Prevent DetailView crop circle marker 2017-01-29 19:40:33 -05:00
WandererFan
324171dbe4 Use contour area for wire size instead of bounding box 2017-01-20 00:09:38 -02:00
WandererFan
5874a83409 Replace Vector3D ==/!= with difference < Precision::Confusion() 2017-01-20 00:09:38 -02:00
WandererFan
1a58733227 Revise edge & vector compare function for clarity 2017-01-14 16:56:30 +01:00
wmayer
68367e1efc fix build failure 2016-12-29 15:01:57 +01:00
WandererFan
d14cfa415f getViewAxis -> DVP virtual method 2016-12-29 14:42:46 +01:00
WandererFan
dd13cb2534 Fix handling of BezierCurves
Replace custom bbox code with OCC/Base code
Refactor duplicate code Geometry/DrawProjectSplit
2016-11-20 10:06:00 +01:00
WandererFan
5295f1e2e2 Improve handling of duplicate edges in projection 2016-11-18 10:14:29 +01:00
wmayer
d2d927e760 performance improvements
+ use const-reference as argument to avoid tmp. copy
+ use prefix incremation operator instead of postfix increment operator
2016-11-08 13:51:22 +01:00
WandererFan
9ad177915d Create outline of 3D shape 2016-11-07 17:20:19 -05:00