wmayer
949c86d364
Port to occ7.2:
...
+ Standard_Failure::Caught() is now marked as deprecated and should be replaced with standard C++ exception handling
2017-09-01 16:27:46 +02:00
WandererFan
8cf2015c3c
Fix upside down GeomHatch on asymmetric faces
2017-07-17 19:47:44 -03:00
WandererFan
cbf42ad3b0
Coverity fixes
...
151677
151789 - OK as is
152005
152508
154871 - false positive
156593
163235
2017-07-17 19:47:44 -03:00
luzpaz
2badea8c37
TechDraw: typo fix
2017-07-10 19:29:55 -03:00
WandererFan
a32972ef2f
Fix Drawing/TechDraw BSplines
...
In some cases the Geom_BSplineCurve returned by
BrepAdaptor_Curve.BSpline() does not have the
same endpoints as the original Edge and should
not be used in place of Approx_Curve3d.
2017-06-28 22:14:01 +02:00
WandererFan
f56df2ebee
Add viewPartAsSvg in App
2017-06-23 08:14:46 +02:00
WandererFan
fc1c863034
Add viewPartAsDxf function in App
2017-06-23 08:14:46 +02:00
WandererFan
17b69c7c3a
Replace DPG table lookup logic with calculations
...
DPG used a pair of large tables to determine view
direction and rotation vector when subject was rotated
and spun. There were many errors in the tables that
needed manual checking to correct. The new version
uses calculations on a virtual glass cube to find view
direction and rotation vector.
2017-06-23 08:14:46 +02:00
WandererFan
f53a3bde8f
Add tolerance parm to checkParallel
2017-06-23 08:14:46 +02:00
WandererFan
052704eb0c
Fix #1937 mis-shapen projections in TechDraw and Drawing
...
Complex curves need more bezier segments for accurate representation.
2017-05-30 15:44:38 +02:00
WandererFan
76280891a1
DrawGeomHatch improvements
...
-draw & align dash patterns correctly on all QPainters using QGPathItem
-Allow patterns to start with space
-ensure horiz & vert lines pass through pattern origin
-Scalable complex patterns
2017-05-10 17:43:48 +02:00
WandererFan
ae269dfc28
Prevent ghost centre marks in ViewDetail
2017-05-10 17:43:48 +02:00
WandererFan
f60464e545
implement detail view highlight in base view
2017-05-10 17:43:48 +02:00
WandererFan
eb34dc5103
fix confusing class name
2017-05-10 17:43:48 +02:00
WandererFan
75397d9e43
clean up GeomHatch feature, gui & dialog
...
Refactor code, allow dialog to edit feature, update graphics on change
prep for dash line start positioning.
2017-05-10 17:43:48 +02:00
Peter Lama
a75a98ef27
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
97ca11f9f2
Increase tolerance for overlapping Vertexes
...
Some "valid" shapes are being passed to findShapeOutline where edges
that should be connected are in fact separated 10x the expected tolerance
(2*Precision::Confusion) for 2 overlapping TopoDS_Vertex.
IntTools_Tools:ComputeVV also reports these Vertices as further apart than
their combined tolerances should allow.
This change introduces a tolerance into DrawUtil and EdgeWalker vertex
comparisions that is quite "sloppy" (0.00001) but which handles the sample
objects correctly. This tolerance is adequate for drawings. Other uses
should be considered on case by case basis.
2017-04-02 20:04:34 -03:00
Kunda
19f8fd4c10
source typo fixes pt5
...
+ cleaning up some more non-short-URLs
Issue #2914
2017-03-04 13:07:13 -03:00
Ian Rees
ac9f475702
Clean up clang inconsistent override warnings.
2017-03-01 22:00:41 +01:00
hgutsche
de8f66f857
Some fixes for doygen syntax errors and some configuration to make it run smoother under Windows
2017-02-28 18:52:04 +01:00
Kunda
dde52952f4
source typo fixes pt1 (only on py3 merged code)
...
issue 0002914
2017-02-27 11:32:47 +01:00
looooo
b61a95c7de
py3: TechDraw: Int->Long
2017-02-21 13:59:30 +01:00
Yorik van Havre
e13d4a7882
py3: ported Measure and TechDraw
2017-02-21 13:59:30 +01:00
WandererFan
513decf8c8
Cleanup orphan features on DVP delete
2017-02-09 15:45:04 -05:00
WandererFan
63d5749b67
Fix crash if BaseView null on Section delete
2017-02-09 15:45:04 -05:00
WandererFan
12346a67ef
Fix 2884 crash on page delete
2017-02-07 10:51:42 -02:00
WandererFan
79a5a6adde
Change Scale to PropertyFloatConstaint to prevent OCC loop when Scale == 0
2017-02-07 10:51:42 -02:00
wmayer
303f0886df
fix linking error in TechDraw
2017-01-30 14:07:42 +01:00
WandererFan
49c2be14ba
Fix potential race when cancelling DPG creation
2017-01-29 19:40:34 -05:00
WandererFan
722b2d1c04
Install default PAT file
2017-01-29 19:40:34 -05:00
WandererFan
7cb3e93686
Preferences for GeomHatch
2017-01-29 19:40:34 -05:00
WandererFan
84b858a142
fix naming conflicts
2017-01-29 19:40:34 -05:00
WandererFan
299ac94c9f
Geometric hatch for Section face
2017-01-29 19:40:34 -05:00
WandererFan
1d3a8a910f
minor fixes: debug message/tooltips/etc
2017-01-29 19:40:34 -05:00
WandererFan
f51b5818cc
Initial working version of geometric crosshatch/PAT files
2017-01-29 19:40:34 -05:00
WandererFan
54fed5ccfb
Improve handling of broken references (changed Edge/Vertex names)
2017-01-29 19:40:34 -05:00
WandererFan
afa8c9fece
Prevent DetailView crop circle marker
2017-01-29 19:40:33 -05:00
WandererFan
935c4f8099
Make detail crop circle public
2017-01-29 19:40:33 -05:00
WandererFan
fad1edb9ce
Add formatVector for Vector2d
2017-01-29 19:40:33 -05:00
WandererFan
7959d846fc
remove debug messages
2017-01-29 19:40:33 -05:00
WandererFan
98c8394c5e
Handle corrupted 2D references
2017-01-29 19:40:33 -05:00
WandererFan
3ce9c48c64
Clean up children on Page delete
2017-01-29 19:40:33 -05:00
WandererFan
6cad2bc834
Delete DPGI's when parent DPG deleted
...
Ensure Gui/QGIVxx is removed when App/DVxxxx is deleted
2017-01-29 19:40:33 -05:00
WandererFan
0204b77766
Warn if Anchor view deleted in Projection Group
2017-01-29 19:40:33 -05:00
WandererFan
78c07ced57
Remove section line from DVP on delete of DVS
2017-01-29 19:40:32 -05:00
WandererFan
9e7d56d4da
Fix NaN in iso sections
2017-01-29 19:40:32 -05:00
WandererFan
5007193541
Initial Bitmap fills for Faces
...
- also texture from svg (not used yet)
2017-01-29 19:40:32 -05:00
WandererFan
fe617e1433
Make SVG hatches scalable
2017-01-29 19:40:32 -05:00
WandererFan
f68cbc83e3
Basic working HiResolution TD
2017-01-29 19:40:32 -05:00
WandererFan
14ae74f468
Use contour area for wire size instead of bounding box
2017-01-20 00:09:38 -02:00