Commit Graph

30783 Commits

Author SHA1 Message Date
marioalexis
10426ca011 Fem: Add electric charge density object 2025-03-27 21:13:21 +01:00
marioalexis
a8372c1f55 Fem: Rename property SurfaceChargeDensity to ElectricFluxDensity 2025-03-27 21:13:21 +01:00
Roy-043
354cc84935 Draft: add font name dropdown to preferences (#20400)
Fixes #20330.
2025-03-27 13:11:47 +01:00
Roy-043
b7e4294768 Merge pull request #20483 from Roy-043/Draft-remove-obsolete-param-functions
Draft: remove obsolete param functions
2025-03-27 11:51:16 +01:00
Lawrence Woestman
1dddbb2aa5 CAM: Enabled coolant in the refactored_grbl post, with test 2025-03-27 07:31:13 +01:00
PaddleStroke
4631e11230 TechDraw: Section task: Fix spinbox (#20413)
Co-authored-by: Kacper Donat <kadet1090@gmail.com>
2025-03-26 21:41:17 +01:00
Roy-043
0c9c23dc18 Draft: remove obsolete param functions
See #20198

These functions are no longer used in the Draft WB or in the BIM WB.

There is a small risk that 3rd party code relies on them and breaks, but that can be addressed when such is reported as a problem.
2025-03-26 15:52:40 +01:00
Roy-043
bac9ef0fcc BIM: Remove calls to obsolete Draft.getParam
See #20198.
2025-03-26 13:09:17 +01:00
tritao
8ae48c3c8a Material: Remove XML binding files. 2025-03-26 13:01:41 +01:00
Joao Matos
e9fda68693 Material: Convert XML bindings to Python. 2025-03-26 12:18:02 +01:00
Roy-043
d18ba9010d BIM: Remove calls to obsolete Draft.getParam
See #20198.
2025-03-26 11:03:21 +01:00
Benjamin Bræstrup Sayoc
c106e1fdc6 TechDraw: arc dimensions should not have fill
Fixes #20418. Regression by commit 998f713c97
2025-03-26 11:02:57 +01:00
Roy-043
ed388aa60f Merge pull request #20436 from Roy-043/Draft-Update-checked-state-of-grid-button-when-switching-the-grid
Draft: Update checked state of grid button when switching the grid
2025-03-26 10:40:46 +01:00
Yorik van Havre
daf8a4f736 Update src/Mod/BIM/bimcommands/BimMaterial.py
Co-authored-by: Kacper Donat <kadet1090@gmail.com>
2025-03-25 20:02:11 -05:00
Yorik van Havre
47d6ad847a BIM: Fixed material dialog's merge duplicates button - fixes #20124 2025-03-25 20:02:11 -05:00
Joao Matos
faabc3d7d6 Part: Remove XML binding files.
This PR removes the Part XML API bindings files now that we have
equivalent Python binding files.
2025-03-25 21:28:52 +01:00
Joao Matos
6083315b04 Part: Convert XML bindings to Python (Part 2) 2025-03-25 19:55:36 +01:00
Joao Matos
e825ebe99d Part: Clean up XML bindings (Part 2)
This cleans up the XML bindings for Part in preparation for an upcoming
migration to Python bindings model.
2025-03-25 17:51:32 +01:00
phaseloop
40ace3241a CAM: fix estlcam postprocessor (#20407) 2025-03-25 10:24:27 +01:00
Furgo
5b882756a7 BIM: add missing import 2025-03-25 09:46:54 +01:00
Furgo
ddc7035fbc BIM: also install test files 2025-03-25 09:46:54 +01:00
Furgo
518e2a8346 BIM: move more functions to their own modules, standardize logging 2025-03-25 09:46:54 +01:00
Furgo
aa1a5c135b BIM: move tests to own module, separate App/Gui tests, add TestArchBase 2025-03-25 09:46:54 +01:00
Furgo
40e0c60338 BIM: move Arch wall tests to their own module 2025-03-25 09:46:54 +01:00
Chris Hennes
59bfee2cfe Mesh: catch exceptions in destructor 2025-03-25 09:45:25 +01:00
Chris Hennes
b6924ff744 Inspection: catch exceptions in destructor 2025-03-25 09:45:25 +01:00
Chris Hennes
ccbbe3d708 Fem: catch exceptions in destructor 2025-03-25 09:45:25 +01:00
Furgo
4bb372ef87 Start: set specific zoom level for new BIM projects (#20271)
* Gui: allow viewDefaultOrientation function to accept the None value, as per the docstring

* Start, BIM: set specific zoom level for new BIM projects
2025-03-25 09:36:43 +01:00
Joao Matos
ee4c9a6e8b PartDesign: Remove XML binding files. 2025-03-25 06:11:22 +01:00
Chris Hennes
2526ef9f68 Fem: Add missing VTK headers from PCH 2025-03-24 23:16:02 -05:00
Chris Hennes
50bc99c3eb Merge pull request #20428 from pieterhijma/fix-doxygen-structural-warnings
Fix doxygen structural warnings
2025-03-24 21:07:53 -05:00
karliss
f0fe00e16a PartDesign: Update counterbore min size in reaction to diameter changes (#20217)
Can't rely purely on `TaskHoleParameters::threadDiameterChanged` to update it since the signal is intentionally blocked while syncing state to GUI.

Closes #19744
2025-03-24 21:18:40 +00:00
Roy-043
5ba1c2c9b4 Typo in docstrings 2025-03-24 20:58:31 +01:00
Roy-043
f7a7d4ed61 Draft: Update checked state of grid button when switching the grid
The checked state of the grid button was not updated when the grid was only displayed during Draft commands.
2025-03-24 20:53:39 +01:00
mosfet80
b33c236322 Clean QGTracker.cpp
Clean code
2025-03-24 19:02:34 +01:00
j-hap
aa725c6866 TechDraw: Replace annotation edit dialog with QPlainTextEdit (#20092)
* TechDraw: Replace annotation edit dialog with QPlainTextEdit

* Remove useless include introduced in previous commit

* Remove trailing _ for members to conform with rest of the codebase

* Add const & to string vectors that don't need copying

* Fix IWYU linter warnings

* Forward all annotation double clicks to the StringList property editor

* Remove unused dialog

* Fix Qt 5 build error

* Fix missing exports with MSVC
2025-03-24 13:27:55 -04:00
Chris Hennes
c0b14e6b77 Merge pull request #20369 from WandererFan/SplineAsCircleYetAgain20347
[TD] Spline as circle yet again  (fix 20347)
2025-03-24 12:05:59 -05:00
tritao
ce8a545fb6 Part: Convert XML bindings to Python API bindings model. 2025-03-24 12:00:16 -05:00
sliptonic
d71cfabd4c Merge pull request #19910 from LarryWoestman/refactor
CAM:  Used inheritance to simplify the refactored postprocessors even more
2025-03-24 17:58:58 +01:00
Chris Hennes
325ae6fd9a Addon Manager: Create AddonCatalog class 2025-03-24 17:52:09 +01:00
aprospero
7dab93abac get rid of get/set_param doublette in Draft utils
we have the same functionality already in params from draftutils
2025-03-24 11:48:42 -05:00
Chris Hennes
2fe3631fd9 Merge pull request #19908 from davesrocketshop/external_modules_part1_pr2
Materials: External Modules Part 1
2025-03-24 11:41:02 -05:00
Pieter Hijma
aa768e2a90 [Doc] Fix Robot kdl documentation issues 2025-03-24 16:33:54 +01:00
Pieter Hijma
b3ae844792 [Doc] Fix CAM documentation problems
- Fix nested comments
- Fix section labels
2025-03-24 16:33:54 +01:00
Pieter Hijma
d1ed87073e [Doc] Fix nested groups in FEM 2025-03-24 16:33:54 +01:00
Chris Hennes
26b2ba2a7e FEM: Add missing vtkTransform.h header to PCH file
Also sort the VTK includes.
2025-03-24 10:29:00 -05:00
tritao
d5a1098add Part: Remove Py_UNICODE usage from Part.makeWireString and FT2FC. 2025-03-23 22:49:13 +01:00
J-Dunn
d3f617bb4b CAM: thread-mill Shape , more robust model (#20320)
* CAM:  thread-mill Shape , more robust model 

Purpose: prevent solver dumping arcane coding errors to report window if "crest" value is (legitimately) set to zero by user. 

Single tooth thread-mill tools exist which have a sharp point, ie zero flat "crest " surface. Thus the user can reasonably expect to configure a zero dimension to the truncated end of the tool if it is not truncated. This should not provoke an error condition and certainly not crash the model and dump lots of arcane developer info on the machinist user. 

The problem is that a zero dimension makes two points concurrent and removes an edge from the model. This leads to and ill-defined model which crashes the solver. The user should not be exposed to this kind of coding breakage when entering legitimate data for a tool shape. The solution (or workaround) here is to add a very small faction of the shaft diameter to the user supplied zero to prevent the solver crashing. Since this is proportional to the tool shaft it will scale to any use of the tool shape without disrupting path accuracy.

This is a drop in replacement for the existing file and caters for both types of this tool:  truncated tip and pointed tip.

* threadmill Shape update

This thread-mill Shape file uses max()  in the expression for crest. 
This allows user setting zero crest by adding a small finite dimension to prevent the solver crashing, while not making any change to finite crest tools. 
Best of both worlds.
2025-03-23 19:12:36 +01:00
Chris Hennes
723d16fcff PD: Eliminate unused variable in FeatureHole 2025-03-23 18:25:40 +01:00
Kacper Donat
2a81e9d18d Merge pull request #20216 from alfrix/start_fixes_5
Start: fix newbuttons vertical sizing
2025-03-23 17:10:19 +01:00