Commit Graph

652 Commits

Author SHA1 Message Date
PaddleStroke
94a45ae097 Assembly: Joint edition : Fix bug when changing offset while only one part is selected 2024-05-06 18:32:00 +02:00
PaddleStroke
27bb619323 Assembly: Fix #12889 : deleting a part does not delete joint and later crashes freecad. 2024-05-06 18:32:00 +02:00
PaddleStroke
2cf789a45f Assembly: define nested assemblies. Fixes 12440 2024-05-06 18:32:00 +02:00
PaddleStroke
9f8810aa4c Assembly: Introduce 'Exploded Views' 2024-05-06 18:32:00 +02:00
PaddleStroke
cff97eb887 Assembly: Adds a dragger object to the assembly, so that assembly tools can access a dragger. 2024-05-06 18:32:00 +02:00
PaddleStroke
ef384a25cd Assembly: Move static functions from JointObject to UtilsAssembly so they can be reused. And adds few functions 2024-05-06 18:32:00 +02:00
PaddleStroke
f04360ae22 Assembly : Add icon for joint group. 2024-05-06 18:32:00 +02:00
PaddleStroke
fa11eb93f4 Assembly: Insert link, clear selection on deactivation. 2024-05-06 18:32:00 +02:00
PaddleStroke
10e75e2752 Assembly: Change 'Insert Link' name to 'Insert Component' Fixes #12165 2024-05-06 18:32:00 +02:00
PaddleStroke
23dbcea22f Assembly: InsertLink : Open File does partial opening. So no tab opens. 2024-05-06 18:32:00 +02:00
PaddleStroke
d436138b8d Assembly: Insert: fix non-ascii names issue #12164 2024-05-06 18:32:00 +02:00
PaddleStroke
eafed89837 Assembly: Fix JCS not drawing correctly when removing selection. 2024-05-06 18:32:00 +02:00
PaddleStroke
812e34899f Assembly : Fix : In Joint taskbox, deleting an element in the list should unselect it #10750 2024-05-06 18:32:00 +02:00
PaddleStroke
1fd34ab124 Assembly : Typos 2024-05-06 18:32:00 +02:00
PaddleStroke
a4fc08087a Assembly: Deactivate other tools when insert part is active. Fixes #12551 2024-05-06 18:32:00 +02:00
PaddleStroke
b608324448 Assembly : Replace 'Insert as part' by 'Show only parts' 2024-05-06 18:32:00 +02:00
PaddleStroke
1c4d68670a Assembly: Fixed joint should not be active if no part is grounded. Fixes #12544 2024-05-06 18:32:00 +02:00
PaddleStroke
c47ee0c492 Assembly: Fix : Reversing Distance Joint Moves Grounded Part #12457 2024-05-06 18:32:00 +02:00
PaddleStroke
51e7d54739 Assembly: Disable pre-solve for distance joints. 2024-05-06 18:32:00 +02:00
PaddleStroke
1018162528 Assembly: Add drag mode for planar distances. 2024-05-06 18:32:00 +02:00
PaddleStroke
2fad087aac Assembly: Add DistanceType enum and getDistanceType function. 2024-05-06 18:32:00 +02:00
PaddleStroke
89b14c9c0a Assembly : Fix Fixed joint shortcut. Improve distance joint tooltip. 2024-05-06 18:32:00 +02:00
Chris Hennes
a5d8aaa21c Update translations
Also removes Web from translation scripts.
2024-05-06 18:17:53 +02:00
Max
e457644063 update icon for assembly recompute 2024-04-29 17:36:00 +02:00
Chris Hennes
ead426c6eb Update translations
Note: Web and Start omitted
2024-04-24 13:58:21 -05:00
Chris Hennes
57bc297005 Start: Recreate start as a QtWidgets-based app
Removes all Start network access and dependency on Chromium for rendering. Written
entirely in C++ (no HTML, CSS, JS, etc.).
2024-04-21 22:27:49 -05:00
Chris Hennes
e7069e6797 Update translations. 2024-04-17 16:50:38 -05:00
Jiří Mácha
69898555c6 Assembly: fix segfault when Part property of Joint Connector is missing
FreeCAD is crashing during 'Solve Assembly' call if the Part property
(Assembly/Joints/Fixed/Joint Connector 1/Part1 or Assembly/Joints/Fixed/Joint
Connector 2/Part2) of fixed Joint is unset.

Steps to reproduce:

 - make simple Assembly e.g. of two cubes with Fixed joint
 - Select Fixed joint in the tree and go-to property 'Data' tab
 - Select Part1 or Part2 of 'Joint Connector 1' or 'Joint Connector 2'
   and remove this reference
 - call 'Solve Assembly' now

The FreeCAD will crash here because the call
App::DocumentObject* part = getLinkObjFromProp(joint, propPartName);
will return NULL pointer.

The property Part1 or Part2 can get empty (unset) during usual
construction operations - during changing construction history
and it can be very hard to find the cause of FreeCAD crash on a big
model.

This patch tries to fix the crash in such situation.
2024-04-08 18:00:40 +02:00
ppphp
041ed30055 fix: some unuse argument warning 2024-03-31 10:47:32 +02:00
Chris Hennes
1a51c0cb57 Update translations 2024-03-25 18:08:22 -05:00
luzpaz
65cdbe3e89 Fix various typos throughout the codebase (#13029)
* Fix various typos throughout the codebase

* [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-03-18 16:54:30 -05:00
Max Wilfinger
7247789e12 update assembly icons 2024-03-17 11:21:16 +01:00
wmayer
88b2cccc09 Fix compiler warnings:
fix [-Winconsistent-missing-override]
fix [-Wunused-lambda-capture]
fix [-Wunused-variable]
fix [-Wswitch]
2024-02-26 11:01:37 -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
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
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
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