Commit Graph

27215 Commits

Author SHA1 Message Date
Roy-043
ca1a10585a Draft: fix wrong selection after commands (improved)
The previous fix was not correct. Some commands would cause a crash and several files were missed.

Forum topic reporting a crash:
https://forum.freecad.org/viewtopic.php?t=85243
2024-02-16 10:56:10 +01:00
bgbsww
ac618d8ec5 TopoNaming/Part: cleanups and tests 2024-02-15 19:07:19 -05:00
Zheng, Lei
c0c16f684c TopoNaming/Part: transfer in MakERuledSurface 2024-02-15 19:05:55 -05:00
Chris Hennes
dd02306da0 Merge pull request #12417 from bgbsww/bgbsww-toponamingLinearize
Toponaming/Part: transfer in linearize
2024-02-15 18:02:08 -06:00
Roy-043
c02762cd31 Merge pull request #12430 from Roy-043/Draft-remove-reapply_diffuse_color-workaround-step-2
Draft: remove reapply_diffuse_color workaround step 2
2024-02-15 23:44:52 +01:00
bgbsww
61bcd553ee Toponaming/Part: Clean up linearize, add tests, and some delinting 2024-02-15 16:53:01 -05:00
Roy-043
faa9ad4c16 Draft: remove reapply_diffuse_color workaround step 2
Stuff that was missed in #11946
2024-02-15 22:28:37 +01:00
Roy-043
167b3846de Draft: gui_line_add_delete.py is obsolete 2024-02-15 22:20:53 +01:00
marioalexis
ea840bc3a3 Fem: Expose Constraint view provider symbol node to Python 2024-02-15 13:31:20 -06:00
marioalexis
c49c52716c Fem: Move Points and Normals properties to base class 2024-02-15 13:31:20 -06:00
Ladislav Michl
a489b095f0 Assembly: Add ${PYTHON_INCLUDE_DIRS} to CMakeLists.txt
Assembly Gui is including <Base/PyObjectBase.h> which in turn
includes <Python.h>, so path to Python includes is needed.
2024-02-15 13:24:15 -06:00
Zheng, Lei
964e15805a Toponaming/Part: transfer in linearize 2024-02-15 14:21:32 -05:00
Chris Hennes
779c63c2fd Merge pull request #12414 from bgbsww/bgbsww-toponamingSearchSubShape
Toponaming/Part: Add  searchSubShape as findSubShapesWithSharedVertex
2024-02-15 12:49:42 -06:00
bgbsww
6c3f250e4c Toponaming/Part: Add tests for searchSubShape 2024-02-15 12:36:23 -05:00
Zheng, Lei
db377c1854 Toponaming/Part: transfer in searchSubShape 2024-02-15 07:54:22 -05:00
Chris Hennes
9917565d95 Merge pull request #12405 from bgbsww/bgbsww-toponamingMakeElementDraft
Toponaming/Part: Transfer in MakeElementDraft
2024-02-14 21:10:56 -06:00
Chris Hennes
b075f7d5d6 Part/Toponaming: Apply clang-format to TopoShapeExpansion 2024-02-14 18:56:38 -06:00
Chris Hennes
66e29cbd79 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
bgbsww
6e9cd051f2 Toponaming/Part: Cleanup and test makeElementDraft 2024-02-14 12:20:10 -05:00
LemonBoy
7f5d89fa19 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
c0e318c6d0 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
74c52c9063 PD: handle null pointer in Feature::getBaseShape (#12385) 2024-02-13 17:41:25 -03:00
Chris Hennes
d89f4d7f29 Merge pull request #12366 from bgbsww/bgbsww-toponamingGetSubTopoShape
Toponaming/Part:  Move getSubTopoShape
2024-02-13 14:09:24 -06:00
Zheng, Lei
c5ba519470 Toponaming/Part: move in makeElementDraft 2024-02-13 13:41:56 -05:00
Chris Hennes
61ec050405 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
eb468a34d9 Fixed invalid vector in distance calculation (#12364)
* Fixed invalid vector in distance calculation
2024-02-13 10:11:22 -06:00
bgbsww
ae4393978f Toponaming/Part: clean, doc, and test getSubTopoShape 2024-02-13 10:14:39 -05:00
Zheng, Lei
76df39e99d Toponaming/Part: transfer in getSubTopoShape 2024-02-13 10:01:17 -05:00
howetuft
b39d246c27 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
adf69f23f6 add subvolume property 2024-02-13 10:18:12 +01:00
Mark Peres
6717065a2b refactor getSubVolume method -> use early exit 2024-02-13 10:18:12 +01:00
Roy-043
0feb0143ee 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
ead9f41541 Assembly: Small language tweaks by @chennes 2024-02-13 08:26:54 +01:00
PaddleStroke
926490adce Assembly fixes 2024-02-13 08:26:54 +01:00
PaddleStroke
51b81c1426 Assembly: Esc pref 2024-02-13 08:26:54 +01:00
PaddleStroke
11fd6eb4da Assembly: Fix annoying incomplete initial selections 2024-02-13 08:26:54 +01:00
PaddleStroke
ea5a11b44e Assembly: fix vertex preselection JCS bug 2024-02-13 08:26:54 +01:00
PaddleStroke
098fdda661 Assembly: fixes 2024-02-13 08:26:54 +01:00
PaddleStroke
56dc773b5c Assembly : fix bugs 2024-02-13 08:26:54 +01:00
PaddleStroke
2a5b22f0c8 Assembly : Fixes for sketches in bodies 2024-02-13 08:26:54 +01:00
PaddleStroke
1062ea4eb0 AssemblyTest: Introduce assembly test module 2024-02-13 08:26:54 +01:00
Paddle
cdb1af6543 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
46b1a1ebfc Assembly: set the rotating joint visible when dragging. 2024-02-13 08:25:46 +01:00
Paddle
a0749888c4 Assembly: Enable part manipulation in active App::Part with the fixed joint. 2024-02-13 08:25:46 +01:00
Paddle
d13df26333 Assembly: Adds a pre-solve when creating joint, preventing wrong orthogonal solutions from solver. 2024-02-13 08:25:46 +01:00
howie-j
672b04c0c4 Assembly: Fixes FreeCAD#10748 (Card 4: Elements should highlight) 2024-02-13 08:25:46 +01:00
Paddle
48173f2b9d Assembly: Implement special drag mode for revolute. 2024-02-13 08:25:46 +01:00
Paddle
43019a8f34 Assembly: Add support for body subobjects (coordinate systems, datums...) and various fixes 2024-02-13 08:25:46 +01:00
Paddle
22e4d7f2dd 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
4a119c43f1 Assembly: Add support to external objects. (And various fixes) 2024-02-13 08:25:45 +01:00