Commit Graph

254 Commits

Author SHA1 Message Date
WandererFan
f343f8e78f Fix clang complaint about const char*
Remove u8 literal for MSVC2013
2016-10-06 11:00:35 -03:00
WandererFan
6b4352f79f Rename properties to fit PropertyEditor window 2016-10-06 11:00:35 -03:00
WandererFan
c8f4de5fbc Fix #2707 hidden seam/smooth lines 2016-10-06 11:00:35 -03:00
WandererFan
ae5798434a Add options for face detection and cut face edge display 2016-10-06 11:00:35 -03:00
WandererFan
62328bb54c Prepare App side for "show units" preference 2016-10-06 11:00:35 -03:00
WandererFan
8d139816e3 fix utf8 regression caused by a12ecd49 2016-10-06 11:00:35 -03:00
WandererFan
001bbf52d6 Performance Ph2 2016-10-06 11:00:35 -03:00
wmayer
d808f669ce fix linking error in TechDrawGui 2016-10-01 13:48:22 +02:00
WandererFan
8459cdad5a Performance improvements Ph1 2016-09-29 17:37:20 -04:00
WandererFan
b27a526cd6 remove unnecessary includes
remove obs code
remove obs initializations
2016-09-28 20:24:47 -04:00
WandererFan
1d281d821a Easier View selection - bigger frame 2016-09-28 20:24:47 -04:00
WandererFan
f230967146 Only enable Commands when appropriate
Remove dupl code
2016-09-28 20:24:47 -04:00
WandererFan
ecbd8c8dc0 Control Face edges from Part/Section 2016-09-28 20:24:46 -04:00
WandererFan
664168992f Drawing window pan & zoom 2016-09-28 20:24:46 -04:00
wmayer
c457fc468c fix -Wextra & -Wdeprecated in TechDraw 2016-09-22 19:32:16 +02:00
Yorik van Havre
d8ebfe58c5 TechDraw: Extended Draft View 2016-09-14 12:38:34 -03:00
WandererFan
4e729f0840 Changes re comments on PR279 2016-09-12 07:41:24 -04:00
WandererFan
254b28ea77 Fix #2692 TaskProjectGroup cancel button 2016-09-11 13:12:24 -04:00
WandererFan
81472a5fd8 Fix over-aggressive input cleansing 2016-09-11 13:12:24 -04:00
WandererFan
4d7f00860e reduce use of "execute" on cosmetic changes. 2016-09-11 13:12:24 -04:00
WandererFan
6dc017a1ce Add notes re Kura. subgraph 2016-09-11 13:12:24 -04:00
WandererFan
884a32fabf Coverty changes:
** CID 152490:  Control flow issues  (DEADCODE)
** CID 152492:  Null pointer dereferences  (FORWARD_NULL)
** CID 152493:  Null pointer dereferences  (FORWARD_NULL)
** CID 152494:  Null pointer dereferences  (FORWARD_NULL)
** CID 152495:  Null pointer dereferences  (FORWARD_NULL)
** CID 152496:  Null pointer dereferences  (FORWARD_NULL)
** CID 152497:  Null pointer dereferences  (FORWARD_NULL)
** CID 152502:  Null pointer dereferences  (REVERSE_INULL)
** CID 152507:  Uninitialized members  (UNINIT_CTOR)
** CID 152508:  Uninitialized members  (UNINIT_CTOR)
** CID 152508:  Uninitialized members  (UNINIT_CTOR)
** CID 152510:  Uninitialized members  (UNINIT_CTOR)
2016-09-11 13:12:24 -04:00
WandererFan
bcb29541aa Suppress extraneous log messages 2016-09-11 13:12:24 -04:00
WandererFan
6c937e1bbe Protect EdgeWalker against bad input 2016-09-11 13:12:24 -04:00
WandererFan
d3afb32487 Avoid Bnd_Box is void exception when shapes don't intersect. 2016-09-11 13:12:24 -04:00
WandererFan
a5b5104875 Implement Cancel logic for TaskViewSection 2016-09-11 13:12:24 -04:00
WandererFan
17fe63598f Handle case where no faces found in View. 2016-09-11 13:12:24 -04:00
WandererFan
70420d9e3b Fix getViewObject inheritance across all ViewProviders 2016-09-11 13:12:24 -04:00
WandererFan
5fd19bb5f4 Break up try/catch blocks for easier debugging 2016-09-08 16:18:52 +02:00
WandererFan
cebe2faee1 Handle degenerate edges in face detection 2016-09-08 16:18:52 +02:00
WandererFan
c0428a940b minor fixes SectionFace zOrder, orphan graphics items 2016-09-01 12:14:43 -04:00
WandererFan
7e04c17bdd Fix part/section handling of Face OuterWire 2016-09-01 12:14:43 -04:00
WandererFan
b75f82b500 Fix for Wires with same bbox, different areas 2016-09-01 12:14:43 -04:00
WandererFan
13afc71260 Handle zero length TopoDS_Edge in Geometry 2016-09-01 12:14:42 -04:00
WandererFan
0ba0351666 Minor performance improvements 2016-09-01 12:14:42 -04:00
WandererFan
34644e9d71 Fix Section arrows,xDir,label 2016-09-01 12:14:42 -04:00
WandererFan
b47eff76ae Changes re const, ref and TopExp per wmayer
Refactor debug routines to DrawUtil
2016-09-01 12:14:42 -04:00
WandererFan
9a93185f7e Py binding for EdgeWalker
refactor EdgeWalker code from DVP,DVS
2016-09-01 12:14:42 -04:00
WandererFan
27ff991d79 Fix ProjectionGroupItem spacing 2016-09-01 12:14:42 -04:00
WandererFan
3901d2fe82 Add View centerlines 2016-09-01 12:14:42 -04:00
Yorik van Havre
77dec4b91d TechDraw: Forgot one icon in last commit 2016-08-26 12:30:25 -03:00
Yorik van Havre
f0daa5ae16 TechDraw: Made some icons legible on dark UI theme 2016-08-26 12:25:43 -03:00
WandererFan
4cb4e5f04a Create ViewSection from ViewPart
Property name changes
Touch section when View SymbolSection changes
2016-08-26 11:39:03 -03:00
WandererFan
adb2fdafa5 Add methods for removing equivalent edgeLists from result 2016-08-26 11:39:03 -03:00
Ian Rees
8cc3ee64e8 TechDraw: Fix Coverity dynamic_cast warnings 2016-08-21 11:08:29 +02:00
wmayer
58bf4ca455 fix warning 2016-08-16 15:24:33 +02:00
WandererFan
0023758263 Linear dims closer to stds 2016-08-16 14:29:15 +02:00
WandererFan
0d0040355c Fix sections not in xy plane 2016-08-16 14:29:15 +02:00
WandererFan
cf90d69319 Implement automatic scaling 2016-08-16 14:29:15 +02:00
WandererFan
fa57b7a5de Fix dimension highlighting problems
Derived all lines from PrimPath
2016-08-16 14:29:15 +02:00
WandererFan
5c63c8a957 Remove refs to Dim centerline property from commands 2016-08-16 14:29:15 +02:00
WandererFan
5c62493b31 QGIArrow inherits QGIPrimPath 2016-08-16 14:29:15 +02:00
WandererFan
4fe4c31966 Add vertex-edge dimension 2016-08-16 14:29:15 +02:00
WandererFan
af7d257b91 Add centermarks for circles in Views 2016-08-16 14:29:15 +02:00
Ian Rees
d9b4213989 TechDraw: Clean up warnings about missing override 2016-08-16 08:15:53 +12:00
Ian Rees
b432a0333c TechDraw: Coverity warning CID 151763 2016-08-16 08:15:53 +12:00
Ian Rees
34583fad05 TechDraw: Fix some Coverity Unchecked dynamic_cast
CIDs from sasobadovinac-FreeCAD:
151684
151714
151715
151716
151718
151719
151720
151721
151722
151724
151725
151730
151749
151759
151771
151794
2016-08-16 08:15:36 +12:00
Ian Rees
66bd0f6b90 TechDraw: Fix Coverity "Structurally Dead Code"
CID 152020
2016-08-16 08:15:09 +12:00
Mateusz Skowroński
7e0181463c QFileDialg::setFilters() is obsolete in Qt4. Replace it with setNameFilters().
This change is Qt4/Qt5 neutral.
2016-08-15 14:15:05 +02:00
Mateusz Skowroński
8c6bede7b8 QString::fromAscii() is obsolete in Qt5. Replace it with fromLatin1().
This change is Qt4/Qt5 neutral.
2016-08-15 14:14:40 +02:00
wmayer
df8e53630d using unicode codepage directly gives a warning, use utf-8 encoding instead 2016-08-12 10:45:14 +02:00
WandererFan
cb05040a0f Vertical Diameter legible from right per stds 2016-08-12 10:01:16 +02:00
WandererFan
d8ccf14ec3 Prevent creation of superflous QGItems for Text Fields 2016-08-12 10:01:16 +02:00
WandererFan
ef69519261 Diameter symbol & text orientation to standards. 2016-08-12 10:01:16 +02:00
WandererFan
3eb9037ada Handle non-latin1 chars in template 2016-08-12 10:01:16 +02:00
WandererFan
6ad50696b9 Replace GPL osifont file with LGPL3 version 2016-08-12 10:01:16 +02:00
wmayer
1c1f0dfe49 fix various compiler warnings 2016-08-09 13:16:26 +02:00
Wolfgang E. Sanyer
7f4a437cc2 This commit adds getShape and setShape to TopoShape 2016-08-06 23:42:55 +02:00
WandererFan
a539cec1a3 Correct Radius leader behaviour 2016-08-01 19:27:52 -03:00
WandererFan
40fa4e0d40 Qt item parenting and garbage collection
Remove dupl/obsolete code
2016-08-01 19:27:52 -03:00
WandererFan
3588479ff5 Add LineWidth property for Dimension lines 2016-08-01 19:27:52 -03:00
WandererFan
e95d527267 Fix 2630 Dimension line thickness in SVG & print
Meaningful variable names.
2016-08-01 19:27:52 -03:00
WandererFan
fe871cd245 Correct pageSize determination
remove obsolete code
2016-08-01 19:27:52 -03:00
WandererFan
78924d3a22 Fix scaling for ViewSymbol 2016-08-01 19:27:52 -03:00
wmayer
1e2e24b652 + rename methods in Vector3 class
+ add convenience methods Cross and Dot to Vector3 class
+ fix bug in DistanceToLineSegment in Vector3 class
2016-07-30 15:14:47 +02:00
WandererFan
cb51799f60 Refactor method to base View
Auto allocate member attributes
2016-07-23 15:03:39 +02:00
WandererFan
aa8fea7ba4 Fix GH Issue 49 Clip artifact 2016-07-23 15:03:39 +02:00
WandererFan
222492c912 remove unneeded boundingRect methods 2016-07-23 15:03:39 +02:00
WandererFan
48bd90004f Remove obs property & code 2016-07-23 15:03:39 +02:00
WandererFan
c8a4cf20ad Simplify ClipMinus selection logic 2016-07-23 15:03:39 +02:00
WandererFan
131c34cf9e Center new view on Page/ClipGroup 2016-07-23 15:03:39 +02:00
WandererFan
62a8828dc8 Fix 0002627 wrong value in dimension
Remove obolete dimension properties
2016-07-21 19:50:38 -04:00
WandererFan
985ac47f67 Prevent buildup of old QGItems 2016-07-17 10:43:55 -04:00
WandererFan
094a63356f Exclude hatches from SVG export.
QtSvg does not support clipping which is required for hatches.
2016-07-17 10:43:54 -04:00
WandererFan
e62d883f54 Prevent invisible faces.
Warn if Direction == XAxisDirection
2016-07-14 18:10:27 -04:00
WandererFan
2c8f497292 Get user prefs at time of use 2016-07-14 15:55:57 -04:00
WandererFan
9dec3c540e Fix default normal/select/preselect colors 2016-07-14 15:55:57 -04:00
Mateusz Skowroński
9154f31f51 Fix files encoding. Go from ISO8859-1 to UTF-8. 2016-07-14 14:49:19 +02:00
WandererFan
bda5c6233c Remove unconnected signals 2016-07-14 14:39:06 +02:00
WandererFan
de76cd6b53 Remove superfluous OCC includes 2016-07-14 14:39:06 +02:00
WandererFan
19968205d2 Include file cleanup per cppclean analysis 2016-07-14 14:39:06 +02:00
WandererFan
3c2222ba60 Fix #58 ProjectionGroupItem positioning after restore 2016-07-12 15:53:20 -04:00
WandererFan
1a87644f44 DrawViewSymbol forgets Scale on restore 2016-07-12 15:20:08 -04:00
WandererFan
2ac560e7b0 Fix template field dialog multiple instances 2016-07-11 15:32:16 +02:00
WandererFan
277a00dc3c dlgTemplateField parentage
cosmetic: move button box
2016-07-11 15:32:16 +02:00
WandererFan
8edfa147da Implement ShowCutSurface 2016-07-11 15:32:16 +02:00
WandererFan
fc9c4d2bf5 Fix #56 ViewSection
- too many edges in result
2016-07-11 15:32:16 +02:00
WandererFan
8d859c91e1 Fix Vertex hover behaviour
Refactor to reduce duplicate code
Fix Section face color mix on hover
2016-07-11 15:32:16 +02:00
WandererFan
dd5b461e35 Fix crash in dtor of QGVPage 2016-07-11 15:32:16 +02:00
WandererFan
19ff06c9cd View does not appear on Redo
Crash in Page on Redo View
2016-07-11 15:32:16 +02:00