freecad-gh-actions-translation-bot
c8b757bd3c
Update translations from Crowdin
2026-01-05 08:47:20 +01:00
freecad-gh-actions-translation-bot
dc3be6111a
Update translations from Crowdin
2025-12-29 11:31:39 +01:00
Chris Hennes
ce1151609e
Tools: Add Surface to translations
2025-12-25 19:06:55 +01:00
pre-commit-ci[bot]
9fe130cd73
All: Reformat according to new standard
2025-11-11 13:49:01 +01:00
ᴩʜᴏɴᴇᴅʀᴏɪᴅ
f99a6b3cbf
[ Surface ]: Updated SPDX ( #24560 )
2025-10-14 10:02:53 -05:00
Markus Reitböck
d3dbc6158e
Surface: use CMake to generate precompiled headers on all platforms
...
"Professional CMake" book suggest the following:
"Targets should build successfully with or without compiler support for precompiled headers. It
should be considered an optimization, not a requirement. In particular, do not explicitly include a
precompile header (e.g. stdafx.h) in the source code, let CMake force-include an automatically
generated precompile header on the compiler command line instead. This is more portable across
the major compilers and is likely to be easier to maintain. It will also avoid warnings being
generated from certain code checking tools like iwyu (include what you use)."
Therefore, removed the "#include <PreCompiled.h>" from sources, also
there is no need for the "#ifdef _PreComp_" anymore
2025-09-23 22:39:36 +02:00
Markus Reitböck
c003f7915b
fix duplicate include guards in precompiled headers
2025-09-23 00:51:00 +02:00
wmayer
10bc43a842
CMake: Replace link_directories with target_link_directories
2025-09-08 19:04:38 +02:00
wmayer
ac51455a0a
CMake: Replace include_directories with target_include_directories
2025-09-08 19:04:34 +02:00
Max Wilfinger
1850c5dc0f
Fix missed strings for UI consistency
...
Fix ellipsis rendering
2025-08-08 06:37:59 -05:00
Max Wilfinger
4d55b42096
Update src/Mod/Surface/Gui/TaskSections.ui
...
Co-authored-by: Ryan K <114723629+ryankembrey@users.noreply.github.com >
2025-06-30 10:35:00 -05:00
Max Wilfinger
9db457af8c
Update src/Mod/Surface/Gui/TaskFillingEdge.ui
...
Co-authored-by: Ryan K <114723629+ryankembrey@users.noreply.github.com >
2025-06-30 10:35:00 -05:00
Max Wilfinger
459d22bc0e
Update src/Mod/Surface/Gui/TaskFillingVertex.ui
...
Co-authored-by: Ryan K <114723629+ryankembrey@users.noreply.github.com >
2025-06-30 10:35:00 -05:00
Max Wilfinger
1d3358c391
Update src/Mod/Surface/Gui/Command.cpp
...
Co-authored-by: Ryan K <114723629+ryankembrey@users.noreply.github.com >
2025-06-30 10:35:00 -05:00
Max Wilfinger
f77b90d9c8
Update src/Mod/Surface/Gui/Command.cpp
...
Co-authored-by: Ryan K <114723629+ryankembrey@users.noreply.github.com >
2025-06-30 10:35:00 -05:00
Max Wilfinger
b5ab0dcbb7
Update src/Mod/Surface/Gui/Command.cpp
...
Co-authored-by: Ryan K <114723629+ryankembrey@users.noreply.github.com >
2025-06-30 10:35:00 -05:00
Max Wilfinger
503b2fe808
Update src/Mod/Surface/Gui/Command.cpp
...
Co-authored-by: Ryan K <114723629+ryankembrey@users.noreply.github.com >
2025-06-30 10:35:00 -05:00
Max Wilfinger
4d74847251
Surface: Update UI strings for consistency
2025-06-30 10:35:00 -05:00
wmayer
2a7498c930
Helper function to get preferred delete key depending on platform
2025-06-09 18:10:52 +02:00
Max Wilfinger
726d15f8a7
Fix linter warnings
2025-06-07 21:10:01 +02:00
wmayer
b111debcef
Surface: Fix transaction support of BlendCurvePanel and bind widgets to properties
2025-06-06 16:11:00 +02:00
wmayer
cc9e2b59b1
Surface: Add task panel for blending curve
2025-06-06 16:10:47 +02:00
bofdahof
ba2c2ca5ad
Console: rename PascalCase named methods to camelCase
2025-05-06 17:50:21 +02:00
Andrew Shkolik
ece110f21e
Automatically switch to edge selection mode when creating surface
2025-04-07 17:57:07 +02:00
tritao
cdab9c7837
CMake: Cleanup targets with transitive dependencies
2025-03-17 12:12:06 +00:00
Chris Hennes
1a2070c36f
Merge pull request #19636 from kadet1090/color-in-base
...
Base: Move App::Color to Base
2025-03-02 16:36:40 -06:00
Benjamin Bræstrup Sayoc
ee1c73cd04
Build: suppress warnings from 3rd party libraries
...
Warnings from 3rd parties are not relevant and are only polluting the warning output. Marking these libraries as SYSTEM suppresses warning.
https://gcc.gnu.org/onlinedocs/cpp/Invocation.html#index-I
https://gcc.gnu.org/onlinedocs/cpp/System-Headers.html
2025-02-25 14:39:05 +00:00
Joao Matos
15076cb504
Core: Move PyCXX library to src/3rdParty.
2025-02-24 16:36:06 +00:00
Kacper Donat
cc2efa90f8
Base: Add isNullOrEmpty string helper
...
This adds isNullOrEmpty string helper that cheks if string is... well
null or empty. It is done to improve readability of the code and better
express intent.
2025-02-21 15:04:43 +01:00
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
Joao Matos
aace8f7bee
CMake: Modernize build files using outdated Python variables.
2025-02-16 10:21:26 -06:00
Benjamin Bræstrup Sayoc
e09698ee47
Surface: Use QStringLiteral
2025-02-10 18:34:57 +01:00
tritao
551c2e48fb
Gui: Reorganize the selection files into a top Selection folder.
2025-02-03 17:56:57 +01:00
Benjamin Nauck
6f535f19fb
Prefer to use BaseClass's isDerivedFrom<T> over non template or Base::Type's
...
Regex based changes, manually verified
2025-01-27 16:08:18 +01:00
Benjamin Nauck
08fe94ef25
Add template based Document::countObjectsOfType
...
Also convert code to use this new method
2025-01-14 14:23:46 +01:00
Benjamin Nauck
74f3aee9a7
Add template based SelectionSingleton::countObjectsOfType
...
Also convert code to use this new method
2025-01-13 18:55:15 +01:00
Kacper Donat
954b729b56
Gui: Use getObject<T>() helpers in classes
...
This commit is generated using regex based find and replace:
```
s/[\w:]+_cast\s*<([^>]+)\*>\s*\(\s*getObject\(\s*\)\)/getObject<$1>/
s/[\w:]+_cast\s*<([^>]+)\*>\s*\(\s*([^)]*)\s*->\s*getObject\(\s*\)\)/$2->getObject<$1>()/
```
To regenerate if needed.
2024-12-06 18:29:39 +01:00
Benjamin Nauck
779fda5e4a
Reuse Std_Delete shortcut instead of hardcoding Delete ( #16682 )
...
* Reuse Std_Delete shortcut in TaskBooleanParameters
* Reuse Std_Delete shortcut in TaskDressUpParameters
* Reuse Std_Delete shortcut in TaskLoftParameters
* Reuse Std_Delete shortcut in TaskPipeParameters
* Reuse Std_Delete shortcut in TaskSapeBinder
* Reuse Std_Delete shortcut in TaskTransformedParameters
* Reuse Std_Delete shortcut in TaskExtrudeParameters
* Reuse Std_Delete shortcut in TaskSections
* Reuse Std_Delete shortcut in MaterialSave
* Reuse Std_Delete shortcut in Array2D
* Reuse Std_Delete shortcut in TaskFemConstraint
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-09-23 10:53:39 -05:00
wmayer
e5fa099591
Clean-up code and improve formatting
2024-06-17 16:30:25 +02:00
David Carter
5feb963f9d
Material: Appearance Updates 2
...
Improves the use of the ShapeAppearance property for the Part workbench.
removes DiffuseColor property
adds Python compatibility using custom attributes
transitions DiffuseColor to ShapeAppearance on open
Improved UI elements for setting object appearance, and appearance per face
Lays the foundation for future texture support
2024-06-01 19:57:16 -05:00
wmayer
560cab6f31
clang/gcc: Add build option FREECAD_WARN_ERROR to force to make warnings into errors
2024-05-29 13:37:07 +02:00
David Carter
ba20441935
Material: Material appearance
...
Uses new material system for appearance
Each feature object now has a property called ShapeMaterial that
describes its physical properties. If it has a shape, it has a
material.
The ShapeColor attribute is replaced by a ShapeAppearance attribute.
This is a material list that describes all appearance properties, not
just diffuse color. As a list in can be used for all elements of a
shape, such as edges and faces.
A new widget is provided to allow the user to select materials in a
consistent fashion. It can also launch the material editor with its
more advanced capabilities.
2024-04-04 07:39:58 -05:00
wmayer
0c6a0ccad8
Surface: use of TaskDialog::addTaskBox
2024-03-26 15:57:20 +01:00
Chris Hennes
37a8e348c6
Merge pull request #11231 from DeflateAwning/http-cleanup
...
Find and replace http://freecad to https://freecad
2023-11-06 11:16:13 -06:00
DeflateAwning
46b3c02647
Change http to https in SVGs
...
Find and replace:
http:\/\/(.{0,10})freecad
https://$1freecad
Include: *.svg
2023-10-29 22:32:59 -06:00
Florian Foinant-Willig
bb3eb31d4e
Surface: modernize type checking
2023-10-23 18:08:22 +02:00
liukaiwen
329904a055
[cmake] some definitions do not matter build now
2023-09-27 18:17:14 +08:00
pre-commit-ci[bot]
e92ed45df9
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2023-09-12 13:02:35 -04:00
Chris Hennes
6c9557c39b
Surface: Final application of pre-commit
2023-09-04 08:18:51 -05:00
wmayer
255ddb746c
Surface: apply clang format
2023-09-04 07:21:32 -05:00