Commit Graph

2186 Commits

Author SHA1 Message Date
Syres916
e4bb7a98e2 [Arch] [Draft] Add guard for RootNode specific child 2024-02-05 11:00:38 +00:00
Roy-043
cabcd6b2d9 Arch: Add "Opening only" preset to Arch_Window
As discussed on the forum:
https://forum.freecad.org/viewtopic.php?p=734920#p734920
2024-02-01 15:18:44 +01:00
Roy-043
206711b8fe Merge pull request #12040 from Roy-043/Arch-Bring-back-Axis-bubbles-and-show-annotation-DrawStyle-in-ArchView
Arch: Bring back Axis bubbles and show annotation DrawStyle in ArchView
2024-01-31 10:07:18 +01:00
Roy-043
5db2893ab6 Merge pull request #12038 from Roy-043/Arch-Revised-preference-ui-files-remove-WindowColor
Arch: Revised preference ui files, remove WindowColor
2024-01-31 10:05:42 +01:00
Roy-043
b59911899f Arch: BuildingPart fix setEdit and unsetEdit
The Transform option from the Tree view context menu did not work.
2024-01-26 10:43:42 +01:00
Roy-043
d63ca9c2dc Arch: importDAE: DaeUnsupportedError is defined in common.py
Forum topic:
https://forum.freecad.org/viewtopic.php?t=84626
2024-01-23 17:52:32 +01:00
Roy-043
a81009d8c4 Arch: Bring back Axis bubbles and show annotation DrawStyle in ArchView
* Restores Arch_Axis bubbles in a TechDraw_ArchView. This fixes a regression in V0.21 and 0.22, I suspect an unwanted side-effect of a previous PR of mine (#8688).
* Also fixes the linetype of axes and other annotation objects in a TechDraw_ArchView.
2024-01-19 16:37:07 +01:00
Roy-043
fce98fa57e Arch: Revised preference ui files, remove WindowColor
Follow-up PR of #11940.

* The new ui layout follows that of the Draft preferences.
* The ConversionFast checkbox enables/disables the 3  preferences listed below it.
* The WindowColor preference was removed. It is not a per-object, or even a per-file setting. The fix in #11940 would change windows in existing projects when they are recomputed. It is therefore better to keep the V0.21 solution where the glass is colored according to the preferences and the rest of the window receives a color based on its ShapeColor. Users who want to apply specific colors can use a multi-material.
2024-01-19 10:05:15 +01:00
Roy-043
893f0fed5b Multiply textheight by DefaultAnnoScaleMultiplier 2024-01-18 15:43:15 +01:00
Roy-043
544bd1e7ea Arch: implement new get_param functions
Additionally 2 Arch_Window bugs were fixed:
* If the W1 value was changed the box tracker was not repositioned relative to the cursor.
* The WindowColor was not applied because of a typo in the code. De current default color is quite dark BTW.

Note that all dimensional values that were not really defaults, but just the last entered values, have been removed from preferences-archdefaults.ui. As a result the layout looks a bit strange. That will be improved in a next PR.
2024-01-18 15:43:15 +01:00
Roy-043
b6b9314d7a Arch: Improve selection of cutting object for Arch_CutPlane
This PR makes the selection of the cutting object more flexible. It can be a face, an edge or an object with a single subelement of that type. Any planar object can also be selected. This PR makes the Arch_CutLine command superfluous. It was therefore removed.
2024-01-08 10:58:30 +01:00
paullee
8c3696adec [ArchWall] Fix getExtrusionData() with DraftWire base problem
See discussion on FreeCAD forum :
- https://forum.freecad.org/viewtopic.php?p=727868#p727868
( How to use the partdesign_subshapebinder for walls / Walls on "3d sketch"? )
2024-01-08 10:56:41 +01:00
Roy-043
57fbbb17cf Arch: Arch_Window fix and improve handling of hosts
Fixes a problem introduced with a previous PR of mine (#7591). Hosts would only be touched if that property of the window was modified. But the hosts of a window should also update if other properties of the window change.

Additionally a width or height change of a window now touches the hosts on the subsequent shape change.
2024-01-08 10:53:20 +01:00
Roy-043
28f2214c3a Arch: Arch_Project avoid ghosts of objects in Group 2024-01-08 10:52:15 +01:00
Roy-043
b9f5b1ae32 Arch: Arch_Window: wrong value for Frame property
The Frame property controls the extrusion of the window components. It should receive the w2 instead of the h1 value.
2024-01-08 10:33:44 +01:00
Chris Hennes
1d2186b7d6 Update translations (#11886)
* Update 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-01-03 09:27:18 -06:00
Yorik van Havre
a679c8b818 merged crowdin translations 2023-12-20 09:27:37 +01:00
bgbsww
4de4b667bc Don't override child visibility in Arch BuildingPart or GroupExtensions 2023-12-19 11:17:53 +01:00
wmayer
1245c3f3b2 Python: deprecated aliases have been removed in Py 3.12 2023-12-02 14:45:55 +01:00
Yorik van Havre
3ade39ccf1 Translations (#11551)
* 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>
2023-11-27 11:29:38 -06:00
Roy-043
7a8abc3416 Draft interface tab was missing 2023-11-23 09:21:55 +01:00
Roy-043
2971d13a38 Arch: start Draft param observer
See #11481.
2023-11-23 09:21:55 +01:00
Chris Hennes
90dc4aeb13 Update translations 2023-11-20 13:46:22 -06:00
Roy-043
3b32f50a47 Arch: remove global precision variables
To avoid having to restart after changing the Draft precision parameter.
2023-11-20 12:21:28 +01:00
bgbsww
5b4d287034 Reverse misuse of list comprehension 2023-11-20 11:36:39 +01:00
bgbsww
f087c4b3ef Parse inventor format without commas between points 2023-11-20 11:36:39 +01:00
Roy-043
aee9fcf6c6 Arch: more file extensions also in caps 2023-11-14 00:14:20 +01:00
Roy-043
6359597341 Arch: make Arch_CutPlane nesting and link aware
Forum topic:
https://forum.freecad.org/viewtopic.php?t=82340
2023-11-10 11:04:27 +01:00
Chris Hennes
954c2fa03f Update translations 2023-11-09 12:23:56 -06:00
Roy-043
b19fed42e3 Arch: start and stop WP view observer
See #11257.
2023-11-08 16:36:31 +01:00
Roy-043
0002729cbf Merge pull request #11280 from Roy-043/Arch-Fix-issue-with-getSceneGraph
Arch: Fix issue with getSceneGraph
2023-11-08 15:30:50 +01:00
Chris Hennes
aaa0db3867 Merge pull request #11231 from DeflateAwning/http-cleanup
Find and replace http://freecad to https://freecad
2023-11-06 11:16:13 -06:00
Roy-043
51fcdc16f9 Arch: Fix issue with getSceneGraph
Same issue as in #8171
2023-11-05 20:48:43 +01:00
Roy-043
951059d192 Arch: fix Placement multiplication for subvolumes
Fixes #11185.

Same problem as in #6617.
2023-10-31 15:42:46 +01:00
DeflateAwning
8de6db3e97 Find and replace http://freecad.org to https://freecad.org
Find and replace:
http:\/\/(.{0,10})freecad
https://$1freecad
Done in all remaining files (after doing it in SVGs in the last commit)
2023-10-29 22:39:22 -06:00
DeflateAwning
c847a3d516 Change http to https in SVGs
Find and replace:
http:\/\/(.{0,10})freecad
https://$1freecad
Include: *.svg
2023-10-29 22:32:59 -06:00
Roy-043
3a396e1ed3 Arch: Updates related to the PlaneGui class (#11153)
Related issue:
#5603.
2023-10-23 18:42:20 +02:00
hasecilu
3b0720c2b2 Shorten string width to 80 characters.
- The string of the some tooltips are very long that use all screen width.
- In other .ui files seems to be a max width of about 80 characters.
- This commit shortens the long strings.
- Also fixes some words capitalization noted by david69 on Crowdin
2023-10-18 09:51:34 +02:00
Victor Predko
f76f842302 File formats: Uppercase file types when importing a file. (#10977)
* Added uppercase extensions for supported formats

In the file App\Application.cpp

* Added file types in upper case

* Adds uppercase file types to the file import filter.

Fixes #10879

* Added filter for *.fcmacro *.fcscript
2023-10-16 14:40:46 -03:00
Yorik van Havre
f474800d94 Arch: Made Arch Reference case-insensitive - issue #10874 2023-10-16 09:25:10 +02:00
Roy-043
7029c6f53e Arch: Fix multiple issues with ImportOBJ.py
Fixes #6187.

Other fixes:
* Made handling of shapes and global placement more consistent.
* Shapes without curves were also triangulated.
* Polygonal faces could have flipped normals and duplicate points.
2023-10-10 16:44:57 +02:00
Roy-043
e72da8abb6 Arch: ArchFrame typos when checking enum values 2023-10-09 13:55:46 +02:00
Roy-043
6440caa038 Arch: Read and write object.Label on Wavefront OBJ import and export
Fixes #5635.
Fixes #5636.
2023-10-09 13:28:55 +02:00
Chris Hennes
5dfd4d5190 Update translations 2023-09-29 22:57:37 -05:00
Roy-043
0a2f47fefd Arch: ArchSectionPlane.getSVG add linespacing argument
Forum topic:
https://forum.freecad.org/viewtopic.php?t=81470
2023-09-25 22:09:41 +02:00
Yorik van Havre
cdbc778513 Arch: fixed leftover in OfflineRenderingUtils 2023-09-25 15:00:26 +02:00
Yorik van Havre
afdbd4c094 Removed the use of SoGui in Arch OfflineRenderingUtils module 2023-09-25 15:00:26 +02:00
wmayer
83d4080fe8 App: fixes #10460: App::PropertyPythonObject is not saving data
Since Py3.11 the methods names __setstate__ and __getstate__ conflict with the method names added to the object class.
Thus rename them to 'loads' and 'dumps'
2023-09-24 10:56:35 -05:00
Yorik van Havre
79211f7efe Arch: Added missing ArchSketchObject to cmake file (#10774) 2023-09-22 16:42:34 +02:00
Yorik van Havre
864026d32b Merge pull request #10741 from Roy-043/Arch-avoid-intersecting-solids-in-windows-and-doors-with-openings
Arch: avoid intersecting solids in windows and doors with openings
2023-09-21 13:51:11 +02:00