Commit Graph

38 Commits

Author SHA1 Message Date
PaddleStroke
f6d56cf0f5 Assembly: CommandInsertLink: handle manual deletions (#25651) 2025-11-26 16:22:12 -06:00
PaddleStroke
327e6b3630 Assembly: Make the 'ground first part' dialog closable 2025-11-20 00:27:06 +01:00
PaddleStroke
287ac6e9e9 Assembly: Insert link: Handle partially loaded documents (#25275) 2025-11-17 10:55:48 -06:00
schmidtw
36dec53a8c Fix: Prevent attempting to access non-existent nodes
This is defensive code that protects against attempting to dereference
  nodes that are not present, preventing the python code from throwing an
  AttributeError.
2025-10-12 14:49:28 -07:00
Chris Hennes
5938479cf4 Assembly: Fix translatable strings (#24243)
* Assembly: Fix translatable strings

* [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-09-29 17:48:01 +02:00
Ryan Kembrey
66aaf6a2ee Assembly: Update UI strings for consistency
Closes: #22194
2025-08-04 20:14:38 +02:00
PaddleStroke
43251b20e3 Assembly: Fix insert sub-assemblies positioning issues (#22677) 2025-07-24 12:43:23 -05:00
PaddleStroke
431df47c5b Assembly: Insert tool : fix error when removing object 2025-07-24 08:46:39 -05:00
mosfet80
3eabb0a29b MOD: assembly clean (#20557)
* MOD: assembly clean

clean code

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

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

* Update AssemblyLink.cpp

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-04-14 11:05:55 -05:00
PaddleStroke
5d937a4f84 Assembly: Insert new part (#17922)
* Assembly: Joint Object : encapsulate the joint creation widget such that the task can be subclassed and ui customized by other commands.

* Assembly: Insert New Part

* Update src/Mod/Assembly/CommandInsertNewPart.py

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

---------

Co-authored-by: Kacper Donat <kadet1090@gmail.com>
2024-12-02 18:34:02 +01:00
Yorik van Havre
7e12ce34e7 Merge pull request #15629 from Ondsel-Development/asm_assembly_link
Assembly: Flexible sub-assemblies.
2024-10-28 17:07:26 +01:00
PaddleStroke
5ab2f3ea7e Assembly: CommandInsertLink: Hide hidden objects 2024-10-24 23:07:54 -05:00
PaddleStroke
127d5dd840 Assembly: AssemblyLinks. 2024-10-16 15:39:23 +02:00
bgbsww
48c65aed76 Support macros and console logs in Assembly 2024-09-23 14:10:55 -05:00
PaddleStroke
bfd871cc6c Assembly: Prevent insertion of parent objects that cause dependency loop and crash. 2024-07-14 20:25:53 -05:00
PaddleStroke
09503f83da Assembly: Insert link : Insert to origin if it is within view. 2024-07-13 20:16:55 -05:00
PaddleStroke
914da98a9e Assembly: Enable Insert Component taskbox to grow when more items are added. 2024-07-08 10:39:07 -05:00
PaddleStroke
6082b67ed0 Assembly: Insert Component: Fix 'Joint Group' being listed even though it's empty. It's because we were using OutList instead of claimChildren. 2024-06-25 16:37:31 +02:00
PaddleStroke
2114c6ecce Assembly: Insert Component: Fix comparing names instead of comparing objects 2024-06-25 10:37:50 +02:00
PaddleStroke
2b3215eeb5 Assembly: InsertLink: Use doc.Label instead of doc.Name because of bug of doc.Name not updating when file is saved. 2024-06-17 11:33:28 -05:00
PaddleStroke
fb32579498 Core: Add Gui::Document::getTreeRootObjects() 2024-06-12 10:57:24 +02:00
PaddleStroke
5f4dd814ea Core: Add getRootObjectsIgnoreLinks and fix bugs in tree.cpp and AssemblyObject.cpp, CommandInsertLink.py, UtilsAssembly.py 2024-05-13 17:58:34 +02:00
PaddleStroke
263b07376f Assembly: Insert link: insert at the center of the screen rather than origin of document. 2024-05-06 18:32:00 +02:00
PaddleStroke
4a88f6c62f Assembly: InsertLink : Kill behavior of parts following mouse. 2024-05-06 18:32:00 +02:00
PaddleStroke
1045f6aa51 Assembly: Insert Part tool : Change from list to tree. Fixes #12890 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
b608324448 Assembly : Replace 'Insert as part' by 'Show only parts' 2024-05-06 18:32:00 +02:00
PaddleStroke
b85e672226 Assembly fixes 2024-02-13 08:26:54 +01:00
PaddleStroke
a48d34f6c2 Assembly: fixes 2024-02-13 08:26:54 +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
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
d81c4bac63 Assembly : Initial implementation of 'create joint' command. 2023-09-19 10:51:04 +02:00
Paddle
3fcc839868 Move functions to UtilFunctions.py. 2023-09-19 08:31:33 +02:00
Paddle
bf1833c245 Split Commands.py so that each command has a file. 2023-09-19 08:31:33 +02:00