Commit Graph

27576 Commits

Author SHA1 Message Date
wmayer
1d30a8698f Part: fix regression in AttachEngine3D::_calculateAttachedPlacement 2024-03-22 11:40:58 +01:00
Roy-043
aaa9d65258 Merge pull request #13079 from yorikvanhavre/arch-tools-draft
Arch: Register interactive arch tools to draft
2024-03-22 11:20:45 +01:00
wmayer
4f429e3288 Fixes #12186: Two new Sketcher preferences should show "Restart required" popup 2024-03-22 09:41:31 +01:00
wmayer
3ad453d5e3 FEM: fix some linter warnings 2024-03-22 09:37:26 +01:00
marioalexis
cbdef026f5 Fem: Export PostObject data to VTK - fixes #5816 2024-03-21 20:38:05 -05:00
Zheng, Lei
105c3363b8 Toponaming/Part: Move missed attacher code into place 2024-03-21 16:27:23 +01:00
Yorik van Havre
673beb7d3a Arch: Register interactive arch tools to draft 2024-03-21 10:38:19 +01:00
Chris Hennes
161b0fb6ee Merge pull request #12982 from bgbsww/bgbsww-toponamingFeatureMirroring
Toponaming/Part feature mirroring and offset
2024-03-20 18:16:36 -05:00
wmayer
e63e9981dd Drawing: Fix build failure for MSVC and PCH 2024-03-20 19:23:54 +01:00
wmayer
41de357e8f Issue #11989: Segfault on "Move Object to Other Body"
The reason of the crash is a static_cast of an unknown type that causes undefined behaviour. The feature AdditiveLoft has the
property Section of type PropertyLinkSubList but the function does a static_cast to PropertyLinkList.

