Commit Graph

98 Commits

Author SHA1 Message Date
Yorik van Havre
c4e55e3855 BIM: fixed nativeIFC view provider - fixes #15259 2024-07-10 12:04:40 +02:00
Yorik van Havre
99aeb89ddb Translations: Fixed BIM translations 2024-07-10 11:14:02 +02:00
Yorik van Havre
855bdeb3fe BIM: Fixed IfcOpenShell imports - fixes #15285 2024-07-10 11:13:41 +02:00
FEA-eng
470b30c8c7 Update preferences-arch.ui 2024-07-10 10:31:29 +02:00
Yorik van Havre
26624c2453 Updated ts files 2024-07-09 08:52:17 -05:00
luzpaz
9a1f487cdb Fix various typos throughout the codebase 2024-07-08 17:19:20 -05: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
0f462500d9 BIM: Fixed ifcopenshell version detection 2024-07-02 15:24:45 +02:00
Yorik van Havre
9b390fa78e BIM: Check for pip when running IfcOpenShell update - fixes #14499 2024-07-02 15:24:45 +02:00
Yorik van Havre
ba456aa925 BIM: Fixed bug in IfcExplorer tool - fixes #14422sdfg 2024-07-02 15:24:10 +02:00
Yorik van Havre
e2e8f39ea9 BIM: Renamed file to avoid confusion with 0.21 BIM addon 2024-07-02 15:23:37 +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
marcuspollio
baaf586772 techdraw-PageDefault update 2024-07-02 11:27:54 +02:00
marcuspollio
1100794842 update following feedback 2024-07-02 11:27:54 +02:00
marcuspollio
7841225737 BIM: update some icons
Following recent changes in other WBs and also for better readability and consistency.
2024-07-02 11:27:54 +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
Chris Hennes
71976129ee Merge pull request #14455 from kadet1090/toolbar-dragging
Gui: Add dragging support for custom ToolBarAreas
2024-07-01 10:49:27 -05:00
Yorik van Havre
53dde493a9 BIM: Adeed missing menu entries - issue #14087 2024-07-01 10:38:37 -05:00
marcuspollio
8d3f07c1f7 BIM: update Glue icon (#14821)
* BIM: update Glue icon

* BIM: update Glue icon

* Improve readability

* Update following feedback
2024-06-26 14:15:30 +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
Roy-043
4d729871d3 BIM: fix SwitchWB preference by switching to BIM WB
Fixes #14680.
2024-06-24 10:43:08 +02:00
Yorik van Havre
e3fa5ed679 BIM: Added square and rectangular profiles to pipes 2024-06-20 14:09:06 +02:00
Yorik van Havre
e17301b36c BIM: IFC: Export non-solids as Breps 2024-06-20 14:06:22 +02:00
Yorik van Havre
62d4f3ae0b BIM: Fix Copy tool stealing copy mode 2024-06-20 14:06:01 +02:00
Lukas Schattenhofer
8a07f71c28 BIM: ArchComponent Only counts planar surfaces as vertical areas 2024-06-20 14:03:23 +02:00
Roy-043
5a05739197 BIM: Fix base edge direction for Arch_Stairs
Fixes #14377

If the base edge of a stairs has a delta Z, the start point must have lowest Z. The `makeStraightStairsWithLanding` code fails otherwise.

Using `edge = Part.LineSegment().toShape()` is not the most efficient, but matches the pattern used elsewhere in the code.
2024-06-20 13:57:19 +02:00
Chris Hennes
4c907d4318 Merge pull request #14681 from Roy-043/BIM-fix-extrusion-vector-scaling-for-IFC-export
BIM: fix extrusion vector scaling for IFC export
2024-06-17 11:12:30 -05:00
Yorik van Havre
078dad7fab BIM; Removed BIMBots - issue opensourceBIM/BIMbots-FreeCAD#2 2024-06-17 10:00:53 -05:00
Roy-043
84eb1b2f11 Remove superfluous QtSvg import from ArchWindows.py 2024-06-17 16:05:45 +02:00
Syres916
f50d8abeb0 [BIM] QSvgWidget is not a child of QtSvg in PySide6 2024-06-17 08:06:03 +01:00
Syres916
dd5e21989e [BIM] QSvgWidget is not a child of QtSvg in PySide6 2024-06-17 08:03:23 +01:00
Roy-043
f669ce6634 Ensure that the Dir vector is copied 2024-06-14 15:52:11 +02:00
Roy-043
af8da73ae3 BIM: fix extrusion vector scaling for IFC export
The Dir vector of Part Extrusions also needs to be scaled if obj.LengthFwd.Value is zero.

Forum topic:
https://forum.freecad.org/viewtopic.php?t=88121
2024-06-14 15:39:39 +02:00
Roy-043
6a2eca41b3 BIM: Add IsActive to BIM_Text
Fixes #14586.
2024-06-14 10:41:35 +02:00
Furgo
4500d0fd07 Draft toggle grid as a toggle button to indicate grid visibility (#14452)
Makes the button for the Draft_ToggleGrid command act as a real toggle button to provide visual feedback of the grid visibility state.

---------

Co-authored-by: Syres916 <46537884+Syres916@users.noreply.github.com>
2024-06-13 15:31:29 +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
Roy-043
7011a21372 BIM: Fix handling of Wall normal (#14540)
The `Part.makeLine()` code is unnecessary and also risky as length can be zero. See first image in #14524.
2024-06-13 15:20:25 +02:00
Roy-043
38a86238e1 BIM: Fix move BuildingPart error (#14539)
Fixes #14524.
2024-06-13 15:18:23 +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
DeniseBryson
73c6415878 ArchSpace - Correct computed dimensions (floor area and perimeter length) (#14211)
* Arch: Improved ArchComponent.computeAreas function

All non vertical faces get projected now. Changed Part.Wire to DraftGeomUtils.findWires

* Arch: Removed Area property and add AreaCalculationType to Space object

The horizontal area and its perimeter are now calculated in two different ways. Eiter at the centre of mass or as a projection on the XY-plane. The results are filled in the filed horizontal area and perimeter in the Component section.

* BIM: Added property Area for Spaces again
2024-06-10 11:22:51 -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
paullee
bc46d4fc39 [ArchWall] Add switch 'ArchSketchData' to use ArchSketch Data or not 2024-06-06 14:04:14 +02:00
paullee
b3ac1d9c85 [ArchWall] Disable Input (ReadyOny) if Base (ArchSketch) Provided
To avoid confusion, attributes e.g. Align, Width, Offset, Override (Align/ Width/ Offset)
would be disabled, if Base object is ArchSketch which provided the above information

FC Forum Discussion :  https://forum.freecad.org/viewtopic.php?t=87721&start=30#p763761
2024-06-06 14:04:14 +02:00