Commit Graph

40 Commits

Author SHA1 Message Date
Yorik van Havre
56e46e5f4e Translations (#15107)
* Updated ts files

* Merged crowdin translations

* [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-07-02 12:21:53 +02:00
Roy-043
f294cebf72 Use the _finish function in case of cancel as well 2024-07-02 10:40:48 +02:00
Roy-043
ea7a68dfe1 BIM: Fix BIM_Box command
Fixes #14823.

Depending on the order and location of the picked points, the Placement of the Box could be unexpected. The Height value was always positive if points were picked, a negative Height entered in the input box would lead to errors.

Additonally:
* Avoided some code duplication.
* Added a proper transaction to make the command undoable.
2024-07-02 10:40:48 +02:00
Kacper Donat
e04b28e66d Gui: Use our own ToolBar class in all places 2024-06-25 11:39:54 +02:00
Roy-043
00fc3ec96a BIM: fix BIM_Setup unit system issue
Fixes #14675.

Note that I would prefer to use the FEM unit system (always mm). BIM_Setup does not support that, and this PR does not change that.
2024-06-24 15:42:27 +02:00
Yorik van Havre
2d231469ce BIM: Simplificed BimViews.getTreeViewItem - fixes #14321 2024-06-24 15:38:34 +02:00
Yorik van Havre
8b55579995 BIM: Fix Copy tool stealing copy mode 2024-06-20 14:06:01 +02:00
Syres916
6437e714f0 [BIM] QSvgWidget is not a child of QtSvg in PySide6 2024-06-17 08:03:23 +01:00
Roy-043
3d6239fdde BIM: Add IsActive to BIM_Text
Fixes #14586.
2024-06-14 10:41:35 +02:00
Roy-043
78c36a22d9 BIM: Fix Arch Panel imports (#14644)
Fixes #14585.
2024-06-13 15:26:06 +02:00
Roy-043
ebbe9a15e0 BIM: minor icon cleanup (#14560)
* BIM: minor icon cleanup

* Removed icons used for 'experimental' tools. They are obsolete.
* Updated warning.svg to match .../src/Gui/Icons/Warning.svg
* Renamed Image_CreateImagePlane.svg to BIM_ImagePlane.svg to avoid overwriting the first icon in the Wiki.
* Removed ArchWorkbench.svg and preferences-arch.svg as they are also obsolete.
* To resolve a Wiki name conflict renamed BIM_Project.svg to BIM_ProjectManager.svg, and Arch_Project_IFC.svg to BIM_Project.svg.
2024-06-13 15:22:08 +02:00
Furgo
616f4971ce BIM: add missing imports for Arch_CutPlane (#14430)
* BIM: add missing imports

* BIM: import correct module for cutComponentwithPlane

* Move PySide imports inside class methods
2024-06-10 11:27:25 -05:00
Syres916
ad03a81a0a [BIM] Add fallback installation for Python 3.10, 3.11 & 3.12 systems 2024-06-06 14:47:17 +02:00
Roy-043
0640256a8a BIM: Update WP commands
Update the BIM WP commands to use the new Draft code. This ensures correct GUI behavior.

This also fixes the BIM_SetWPSide command which would align to the left side instead of the right side. The right side matches the behavior of Draft_SelectPlane and also the icon of the command.
2024-06-06 14:08:21 +02:00
Roy-043
0305425270 BIM: Fix BimImagePlane.py imports 2024-06-06 14:07:39 +02:00
Yorik van Havre
7a8a25a5b3 BIM: Fixed IsActive of BIM commands (#14384) 2024-05-30 22:33:43 +02:00
hoshengwei
3d1ccd22ad fix BimView Qt6 Support (renew) 2024-05-30 10:52:41 +02:00
hoshengwei
8926f47c9c fix BimView Qt6 Support 2024-05-30 10:52:41 +02:00
Ladislav Michl
f632e4c716 BIM: Move urls outside translated strings
Leaving urls outside translated strings prevents translations
from being updated on url change.
2024-05-30 09:39:01 +02:00
Roy-043
8ac14f83c6 BIM: change default for defaultWP to Top
Setting the WP to "Auto" is confusing for beginners. That is why this was changed to "Top" in the Draft WB. The same should happen in the BIM WB.
2024-05-29 11:40:48 +02:00
Roy-043
66dd1dede5 BIM: fix missing translate function 2024-05-28 10:23:14 +02:00
Yorik van Havre
85b88effb5 BIM: Fixed wall paramerers - fixes #14283 (#14315) 2024-05-28 09:51:52 +02:00
Yorik van Havre
01ca12ef6e BIM: Fixed missing import in TDView - #14224 2024-05-27 11:13:13 -05:00
Yorik van Havre
458e2727d2 BIM: Fixed more wrong resource loading - #14210 2024-05-27 11:12:44 -05:00
Yorik van Havre
b7fb03fadd BIM: improved IsActive behaviour - fixes #14061 2024-05-27 11:10:36 -05:00
Yorik van Havre
070a160839 BIM: Fixed grid settings in setup tool - fixes #14215 (#14231) 2024-05-25 22:11:02 +02:00
Yorik van Havre
bfba5ea12e BIM: Fixed decimal separator error - Fixes #14208 (#14229) 2024-05-25 22:04:37 +02:00
Yorik van Havre
d44bbee5af BIM: Removed duplicate Part icons - fixes #14232 (#14235) 2024-05-25 22:02:47 +02:00
Roy-043
e343668d80 BIM: Fix BIM tutorial issues
UI file is now in a resources file.
Translate function was not defined.

Forum topic:
https://forum.freecad.org/viewtopic.php?t=87830
2024-05-23 09:37:00 +02:00
Yorik van Havre
65f4dfd55d BIM: Fixed windows autohosting - fixes #14197 2024-05-22 15:53:59 +02:00
Yorik van Havre
e142b9f94f BIM: Restored original copyright header of ArchCutPlane command 2024-05-22 09:20:23 +02:00
Yorik van Havre
da86d4b81a BIM: Reworked preferences and setup screens
* Reworded welcome screen, removed "update" section
* Removed Webtools and Start option from setup dialog - fixes #14179
* Renamed Arch preferecnes to BIM - fixes #14121
* Moved NativeIFC preferences to BIM - fixes #14137
2024-05-22 09:18:41 +02:00
hoshengwei
0102f2608e fix BIM Project Manager import error 2024-05-21 08:16:56 +02:00
Yorik van Havre
9eec6020f7 Arch: Fixed trackers ending too soon - fixes #13915 2024-05-17 12:14:25 +02:00
Yorik van Havre
b74b17d6f0 BIM: Fixed leftover bugs after the big move 2024-05-16 17:23:10 +02:00
Yorik van Havre
d48a47f120 BIM: Fixed project creation and refactored status bar toggle system 2024-05-16 17:23:10 +02:00
Yorik van Havre
f7ec184f32 BIM: Fixed status bar display and project command 2024-05-16 17:23:10 +02:00
Yorik van Havre
ef08efcd00 BIM: misc tool adjustments
- Level offest can now be negative
- Auto wall grouping is now off by default
- Shape2DView (BIM version) now sets InPlace to False
- The Axis tool starts with only one axis by default
- Sketches initiated with the BIM Sketch command take Draft colors
- Snapping WP shortcuts were changed to avoid conflicts
2024-05-16 17:23:10 +02:00
Yorik van Havre
f9ceb7d35d BIM: Fixed leftover bugs 2024-05-16 17:23:10 +02:00
Yorik van Havre
f21a3b3ec9 BIM: Renamed Arch to BIM 2024-05-16 17:23:10 +02:00