Commit Graph

356 Commits

Author SHA1 Message Date
Yorik van Havre
de4d33cb84 Updated translations 2017-05-25 10:04:05 -03:00
WandererFan
fdb6bc01a7 Fix #2971 segfault on hide() current page from Python 2017-05-10 17:43:48 +02:00
WandererFan
62e657f71e Fix #2972 Export Pdf Page Not in Foreground
exposes TechDrawGui.exportPageAsPdf(page,file)
also adds TechDrawGui.exportPageAsSvg(page,file)
2017-05-10 17:43:48 +02:00
WandererFan
6cb5372ad3 Fix Dimension double child collection
if a dimension references 2 geometries in a View - ie
Vertex-Vertex - only count it as 1 child of View
2017-05-10 17:43:48 +02:00
WandererFan
235f0a93c6 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
5cef451f95 Prevent ghost centre marks in ViewDetail 2017-05-10 17:43:48 +02:00
WandererFan
9ef6b76977 implement detail view highlight in base view 2017-05-10 17:43:48 +02:00
WandererFan
0ce1a6f730 fix confusing class name 2017-05-10 17:43:48 +02:00
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
WandererFan
c2033723a9 Correct property names in Prefs 2017-05-10 17:43:48 +02:00
WandererFan
c44ae84402 Apply HiRez mods to ViewClip 2017-05-10 17:43:48 +02:00
Ian Rees
950ac44f9f TechDraw: Tidy, and fix Qt5 template text edition 2017-04-26 18:23:21 +12: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
Yorik van Havre
f2fb31a432 TechDraw: Fixed scaling of Draft/Arch views 2017-04-16 13:51:34 -03:00
wmayer
ca343c43ab fix scan coverity issues: unchecked dynamic_cast 2017-04-11 12:45:02 +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
WandererFan
219f126674 fix wrong size svg export page 2017-04-01 16:41:50 +02:00
Kunda
5aefa825b1 Typo fixes for doxygen and source comments
issue #0002914
2017-03-31 11:25:57 -03:00
Yorik van Havre
9f44809e9e Updated translations with latest files from crowdin 2017-03-06 11:53:09 -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
Mateusz Skowroński
c9a66dfc20 Fix some GCC warnings. 2017-02-12 06:28:55 +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
75f3566812 Fix #2888 Crash on Delete View 2017-02-09 15:45:04 -05:00
WandererFan
610ddeb59f Fix 2889 Toggle Frames for DrawViewSymbol 2017-02-07 10:51:42 -02:00
WandererFan
f782719363 Feature Request 1880 - hide Template 2017-02-07 10:51:42 -02: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
WandererFan
fb1cc0a413 hidden pref setting for face debugging 2017-02-07 10:51:42 -02:00
wmayer
db804047fa can't assign nullptr to a QPixmap 2017-01-30 14:13:57 +01:00
wmayer
edf998ddb8 fix linking error in TechDraw 2017-01-30 14:07:42 +01:00
WandererFan
6772a3b12a Avoid issue if ViewProvider deleted while graphic still active 2017-01-29 19:40:34 -05: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
7f5fa162b8 Add dialog for GeomHatch creation 2017-01-29 19:40:34 -05:00
WandererFan
1c8395e229 fix naming conflicts 2017-01-29 19:40:34 -05:00
WandererFan
6568832956 update tooltips, menu order 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
2629ef1d09 Fix Diamter/Radius Dimensions in Detailview 2017-01-29 19:40:33 -05:00
WandererFan
9db1552698 Make detail crop circle public 2017-01-29 19:40:33 -05:00