The solution is to use a dynamic_cast that returns null if the cast fails.
2024-03-20 18:06:23 +01:00
oscarale
e4edf3afa6 Arch: Added longname and description to ArchSpace Text variables 2024-03-20 10:36:31 +01:00
bgbsww
7a520a4ea6 Toponaming/Part: Clean and add tests for FeatureMirroring and FeatureOffset 2024-03-19 12:44:38 -04:00
bgbsww
28cb508489 Toposhape/Part: Cleanup FeatureFillet, FeatureChamfer and dependencies 2024-03-19 11:10:18 -04:00
Zheng, Lei
4f3d23fe98 Toposhape/Part: Transfer in FeatureFillet, FeatureChamfer and dependencies 2024-03-18 22:05:25 -04:00
Zheng, Lei
b4bb92465f Toponaming/Part: Transfer in FeatureMirroring and FeatureOffset 2024-03-18 19:43:19 -04:00
luzpaz
5839134e95 Fix various typos throughout the codebase (#13029)
* Fix various typos throughout the codebase

* [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-03-18 16:54:30 -05:00
Chris Hennes
f94c2051c0 Merge pull request #12957 from bgbsww/bgbsww-toponamingMakeElementOffset
Toponaming/Part make element offset
2024-03-18 16:07:14 -05:00
Yorik van Havre
aa47a7fe6b Draft: Made get_type aware of IFC objects 2024-03-18 18:50:56 +01:00
Yorik van Havre
1b762f5063 Arch: Allow the IFC exporter to append to an existing IFC file 2024-03-18 18:50:28 +01:00
sliptonic
254d8ac7f0 Merge pull request #13006 from maxwxyz/assembly-icons
UI: Assembly - update too similar icons
2024-03-18 11:38:36 -06:00
André Althaus
af0f263179 Fix regression in pattern reference selection
Reference selection in the GUI was accidentially changed to only
allow specific types of objects, preventing e.g. selection of a DatumPlane
for mirroring.

This restores the previous functionality.
2024-03-18 18:31:12 +01:00
sliptonic
f02c2c5441 Merge pull request #12899 from yorikvanhavre/arch-array-ifc
Arch: Fixed IFC export of arrays
2024-03-18 11:25:32 -06:00
Max Wilfinger
4ca8e3b283 add constraint perpendicular to the context menu if a conic and line is selected. 2024-03-18 13:24:16 -04:00
PaddleStroke
b3fe5bba28 Sketcher: Chamfer tool (and fillet refactor) 2024-03-18 13:23:54 -04:00
PaddleStroke
9d43e7fda7 Sketcher : fix error in className of CmdSketcherCompHorizontalVertical 2024-03-18 13:23:54 -04:00
lyphrowny
6bdff4769e FEA: fix 1d beam cross section orientation (#12833)
* FEA: fix 1d beam cross section orientation

* FEM: revert 1,2-directions to FreeCAD way; fix normal direction for z<0

* FEM: change 1-direction to +y axis

Previous commit changes the 1-direction to -y axis, however originally it was directed at +y axis. This commit makes the 1-direction face +y axis

* FEM: update cantilever tests

* FEM: relax math.isclose by adding abs tolerance
2024-03-18 18:16:10 +01:00
wandererfan
b4e11db78d [TD]use weak_ptr as deletion guard
- prevent crash if dimension deleted by Python while dialog
  is open
2024-03-17 13:22:51 -04:00
bgbsww
93e823da30 Toposhape/Part: clean and add tests 2024-03-17 10:24:58 -04:00
Zheng, Lei
b710683ce5 Toposhape/Part: Transfer in makEOffset, makEOffsetFace, makEOffset2d 2024-03-17 10:24:58 -04:00
bgbsww
3bc87a9cf5 Clean and add tests for makeElementSolid 2024-03-17 10:24:58 -04:00
wmayer
2326d52a78 [TD]Refactor LTNP correction code for Dimensions
- additional geometry types

- add method to handle line like bsplines

- handle deleted ref body feature

- add test for empty savedGeometry

- add switch for matcher/LTNP on/off
2024-03-17 08:56:34 -04:00
Max Wilfinger
a6bb16ae78 update assembly icons 2024-03-17 11:21:16 +01:00
edi271
934395913a [TD] AxoLengthDimension: use getScale() instead of Scale 2024-03-16 20:00:27 -04:00
pavltom
8a4f13fb16 [TechDraw] Unify Projection Group parent linking 2024-03-16 19:59:49 -04:00
wmayer
fc8f93d437 Sketch: fixes #12480: Sketcher_CreateBSplineByInterpolation Unhandled unknown C++ exception
The interpolation of a BSpline can fail and then OCC throws an exception. Because this OCC exception isn't handled by the DrawSketchHandler the core system handles it as unknwon C++ exception
2024-03-17 00:47:43 +01:00
luzpaz
0fc8adc7c9 TD: fix whitespace in CommandPositionSectionView.py
Fix header whitespace
2024-03-17 00:46:19 +01:00
luzpaz
129e204236 TD: fix whitespace in CommandVertexCreations.py
Fix whitespace in header
2024-03-17 00:46:19 +01:00
luzpaz
92dff95b62 TD: Fix whitespace in CommandAxoLengthDimension.py
Fix header whitespace
[skip ci]
2024-03-17 00:46:19 +01:00
wmayer
f2f312ce3b TD: fixes #12984: Doing Ctrl-Z in TechDraw reliably causes a segfault 2024-03-16 09:43:40 +01:00
wmayer
e42aeb7a42 Drawing: Fixes #12953
The deprecated Drawing module still uses some classes that have been removed with Qt6.
These are the classes:
* QRegExp that is replaced with QRegularExpression
* QGLWidget that is replaced with QOpenGLWidget
2024-03-16 09:42:34 +01:00
wmayer
af85689cff Mesh: fixes #12798: Macro not recording mesh decimation 2024-03-16 09:41:18 +01:00
wmayer
042d3a63e7 Mesh: add unit tests for mesh export 2024-03-16 09:39:49 +01:00
bgbsww
9aadc25c18 Toponaming/Part: Review and lint cleanups 2024-03-15 08:41:08 -04:00
bgbsww
2823d22dae Toponaming/Part: clean and test attacher 2024-03-15 08:11:26 -04:00
Zheng, Lei
a9e99b1667 Toponaming/Part: Bring over attacher differences 2024-03-15 08:11:26 -04:00
FEA-eng
0def330a9e DRAFT: Update preferences-draftsnap.ui 2024-03-15 13:01:56 +01:00
Chris Hennes
fb8b69b15d FEM: Add two missing PreCompiled.h includes 2024-03-14 22:24:16 -05:00
David Carter
48bfd227ac Material: Material editor enhancements
Removes localization from the material card dictionary.

Fixes #12935

The previous card implementation transferred strings directly to the
card dictionary without interpretation. The new material system parses
the file data, producing a dictionary for compatibility. The new
dictionaries localized the strings which is incorrect. This PR
removes that localization.
2024-03-14 22:14:58 -05:00
David Carter
c5505bc438 Material: Call to import_materials only returning solids
Fixes #12933

The previous card implementation used a parameter to select either
solids or fluids. The current material dictionary ignored the
parameter and only returned solids. This PR restores the use of the
material type filter.
2024-03-14 22:14:31 -05:00
FEA-eng
4988fa77fe FEM: Update solver.py 2024-03-14 22:13:56 -05:00