Commit Graph

85 Commits

Author SHA1 Message Date
Roy-043
1e36043446 Arch: Fix continue mode for Arch_Panel and Arch_Structure.
See #13378.
2024-04-16 15:04:00 +02:00
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
Roy-043
76bdb13f1d Arch: Updates related to the PlaneGui class (#11153)
Related issue:
#5603.
2023-10-23 18:42:20 +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
c868940cf1 Draft: Std_TransformManip should not be called from setEdit (#9375)
The object then seems to be put into edit mode twice (?) and Esc will not cancel the command.
2023-05-07 09:57:10 +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
luzpaz
e7ced1f7cb Arch: linting multiple imports on one line (#9281) 2023-04-18 16:23:44 +02:00
Artyom V. Poptsov
ed343317d4 ArchPanel: Remove "utf8_decode=True" from "translate" calls (#9279)
* src/Mod/Arch/ArchPanel.py: Remove deprecated "utf8_decode=True" from
  "translate" calls.
2023-04-18 16:18:01 +02:00
Roy-043
62ad1fd3a9 [Arch] Remove obsolete code related to the Drawing WB 2023-04-02 19:30:10 +02:00
Roy-043
172f6c17a7 Arch: improve context menus (rebase) 2023-01-12 22:54:09 +01:00
Roy-043
7e0550a7c8 Arch: Housekeeping: import translate from correct file 2022-07-21 10:17:03 +02:00
oriond
3163bebf79 Arch Fixes Trapezoidal Wave Width on Arch Panels 2022-03-20 20:22:54 -07:00
marioalexis
251a9bd276 Arch: Replace Drawing functions with TechDraw functions 2022-02-21 13:17:09 -03:00
Roy
d2976cd9e6 Arch: Fix translation issues 2022-01-10 10:26:08 +01:00
Alex Young
80dbfd5814 Arch: removes unused imports
Removes unused imports as reported by LGTM.

There are exceptions: `import Arch_rc` is shown as an alert, but has side effects.  It's not clear what the best thing to do in those cases is, so I've left them for now.
2021-02-14 16:27:06 +00:00
Chris Hennes
9d1958475e [ARCH] Catch only Exception, not BaseException 2021-02-11 11:52:45 +01:00
luz paz
058e54a5b7 Arch: Fix LGTM warning of missing param for translate() in ArchPanel.py
Even though this is ignored per the docs[1], LGTM complains[2] about it. This commit adds the superfluous param. Note: there is precedent in ArchReference.py[3] and ArchWall.py[4].
 
 [1]https://github.com/FreeCAD/FreeCAD/blob/master/src/Mod/Draft/draftutils/translate.py#L73-L78  
[2] 17db14c970/files/src/Mod/Arch/ArchPanel.py (L32)  
[3] 50f5c6ef9a/src/Mod/Arch/ArchReference.py (L39)  
[4] 50f5c6ef9a/src/Mod/Arch/ArchWall.py (L42)
2021-02-03 10:28:21 -05:00
Yorik van Havre
f1d9c795ed Arch: Fixed non-workng Panel tools 2021-01-12 15:10:16 +01:00
luz paz
ccf30d98d2 Arch: Fix header uniformity and remove trailing whitespace 2020-11-16 14:51:53 +01:00
vocx-fc
fcc9a68f8e Arch: use new name of the icon Part_3D_object
It is defined in the Part Workbench. Before, it was called `Tree_Part`.
2020-10-22 15:11:45 +02:00
John Yani
73d247d245 [Arch] ViewProviderPanelSheet: Too many arguments
setProperties was called incorrectly
2020-09-08 16:14:22 +02:00
vocx-fc
1fb5408694 Arch: use the new Draft trackers module
Previously it was `DraftTrackers.py`.
Now we import the trackers from `draftguitools/gui_trackers.py`.
2020-03-31 12:09:25 +02: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
Zheng, Lei
ef5acc5023 Arch: relax Part::Feature type checking
For supporting Link inside Arch.
2019-11-17 13:03:42 -03:00
Sören Rohweder
44be21d1ac Arch: Fixes PanelCut action 2019-11-01 17:39:45 -03:00
luz.paz
f53ef01d94 Arch: use string operator instead of numeric LGTM fix 2019-10-25 10:23:24 -03:00
Bernd Hahnebach
bdf1abacc7 Arch: make new property to use shape color instead of material color working for all Arch objs 2019-08-14 21:41:47 +02:00
Yorik van Havre
e0935f2a2e Arch: panel layers with negative thickness are not drawn 2019-07-09 12:06:59 -03:00
Yorik van Havre
506cfd9bd2 Arch: Renamed property IfcRole to IfcType 2019-04-09 15:53:01 -03:00
Yorik van Havre
4ea3508967 Arch: Wall, structure, window and panel tools now remember and keep last used values 2019-03-28 17:02:54 -03:00
Yorik van Havre
f048df5c6f Arch: Fixed remaining encoding problems - issue #3827 2019-02-19 20:03:51 -03:00
luz.paz
745f0cb3b4 Crowdin: Continuing to refine translation strings 2019-02-11 16:22:12 +01:00
Yorik van Havre
86d8372056 Misc translation fixes from https://forum.freecadweb.org/viewtopic.php?p=281670 2019-01-23 18:20:43 -02:00
luz.paz
3fb71fbe2a [For v0.18] Crowdin fixes
https://crowdin.com/translate/freecad/568/en-en#1172237
https://crowdin.com/translate/freecad/568/en-en#1172239
https://crowdin.com/translate/freecad/568/en-en#195053
https://crowdin.com/translate/freecad/568/en-en#1172247
https://crowdin.com/translate/freecad/568/en-en#1172249
https://crowdin.com/translate/freecad/568/en-en#1172251
https://crowdin.com/translate/freecad/6766/en-en#6511058
https://crowdin.com/translate/freecad/6766/en-en#6511060
https://crowdin.com/translate/freecad/6766/en-en#6502381
+ random typo fixes
2019-01-13 02:24:50 +01:00
Yorik van Havre
88f47ee725 Fixed coverity issues
169009 Bad use of null-like value
169005 Bad use of null-like value
169003 Bad use of null-like value
169000 Bad use of null-like value
168998 Bad use of null-like value
168996 Structurally dead code
2018-11-20 12:37:32 -02:00
Yorik van Havre
9fe21eabb0 Arch: bugfix in PanelCut 2018-10-03 16:37:28 -03:00
Yorik van Havre
fbba2abfe9 Arch: Added a CutOffset property to PanelCut object to be able to move the cut plane 2018-10-03 16:04:01 -03:00
Yorik van Havre
a1faed3449 Arch: using basic object names for all arch objects 2018-07-07 14:40:10 -03:00
Yorik van Havre
0bae245b26 Arch: separate properties creation in own methods and check properties at file load 2018-06-01 19:36:35 -03:00
Yorik van Havre
63794fcefd Arch: Renamed Role property to IfcRole 2018-05-11 12:01:55 -03:00
Yorik van Havre
34ba3d8f3c Arch: All Arch objects can now have any IFC type(role) 2018-05-10 10:42:06 -03:00
Yorik van Havre
d49a194279 Arch/Draft: Make sure an active doc exists before creating objects 2018-05-08 16:07:55 -03:00
Yorik van Havre
00a16927bd Arch: Optimized Arch panel waves generation 2018-05-07 10:41:17 -03:00
looooo
cdcb3bec4a PySide2: qApp -> QApplication 2018-04-14 10:40:31 +02:00
Yorik van Havre
bbdab351ac Arch: bugfix in Panel in non-GUI mode 2017-12-16 10:06:11 -02:00
Markus Lampert
2f47422fdb Create Scale property on the fly if older Arch.PanelSheet is loaded. 2017-10-22 11:24:58 -07:00
Yorik van Havre
c1be7a7f31 Arch: Fixed small bug in arch panel 2017-08-12 12:39:08 -03:00
Markus Lampert
f457280fa2 Fixed wire transformation for scales other than 1. 2017-07-31 16:40:46 -03:00
Yorik van Havre
aae02f8a7c Arch: looo's fix in nester 2017-07-20 10:29:15 -03:00