Commit Graph

35969 Commits

Author SHA1 Message Date
Chris Hennes
cf724a2b0e Assembly: Add ${COIN3D_INCLUDE_DIRS} to CMakeLists.txt (#12407)
* Assembly: Add ${COIN3D_INCLUDE_DIRS} to CMakeLists.txt
2024-02-14 18:26:30 -06:00
Chris Hennes
9f1e51966f Merge pull request #12360 from FreeCAD/revert-11937-issue_11825
Revert "Resolve #11825 - no automatic quantity conversion: App::anyToQuantity"
2024-02-13 19:00:32 -06:00
LemonBoy
38afc1b118 Part Attacher: Implement 1D intersection for attachments (#12328)
* PD: Implement 1D intersection for attachments

Extract a line from the intersection of two faces.

Closes #6870

* fixup! Use Handle macro

For some reason I don't fully understand yet the CI was failing, let's
see if this fixes the compilation errors.

* fixup! Add missing(?) header

Well, it compiles just fine on my system...

* fixup! Be more specific in error messages
2024-02-13 17:45:01 -03:00
LemonBoy
4484a3f356 Part Grid: Exclude the grid group from bbox computation (#12349)
Fixes the problem where View_FitAll would compute a huge bounding box
when the infinite grid is enabled.

Closes #11570

Co-authored-by: wwmayer <werner.wm.mayer@gmx.de>
2024-02-13 17:42:51 -03:00
Florian Foinant-Willig
f9cebebd6b PD: handle null pointer in Feature::getBaseShape (#12385) 2024-02-13 17:41:25 -03:00
Chris Hennes
6fe05a9035 Merge pull request #12366 from bgbsww/bgbsww-toponamingGetSubTopoShape
Toponaming/Part:  Move getSubTopoShape
2024-02-13 14:09:24 -06:00
Chris Hennes
9c7054c1a1 Merge pull request #10764 from Ondsel-Development/asm_card9
[Assembly] Solve the assembly (Card 9).
2024-02-13 10:13:08 -06:00
JULIEN MASNADA
2fb74cac0f Fixed invalid vector in distance calculation (#12364)
* Fixed invalid vector in distance calculation
2024-02-13 10:11:22 -06:00
bgbsww
8d05c3ac89 Toponaming/Part: clean, doc, and test getSubTopoShape 2024-02-13 10:14:39 -05:00
Zheng, Lei
9904ac83dd Toponaming/Part: transfer in getSubTopoShape 2024-02-13 10:01:17 -05:00
howetuft
99364d313b Release GIL while meshing in MeshPart.meshFromShape
This commit releases the Global Interpreter Lock around mesher call and
should enable multithreading use when exporting large quantities of
objects (for instance for external rendering).
2024-02-13 11:15:52 +01:00
Mark Peres
e6e196b29f add subvolume property 2024-02-13 10:18:12 +01:00
Mark Peres
60189536a0 refactor getSubVolume method -> use early exit 2024-02-13 10:18:12 +01:00
Roy-043
30f6e61004 Arch: Arch_Window round values in getSolidSignature
Values in getSolidSignature must be rounded, else matching solids are often not found.
2024-02-13 10:16:23 +01:00
PaddleStroke
d567c75b0d Assembly: Small language tweaks by @chennes 2024-02-13 08:26:54 +01:00
PaddleStroke
b85e672226 Assembly fixes 2024-02-13 08:26:54 +01:00
PaddleStroke
7d1f1f2143 Assembly: Esc pref 2024-02-13 08:26:54 +01:00
PaddleStroke
593ce34e02 Assembly: Fix annoying incomplete initial selections 2024-02-13 08:26:54 +01:00
PaddleStroke
75d1b81e10 Assembly: fix vertex preselection JCS bug 2024-02-13 08:26:54 +01:00
PaddleStroke
a48d34f6c2 Assembly: fixes 2024-02-13 08:26:54 +01:00
PaddleStroke
906d0bb0cb Assembly : fix bugs 2024-02-13 08:26:54 +01:00
PaddleStroke
32e654cb24 Assembly : Fixes for sketches in bodies 2024-02-13 08:26:54 +01:00
PaddleStroke
03831b8fe3 AssemblyTest: Introduce assembly test module 2024-02-13 08:26:54 +01:00
PaddleStroke
59ba16582e vector3d getAngleOriented test. 2024-02-13 08:26:49 +01:00
Paddle
888013d3c6 Assembly : Add support for perspective camera.
Remove exportASMT from toolbar.
Fix Fixedjoint name and tooltip
Fix various bugs
Introduce solver drag functions.
2024-02-13 08:25:46 +01:00
Paddle
31a771917d Assembly: set the rotating joint visible when dragging. 2024-02-13 08:25:46 +01:00
Paddle
3eb389fefd Assembly: Enable part manipulation in active App::Part with the fixed joint. 2024-02-13 08:25:46 +01:00
Paddle
fc5a1f1b24 Assembly: Adds a pre-solve when creating joint, preventing wrong orthogonal solutions from solver. 2024-02-13 08:25:46 +01:00
howie-j
ae0d404c4c Assembly: Fixes FreeCAD#10748 (Card 4: Elements should highlight) 2024-02-13 08:25:46 +01:00
Paddle
a8ed4dd9a7 Assembly: Implement special drag mode for revolute. 2024-02-13 08:25:46 +01:00
Paddle
1d40087b3f Assembly: Add support for body subobjects (coordinate systems, datums...) and various fixes 2024-02-13 08:25:46 +01:00
Paddle
1a44706e6d Assembly: Change the joint placements to be relative to the object rather than to the doc origin.
This enable 'detaching' them, so that they are not recomputed
2024-02-13 08:25:46 +01:00
Paddle
f306515b28 Assembly: Add support to external objects. (And various fixes) 2024-02-13 08:25:45 +01:00
Paddle
2a3284808f Assembly: Replace Tangent+Parallel+Planar by 'Distance'. 2024-02-13 08:25:45 +01:00
Paddle
1d7671942f Assembly: Introduce core functionality of assembly workbench. 2024-02-13 08:25:45 +01:00
Paddle
d31fcb4b43 Update Ondsel Solver 2024-02-13 08:25:45 +01:00
Chris Hennes
950507a498 Revert "Resolve #11825 - no automatic quantity conversion: App::anyToQuantity"
This reverts commit c1ef15fbdf5db5aaf2ec86cb44bff237d1966238.
2024-02-12 15:29:15 -06:00
Chris Hennes
38451a0d3c Merge pull request #11267 from Ondsel-Development/pw_translate
[Sketcher] Translate DSH : replacement for rectangular array / move / copy / clone
2024-02-12 13:24:08 -06:00
Adrián Insaurralde Avalos
592b31eb7b Base: escape quotes in Quantity::getSafeUserString
fix #12204 and fix #12206
2024-02-12 12:09:30 -06:00
mosfet80
fe1ee63f2f Clean SetupQt.cmake (#12335)
* Update SetupQt.cmake
2024-02-12 12:08:09 -06:00
mosfet80
b102c5968f Clean CompilerChecksAndSetups.cmake
CMAKE_CXX_COMPILER_VERSION are always greater than  3.9
2024-02-12 12:05:11 -06:00
wmayer
e6bbc7f049 Part: use of ShapeMapHasher for code simplification 2024-02-12 12:02:17 -06:00
wmayer
ab88b8cb2f Part: add helper class ShapeMapHasher to reduce conditional inclusions 2024-02-12 12:02:17 -06:00
wmayer
a4600528bd Mod: remove leftovers of includes of Standard_math.hxx 2024-02-12 12:02:17 -06:00
wmayer
19db9bdaeb Gui: check dialog width after language change 2024-02-12 12:00:11 -06:00
wmayer
fe94ff6dac Gui: set minimum width of preferences dialog to avoid to truncate or hide controls 2024-02-12 12:00:11 -06:00
Yorik van Havre
ae0f162a41 Crowdin translations (#12313)
* updated ts files

* merged crowdin translations

* [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-02-12 11:59:08 -06:00
wmayer
4debb66b43 Base: fix IsNormal() and IsParallel()
Fix the IsNormal() and IsParallel() methods to pass the unit tests
2024-02-12 11:58:45 -06:00
wmayer
53427edc2c Tests: add unit tests for IsNormal() and IsParallel() 2024-02-12 11:58:45 -06:00
sliptonic
1d346f619c Merge pull request #12247 from bgbsww/bgbswwFixTestArtifacts
Stop tests from leaving files around after execution
2024-02-12 18:56:21 +01:00