Commit Graph

41 Commits

Author SHA1 Message Date
wandererfan
1b64b265ae [TD]fix hatch fail due to missing translate method 2023-09-14 12:05:13 -04:00
wandererfan
3e164a5700 [TD]split GeometryObject 2023-08-18 15:18:42 -04:00
Benjamin Bræstrup Sayoc
15fe52a04b [TechDraw] Simplify retrievement of user preferences
for all TechDraw files
2023-04-10 23:34:05 -04:00
Benjamin Bræstrup Sayoc
32e56cfc9c [TechDraw] Improve readability of DrawGeomHatch.cpp 2023-04-05 14:32:56 -04:00
wmayer
2a970b3045 clang: fix -Wunused-but-set-variable 2023-03-12 15:05:21 +01:00
wandererfan
12db3618df [TD]remove obsolete log messages 2023-01-13 12:15:33 -05: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
75e163213a [TD]simplify embedded hatch file handling 2022-11-12 11:35:22 -05:00
Uwe
03a3ae8cd8 [TD] DrawD* - DrawT*: remove unused includes - part 2/2
- also sort includes
- also additions to precompiled header
2022-10-08 17:21:26 +02:00
wandererfan
acf17905ed [TD]CI clang warnings 2022-09-05 17:48:38 -04:00
Wanderer Fan
e8a25a8fdf [TD]code review changes for dgh, dpg, dpgi, dra 2022-08-18 19:43:04 -04:00
Wanderer Fan
74cdc6db61 [TD]code clean ups
- QtConcurrent include and CMake for Win

- include clean up dvp, dvs, dvd

- variable names and nested if clean up

- remove debug code
2022-08-18 09:34:32 -04:00
berniev
da9ebc572f Mod: redundant void 2 2022-08-08 10:27:50 +02:00
Uwe
31bc9f3913 [TD] remove some more superfluous nullptr checks 2022-07-20 02:53:48 +02:00
Uwe
93796e2d92 [TD] App: remove some superfluous nullptr checks 2022-07-19 02:03:50 +02:00
Wanderer Fan
2b0dd54fe7 [TD]fix preference file handling 2022-06-03 18:35:13 -04:00
Wanderer Fan
30faedfce2 [TD]fix GeomHatch change file name 2022-04-23 10:00:02 -04:00
wmayer
a99be14233 TD: modernize C++11
* use nullptr
2022-03-23 19:26:14 +01:00
Wanderer Fan
913fb21502 [TD]fix misplaced section line
- BRepBndLib::Add results in wrong bbox center.
- replaced with BRepBndLib::AddOptimal
2022-03-03 09:31:29 -05: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
f56825c79f [TD]handle bad preferences in AppImage temp dir 2020-08-14 09:37:14 -04:00
wandererfan
8dac7e4666 [TD]fix misaligned PAT hatch on section 2020-07-25 10:30:13 -04:00
WandererFan
6974598dc1 [TD]Improve section face display 2020-06-04 09:00:22 -04:00
wandererfan
b3290e0352 [TD]show section face pat hatch on restore 2020-05-10 11:03:15 -04:00
wandererfan
92d005b26f [TD]GeomHatch - handle empty parameter 2020-03-20 18:42:48 -04:00
wandererfan
7a9a87fa6c [TD]common preference getters for hatches 2020-03-20 07:28:33 -04:00
WandererFan
636d50f8e1 [TD]fix Section file included set up 2020-03-17 08:45:26 -04:00
wandererfan
0ab6ba7a5c [TD]remove Hatches from Display when deleted 2020-03-11 18:17:46 -04:00
donovaly
fa40b50565 [TD] reduce scaling increment
see https://forum.freecadweb.org/viewtopic.php?f=35&t=42780
2020-01-26 19:30:02 -05:00
wandererfan
513f3b55c5 [TD]embed geom hatch file in document 2020-01-12 11:38:53 -05:00
wandererfan
0549366271 [TD]Apply filters to PropertyFile 2019-09-20 12:56:26 -04:00
wandererfan
5970e91ef2 [TD]Py Cosmetic Vertex, Line, Circle Arc 2019-07-15 12:36:48 -04:00
wandererfan
5a26558a9d Fix out of scope warnings
- Links within TD were not set to Global scope. This caused
  problems when a Page was in a container, but Views were not
  in the container.
2019-01-22 10:15:04 -02:00
wmayer
b0247d184e Replace Base::Exception with appropriate subclass 2018-11-14 19:42:10 +01:00
luz.paz
37305f69fe Misc. typo and whitespace fixes
`codespell -q 3 -I ../fc-word-whitelist.txt --skip=".git,*.ts,*.po,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/zipios++"`
2018-09-11 07:27:22 +02:00
WandererFan
8cf2015c3c Fix upside down GeomHatch on asymmetric faces 2017-07-17 19:47:44 -03: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
79a5a6adde Change Scale to PropertyFloatConstaint to prevent OCC loop when Scale == 0 2017-02-07 10:51:42 -02:00
WandererFan
722b2d1c04 Install default PAT file 2017-01-29 19:40:34 -05:00
WandererFan
84b858a142 fix naming conflicts 2017-01-29 19:40:34 -05:00