Commit Graph

52 Commits

Author SHA1 Message Date
wandererfan
cea3370a24 [TD]fix regression of svg hatch during export
- last worked in v0.20
- svg hatch tile field is not cropped on export to svg.  svg tiles are
  replaced by pixmap tiles for export.
2024-04-12 09:00:06 -04:00
pavltom
2ffca4958a [TechDraw] Multiselection mode implementation 2023-11-16 20:45:02 -05:00
pavltom
4c888b6afe [TechDraw] Issue #6527 - Implement face transparency 2023-11-10 10:48:06 -05:00
wandererfan
8dea3487e2 [TD]refactor QGIFace into 2 files
- add PATPathMaker for the PAT hatch spec processing
  methods
- remove PAT methods from QGIFace
- remove obsolete conversion of svg hatch to pixmap
2023-10-23 11:01:38 -04:00
wandererfan
be6484b150 [TD]use shared renderer for svg tiles 2023-07-24 11:49:14 -04:00
wandererfan
195520d4a3 [TD]fix face colour preference ignored 2023-07-23 19:14:06 -04:00
wandererfan
4dff7db187 [TD]fix face hatch location inSvg export 2023-02-12 11:50:20 -05:00
Uwe
8b5fc633a9 [TD] QGIA - QGIH:remove unused includes
- also some sorting
2022-12-04 03:10:56 +01:00
wandererfan
276e6c45b9 [TD]allow rotation of hatch directions
- faces can have their svg and bitmap hatches rotated to match
  the view rotation or special situations
- section cut face can have svg hatch rotated
2022-12-03 15:15:25 -05:00
wandererfan
acf17905ed [TD]CI clang warnings 2022-09-05 17:48:38 -04:00
Wanderer Fan
99120c2c74 [TD]include clean up continued 2022-08-14 10:29:25 -04:00
Wanderer Fan
f2ba030ebb [TD]remove precompiled from *.h 2022-08-14 09:20:38 -04:00
Benjamin Bræstrup Sayoc
aa9a667506 [TechDraw] Clean up precompile in Gui 2022-08-14 09:20:38 -04:00
Benjamin Bræstrup Sayoc
9905e17ba1 [TechDraw] Remove uneeded redefinitions of inherited functions 2022-08-12 18:13:52 -04:00
berniev
ddafb98813 Mod: Use override etc 2 2022-08-09 12:52:26 +02:00
wmayer
617f213d2f TD: [skip ci] help code analyzers with export macro 2022-08-08 12:03:25 +02:00
berniev
da9ebc572f Mod: redundant void 2 2022-08-08 10:27:50 +02:00
Wanderer Fan
ac4fa39ad4 [TD]fix bitmap hatch 2022-07-03 10:18:37 -04:00
Uwe
ab682628c6 [TD] Gui Headers: remove unused header - part 4/4 2022-03-25 03:43:44 +01:00
wmayer
a99be14233 TD: modernize C++11
* use nullptr
2022-03-23 19:26:14 +01:00
Wanderer Fan
e91cc8e329 [TD] avoid memory leaks by using shared_ptr
TD geometry objects are sometimes double deleted.  This
change uses shared_ptr instead of raw pointers to manage
deletions.
2022-01-07 13:34:20 -05:00
wandererfan
04f1842308 [TD]remove obsolete QGraphicsSVGItem (LGTM) 2020-07-26 19:45:49 -04:00
donovaly
79b267a3dc [TD] fix hatch color issue
as discussed: https://forum.freecadweb.org/viewtopic.php?f=35&t=47536&p=407916#p407916
there are 2 types of SVG declarations possible
2020-06-13 09:46:20 -04:00
wandererfan
a9b718d1e0 [TD]Export Svg hatch as bitmap 2020-05-29 20:53:24 -04:00
wandererfan
57bfc2e380 [TD]fix Svg hatch on export 2019-12-17 08:29:49 -05:00
wandererfan
6ada9e96ad [TD]using namespace clean up 2019-11-03 18:52:19 -05:00
wandererfan
4b853ab9f6 [TD]Fix selection highlight for QGIPrimPath children 2019-09-09 15:40:39 -04:00
wandererfan
dd459f0d88 [TD]Allow transparent Faces as default 2019-09-08 07:13:23 -04:00
wmayer
9d95936891 Fix warnings:
fix -Winconsistent-missing-override
fix -Wself-assign
2019-08-28 16:25:39 +02:00
wandererfan
0d01744098 [TD]Clean up Welding Symbol creation 2019-08-22 17:11:55 -04:00
wandererfan
21efae348e [TD]Fix #4017 Crash on bad hatch scale 2019-07-19 11:01:20 -04:00
wandererfan
5970e91ef2 [TD]Py Cosmetic Vertex, Line, Circle Arc 2019-07-15 12:36:48 -04:00
WandererFan
0768ae99cf Coverity fixes
CID 156629  - obsolete
CID 156624  - obsolete
CID 163225  - won't fix
CID 163226
CID 163227
CID 163228
CID 163229
CID 163235
2017-06-23 08:14:46 +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
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
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
f51b5818cc Initial working version of geometric crosshatch/PAT files 2017-01-29 19:40:34 -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
ecbd8c8dc0 Control Face edges from Part/Section 2016-09-28 20:24:46 -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
19968205d2 Include file cleanup per cppclean analysis 2016-07-14 14:39:06 +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
05d94f31f8 Colored SVG Hatch patterns 2016-07-11 15:32:16 +02:00
WandererFan
731f76f52d Hatch using svgItem 2016-07-11 15:32:16 +02:00
WandererFan
bca002ff09 Hatch View Faces 2016-07-11 15:32:16 +02:00
WandererFan
6cec1df189 Working Face selection 2016-07-11 15:32:16 +02:00
WandererFan
f11e8ffa10 Basic Face detection using BGL 2016-07-11 15:32:16 +02:00
Ian Rees
6133971747 Cleaning up compile warnings. 2016-07-11 15:32:16 +02:00