Commit Graph

31939 Commits

Author SHA1 Message Date
theo-vt
7481a5d8dd PartDesign: Hole: get direction from cylindrical surface rather than normal (#22393)
* PartDesign: Hole: Find direction of cylindrical face in Hole::execute instead of FeatureSketchBased::getProfileNormal

* PartDesign: Minor cleanups in guessNormalDirection

---------

Co-authored-by: Kacper Donat <kadet1090@gmail.com>
2025-07-28 02:06:50 +00:00
paddle
3aeb6e9e92 Assembly: Task Watcher. 2025-07-27 21:23:12 +02:00
paddle
2843bbefc7 Assembly: Add 'Activate assembly' command. 2025-07-27 21:17:28 +02:00
alafr
f89a763a5b Draft: Enable Draft Edit for Draft Labels (#13445)
* Draft: implement DraftLabelGuiTools

TODO:
1- support for custom StraightDirection with any number of points
2- fix EditNode positions when the label is inside a Part

* Draft: enable Draft Edit for Draft Label object

TODO:
Make the edition possible also with double-click in the tree view

* Draft: Trigger Edit on double click on Label in the tree view

Fix part 1/2 of comment https://github.com/FreeCAD/FreeCAD/pull/13445#issuecomment-2079672899

* Draft: Edit Label: enable to move one or move both nodes

The following apply to both edit points of the straight segment:
- If a point is moved exactly on the direction of the straight segment (set the WP to the Label object and use Shift key while moving the node), then it's length is changed without moving the other point.
- If a point is moved in any other direction, both points are moved and the straight segment's length is unchanged

Part 2/2 of https://github.com/FreeCAD/FreeCAD/pull/13445#issuecomment-2079672899
2025-07-27 17:26:12 +02:00
PaddleStroke
a8b655d602 Assembly: Use icon overlay for unconnected joints instead of annoying warning. (#22662)
* Core: FeaturePython : Add getOverlayIcons to python interface

* Assembly: unconnected joints icon overlay Fix #22643

* Update src/Mod/Assembly/Gui/ViewProviderAssembly.cpp

Co-authored-by: Kacper Donat <kadet1090@gmail.com>

* Update AssemblyObject.cpp

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update ViewProviderFeaturePython.h

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update ViewProviderFeaturePython.h

* Update JointObject.py

* Update ViewProviderFeaturePython.h

* Update ViewProviderFeaturePython.cpp

* Update Application.cpp

* Update ViewProviderFeaturePython.cpp

* Update ViewProviderFeaturePython.h

* Update ViewProviderAssembly.cpp

---------

Co-authored-by: Kacper Donat <kadet1090@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-07-26 22:35:24 +02:00
Kacper Donat
4823ccb6a1 Merge pull request #22736 from chennes/sketcherCodeQLCleanup
Sketcher CodeQL cleanup
2025-07-26 11:21:53 +02:00
Chris Hennes
3aa31f11f6 Part: Add error handling to TopoShape::isLinearEdge 2025-07-26 11:17:33 +02:00
PaddleStroke
4f4fe019b8 Assembly: utils: tiny fix 2025-07-26 11:16:28 +02:00
Chris Hennes
29da89febd Sketcher: Clean up some old commented out code 2025-07-25 19:12:30 -05:00
Chris Hennes
cdf0097dec Sketcher: Fix increment of parabola constraint tag
It is an invisible and unstated assumption of the redundant-constraint
removal code that the "tag" of a constraint can be used as the index
into the SketchObject's Constraint list. This is true for all objects
except a parabola, which, when creating its internal alignment focus
constraints, incremented the ConstraintCounter for *each* of the
internal constraints, instead of only once.
2025-07-25 22:03:10 +02:00
sliptonic
1ba5888330 Merge pull request #22659 from chennes/cam-size_t-fmt-spec
CAM: Fix the format spec used with size_t
2025-07-25 14:45:11 -05:00
sliptonic
b5d782e856 Merge pull request #22314 from tarman3/vcarve
CAM: Vcarve fix
2025-07-25 12:44:16 -05:00
Luz Paz
9efd70ffa4 Fix various source comment typos
Found via codespell
2025-07-25 10:25:54 -05:00
Chris Hennes
3679a2adca Sketcher: Extract "processFace" function
Tool-aided refactor, no functional changes.
2025-07-25 10:08:29 -05:00
Chris Hennes
403056fa20 Sketcher: Resolve "Declaration hides variable"
Reduce some code duplication via helper method.
2025-07-25 09:48:34 -05:00
Chris Hennes
ab91372e28 Sketcher: Resolve "Type confusion" CodeQL critical warning 2025-07-25 09:21:43 -05:00
matthiasdanner
f3e1e6cec0 Sketcher: Display arc angle and length constraints beyond center point (#22651)
* Allow arc segment length and angle constraints to go past the center point

* fix angle helper lines

* fix linter warning

* fix arc length calculation

---------

Co-authored-by: Matthias Danner <28687794+matthiasdanner@users.noreply.github.com>
2025-07-25 13:57:21 +02:00
Kacper Donat
f572d2e4f2 Merge pull request #22660 from chennes/fixMultResultConvertedToLargerType
Fix mult result converted to larger type
2025-07-25 10:20:03 +02:00
Kacper Donat
32eee15223 Merge pull request #22544 from jffmichi/undockfullscreen
Gui: Allow undocking and fullscreen for all MDI windows
2025-07-25 00:18:20 +02:00
Kacper Donat
b7c978314e Merge pull request #22577 from AjinkyaDahale/sk-fix-22352
Sketcher: Avoid crash when using trim as described in #22352
2025-07-25 00:16:28 +02:00
PaddleStroke
e141cb7a49 Assembly: Fix infinite loop with subassembly. Fix #19319 (#22685)
* Assembly: Fix infinite loop with subassembly. Fix #19319

* squash

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update AssemblyObject.h

* [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>
2025-07-25 00:11:24 +02:00
PaddleStroke
45adb828a6 Assembly: Fix insert sub-assemblies positioning issues (#22677) 2025-07-24 12:43:23 -05:00
PaddleStroke
836d543797 Assembly: Fix flexible sub-assemblies cannot be deleted (#19100) 2025-07-24 12:41:31 -05:00
PaddleStroke
cdd69cca7d Assembly: Simulation active only if proper joint available (#22711) 2025-07-24 14:59:58 +00:00
PaddleStroke
83b82b2dcc Assembly: Insert tool : fix error when removing object 2025-07-24 08:46:39 -05:00
Syres916
e828c5da4d [Sketcher] Ensure All Reference Constraints are Read Only in the Property Editor 2025-07-24 08:40:09 -05:00
Roy-043
0baa28ed24 BIM: hide base of railings 2025-07-24 14:58:02 +02:00
Chris Hennes
fe624f2c3a CAM: Add missing initializers 2025-07-23 16:51:20 +02:00
PaddleStroke
d165324d31 Assembly: VPAssemblyLink: remove warning leftover 2025-07-23 07:24:17 -05:00
PaddleStroke
1aa2aada37 Assembly: Fix flexible subassemblies have no transform gizmo when selected (#22670)
* Assembly: Fix flexible subassemblies have no transform gizmo when selected
2025-07-23 07:23:49 -05:00
xtemp09
d87b41181e Add "Clear Recent files list" item (#22638)
* Add "Clear Recent files" item

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
2025-07-23 04:11:48 +00:00
tomate44
4614e6b4f6 Part: Feature Offset2D fix #22563 2025-07-22 20:40:51 -05:00
Ian Abreu
8d1c60bb44 Core: Generation of Mesh interface bindings (#22623)
* Initial commit of Mesh

* Fixing import
2025-07-22 19:39:10 -05:00
Ian Abreu
bb2ee82990 Core: Generation of Spreadsheet interface bindings (#22624)
* Initial commit of spreadsheet

---------

Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
2025-07-22 18:34:42 -05:00
Chris Hennes
7a70843be2 TD: Remove incorrect allocation failure handler 2025-07-22 09:57:49 +02:00
Pieter Hijma
ca9ecfb517 PartDesign: Add migration tag 2025-07-22 09:03:27 +02:00
Chris Hennes
963527fc80 TD: Switch to non-buffer-based format string interpretation 2025-07-22 08:59:49 +02:00
Chris Hennes
38a177b1bf TD: Fix multiplication result converted to larger type 2025-07-21 23:40:56 -05:00
Chris Hennes
f1c200b204 Sketcher: Fix multiplication result converted to larger type 2025-07-21 23:40:56 -05:00
Chris Hennes
7d93d69890 Reverse Engineering: Fix multiplication result converted to larger type 2025-07-21 23:40:56 -05:00
Chris Hennes
814263e561 Part: Fix multiplication result converted to larger type 2025-07-21 23:40:56 -05:00
Chris Hennes
a1d73f8b78 MeshPart: Fix multiplication result converted to larger type 2025-07-21 23:40:56 -05:00
Chris Hennes
1d1acc1458 Mesh: Fix multiplication result converted to larger type 2025-07-21 23:40:51 -05:00
Chris Hennes
b0d4fad05a Inspection: Fix multiplication result converted to larger type 2025-07-21 22:04:43 -05:00
Chris Hennes
1237fbd391 FEM: Fix multiplication result converted to larger type 2025-07-21 22:04:10 -05:00
Chris Hennes
6c2617874a CAM: Fix multiplication result converted to larger type 2025-07-21 22:03:14 -05:00
Chris Hennes
a0b5cc90cc CAM: Fix the format spec used with size_t 2025-07-21 21:32:07 -05:00
Kacper Donat
5d58ac7459 Merge pull request #22088 from hyarion/feature/variable-constraint-points
Sketcher: Adds support for constraint with more than 3 points
2025-07-21 23:06:49 +02:00
PaddleStroke
80935791fd Assembly: Fix unconnected Joints always touched
Fix https://github.com/FreeCAD/FreeCAD/issues/22642
2025-07-21 13:24:28 -05:00
sliptonic
c99cd73cd6 Merge pull request #22398 from dbtayl/fix_22073
CAM: Adaptive: Fix NULL input shapes when top of stock equals top of model
2025-07-21 11:35:39 -05:00