Commit Graph

39693 Commits

Author SHA1 Message Date
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
Benjamin Nauck
1e91ad56bc Move where icons in menus attribute is set
Without this, icons are not visible on macOS
2024-12-20 11:55:21 -05:00
wmayer
5302033c76 Gui: Move Python functions from Application to ApplicationPy
This reduces build time when adding new Python functions because only one file must be compiled.
Handles also many linter warnings.
2024-12-20 11:50:07 -05:00
marioalexis
f6e33eb5f4 Fem: Fix mesh export to vtk formats 2024-12-20 11:46:46 -05:00
wwmayer
dd1419cd5f Test: Support of parallel execution of reader tests (#18587)
* Tests: Initialize xerces sub-system in order to parse XML files

* Test: Support of parallel execution of reader tests

Fixes #18549
2024-12-20 10:42:02 -06: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
Bas Ruigrok
2942cfffbc Gui: Fix Blender and Revit navigation issues with shift key in sketcher 2024-12-20 11:31:10 -05: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
Jacob Oursland
521c8db484 pixi: Add run freecad configuration for Windows.
Windows requires running from an installed FreeCAD, not simply the build environment.  This
commit performs the install and execution from the installation environment.
2024-12-19 14:46:09 +01:00
wmayer
134ebd34ce Core: Format Placement::toString() and fix const correctness 2024-12-19 11:15:50 +01:00
PaddleStroke
f3fa6daecc Placement::tostring Fix fmt expression 2024-12-18 11:31:22 +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
PaddleStroke
27be2ff16f Placement: Adds a helper to print the value of the placement. 2024-12-16 12:30:25 -05: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
Florian Foinant-Willig
3969fc56db PartDesign: Add Std_ToggleFreeze to context menu 2024-12-16 11:47:52 -05:00
WandererFan
c2cdf3315c [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
cbcb769307 Addon Manager: Arch->BIM in list of known internal WBs 2024-12-16 17:43:51 +01:00
Syres916
a7d122428b [Gui] Show Preferences page by name rather than index 2024-12-16 11:43:13 -05:00
Chris Hennes
118b8e78b0 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
072ecb2a4f 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
wmayer
0d4e7ac27f Core: Move LCS migration warning to Std_Open command 2024-12-16 11:34:39 -05:00
Benjamin Nauck
39402e2083 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
2493c37bac 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
6bc8b40cd2 Part: Fix crash due to infinite recursion 2024-12-15 16:20:30 +01:00
wmayer
43f28b63a8 Core: Fix false-positive in migrateXAxisPlacement()
Use a looser tolerance to compare the rotations of the axes and planes of the coordinate system
2024-12-15 11:34:03 +01:00
Furgo
568c869dcb Disable external zipios usage for Debian builds 2024-12-14 10:49:32 -05:00
Jacob Oursland
2070a7852d CI: Enable GitHub Problem Matchers for compiler warnings. 2024-12-14 10:46:06 -05:00
Chris Hennes
f45bb478cf App: Fix encoding of Datums.cpp 2024-12-14 14:31:41 +01:00
Chris Hennes
5e8b849f5e Addon Manager: Support case of repo=None in worker 2024-12-13 20:29:19 -05:00
Chris Hennes
52e9ea0adc Base: Add missing PCH include to ServiceProvider 2024-12-13 20:28:42 -05:00
Chris Hennes
afe76db288 Gui: Rename variable to eliminate macro conflict
Windows.h defines 'near' and 'far' macros, and they are actually used in the Inventor codebase (so we can't just undefine them).
2024-12-13 20:28:18 -05:00
wmayer
02a5538fba 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
Chris Hennes
a605e3d316 Merge pull request #18332 from Ondsel-Development/core_LCS3
Core Datums: Card4 : implement part subclasses.
2024-12-13 15:59:10 -05:00