Commit Graph

32027 Commits

Author SHA1 Message Date
wandererfan
a3851d4701 [TD]fix handling of multiple pages 2023-07-24 13:47:08 -04:00
wandererfan
be6484b150 [TD]use shared renderer for svg tiles 2023-07-24 11:49:14 -04:00
sliptonic
20768ba7f9 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
761e807cd5 PartDesign: UpToFace check isnull
The next line crash if upToFace is null.
2023-07-24 14:40:15 +00:00
marioalexis
3d3b5b76f5 Base: Fix warnings -Wredundant-move 2023-07-24 14:39:21 +00:00
wmayer
d7c90d3f77 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
6838740153 Update translations 2023-07-24 13:37:52 +00:00
wmayer
736248e408 Draft: add unit test for issue #9912 2023-07-24 13:55:28 +02:00
0penBrain
1580fe7c96 Spreadsheet: update and add tests 2023-07-23 22:11:08 -04:00
0penBrain
ee3b777f62 Spreadsheet: fix string save/restore, fixes #6395 2023-07-23 22:11:08 -04:00
wandererfan
195520d4a3 [TD]fix face colour preference ignored 2023-07-23 19:14:06 -04:00
Zheng, Lei
a5e350ad46 App: fix removing object while recomputing
Fixes #9912
2023-07-23 19:40:01 +00:00
0penBrain
ca09364614 [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
343df86194 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
c3e395f963 [Core] Use FCBak extension with timestamp by default 2023-07-23 19:37:10 +00:00
0penBrain
566ae39519 [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
b2840e7a5e [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
382832cde2 [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
b1e521743b Save all decimals when property is edited 2023-07-20 12:56:21 -05:00
Roy-043
1d7e2c3de0 Draft: Auto workingplane ignored rotation around axis (#9955) 2023-07-20 18:46:10 +02:00
Jed Brown
9e18bd2d00 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
0e3dce286e [Core] Warn user if using deprecated backup extension 2023-07-20 10:25:34 -05:00
Adrián Insaurralde Avalos
0c8cc49344 Fix boost 1.78 workaround 2023-07-20 10:51:30 -04:00
Pascal de Bruijn
7eebf6d4ff TechDraw: fix black filled logo due to #9958 2023-07-20 10:01:29 -04:00
Pascal de Bruijn
c410c483d1 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
141b2ecf0a 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
713bc349a5 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
Robbe De Greef
ae215724dd 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
fdf2d79c4f TechDraw: scour (tidy) template SVGs 2023-07-19 09:21:37 -04:00
Pascal de Bruijn
f661e8aa53 TechDraw: fix zh_CN template binding hole duplicate stroke 2023-07-19 09:21:37 -04:00
Pascal de Bruijn
70a47494c8 TechDraw: convert template FreeCAD logos to line art 2023-07-19 09:21:37 -04:00
Chris Hennes
21492b59a4 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
sliptonic
77805b5373 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
ffd664725a 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
2707716152 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
a04dfded14 Draft: Improve downgrading of PD bodies (#9934) 2023-07-18 10:46:10 +02:00
Roy-043
ba6a45d9db Draft: Fix get_diffuse_color function (#9932) 2023-07-18 10:45:38 +02:00
luzpaz
13f79ab6df Fix typos 2023-07-17 16:08:05 -05:00
Chris Hennes
64b4a5a490 App/Toponaming: Tweak ComplexGeoData destructor 2023-07-17 10:24:29 -05:00
Benjamin Bræstrup Sayoc
370e794d27 [Part] Make tooltip match label
Fixes issue #9941
2023-07-17 09:47:53 -04:00
Chris Hennes
2ad35ea03e 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
15371a04f3 Merge pull request #9780 from chennes/toponamingComplexGeoDataDressing
Toponaming: ComplexGeoData dressing
2023-07-15 16:37:09 -05:00
James Waples
83ec49eb70 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
James Waples
a56ed9175f Path: Fix undefined variable name in Command.py
This is a rename that got missed in #6637. I ran into this bug when trying to post a job using the `linuxcnc` post processor on a Windows 11 machine, running the weekly build titled `FreeCAD_weekly-builds-33576-2023-07-13-conda-Windows-x86_64-py310.7z`.
2023-07-15 14:03:26 +01:00
Chris Hennes
33600efe80 PD: prevent MSVC from defining min/max 2023-07-15 07:45:38 -05:00
luzpaz
525eacca39 Fix various typos 2023-07-15 11:17:45 +02:00
Chris Hennes
e7f8f26bd5 App/Toponaming: Basic tests and linter issues 2023-07-14 23:03:18 -05:00
Chris Hennes
9ea7b6424b App/Toponaming: ComplexGeoData realthunder original
Minor modifications to make it compile with previous refactorings.
The only substantial change to the original is moving the
getElementHistory function from ComplexGeoData to MappedName so
that the dehash function can remain private.
2023-07-14 23:03:18 -05:00
Chris Hennes
aefb3584aa Merge pull request #9896 from bdieterm/patch-3
set toolbar icon size when starting FreeCAD GUI from Python
2023-07-14 13:08:24 -05:00
wmayer
3145dd7bbc Part: add a unit test for PR #9905 2023-07-14 11:29:20 -05:00