Commit Graph

1061 Commits

Author SHA1 Message Date
WandererFan
bf4a80dad5 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
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
fd1a1b2685 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
de2392eb18 source typo fixes pt5
+ cleaning up some more non-short-URLs
Issue #2914
2017-03-04 13:07:13 -03:00
Ian Rees
4303384667 Clean up clang inconsistent override warnings. 2017-03-01 22:00:41 +01:00
hgutsche
201c9d89b0 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
a7414e5789 source typo fixes pt1 (only on py3 merged code)
issue 0002914
2017-02-27 11:32:47 +01:00
looooo
bd42762a8a py3: TechDraw: Int->Long 2017-02-21 13:59:30 +01:00
Yorik van Havre
5590acdfa5 py3: ported Measure and TechDraw 2017-02-21 13:59:30 +01:00
WandererFan
b20d51e1b4 Cleanup orphan features on DVP delete 2017-02-09 15:45:04 -05:00
WandererFan
392ce697b4 Fix crash if BaseView null on Section delete 2017-02-09 15:45:04 -05:00
WandererFan
1e460be045 Fix 2884 crash on page delete 2017-02-07 10:51:42 -02:00
WandererFan
813454993c Change Scale to PropertyFloatConstaint to prevent OCC loop when Scale == 0 2017-02-07 10:51:42 -02:00
wmayer
edf998ddb8 fix linking error in TechDraw 2017-01-30 14:07:42 +01:00
WandererFan
190ab71055 Fix potential race when cancelling DPG creation 2017-01-29 19:40:34 -05:00
WandererFan
47d433b64c Install default PAT file 2017-01-29 19:40:34 -05:00
WandererFan
977b4adbbb Preferences for GeomHatch 2017-01-29 19:40:34 -05:00
WandererFan
1c8395e229 fix naming conflicts 2017-01-29 19:40:34 -05:00
WandererFan
60c7f2f69a Geometric hatch for Section face 2017-01-29 19:40:34 -05:00
WandererFan
dd8eefc057 minor fixes: debug message/tooltips/etc 2017-01-29 19:40:34 -05:00
WandererFan
33479bd4e3 Initial working version of geometric crosshatch/PAT files 2017-01-29 19:40:34 -05:00
WandererFan
974032dd91 Improve handling of broken references (changed Edge/Vertex names) 2017-01-29 19:40:34 -05:00
WandererFan
c3fd7a8c12 Prevent DetailView crop circle marker 2017-01-29 19:40:33 -05:00
WandererFan
9db1552698 Make detail crop circle public 2017-01-29 19:40:33 -05:00
WandererFan
7a78e8f7b3 Add formatVector for Vector2d 2017-01-29 19:40:33 -05:00
WandererFan
7741854152 remove debug messages 2017-01-29 19:40:33 -05:00
WandererFan
01e992050f Handle corrupted 2D references 2017-01-29 19:40:33 -05:00
WandererFan
faf7f7729f Clean up children on Page delete 2017-01-29 19:40:33 -05:00
WandererFan
d6419b5a7e 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
221f80e344 Warn if Anchor view deleted in Projection Group 2017-01-29 19:40:33 -05:00
WandererFan
3de7bc8b73 Remove section line from DVP on delete of DVS 2017-01-29 19:40:32 -05:00
WandererFan
e477f0add0 Fix NaN in iso sections 2017-01-29 19:40:32 -05:00
WandererFan
1bae86f3b1 Initial Bitmap fills for Faces
- also texture from svg (not used yet)
2017-01-29 19:40:32 -05:00
WandererFan
e048f12d3b Make SVG hatches scalable 2017-01-29 19:40:32 -05:00
WandererFan
fbe97ec247 Basic working HiResolution TD 2017-01-29 19:40:32 -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
fce07c11a7 Fix 2843 DrawProjGroup Restore 2017-01-14 16:56:30 +01:00
WandererFan
1a58733227 Revise edge & vector compare function for clarity 2017-01-14 16:56:30 +01:00
wmayer
7d842679bd in forward declaration replace class keyword when struct is expected
comment out unused parameters
2016-12-29 17:52:39 +01:00
wmayer
68367e1efc fix build failure 2016-12-29 15:01:57 +01:00
WandererFan
01b34749a9 Section directions from rotated DPGI's 2016-12-29 14:43:37 +01:00
WandererFan
920eb5eaf7 Working revolving part DPG 2016-12-29 14:43:25 +01:00
WandererFan
2dd56a6c2a Reset/Match 3d buttons working 2016-12-29 14:43:13 +01:00
WandererFan
09f701786f Working proof of concept for DPG rots & dirs 2016-12-29 14:43:00 +01:00
WandererFan
d14cfa415f getViewAxis -> DVP virtual method 2016-12-29 14:42:46 +01:00
WandererFan
3d824dd8dc check vectors parallel, vec rotate arb axis, vec format improve 2016-12-29 14:42:31 +01:00
wmayer
7b3de466bf fix CIDs 154889, 151939, 151763, 154892, 154891, 151802, 151936, 151803, 153359 2016-12-18 14:12:13 +01:00
wmayer
48a1860e97 fix CIDs 151701, 151747 2016-12-18 13:46:26 +01:00
wmayer
07a180b18f fix CIDs 154873, 154874, 153875, 153876, 154883, 154884, 154886 2016-12-18 13:27:34 +01:00