Commit Graph

33652 Commits

Author SHA1 Message Date
luzpaz
e2c17cc616 Fix typos 2023-07-25 14:26:30 +02:00
wmayer
d4fd9d9ae8 Gui: also print category string of Qt messages 2023-07-24 20:34:52 +00:00
wandererfan
dae186b565 [TD]fix handling of multiple pages 2023-07-24 13:47:08 -04:00
wandererfan
b3ec719c30 [TD]use shared renderer for svg tiles 2023-07-24 11:49:14 -04:00
sliptonic
ef4ca26382 Merge pull request #9594 from wwmayer/issue_9549_new
Part: fixes #9549: Part Fuse not working inside Part container
2023-07-24 10:16:51 -05:00
Florian Foinant-Willig
63187bf88b PartDesign: UpToFace check isnull
The next line crash if upToFace is null.
2023-07-24 14:40:15 +00:00
marioalexis
5f838a43bd Base: Fix warnings -Wredundant-move 2023-07-24 14:39:21 +00:00
wmayer
93c85ce581 PD: fix out of scope warnings of Clone feature
If the BaseFeature link of the Body of a Clone feature isn't set then do not update it.
Forum thread: https://forum.freecad.org/viewtopic.php?p=675644#p675644
2023-07-24 14:35:04 +00:00
Chris Hennes
dd40387478 Update translations 2023-07-24 13:37:52 +00:00
wmayer
fe9e54d7d8 Draft: add unit test for issue #9912 2023-07-24 13:55:28 +02:00
0penBrain
c14891dd3e Spreadsheet: update and add tests 2023-07-23 22:11:08 -04:00
0penBrain
8c6eeb8407 Spreadsheet: fix string save/restore, fixes #6395 2023-07-23 22:11:08 -04:00
wandererfan
734d1adb46 [TD]fix face colour preference ignored 2023-07-23 19:14:06 -04:00
Zheng, Lei
369b51e9ab App: fix removing object while recomputing
Fixes #9912
2023-07-23 19:40:01 +00:00
0penBrain
e499d44d02 [Bugfix]Gui: detach field sensor of draggers and handle post-call of callbacks, fixes #9465 2023-07-23 19:38:56 +00:00
Chris Hennes
6bb8174669 App/Toponaming: Fix Python 3.11 compile issue
Need to ensure the Qt 'slots' macro is undefined by including FCConfig.h.
2023-07-23 19:38:20 +00:00
Ajinkya Dahale
17e265259c [Core] Use FCBak extension with timestamp by default 2023-07-23 19:37:10 +00:00
0penBrain
092c906fe6 [Bugfix]Base: fix implementation of isFile() so it is safe to use
Current implementation can freeze the app if called on specific files
2023-07-23 17:19:31 +00:00
Ajinkya Dahale
87eddb9f1d [Sketcher] [gtest] Add gtests for geoIdFromShapeType 2023-07-21 22:43:45 -05:00
Ajinkya Dahale
76834f6a13 [Sketcher] [gtest] Add SketchObject test
Create a document and then add a `SketchObject` to it. Does not work without
creating document.

Also `FCConfig.h` is needed for `FC_OS_WIN32`.
2023-07-21 22:43:45 -05:00
Ajinkya Dahale
a52bc93da0 [Sketcher] Create SketchObject::buildShape()
Needs changes in TopoShape and creation of ExternalGeometryFacade.

Also contains the squashed ticket:

[Sketcher] Hide unimplemented code

These will eventually be implemented in phase 3 of toponaming.

[Sketcher] Implement trivial `checkSubName` to appease Windows

