Commit Graph

35997 Commits

Author SHA1 Message Date
Ladislav Michl
7a3069797e Gui: PythonWrapper: fix access via Python to QObject and QWidget 2024-02-16 09:22:57 +01:00
Ladislav Michl
6d28656e44 Gui: PythonWrapper: unify getPyTypeObjectForTypeName 2024-02-16 09:22:57 +01:00
Ladislav Michl
8f029e551f Gui: PythonWrapper: consolidate module loader 2024-02-16 09:22:54 +01:00
Ladislav Michl
dbb46bcad8 CMake: Fix include path returned by find_pip_package
SetupShibokenAndPyside macro checks module include path and eventually
decides to disable respective module in case its include directory is
missing. Make this process more straightforward by testing directory
existence; "Location: " string is 10 not 9 characters long and leading
whitespace makes testing for directory name fail.
While there, rename variables to respect that find_pip_package returns
only single include and library path.
2024-02-16 09:19:09 +01:00
Ladislav Michl
2813981130 CMake: Move build options for Shiboken/Pyside to the top 2024-02-16 09:19:09 +01:00
Chris Hennes
01ad6adacc Merge pull request #12431 from bgbsww/bgbsww-toponamingMakeElementRuledSurface
Toponaming/Part:  make element ruled surface
2024-02-15 20:55:29 -06:00
bgbsww
98269a5a21 TopoNaming/Part: cleanups and tests 2024-02-15 19:07:19 -05:00
Zheng, Lei
edc3857bdb TopoNaming/Part: transfer in MakERuledSurface 2024-02-15 19:05:55 -05:00
Chris Hennes
91efafe7e7 Merge pull request #12417 from bgbsww/bgbsww-toponamingLinearize
Toponaming/Part: transfer in linearize
2024-02-15 18:02:08 -06:00
Roy-043
b7cadeab00 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
Roy-043
0426622963 Merge pull request #12429 from Roy-043/Draft-gui_line_add_delete.py-is-obsolete
Draft: gui_line_add_delete.py is obsolete
2024-02-15 23:44:29 +01:00
bgbsww
04491c32ed Toponaming/Part: Clean up linearize, add tests, and some delinting 2024-02-15 16:53:01 -05:00
Roy-043
7bb6b89956 Draft: remove reapply_diffuse_color workaround step 2
Stuff that was missed in #11946
2024-02-15 22:28:37 +01:00
Roy-043
3f2e8cf0a0 Draft: gui_line_add_delete.py is obsolete 2024-02-15 22:20:53 +01:00
Max Wilfinger
2bb09fe220 added Assembly option to problem template 2024-02-15 15:18:27 -06:00
marioalexis
c1efba0704 Fem: Expose Constraint view provider symbol node to Python 2024-02-15 13:31:20 -06:00
marioalexis
b23c5f6721 Fem: Move Points and Normals properties to base class 2024-02-15 13:31:20 -06:00
Ladislav Michl
f9d892ce01 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
17a01963e0 Toponaming/Part: transfer in linearize 2024-02-15 14:21:32 -05:00
Chris Hennes
93e94d8868 Merge pull request #12414 from bgbsww/bgbsww-toponamingSearchSubShape
Toponaming/Part: Add  searchSubShape as findSubShapesWithSharedVertex
2024-02-15 12:49:42 -06:00
Max Wilfinger
94f8a3cc6c add action workflow to generate monthly issue metrics 2024-02-15 12:39:57 -06:00
bgbsww
11075c396f Toponaming/Part: Add tests for searchSubShape 2024-02-15 12:36:23 -05:00
Ajinkya Dahale
17f5d1d44b [planegcs][test] Fix issue in arc-B-spline tangent test
Correct the size of the knot vector used (described here with knots and multiplicities).
2024-02-15 10:58:41 -06:00
Zheng, Lei
0a1024350c Toponaming/Part: transfer in searchSubShape 2024-02-15 07:54:22 -05:00
Chris Hennes
456a6b25de Merge pull request #12405 from bgbsww/bgbsww-toponamingMakeElementDraft
Toponaming/Part: Transfer in MakeElementDraft
2024-02-14 21:10:56 -06:00
Chris Hennes
8229ae07ff Part/Toponaming: Apply clang-format to TopoShapeExpansion 2024-02-14 18:56:38 -06:00
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
bgbsww
c6ca3e41b6 Toponaming/Part: Cleanup and test makeElementDraft 2024-02-14 12:20:10 -05: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
Zheng, Lei
2e772bab1f Toponaming/Part: move in makeElementDraft 2024-02-13 13:41:56 -05: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