Commit Graph

41 Commits

Author SHA1 Message Date
Kacper Donat
a72a63232a Base: Move App::Color to Base
Every basic data type is stored in Base module, color is standing out as
one that does not. Moving it to Base opens possibilities to integrate it
better with the rest of FreeCAD.
2025-02-17 21:10:26 +01:00
wandererfan
1b64b265ae [TD]fix hatch fail due to missing translate method 2023-09-14 12:05:13 -04:00
Benjamin Bræstrup Sayoc
33384cff9c [Everywhere] FileInfo::hasExtension for multiple values (#9774)
* [Base] Add hasExtension for multiple values

* [Gui] Use hasExtension for multiple values

* [Drawing] Use hasExtension for multiple values

* [Fem] Use hasExtension for multiple values

* [Import] Use hasExtension for multiple values

* [Mesh] Use hasExtension for multiple values

* [Part] Use hasExtension for multiple values

* [TechDraw] Use hasExtension for multiple values
2023-08-07 09:55:19 -06: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
b57c7eab12 [TechDraw] Improve readability of DrawHatch.cpp 2023-04-05 14:32:56 -04: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
Uwe
93796e2d92 [TD] App: remove some superfluous nullptr checks 2022-07-19 02:03:50 +02:00
Wanderer Fan
ac4fa39ad4 [TD]fix bitmap hatch 2022-07-03 10:18:37 -04:00
Wanderer Fan
2b0dd54fe7 [TD]fix preference file handling 2022-06-03 18:35:13 -04:00
wmayer
a99be14233 TD: modernize C++11
* use nullptr
2022-03-23 19:26:14 +01:00
wandererfan
f56825c79f [TD]handle bad preferences in AppImage temp dir 2020-08-14 09:37:14 -04:00
donovaly
fc6a449fba [TD] remove hatch property DirProjection
as discussed in https://forum.freecadweb.org/viewtopic.php?f=35&t=47536&p=408075#p407904
the property DirProjection can go.
2020-06-13 20:45:31 -04:00
donovaly
9726ad3f4a [TD] add dialog for hatches
as discussed in the forum, the hatch feature misses a dialog. So here it is. The code is more or less just the one of the existing GeomHatch dialog
2020-06-12 08:12:37 -04:00
wandererfan
4a0ab015f6 [TD]Hatch - handle empty parameter - use default 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
wandererfan
513f3b55c5 [TD]embed geom hatch file in document 2020-01-12 11:38:53 -05:00
wandererfan
8d117827b8 [TD]embed Svg 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
6a1b19739d [TD]Remove old hatch on add new hatch 2019-09-07 07:32:24 -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
WandererFan
be3b4d8881 Fix #2624 Draft Patterns Not Installed 2018-03-08 12:02:59 +01:00
WandererFan
78f4d91b95 HatchColor & HatchScale prop to Gui side 2018-02-14 15:42:25 -05:00
WandererFan
5bc256d3f2 Fix "still touched after recompute" and display 2017-12-03 19:17:53 -02:00
WandererFan
79a5a6adde Change Scale to PropertyFloatConstaint to prevent OCC loop when Scale == 0 2017-02-07 10:51:42 -02:00
WandererFan
f51b5818cc Initial working version of geometric crosshatch/PAT files 2017-01-29 19:40:34 -05:00
WandererFan
fe617e1433 Make SVG hatches scalable 2017-01-29 19:40:32 -05:00
WandererFan
bcb1534391 Add 2nd page of preferences 2016-11-24 14:44:37 -02:00
wmayer
3b961bcb5f + add convenience method recomputeFeature()
+ make method recompute() protected
2016-11-06 17:16:50 +01:00
WandererFan
19968205d2 Include file cleanup per cppclean analysis 2016-07-14 14:39:06 +02:00
WandererFan
05d94f31f8 Colored SVG Hatch patterns 2016-07-11 15:32:16 +02:00
WandererFan
ba71e074ce DrawHatch derives from DocumentObject
Remove Face selected box
Add Face# to Hatch Label
2016-07-11 15:32:16 +02:00
WandererFan
bca002ff09 Hatch View Faces 2016-07-11 15:32:16 +02:00
WandererFan
9a85375705 fix default Hatch file/dir 2016-07-11 15:32:16 +02:00
WandererFan
707ef236f3 Add Python functionality for DrawHatch 2016-07-11 15:32:16 +02:00
WandererFan
05c730f38d Preferences "Drawing" -> "TechDraw" 2016-07-11 15:32:16 +02:00
WandererFan
3b2d07e8af ProjectionAlgo & DrawingExport renames 2016-07-11 15:32:16 +02:00
WandererFan
189839e93d Add Mod/TechDraw/App 2016-07-11 15:32:16 +02:00