Commit Graph

29957 Commits

Author SHA1 Message Date
Chris Hennes
8a95d0e6e8 Addon Manager: refactor process_string_to_datetime (#18492)
* Addon Manager: Refactor utilities tests to remove filesystem use

* Addon Manager: Move process_date_string_to_python_datetime to utilities

Also add unit tests and modify the exception type

* Addon Manager: Add tests for other date separators

* Addon Manager: Refactor to reduce duplication

* Addon Manager: add explanation of why the function exists

* Addon Manager: use exception chaining

* Addon Manager: Remove unused test files
2024-12-23 18:01:02 +01:00
Roy-043
e7bc0dbc24 Part: remove rogue margins from ui file 2024-12-23 11:59:34 -05:00
Chris Hennes
bca4b4f743 Measure: Pass empty arg to QStringLiteral macro
Silences compiler warning about missing expected macro argument (MSVC warning C4003).
2024-12-23 17:55:15 +01:00
wmayer
02f41bbe60 App: Fix possible crash when postponing the destruction of a removed property
Fixes #18601
2024-12-23 11:49:38 -05:00
Ladislav Michl
3bddb723d5 Base: UnitsSchema: return std::string 2024-12-23 17:48:42 +01:00
Ladislav Michl
0b3adee2ab Base: Quantity: return std::string 2024-12-23 17:48:42 +01:00
Ladislav Michl
379d7ea9d5 Base: Units: return std::string 2024-12-23 17:48:42 +01:00
FEA-eng
c4a8bd680a Fix typos in TechDraw advanced preferences - tooltips (#18510) 2024-12-23 10:38:12 -06:00
Julien Masnada
cc6b7cf852 Remove invalid assert on unit test 2024-12-23 17:20:48 +01:00
Julien Masnada
3399545054 Removing IFC project by default 2024-12-23 17:20:48 +01:00
luzpaz
2902ea4995 Trim lines ending with superfluous whitespace 2024-12-22 08:50:37 -05:00
luzpaz
b0a29fde31 Fix various typos 2024-12-22 08:47:13 -05:00
Chris Hennes
1a4cee0b9a Merge pull request #15744 from alfrix/threads
feature: add more thread types: BSP NPT  and tapered
2024-12-20 12:22:38 -05:00
Yorik van Havre
2787001f44 BIM: Added frame to welcome dialog - supersedes #17393 2024-12-20 12:20:43 -05:00
wmayer
8eefa7f113 Part: Fix getIcon() of several view providers to return full path name of the icon file 2024-12-20 12:19:47 -05:00
Tobias Frost
cb2ed35405 Fix SPDX Identifier to match license 2024-12-20 12:05:44 -05:00
Alfredo Monclus
db5874517c fix(PD): size should be enabled if profile is not none 2024-12-20 12:03:18 -05:00
Andrea
ad6c0537b8 [Mod] clean DrawingExport.cpp
Removed dead code
[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
2024-12-20 12:01:38 -05:00
marioalexis
f6e33eb5f4 Fem: Fix mesh export to vtk formats 2024-12-20 11:46:46 -05:00
Yorik van Havre
2ab0891e61 BIM: Fixed structures calculation mode - fixes #18453 2024-12-20 11:40:24 -05:00
PaddleStroke
802c9c286d Assembly: Joint creation presolve: move part2 rather than part1 when both are unconnected. 2024-12-20 11:37:04 -05:00
David Carter
ddf48e0daa Materials: Change display of Quantity values
The default display type of quantity objects is fixed point resulting
in insufficient accuracy when changing unit systems, or when the values
are small. This fix changes the default format from 'Fixed' to the more
apt 'Default' format. This allows the displayed values to scale as
appropriate.

Fixes #18149
2024-12-20 11:31:43 -05:00
Alfredo Monclus
9b0b2c606f refactor(PD): rename CoreHole to TapDrill
using a drill and cutting tap is not the only method to create a thread, and this sizes should be optional. i would prefer using the minor diameter of threads, leaving full thread depth and let the user adjust according to their needs using the custom clearance
2024-12-20 07:51:34 -03:00
Alfredo Monclus
ab971fba19 feat(PD): set the proper angle for threads and countersinks
apply the recommended thread angle only if the user hasn't set an angle
2024-12-20 07:51:34 -03:00
Alfredo Monclus
dc3d9522de feat(PD): BSF threads 2024-12-20 07:51:34 -03:00
Alfredo Monclus
8b61b96e18 feat(PD): BSW threads 2024-12-20 07:51:34 -03:00
Alfredo Monclus
f1192a12f9 fix(Test): sketcher external geometry removed test 2024-12-20 07:51:34 -03:00
Alfredo Monclus
32d75519f7 refactor(PD): new cut profile for threads
fixes tapered threds
removing 2 points increases performance around 10% when doing an M1 in my imprecise testing
2024-12-20 07:51:33 -03:00
Alfredo Monclus
4660dfcfa6 refactor(PD): change tabs to whitespaces 2024-12-20 07:51:33 -03:00
Alfredo Monclus
33251daa12 feat(PD): tapered threads support, NPT and BSPT are now possible 2024-12-20 07:51:33 -03:00
Alfredo Monclus
ae8b1cfe2a feat(PD): ANSI pipe threads 2024-12-20 07:51:33 -03:00
Alfredo Monclus
273295ff03 feat(PD): BSP - British standard pipe threads 2024-12-20 07:51:33 -03:00
Alfredo Monclus
8444a3ec97 fix(PD): complete ISO-273 2024-12-20 07:51:33 -03:00
Yorik van Havre
1212c55e38 BIM: Several fixes to nativeIFC lock/unlock system - fixes #17862 2024-12-20 10:15:39 +01:00
JULIEN MASNADA
c840b25588 Improved SweetHome 3D importer (#17165)
* Fixed access to Addon::Metadat::Url attributes

* Fixed invalid vector in distance calculation

* SH3D importer initial version

* Cleaned up and added baseboard

* Make sure notificationWidth is properly enabled/disabled

* Added furnitureGroup, color prefs, light weight mesh object

* Allow to join walls

* Prepare to join wall, improved status feedback

* Removing trailing white space

* SH3D importer initial version

* Cleaned up and added baseboard

* Make sure notificationWidth is properly enabled/disabled

* Added furnitureGroup, color prefs, light weight mesh object

* Allow to join walls

* Prepare to join wall, improved status feedback

* Removing trailing white space

* fixing tipo, 80 charlines, etc

* Adding a basic import test

* Work in local but fails on pipeline. Commenting out.

* Adding testcase and join wall path

* Use ruled surface to fix failed sweep

* Fixed faces order when joining walls

* Fixed missing sample importer file

* Allow to change pref just before import

* Fixed excessive debug output

* Allow to import from string. Test use embedded string

* Fixed tipo in comment

Co-authored-by: João Matos <joao@tritao.eu>

* Improved door import

Also added coloring for wall section's edges when debuging

* Moved debug init script to FreeCAD-Docker repo

---------

Co-authored-by: João Matos <joao@tritao.eu>
Co-authored-by: Yorik van Havre <yorik@uncreated.net>
2024-12-20 09:46:39 +01:00
Roy-043
4c6cb971e6 BIM: fix Wiki links in BIM Tutorial 2024-12-18 09:40:36 +01:00
marioalexis
18daf1b5f7 Fem: Add electrostatic constraint symbol 2024-12-17 14:46:19 +01:00
luzpaz
e53dbf1a97 BIM: add docstrings to Arch.py
Closes #18560
2024-12-17 14:26:48 +01:00
Roy-043
0518e5b17e Merge pull request #18558 from Roy-043/Draft-Fix-handling-of-coin-nodes
Draft: Fix handling of coin nodes
2024-12-17 12:07:38 +01:00
Roy-043
01952e77ca Draft: Fix handling of coin nodes
Fixes #18523.
2024-12-16 18:24:36 +01:00
Ladislav Michl
1e529bcc7d TechDraw: Ensure tolerance font size is > 0 2024-12-16 12:23:51 -05:00
PaddleStroke
1c9895f8d3 TechDraw: Assembly exploded views : revert #17726 2024-12-16 11:22:26 -06:00
wmayer
7e6d6c5c0e Part: Fix segmentation fault in Feature::getExportElementName
Calling ShapeType() on a null shape is not allowed and causes a segmentation fault. So, check beforehand if the shape is not null.

Fixes #18537
2024-12-16 12:17:19 -05:00
Chris Hennes
09139050cd Update src/Mod/TechDraw/Gui/QGILeaderLine.cpp 2024-12-16 18:16:03 +01:00
wandererfan
ff7fc0146f [TD]allow weld symbol on rotated leader 2024-12-16 18:16:03 +01:00
wandererfan
0540b473ec [TD]fix leader autohorizontal on rotated base view 2024-12-16 18:16:03 +01:00
luzpaz
bc6183eb81 CAM: Linting Path/Post/Processor.py (#18539)
Added various docstrings + fixed a typo
2024-12-16 11:09:17 -06:00
Jiří Pinkava
b04f1244a4 Sketcher: clean-up geometry history configuation
Keep code almost 1:1 with LS3 branch, just ensure the variable is
initialized and code is documented
2024-12-16 12:07:40 -05:00
Chris Hennes
da473a54f0 Addon Manager: PythonDeps Cleanup and Testing 2024-12-16 17:51:29 +01:00
Chris Hennes
795af3f8d0 Addon Manager: Correct run_interruptable_subprocess
communicate() has to be called after a final kill() to get the output
2024-12-16 17:51:29 +01:00