Commit Graph

158 Commits

Author SHA1 Message Date
Roy-043
f1b8efdcdd BIM: Remove calls to end_all_events to avoid Linux crash
Fixes #15723.
2024-10-10 13:47:09 +02:00
Paul Lee
5eb6fcf6fb [Arch] Bug: ArchRemove Creates Cyclic Dependency and TNP
FreeCAD Discussion Forum -
https://forum.freecad.org/viewtopic.php?t=91180&start=30#p786308
2024-10-10 10:06:09 +02:00
Roy-043
763f56bd98 BIM: BimWall add missing imports
Fixes #16996.
2024-10-07 15:21:11 +02:00
Roy-043
3608ed2613 BIM: Compatibility fix for walls based on wire or face with -Z normal
In V1.0 the handling of wall normals has changed. As a result existing walls with their Normal set to [0, 0, 0], based on wires or faces with a shape normal pointing towards -Z, would be extruded in that direction instead of towards +Z as before. To avoid this their Normal property is changed to [0, 0, 1].
2024-10-04 13:54:17 +02:00
Roy-043
2875a58482 BIM: check if Width and Height of window are not zero 2024-10-02 21:49:21 -06:00
bgbsww
94aad208bc Make python Regex Strings raw to avoid py3.12 SyntaxError 2024-09-30 17:42:49 +02:00
Syres916
690d2196af [BIM] Fix error starting BIM Wb for certain new users 2024-09-24 14:22:20 +02:00
Yorik van Havre
3395a8d4a7 Translations (#16754)
* 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-09-23 14:09:56 -04:00
Yorik van Havre
e878f54274 BIM: Fixed adding missing windows when converting to IFC - Fixes issue #16631 2024-09-23 17:54:12 +02:00
Jiří Pinkava
160f81abd8 BIM: Fix tabstop order for Project Manager dialog
Until now not defined explicitly, using tab juped throught boxes in
order in which they were created, which is really jumpy user experience.
2024-09-23 12:14:30 +02:00
Roy-043
4bfeaa86e4 BIM: show AutoUpdate of existing ArchSchedule
Fixes #16655.
2024-09-19 14:17:45 +02:00
Yorik van Havre
b97362bf0a Translations (#16582)
* 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-09-19 09:36:54 +02:00
Yorik van Havre
78a95759eb BIM: Support for IfcOpenShell 0.8 2024-09-16 09:51:34 -06:00
Roy-043
d282334099 BIM: exportIFC.py fix UnboundLocalError
As shown in the image here:
https://github.com/FreeCAD/FreeCAD/issues/16485#issue-2523042111
2024-09-16 13:37:56 +02:00
Jiří Pinkava
de0edd5b59 BIM: refactor wellcome window, drop most obvious comment 2024-09-16 13:27:25 +02:00
Jiří Pinkava
aab4451249 BIM: drop unnecessary setPixmap from wellcome window
The image is already set in the UI file, it is not necessary to set it again
2024-09-16 13:27:25 +02:00
Jiří Pinkava
3f24172325 BIM: adjust size of wellcome window to fit content
The actual optimal size of the window depends on many details, like UI style, system fonts,
OS etc ... so lets auto-resize the window to fit the content before display.
2024-09-16 13:27:25 +02:00
hoshengwei
b0b2578495 fix Material TaskPanel Load Preset not working bug 2024-09-16 10:03:26 +02:00
hoshengwei
84bd1ab3a5 fix ArchMaterialTaskPanel wrong import BimClassification Path
1. fix ArchMaterialTaskPanel wrong import BimClassification Path and icon after BIM merge into Arch

2. change taskpanel name to BIM material 

3. fix Qt slot and signal (more up to date style)
2024-09-13 12:11:56 +02:00
Scott Noyes
8066aa8c09 consistent preposition 2024-09-12 21:17:55 -05:00
Yorik van Havre
e3fa0266fb BIM: Fixed bug in BimViews - fixes #16452 2024-09-12 14:30:41 +02:00
Roy-043
53978bbf30 BIM: fix BIM_Setup license issue
FreeCAD currently has 19 standard licenses. BIM_Setup could only handle the first 10.

Forum post:
https://forum.freecad.org/viewtopic.php?p=781578#p781535
2024-09-12 11:00:39 +02:00
Roy-043
fa008e44e0 BIM: BimWindow.py add missing imports (#16308) 2024-09-10 12:24:29 +02:00
Furgo
98584d7f53 BIM: Fixes profile tool positioning (#16305)
* [BIM] Get working plane when picking a point

Fixes: #16284

* Use the new way of getting the Draft Working Plane
2024-09-10 11:48:39 +02:00
Yorik van Havre
e1823d25e8 Translations (#16389)
* Translations: Updated ts files

* Translations: 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-09-09 18:25:52 +02:00
Roy-043
46410a9e37 BIM: ArchFence: Fix some color issues
* ShapeAppearance property was misspelled.
* The post and section objects could not be Std_Parts (because they do not have a DIffuseColor).
* Minor improvements to the handling of Bodies.
* Removed the `if __name__ == '__main__':` section. This code is no longer relevant.
2024-09-09 17:52:35 +02:00
Furgo
3310a20d55 [BIM] Separate profile name from label number (#16304)
* [BIM] Separate profile name from label number

Fixes: #16286

* Make internal name generic
2024-09-09 17:45:34 +02:00
Roy-043
796d51ac38 BIM: Fix window transparency
V1.0 fix for the transparency of glass panels in windows and doors.
2024-09-09 11:41:37 +02:00
Jiří Pinkava
c0c5cab36b BIM: fix invalid converesion of button to int 2024-09-03 14:30:43 +02:00
Roy-043
ea96d853cd BIM: Fix Python 3.12 run time error with importers
Fixes #16137

Similar to this fix:
https://github.com/FreeCAD/FreeCAD/pull/13337#discussion_r1564806896
2024-08-31 13:17:58 -05:00
Yorik van Havre
2c17bf7200 Merged crowdin translations 2024-08-28 17:51:34 +02:00
Yorik van Havre
0f30e525f5 Updated ts files 2024-08-28 17:50:59 +02:00
paul
664f4d5655 [ArchWall_Draft-OffsetWires] Bug-fix Ellipse Support (#16038)
* [ArchWall_Draft-OffsetWires] Bug-fix Ellipse Support

Fixed bug/regression in ArchWall/Draft-OffsetWires ellipse support.

FC Forum Discussion
- https://forum.freecad.org/viewtopic.php?p=777965#p777897

* Update offsets.py

Typo

* L347 - trailing whitespace after comma
2024-08-26 18:03:21 +02:00
Roy-043
7d1efa9df2 BIM: Arch_Survey: Fix concatenate bytes issue
The line `t = t.encode("utf8")` returns a bytes object which does not make sense in the context of the rest of the code. It is probably a copy-paste error.

To test the bug:
1. open the file attached to this forum post: https://forum.freecad.org/viewtopic.php?t=89012#p770224
2. Make the rectangles visible.
3. Start the Survey command and box select all objects in the 3D view.
2024-08-26 17:31:59 +02:00
Roy-043
e582324474 BIM: Fix oversight in #15530
Fix bug introduced in #15530.

Forum topic:
https://forum.freecad.org/viewtopic.php?t=89790

@paullee0 can you check please? Thanks.
2024-08-19 13:41:05 +02:00
Yorik van Havre
2958648b66 BIM: Fixed nativeIFC psets loading - fixes #15436 2024-08-05 11:03:49 -05:00
Yorik van Havre
23a9f47780 Translations (#15689)
* 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-08-05 10:42:18 -05:00
Roy-043
1979f47714 BIM: Fix calculation of wall blocks
At the corners of the base wire the joint width was wrongly added.

Forum topic:
https://forum.freecad.org/viewtopic.php?t=89504
2024-08-01 11:04:05 +02:00
hasecilu
4e2a6a68d9 BIM: Don't mark for translation names of CC licenses 2024-07-31 11:47:31 +02:00
Roy-043
10f03c46fa BIM: Fix BIM Views panel open behavior on WB activation (#15617)
* BIM: Fix BIM Views panel open behavior on WB activation

Fixes #15524.

* Something obvious was missed...
2024-07-30 10:29:30 +02:00
Chris Hennes
369a2f7654 Merge pull request #15652 from kadet1090/ui-fixes
Gui: Cosmetic Fixes
2024-07-29 11:26:58 -05:00
Chris Mayo
804f7a94c7 BIM: Fix Welcome dialog wiki links 2024-07-29 17:41:35 +02:00
Roy-043
84ef268bf2 Rebase 2024-07-29 17:41:09 +02:00
paullee
d716fea769 [Arch ExportIFC] Bug-fix Consecutive Face Touch at Corner
Bug-fix Consecutive face (Wall segment) touch at corner.

Forum Discussion : https://forum.freecad.org/viewtopic.php?p=771954#p771954
2024-07-29 17:40:27 +02:00
Kacper Donat
484199dbce Gui: Remove unnecessary minimumSizes from Preferences
QT treats setting minimum size very seriously - it applies even if
the size required by the control is smaller than specified resulting in
rendering too small controls.
2024-07-28 00:00:09 +02:00
Yorik van Havre
52fc162c31 BIM: Better fix to IFC viewprovider - fixes #15477 2024-07-22 10:46:02 -05:00
Roy-043
62ddfb90dc BIM: Fix bug in OBJ import caused by missing utf8 encoding
Fixes #15512.
2024-07-19 15:24:43 +02:00
Yorik van Havre
03c24bce65 BIM: Fixed empty IFC decomposition - fixes #15363 2024-07-16 15:42:19 +02:00
Yorik van Havre
d5d474f16a BIM: Fixed IFC import with None psets - fixes #15436 2024-07-16 15:42:03 +02:00
Roy-043
8569429af2 BIM: Fix Wavefront OBJ color export
Fixes #15429.

Related #10906.
2024-07-16 10:15:08 +02:00