Commit Graph

41 Commits

Author SHA1 Message Date
Kacper Donat
13fbab9e42 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
84a8800767 [TD]fix hatch fail due to missing translate method 2023-09-14 12:05:13 -04:00
Benjamin Bræstrup Sayoc
da2ae719f2 [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
5d05acc87e [TechDraw] Simplify retrievement of user preferences
for all TechDraw files
2023-04-10 23:34:05 -04:00
Benjamin Bræstrup Sayoc
9d8afd1722 [TechDraw] Improve readability of DrawHatch.cpp 2023-04-05 14:32:56 -04:00
wandererfan
a2976bcfbc [TD]simplify embedded hatch file handling 2022-11-12 11:35:22 -05:00
Uwe
4d73bd5a50 [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
aa2b1b8392 [TD]CI clang warnings 2022-09-05 17:48:38 -04:00
Uwe
36add10c86 [TD] App: remove some superfluous nullptr checks 2022-07-19 02:03:50 +02:00
Wanderer Fan
8b60da803c [TD]fix bitmap hatch 2022-07-03 10:18:37 -04:00
Wanderer Fan
74085b609d [TD]fix preference file handling 2022-06-03 18:35:13 -04:00
wmayer
e8f9c8a1d3 TD: modernize C++11
* use nullptr
2022-03-23 19:26:14 +01:00
wandererfan
d66e3396a8 [TD]handle bad preferences in AppImage temp dir 2020-08-14 09:37:14 -04:00
donovaly
e55d522970 [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
e889a49bbb [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
54cd3b8130 [TD]Hatch - handle empty parameter - use default 2020-03-20 18:42:48 -04:00
wandererfan
4bc0718a3b [TD]common preference getters for hatches 2020-03-20 07:28:33 -04:00
WandererFan
47aeca65e1 [TD]fix Section file included set up 2020-03-17 08:45:26 -04:00
wandererfan
fb035a9a0d [TD]remove Hatches from Display when deleted 2020-03-11 18:17:46 -04:00
wandererfan
879a259d81 [TD]embed geom hatch file in document 2020-01-12 11:38:53 -05:00
wandererfan
c3088fab71 [TD]embed Svg hatch file in Document 2020-01-12 11:38:53 -05:00
wandererfan
1f4fb612dd [TD]Apply filters to PropertyFile 2019-09-20 12:56:26 -04:00
wandererfan
5f4e9906a7 [TD]Remove old hatch on add new hatch 2019-09-07 07:32:24 -04:00
wandererfan
242717f5e3 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
f43fb948ab Fix #2624 Draft Patterns Not Installed 2018-03-08 12:02:59 +01:00
WandererFan
cbca02f7f3 HatchColor & HatchScale prop to Gui side 2018-02-14 15:42:25 -05:00
WandererFan
5b19abb0dd Fix "still touched after recompute" and display 2017-12-03 19:17:53 -02:00
WandererFan
813454993c Change Scale to PropertyFloatConstaint to prevent OCC loop when Scale == 0 2017-02-07 10:51:42 -02:00
WandererFan
33479bd4e3 Initial working version of geometric crosshatch/PAT files 2017-01-29 19:40:34 -05:00
WandererFan
e048f12d3b Make SVG hatches scalable 2017-01-29 19:40:32 -05:00
WandererFan
504633b7fe Add 2nd page of preferences 2016-11-24 14:44:37 -02:00
wmayer
06da15e643 + add convenience method recomputeFeature()
+ make method recompute() protected
2016-11-06 17:16:50 +01:00
WandererFan
27aafada9c Include file cleanup per cppclean analysis 2016-07-14 14:39:06 +02:00
WandererFan
030ccc172d Colored SVG Hatch patterns 2016-07-11 15:32:16 +02:00
WandererFan
a77d49d13e DrawHatch derives from DocumentObject
Remove Face selected box
Add Face# to Hatch Label
2016-07-11 15:32:16 +02:00
WandererFan
8976ac330e Hatch View Faces 2016-07-11 15:32:16 +02:00
WandererFan
4bb2da998e fix default Hatch file/dir 2016-07-11 15:32:16 +02:00
WandererFan
c47bdf5d9a Add Python functionality for DrawHatch 2016-07-11 15:32:16 +02:00
WandererFan
66dd5ff122 Preferences "Drawing" -> "TechDraw" 2016-07-11 15:32:16 +02:00
WandererFan
2fbc4025cd ProjectionAlgo & DrawingExport renames 2016-07-11 15:32:16 +02:00
WandererFan
d24e9be1bf Add Mod/TechDraw/App 2016-07-11 15:32:16 +02:00