Commit Graph

35 Commits

Author SHA1 Message Date
Roy-043
be03a9cebf 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
Yorik van Havre
ec9099ae17 Arch: Made Arch Reference case-insensitive - issue #10874 2023-10-16 09:25:10 +02:00
wmayer
ef9936a940 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
Roy-043
c409d3b788 Arch: Avoid dictionary.keys() where possible (#10159) 2023-08-13 11:46:51 +02:00
Roy-043
e53e488999 Arch: Arch_Reference: task panel layout was added incorrectly (#9700) 2023-05-31 09:27:17 +02:00
Roy-043
2986e91b6c Arch: more consistent object naming and labelling
Following the example of Arch_Wall:
- Fixed object name.
- Default label is translatable.
- Name argument should only be used for the label and not be translated.
2023-05-28 15:58:54 +02:00
Roy-043
53c2a87bd3 Arch: Fix ArchReference (broken after #9316) (#9685) 2023-05-28 15:26:16 +02:00
luzpaz
38a01939e0 Migrate domain name from freecadweb to freecad (#9352)
* Migrate domain name from freecadweb to freecad
* Migrate src/Mod/Material files
* Migrate Stylesheet related files
* Migrate *.svg files
* Migrate miscellaneous files
* Migrate some build files
* Migrate recently added TD AR_IRAM template files

Closes #6415
2023-04-24 15:19:20 -05:00
Roy-043
8ecce37277 [Arch] remove obsolete decode code (#9316)
* Update ArchCommands.py

* Update ArchPanel.py

* Update ArchReference.py

* Update ArchWall.py

* Update import3DS.py

* Update importDAE.py

* Update importIFClegacy.py

* Update importOBJ.py

* Update importSHP.py

* Update importSHP.py

Reverted

* Update importSH3D.py
2023-04-19 15:58:06 +02:00
Roy-043
172f6c17a7 Arch: improve context menus (rebase) 2023-01-12 22:54:09 +01:00
Uwe
04570f81cc [Arch] remove unneeded checks for Python 3
since we only support Python >=3, these checks can go
2022-08-04 01:32:06 +02:00
Roy-043
7e0550a7c8 Arch: Housekeeping: import translate from correct file 2022-07-21 10:17:03 +02:00
Uwe
32ab100ed5 Mod: remove some superfluous Boolean checks (#7213)
* Mod: remove some superfluous Python Boolean checks
2022-07-19 01:35:12 +02:00
Chris Hennes
6391bebeb8 [Arch] Fix LGTM warnings 2021-09-28 10:29:45 -05:00
Chris Hennes
c5491d64e2 Arch: LGTM - don't catch BaseException 2021-09-19 14:36:12 -05:00
Yorik van Havre
352fa25167 Arch: Added option to references to fuse the base objects by material 2021-09-02 12:21:29 +02:00
luz paz
ccf30d98d2 Arch: Fix header uniformity and remove trailing whitespace 2020-11-16 14:51:53 +01:00
luz.paz
8af8689d73 Arch: [skip ci] fix header uniformity
This PR fixes header uniformity across all Arch files
2019-12-26 18:24:06 +01:00
Yorik van Havre
8932d9296e Arch: Lightweight mode for Arch References 2019-07-11 19:37:10 -03:00
Yorik van Havre
30c251e956 Arch: Fixed multiple documents open bug in Reference object 2019-01-22 00:11:11 -02:00
Yorik van Havre
faf9c5bcac Arch: Fixed Reference object that cannot be deleted 2019-01-08 15:44:45 -02:00
Yorik van Havre
d05d2c5da4 Arch: Fixed wrong movement of references on reload 2019-01-07 11:19:32 -02:00
Yorik van Havre
b1e3ad9015 Arch: Small refactor in arch reference 2018-12-19 12:29:34 -02:00
Yorik van Havre
596655e3e7 Arch: more thorough file search in arch references 2018-12-18 21:49:27 -02:00
Yorik van Havre
ab8a39698b Arch: small optimization in Arch Reference 2018-12-10 19:41:02 -02:00
Yorik van Havre
48497ebb1a Arch: Ability to unload shape of Arch References 2018-12-10 19:33:08 -02:00
Yorik van Havre
d729548a82 Arch: minor bugfix in arch reference 2018-12-07 14:27:18 -02:00
Yorik van Havre
1ca6e57259 Arch: Refactored file detection code in Arch References 2018-11-29 11:13:31 -02:00
Yorik van Havre
a7386adf46 Arch: Reference object now uses file in current dir if not found in stored path 2018-11-28 16:50:13 -02:00
Yorik van Havre
cec4fd1012 Arch: Finished implementing color support for Arch Reference 2018-10-28 13:57:05 -03:00
Yorik van Havre
87c034f666 Arch: Support part colors in Reference 2018-10-28 13:57:05 -03:00
Markus Lampert
4e62302aa3 Cleaning up startEditing/finishEditing/isEditing 2018-10-05 11:30:45 +02:00
Yorik van Havre
17b00b3aca Arch: bugfixes in reference tool 2018-10-01 18:36:29 -03:00
Yorik van Havre
bb89d424d4 Arch: Finished base implementation of Reference object 2018-09-29 16:41:42 -03:00
Yorik van Havre
f1e480414c Arch: Started implementing Arch Reference 2018-09-29 16:41:42 -03:00