Commit Graph

29931 Commits

Author SHA1 Message Date
Tobias Frost
0d628cb5fc Fix SPDX Identifier to match license 2024-12-20 12:05:44 -05:00
Alfredo Monclus
ca3cb78ad5 fix(PD): size should be enabled if profile is not none 2024-12-20 12:03:18 -05:00
Andrea
d4f6fda055 [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
a58c3caac1 Fem: Fix mesh export to vtk formats 2024-12-20 11:46:46 -05:00
Yorik van Havre
b62f971ed4 BIM: Fixed structures calculation mode - fixes #18453 2024-12-20 11:40:24 -05:00
PaddleStroke
cac8eb0859 Assembly: Joint creation presolve: move part2 rather than part1 when both are unconnected. 2024-12-20 11:37:04 -05:00
David Carter
7e1b1abddd 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
Yorik van Havre
a7c550da98 BIM: Several fixes to nativeIFC lock/unlock system - fixes #17862 2024-12-20 10:15:39 +01:00
JULIEN MASNADA
bcdfcce95c 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
7d2c10f4c1 BIM: fix Wiki links in BIM Tutorial 2024-12-18 09:40:36 +01:00
marioalexis
b64549b348 Fem: Add electrostatic constraint symbol 2024-12-17 14:46:19 +01:00
luzpaz
82c7d013fb BIM: add docstrings to Arch.py
Closes #18560
2024-12-17 14:26:48 +01:00
Roy-043
d507cf3453 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
db12b31b76 Draft: Fix handling of coin nodes
Fixes #18523.
2024-12-16 18:24:36 +01:00
Ladislav Michl
2afdd58a88 TechDraw: Ensure tolerance font size is > 0 2024-12-16 12:23:51 -05:00
PaddleStroke
e657ce9473 TechDraw: Assembly exploded views : revert #17726 2024-12-16 11:22:26 -06:00
wmayer
bbb5b45133 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
a88f30877c Update src/Mod/TechDraw/Gui/QGILeaderLine.cpp 2024-12-16 18:16:03 +01:00
wandererfan
3cadb489d9 [TD]allow weld symbol on rotated leader 2024-12-16 18:16:03 +01:00
wandererfan
a92acbd457 [TD]fix leader autohorizontal on rotated base view 2024-12-16 18:16:03 +01:00
luzpaz
23354b57cb CAM: Linting Path/Post/Processor.py (#18539)
Added various docstrings + fixed a typo
2024-12-16 11:09:17 -06:00
Jiří Pinkava
973ad7b5c8 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
b2619f339c Addon Manager: PythonDeps Cleanup and Testing 2024-12-16 17:51:29 +01:00
Chris Hennes
6254cb910b 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
Florian Foinant-Willig
e607b5757e PartDesign: Add Std_ToggleFreeze to context menu 2024-12-16 11:47:52 -05:00
WandererFan
fa327ec152 [TD]Fix transparent area in pdf (fix #18443) (#18507)
* [TD]fix transparent areas in pdf (#18443)

* [TD]restore use of PDF/A-1b format

- was not working in older versions of QPdfWriter
2024-12-16 10:47:08 -06:00
Chris Hennes
e6e281e295 Addon Manager: Arch->BIM in list of known internal WBs 2024-12-16 17:43:51 +01:00
Syres916
74abfd39d9 [Gui] Show Preferences page by name rather than index 2024-12-16 11:43:13 -05:00
Chris Hennes
8d110b3b0b Merge pull request #18354 from CalligaroV/pd-hole-restore-missing-refineShapeIfActive
[PartDesign] Hole: restore missing call to FeatureAddSub::refineShapeIfActive()
2024-12-16 11:41:50 -05:00
marioalexis84
d1e65a47f3 Fem: Add smoothing filter extension to contours filter (#18088)
* Fem: Add smoothing filter extension to contours filter
2024-12-16 10:40:02 -06:00
Benjamin Nauck
a2c980f7d6 Revert "Address the poor performance of the existing unique-name generation (#17944)"
This reverts commit 83202d8ad6.

# Conflicts:
#	src/Base/Tools.cpp
#	src/Base/Tools.h
2024-12-16 17:31:43 +01:00
Roy-043
844d88fb7a BIM: Fix ArchReference problem caused by TNP code
Due to TNP code Document.xml can contain (for example)` <Part ElementMap="0.4" file="Box001.Shape.brp"/>` instead of `<Part file="Box001.Shape.brp"/>`.
2024-12-16 15:23:47 +01:00
wmayer
e698c73a3a Part: Fix crash due to infinite recursion 2024-12-15 16:20:30 +01:00
Chris Hennes
b25b83c1a5 Addon Manager: Support case of repo=None in worker 2024-12-13 20:29:19 -05:00
wmayer
5a6535d908 Fix several compiler warnings:
* Fix [-Wsign-compare]
* Fix [-Wc++20-designator]: designated initializers are a C++20 extension
* Fix [-Wunused-parameter]
2024-12-13 20:28:04 -05:00
PaddleStroke
fa8b273f7d Merge branch 'main' into core_LCS3 2024-12-13 18:48:35 +01:00
Andrea
f5a4ec01f8 [Mod] Clean AssemblyObject.cpp
Removed dead code

[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

.
2024-12-13 12:34:46 -05:00
Vincent Belpois
d4b7d074ee Sketcher: Fix double RMB to quite polyline after closed shape 2024-12-13 12:30:41 -05:00
mosfet80
29d685b452 Clean ViewProviderAssembly.cpp 2024-12-13 12:27:40 -05:00
Yorik van Havre
9efa615fb4 BIM: Fixed shape loading - fixes #18391 2024-12-13 12:22:04 -05:00
David Kaufman
1955f28053 [CAM] implement multipass profile operations (#17326)
* implement multipass profile operations

* [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-12-13 11:20:32 -06:00
wmayer
00f6fbeaa3 PD: Fix possible crash in up to shape 2024-12-13 12:15:49 -05:00
wmayer
e7e410323e Sketch: Fix possible crash in BSpline::splineValue
There is an underflow of an unsigned int in the calling instance that sets the parameter 'p' to 2**32-1.
But the size of the passed vector is 0. To fix the crash first check if p is less then the size of the vector.

See: https://forum.freecad.org/viewtopic.php?t=92815
2024-12-13 12:08:31 -05:00
WandererFan
f12999724b [TD]respect locale for date autofill (#18132)
* [TD]respect locale for date autofill

* [TD]fix merge conflict

* Apply suggestions from code review

---------

Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
2024-12-13 11:07:54 -06:00
PaddleStroke
7620e0a958 TaskAttacher: Refactoring 2024-12-13 18:04:10 +01:00
PaddleStroke
1ce8f2c859 AssemblyObject: Use std::unordered_set instead of vector. 2024-12-13 18:04:10 +01:00
PaddleStroke
024fee7f97 Assembly: Enable the use of App::Datums 2024-12-13 18:04:10 +01:00
PaddleStroke
5d02008227 Remove PartDesign Datums commands from the UI. 2024-12-13 18:04:10 +01:00
PaddleStroke
4066100a79 Attacher.cpp: Remove special handling of App::Datums since it is already done in Part::Feature::getTopoShape 2024-12-13 18:04:10 +01:00
PaddleStroke
c5fbbb3830 SubShapeBinder: Add support for point. 2024-12-13 18:04:10 +01:00