[Sketcher] Modify `GeoEnum` usage
2023-07-21 22:43:45 -05:00
wandererfan
de6f33f004 [TD]add missing command to menu
- 3 point angle was not in menu
- grouped menu items
2023-07-21 18:13:36 -04:00
Jolbas
b6d0b82408 Save all decimals when property is edited 2023-07-20 12:56:21 -05:00
Roy-043
e008a3afe8 Draft: Auto workingplane ignored rotation around axis (#9955) 2023-07-20 18:46:10 +02:00
Jed Brown
f26c8d02ab FEM: fix gmsh relative paths
Relative paths appearing in Gmsh .geo files are relative to the .geo
file, not relative to the cwd when the gmsh executable was invoked. This
is okay when using absolute paths with the default "Temporary
directories" mode, but if one selects (in Preferences -> FEM) "Beside
.FCStd file", then relative paths are written to the .geo file. This
causes a (suppressed in FreeCAD output) warning from Gmsh that the brep
file is missing as well as the error:

Unexpected error when creating mesh: File to load not existing or not readable: partname/FEMMeshGmsh/BaseFeature_Mesh.unv

In this commit we just use relative paths, which is also convenient if
users move these files elsewhere (e.g., to work directly with advanced
features in Gmsh).
2023-07-20 10:46:49 -05:00
Ajinkya Dahale
1cb7f4e93a [Core] Warn user if using deprecated backup extension 2023-07-20 10:25:34 -05:00
Adrián Insaurralde Avalos
bf94b71447 Fix boost 1.78 workaround 2023-07-20 10:51:30 -04:00
Pascal de Bruijn
8173b85bda TechDraw: fix black filled logo due to #9958 2023-07-20 10:01:29 -04:00
Pascal de Bruijn
f892a92206 TechDraw: fix FreeCAD logo path issue
In two templates the FreeCAD logo path had a deviation from the other
templates, which resulting in some erratic/weird behaviors presumably
due to some rounding errors on some zoom levels.
2023-07-20 10:01:29 -04:00
wmayer
7197568821 Qt6: fix possible build failure with Qt 6.5
Forum thread: https://forum.freecad.org/viewtopic.php?p=692199#p692199
2023-07-20 08:58:56 -05:00
wmayer
8c0fd2706a Qt6: fix possible build failure
* add CMake definitions 'QT_NO_KEYWORDS' to avoid the Qt definition of the 'slots' macro that causes a conflict when including Python headers
* drop QT3_SUPPORT define
2023-07-20 08:58:56 -05:00
wmayer
0fcdeded7a CMake: improve handling of shiboken/PySide
* fix syntax error with message()
* if shiboken/PySide cannot be found print a warning instead of fatal error. Especially for Qt6 builds a self-compiled shiboken6/PySide6 is required that isn't necessarily installed into the system directories so that the (system) Python interpreter may fail to find them
2023-07-20 08:58:56 -05:00
Robbe De Greef
4d34b3324d fix: Spreadsheet applies content/alias even when focus lost (#9836)
* fix: Spreadsheet applies alias even when focus lost

The original stylesheet behavior was that the alias or content fields
could be edited, but only after enter was pressed the field would
actually update. This change makes the field apply when focus is lost
on top of when enter is pressed. This makes it easier to enter the
alias of a lot of fields at once.
2023-07-19 09:15:54 -05:00
Pascal de Bruijn
da604677d9 TechDraw: scour (tidy) template SVGs 2023-07-19 09:21:37 -04:00
Pascal de Bruijn
603d29ce6b TechDraw: fix zh_CN template binding hole duplicate stroke 2023-07-19 09:21:37 -04:00
Pascal de Bruijn
e8f845d20e TechDraw: convert template FreeCAD logos to line art 2023-07-19 09:21:37 -04:00
Chris Hennes
363c094e47 Merge pull request #9812 from 0penBrain/sketcherBackEdit
Sketcher: bugfixes and improvements in backside edit and section view
2023-07-18 14:24:50 -05:00
Adrián Insaurralde Avalos
ef0e1e771e Add FREEECAD_USE_CCACHE cmake option
Defaults to ON except for conda compilation on windows
2023-07-18 11:46:04 -04:00
sliptonic
abcfb284f3 Merge pull request #9930 from jamwaffles/patch-1
Path: Fix undefined variable name in Command.py
2023-07-18 09:04:51 -05:00
sliptonic
d1879079b9 Merge pull request #9418 from jimzim111/path_maintainposition
PATH: Avoid unnecessary mid-Op tool movements to origin: don't add the end …
2023-07-18 09:02:15 -05:00
sliptonic
c5894b2515 Merge pull request #9935 from jamwaffles/patch-2
Path: Fix undefined method error in LeadInOut dressup
2023-07-18 08:54:23 -05:00
Roy-043
dc7b018e75 Draft: Improve downgrading of PD bodies (#9934) 2023-07-18 10:46:10 +02:00
Roy-043
419bc52f10 Draft: Fix get_diffuse_color function (#9932) 2023-07-18 10:45:38 +02:00
luzpaz
a59ec2df85 Fix typos 2023-07-17 16:08:05 -05:00
Chris Hennes
73689f269c App/Toponaming: Tweak ComplexGeoData destructor 2023-07-17 10:24:29 -05:00
Benjamin Bræstrup Sayoc
ba33e50962 [Part] Make tooltip match label
Fixes issue #9941
2023-07-17 09:47:53 -04:00
Chris Hennes
399a0eb094 Merge pull request #9939 from chennes/toponamingAddMissingFindTagInElementNameTest 2023-07-16 14:06:26 -05:00
Chris Hennes
6a9efd6731 App/Toponaming: Add tests for findTagInElementName
Also apply clang-tidy to that function, and fix an error with the postfix return.
2023-07-15 22:47:08 -05:00
Chris Hennes
7e250c4f8a Merge pull request #9780 from chennes/toponamingComplexGeoDataDressing
Toponaming: ComplexGeoData dressing
2023-07-15 16:37:09 -05:00
James Waples
68595b50be Path: Fix undefined method error in LeadInOut dressup
A regression from #9506 where `self.multiply` was removed but not all references to it were updated.

I'm not a Python guy but from what I can see the behaviour is the same - `offsetvector` is still an `App.Vector` which `self.multiply` used to use as well.

Tested with a project that previously didn't work, and now shows a nice `Arc`-type dressup in a circular pocket.
2023-07-15 14:04:30 +01:00