Commit Graph

44 Commits

Author SHA1 Message Date
luzpaz
25e8aacbe3 BIM: Trim trailing newlines 2024-07-14 09:24:22 +02:00
Max Wilfinger
7d21d9edb8 Fix source string typos mentioned on Crowdin (#15261) 2024-07-08 17:18:31 -05:00
Yorik van Havre
7c3badce87 BIM: Fixed possible filename ambiguity in Layers - fixes #15038 2024-07-08 11:25:48 -05:00
Yorik van Havre
ba456aa925 BIM: Fixed bug in IfcExplorer tool - fixes #14422sdfg 2024-07-02 15:24:10 +02:00
Yorik van Havre
2a009589f9 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
f82eef7533 Use the _finish function in case of cancel as well 2024-07-02 10:40:48 +02:00
Roy-043
5e95bb788a 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
d57f7a4a8d Gui: Use our own ToolBar class in all places 2024-06-25 11:39:54 +02:00
Roy-043
13296ccfc2 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
727ff9a062 BIM: Simplificed BimViews.getTreeViewItem - fixes #14321 2024-06-24 15:38:34 +02:00
Yorik van Havre
62d4f3ae0b BIM: Fix Copy tool stealing copy mode 2024-06-20 14:06:01 +02:00
Syres916
dd5e21989e [BIM] QSvgWidget is not a child of QtSvg in PySide6 2024-06-17 08:03:23 +01:00
Roy-043
6a2eca41b3 BIM: Add IsActive to BIM_Text
Fixes #14586.
2024-06-14 10:41:35 +02:00
Roy-043
fc8f7eeea4 BIM: Fix Arch Panel imports (#14644)
Fixes #14585.
2024-06-13 15:26:06 +02:00
Roy-043
c8c2c52e3e 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
81324076af 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
7dbebbbb08 [BIM] Add fallback installation for Python 3.10, 3.11 & 3.12 systems 2024-06-06 14:47:17 +02:00
Roy-043
3ef99e8b83 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
5935cba69a BIM: Fix BimImagePlane.py imports 2024-06-06 14:07:39 +02:00
Yorik van Havre
a877b36b70 BIM: Fixed IsActive of BIM commands (#14384) 2024-05-30 22:33:43 +02:00
hoshengwei
e64a977398 fix BimView Qt6 Support (renew) 2024-05-30 10:52:41 +02:00
hoshengwei
127f9b3492 fix BimView Qt6 Support 2024-05-30 10:52:41 +02:00
Ladislav Michl
0f6dbdb3d4 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
df68858765 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
e47f29d012 BIM: fix missing translate function 2024-05-28 10:23:14 +02:00
Yorik van Havre
f07857e8dc BIM: Fixed wall paramerers - fixes #14283 (#14315) 2024-05-28 09:51:52 +02:00
Yorik van Havre
43e83b46b7 BIM: Fixed missing import in TDView - #14224 2024-05-27 11:13:13 -05:00
Yorik van Havre
a4f65b3288 BIM: Fixed more wrong resource loading - #14210 2024-05-27 11:12:44 -05:00
Yorik van Havre
a9e4056597 BIM: improved IsActive behaviour - fixes #14061 2024-05-27 11:10:36 -05:00
Yorik van Havre
d62256ca51 BIM: Fixed grid settings in setup tool - fixes #14215 (#14231) 2024-05-25 22:11:02 +02:00
Yorik van Havre
0265927226 BIM: Fixed decimal separator error - Fixes #14208 (#14229) 2024-05-25 22:04:37 +02:00
Yorik van Havre
73427f3b88 BIM: Removed duplicate Part icons - fixes #14232 (#14235) 2024-05-25 22:02:47 +02:00
Roy-043
d90a78391b 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
d119dc574b BIM: Fixed windows autohosting - fixes #14197 2024-05-22 15:53:59 +02:00
Yorik van Havre
7b369599aa BIM: Restored original copyright header of ArchCutPlane command 2024-05-22 09:20:23 +02:00
Yorik van Havre
d28a797119 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
16ffcfecfc fix BIM Project Manager import error 2024-05-21 08:16:56 +02:00
Yorik van Havre
e7433585cf Arch: Fixed trackers ending too soon - fixes #13915 2024-05-17 12:14:25 +02:00
Yorik van Havre
acecc2c435 BIM: Fixed leftover bugs after the big move 2024-05-16 17:23:10 +02:00
Yorik van Havre
ffe71d2221 BIM: Fixed project creation and refactored status bar toggle system 2024-05-16 17:23:10 +02:00
Yorik van Havre
b4bddb5b80 BIM: Fixed status bar display and project command 2024-05-16 17:23:10 +02:00
Yorik van Havre
40f33f0f73 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
3593946d1c BIM: Fixed leftover bugs 2024-05-16 17:23:10 +02:00
Yorik van Havre
76e901861d BIM: Renamed Arch to BIM 2024-05-16 17:23:10 +02:00