Commit Graph

31768 Commits

Author SHA1 Message Date
Adrian Insaurralde Avalos
6700c05857 Fix OpenSCAD test failing when using pipe transfer mechanism 2024-10-28 17:34:25 +01:00
Yorik van Havre
8691140d4d Merge pull request #17538 from wwmayer/doc_obj_py
Core: Extend DocumentObjectPy
2024-10-28 17:31:23 +01:00
PaddleStroke
6cf06383c6 Sketcher: Dimension: Handle case of vertical/horizontal lines 2024-10-28 17:29:40 +01:00
wmayer
1a14b9020b Sketch: Make sure that variable 'ActiveSketch' is defined in macro
Fixes #17502
2024-10-28 17:23:50 +01:00
Eric Price
948b5ff81a Updated Tolerance feature to optionally restrict maximum tolerance and repair shapes (#17421)
* Updated Tolerance feature to optionally restrict maximum tolerance and repair shapes (With Refine=True)

* implement suggestion by wwmayer
2024-10-28 17:18:15 +01:00
Yorik van Havre
218842102d Draft: Warn user if using trimex on unsupported curve type - fixes #17346 2024-10-28 17:12:06 +01:00
marioalexis
e6950e3e11 Fem: Remove unnecessary system name check 2024-10-28 17:11:05 +01:00
Yorik van Havre
7e12ce34e7 Merge pull request #15629 from Ondsel-Development/asm_assembly_link
Assembly: Flexible sub-assemblies.
2024-10-28 17:07:26 +01:00
Yorik van Havre
0591b1373f Merge pull request #17448 from Ondsel-Development/sk_rotate_arc_issue
Sketcher: Rotate : Fix exploding sketches when rotating.
2024-10-28 17:05:46 +01:00
Yorik van Havre
287079a4f1 BIM: Fixed export of boolean IFC properties - fixes #17425 2024-10-28 16:58:28 +01:00
Yorik van Havre
583f80633f Draft: Fixed trimex bug when snapping to itself - fixes #17345 2024-10-28 16:57:50 +01:00
Yorik van Havre
881d84b679 BIM: Fixed online search mode - fixes #17353 2024-10-28 16:50:09 +01:00
Benjamin Bræstrup Sayoc
ff28df61f1 [Gui] Make styles update on paint (#17376)
* [Gui] Make styles update on paint

Fixes #15756. Similar implementation to that already in FileCardDelegate.cpp

* [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-10-28 16:48:47 +01:00
wandererfan
02ae2bdd3f [TD]remove spurious mouseReleaseEvent (fix #17519) 2024-10-28 09:47:40 -05:00
wandererfan
cc2ba4c67d [TD]fix line style regression from #17331 2024-10-28 09:47:14 -05:00
wandererfan
c01146555d [TD]handle cut profiles with only a single edge 2024-10-28 09:46:41 -05:00
wandererfan
06500011f2 [TD]do not mark document as changed after print 2024-10-28 09:46:10 -05:00
wmayer
e3265701e6 Draft: Fixes #17461 2024-10-28 14:13:50 +01:00
mwganson
4fd0e2c89d [PartDesign Groove/Revolution] minor dialog improvements, addresses issue #13298 2024-10-27 12:12:36 +01:00
Chris Mayo
9831b28764 Tux: Remove Qt 4 translate function 2024-10-26 20:59:04 +02:00
wmayer
de647c5324 Fix compiler warnings 2024-10-26 00:48:04 +02:00
marioalexis
8451354fdb Fem: Do not try to set EndStep property for legacy Netgen 2024-10-25 12:11:12 -05:00
PaddleStroke
2558df6ee8 Fix circle tangent issue 2024-10-25 10:03:47 -05:00
mwganson
ab4e812277 [Part RuledSurface] fix issue where ruled surface is failing if both edges are from same object and the object is not at the identity placement, addresses issue #17235 2024-10-25 09:58:47 -05:00
Roy-043
ca370ec9f3 Catch potential index error 2024-10-25 10:15:53 +02:00
PaddleStroke
5ab2f3ea7e Assembly: CommandInsertLink: Hide hidden objects 2024-10-24 23:07:54 -05:00
PaddleStroke
bfdd4806f3 Sketcher: Symmetric: Do not copy names of constraints (#17433)
* Sketcher: Symmetric: Do not copy names of constraints

* Sketcher: Symmetric : Fix https://github.com/FreeCAD/FreeCAD/issues/17442
2024-10-24 22:58:51 -05:00
Chris Hennes
277c0215e7 Merge pull request #17435 from kadet1090/remove-midplane-twolengths
PD: Fix TwoLengths and Midplane both enabled
2024-10-24 22:29:17 -05:00
Chris Hennes
766bff54c7 Merge pull request #17416 from wwmayer/measure_circle_circle
Measure: When measuring the distance between circles then use the cen…
2024-10-24 21:55:56 -05:00
PaddleStroke
66d50e9b6e Update Workbench.cpp 2024-10-24 21:52:38 -05:00
PaddleStroke
b1d5d4c105 Part Design: Remove legacy/modern workflow checks. 2024-10-24 21:52:38 -05:00
Roy-043
0fac810797 Restore ViewObject implementation for all Draft objects
In my tests the code works fine. Using @AIRCAP's instructions,  I have created a 'broken' file from draft_test_objects.FCStd.
2024-10-24 15:24:13 +02:00
Roy-043
8c4d696180 Restore the ViewObject
I think we need to restore the ViewObject in such cases. I assume this problems exists for all Draft and BIM objects. So this commit is just an example implementation.
2024-10-24 15:11:22 +02:00
Yorik van Havre
460df78dcc Draft: better check for Gui object - fixes #17342 2024-10-24 15:11:22 +02:00
Roy-043
a4bfafe7ad Updated 2 file paths to make the code work with AppImage
As advised in this forum post:
https://forum.freecad.org/viewtopic.php?p=788556#p788556
2024-10-24 14:08:17 +02:00
Roy-043
bb49d78e24 Draft: fix errors in draft_test_objects.py
* Label property TextSize should be FontSize.
* Added missing recomputes.
2024-10-24 14:08:17 +02:00
PaddleStroke
6d22e3def6 Sketcher: DrawSketchHandlerRotate : Fix unwanted copy of DistanceX/Y constraints 2024-10-24 11:33:28 +02:00
PaddleStroke
1f7f6ce44b Formating PythonConverter.cpp 2024-10-24 11:32:20 +02:00
PaddleStroke
4390eb4dab Sketcher: PythonConverter: use getRange to handle bad arcs. 2024-10-24 11:00:46 +02:00
wmayer
4e1023cda1 Measure: When measuring the distance between circles then use the center points as reference
See forum: https://forum.freecad.org/viewtopic.php?t=91570
2024-10-23 21:52:37 +02:00
Kacper Donat
d1451b2502 PD: Fix TwoLengths and Midplane both enabled
This scenario makes no sense, so it is removed from the code.
2024-10-23 21:16:57 +02:00
wmayer
50355dcdd9 Fix compiler warning [-Wmisleading-indentation] 2024-10-22 22:57:29 -05:00
pre-commit-ci[bot]
bec354d602 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-10-22 22:37:01 -05:00
wmayer
c2a923a027 Measure: Use Base::toDegrees to convert radian to degree 2024-10-22 22:37:01 -05:00
wmayer
1bb1f4a7d7 Robot: Use Base::toRadians to convert degree to radian 2024-10-22 22:37:01 -05:00
wmayer
6acfe3475b Part: Use Base::toRadians to convert degree to radian 2024-10-22 22:37:01 -05:00
Yorik van Havre
5cd634dc5c Revert "Horrible hack to work around bug in OCCT7.7.2"
This reverts commit 7e1a986499f5e686507cbed8ce461f830ddbc280.
2024-10-22 13:27:55 +02:00
Chris Mayo
01af603ca6 Tux: Avoid warning on startup when BIM is not installed
os.listdir() raises an exception if modpath does not exist.
2024-10-22 11:02:30 +02:00
Roy-043
48a3be1106 Draft: suppress patharray offset warnings if values are already zero
See forum topic:
https://forum.freecad.org/viewtopic.php?t=91517
2024-10-22 10:52:04 +02:00
marioalexis
43d2b6e017 Fem: Set startupinfo for gmsh subprocess - fixes #17298 2024-10-21 20:59:42 -05:00