Commit Graph

85 Commits

Author SHA1 Message Date
Roy-043
5e67755b4f Multiply textheight by DefaultAnnoScaleMultiplier 2024-01-18 15:43:15 +01: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
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
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
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
luzpaz
e7ced1f7cb Arch: linting multiple imports on one line (#9281) 2023-04-18 16:23:44 +02:00
Yorik van Havre
dc32d7985e Arch: Removed six module 2023-02-24 13:15:46 +01:00
Roy-043
172f6c17a7 Arch: improve context menus (rebase) 2023-01-12 22:54:09 +01:00
Chris Hennes
a64fef50bc Arch: Remove Py2 code 2022-11-09 14:08:54 +01: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
Dirk Olbrich
471db079bb [Arch] split ArchAxis into separate modules
- remove unused import from resulting ArchAxisSystem and ArchGrid
- move inline imports to file import block
2022-01-22 17:00:01 +01:00
Roy
d2976cd9e6 Arch: Fix translation issues 2022-01-10 10:26:08 +01:00
Yorik van Havre
b64b3be330 Arch: Fixed display of axis bubbles and texts on DXF export and Techdraw pages 2021-12-16 15:55:58 +01:00
Chris Hennes
6391bebeb8 [Arch] Fix LGTM warnings 2021-09-28 10:29:45 -05:00
Yorik van Havre
1eab74ef4d Arch: Fixed wrong numbering in arch axis in section mode 2021-07-16 12:22:15 +02:00
Yorik van Havre
74a46e6b95 Arch: Added arrow and bar bubble modes to Arch Axis object 2021-05-31 14:14:46 +02: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
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
carlopav
6731ade086 Arch: touch Axis when key property change
This allow experimental wall to auto align to the new axis position.
2020-07-23 13:54:18 +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
luz.paz
f53ef01d94 Arch: use string operator instead of numeric LGTM fix 2019-10-25 10:23:24 -03:00
cclauss
361c44c6dc Unicode fixes for Python3 2019-03-17 20:58:00 +01:00
Yorik van Havre
23cf81cd51 Arch: Axis can now be referenced in sketches 2019-01-18 17:40:50 -02:00
Yorik van Havre
3d8d9c4b94 Arch: Fixed default axis bubble size 2018-11-22 14:25:37 -02:00
Yorik van Havre
3956cee0ac Arch: Fixed buggy import/export of 2D objects to IFC 2018-11-09 16:56:59 -02:00
Yorik van Havre
d2089999e0 Draft: Export of Arch Axes to DXF 2018-11-07 12:38:07 -02:00
Clemens Weissbacher
b6bafdf995 py3: Arch: fix TypeError exception 2018-11-04 14:51:38 -03:00
Yorik van Havre
42384e1a58 Arch: Added preference option for screen helpers color (axes, grids, etc...) 2018-07-25 10:56:12 -03:00
Yorik van Havre
15cba18170 Arch: Fixed bug in display of axis systems 2018-07-18 21:39:11 -03:00
Yorik van Havre
0682a66376 Arch: Support for IfcGrid 2018-07-16 17:21:17 -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
d49a194279 Arch/Draft: Make sure an active doc exists before creating objects 2018-05-08 16:07:55 -03:00
luz.paz
92ae691974 Revert changes per yorik 2018-04-17 10:16:28 -03:00
luz.paz
1d04002c3b Arch: translation fixes
Adding Arch WB translation string corrections/refinements
2018-04-17 10:16:28 -03:00
Yorik van Havre
c40939683a Arch: Small bugfix in Axis position 2018-03-16 17:21:14 -03:00
luz.paz
de0ca700d5 Arch: move \n out of translation strings 2018-02-11 20:06:22 +01:00
luzpaz
a225b13bef Misc. typos
- Tooltip uniformity 
- source comment typo fixes
- remove double whitespaces
2017-11-24 09:45:08 -02:00
Yorik van Havre
5acfb54179 Arch: Grid command 2017-08-30 23:11:47 -03:00
Yorik van Havre
7525375efe Arch: Allow Arch objects to be arrayed if their Axis property is set 2017-06-06 19:30:26 -03:00
Yorik van Havre
7fc56ca973 Arch: Added Axis System 2017-06-05 20:06:01 -03:00
Yorik van Havre
34f060689d Arch: Allow axes to have labels 2017-06-05 18:08:54 -03:00
wmayer
50dc459d42 remove UnicodeUTF8 2016-12-27 19:31:25 +01:00
wmayer
c3fe2de155 replace Part.Line with Part.LineSegment 2016-11-30 21:25:18 +01:00
Yorik van Havre
bf0d37bf28 Doc: Fixes in doxygen docs for Draft,Arch, FEM 2016-11-17 17:04:09 -02:00
Yorik van Havre
210455d7db Made Arch objects properties translatable - issue #2524 2016-10-07 21:37:15 -03:00
Yorik van Havre
f40758eba9 removed translation from property descriptions (wrong to do it there anyway) - issue #2524 2016-05-18 16:59:15 -03:00
Yorik van Havre
e159838cd5 Arch: improvements to Axis - fixes #2138
* Fixed small bugs
* More options to position the bubble (start, end or both)
* Properties for text size and font
2015-12-21 12:21:31 -02:00