Commit Graph

73 Commits

Author SHA1 Message Date
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
Yorik van Havre
985d882007 Arch: Nester optimizations 2017-07-18 17:55:44 -03:00
Yorik van Havre
05461121c8 Arch: Initial Nest command 2017-07-18 17:55:44 -03:00
Markus Lampert
95f869a272 Added Scale to PanelSheet. 2017-07-12 10:37:31 -07:00
Yorik van Havre
7deef8fb82 Arch: Added wood grain properties to Panel Sheets 2017-06-27 13:15:39 -03:00
Yorik van Havre
175080ec8b Arch: Added MakeFace property to pnel cuts and sheets 2017-06-27 00:53:00 -03:00
looooo
10866d38d3 py3: Draft: string / unicode:
issue 0000995
- use optional argument to get unicode from translation in python2
- add a utf8_decode function to get unicode from string, bytes, unicode
2017-06-20 12:18:01 +02:00
Yorik van Havre
bccb7372fe Arch: Fixed error in DXF export of Arch Panel sheets 2017-05-20 12:24:08 -03:00
Yorik van Havre
f264f0fd41 Arch Multimaterial 2017-05-03 11:52:24 -03:00
Yorik van Havre
a3c0606530 Arch: Support for Panels based on other shapes in PanelCut 2017-04-16 13:13:14 -03:00
sliptonic
c8c258aa28 Path: Several small bugs related to Arch Panel support in Path.
Sheet tag placement not including the sheet offset
contour not using sheet attributes
Engraving not using sheet attributes
Profile not using transform.
2017-03-21 15:04:53 -05:00
sliptonic
8fa768889b Path: additional functionality for arch panels 2017-03-21 10:27:51 -03:00
Yorik van Havre
0136dcc5d4 Arch: fixed bug in panel tools 2017-03-17 20:39:35 -03:00