Commit Graph

41 Commits

Author SHA1 Message Date
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
cca6f4c3e7 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
129d5882a7 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
bc1f217664 Arch: linting multiple imports on one line (#9281) 2023-04-18 16:23:44 +02:00
Roy-043
bafe141745 Arch: Housekeeping: import translate from correct file 2022-07-21 10:17:03 +02:00
Uwe
3a50f95be4 Mod: remove some superfluous Boolean checks (#7213)
* Mod: remove some superfluous Python Boolean checks
2022-07-19 01:35:12 +02:00
Alex Young
79449b8ce9 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
luz paz
67381e9579 Arch: Fix header uniformity and remove trailing whitespace 2020-11-16 14:51:53 +01:00
luz.paz
8fb5c65736 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
624e20e9a2 Arch: Renamed property IfcRole to IfcType 2019-04-09 15:53:01 -03:00
luz.paz
112f3de671 Crowdin: Continuing to refine translation strings 2019-02-11 16:22:12 +01:00
Yorik van Havre
c6b3949704 Arch: Building now derives from BuildingPart 2018-07-13 10:23:01 -03:00
Yorik van Havre
5f63a7764b Arch: using basic object names for all arch objects 2018-07-07 14:40:10 -03:00
Yorik van Havre
e49a5af3ae Arch: separate properties creation in own methods and check properties at file load 2018-06-01 19:36:35 -03:00
Yorik van Havre
c360263582 Arch/Draft: Make sure an active doc exists before creating objects 2018-05-08 16:07:55 -03:00
luz.paz
25b58a1a8c Arch: Residual trailing \n chars removed from translate() 2018-04-17 10:16:28 -03:00
Yorik van Havre
9a6191f572 Draft: AutoGroup system 2017-01-25 14:55:14 -02:00
Yorik van Havre
af97583026 Doc: Fixes in doxygen docs for Draft,Arch, FEM 2016-11-17 17:04:09 -02:00
Yorik van Havre
dabccc40b6 Made Arch objects properties translatable - issue #2524 2016-10-07 21:37:15 -03:00
Jonathan Wiedemann
41307ef5a1 Move printMessage in ArchCommands.
Messages are translatable.
2016-07-24 19:57:23 -03:00
Jonathan Wiedemann
7425394df9 Arch: Fix Site, Building, Floor objects creation
-New param : GetBool("FreeLinking",False), unavailable in pref see
parameters
-by default :
allow create Site on Building only
deny create Building on Site or Building
deny create Floor on Site, Building,Floor
-option:
allow create and linking what you want (until non-DAG)
2016-07-24 19:57:23 -03:00
Yorik van Havre
e6dd3488ff removed translation from property descriptions (wrong to do it there anyway) - issue #2524 2016-05-18 16:59:15 -03:00
Yorik van Havre
6fb4a7d6f4 Arch: Added more properties needed for green buildings 2015-03-21 12:08:05 -03:00
wood galaxy
95c0fe3a84 Arch : Internal object name are in English.
Arch objets Label could be translated.
2015-01-05 13:13:45 -02:00
wood galaxy
5657eed566 Arch: Fixed building label 2015-01-05 13:13:45 -02:00
Yorik van Havre
46583f2960 Used Gui.addModule() instead of import in Draft & Arch 2014-08-05 19:38:40 -03:00
Yorik van Havre
eea27448e9 Arch: Fixed bugs when working without GUI 2014-07-17 19:58:22 -03:00
Johannes Reinhardt
4a6449d2bd deactivate commands in Arch if no document is open 2014-05-21 17:09:02 +02:00
Yorik van Havre
69cc7ec901 Arch now works in console mode - fixes #1362 2014-01-26 20:13:50 -02:00
Yorik van Havre
19865c252b Fixed translation system in Arch & Draft 2014-01-07 11:17:31 -02:00
Yorik van Havre
1d709ade42 Switch to PySide (+ Arch, Draft & Start) 2014-01-06 13:26:49 -02:00
Yorik van Havre
42fdbefc54 0001102: Updated all links to old freecad homepage and wiki to the new ones 2013-09-15 17:04:42 -03:00
wmayer
0bf33b6466 0000740: work bench initiation from in fcstd file 2012-06-09 11:50:02 +02:00
Yorik van Havre
8a92115ec6 Arch: more bugfixing 2012-06-04 18:08:10 -03:00
Yorik van Havre
2a3ff10d84 Arch: Adapted all other tools to doCommand() + translatable 2012-05-31 12:30:20 -03:00
Yorik van Havre
30cdaf8943 Made Arch groups able to receive drops from the tree 2012-05-19 18:18:02 -03:00
Yorik van Havre
05823711ac Arch groups now use DocumentObjectGroupPython 2012-04-18 18:03:33 -03:00
Yorik van Havre
3badfeea98 + changed Arch module license block to LGPL
+ removed express schema file from Arch sources due to license
+ added explanations in Arch settings for the user to get one himself
2012-01-03 20:46:55 -02:00
Yorik van Havre
b8bcb43b66 fixed bug #556 - Premature loading of modules
The Draft and Arch modules now load heavy modules such
as Part or Sketch only when they use them, not anymore
at Init time.
2011-12-31 17:16:51 -02:00
yorikvanhavre
2cf72ff194 + fixed remaining filename issues in Arch
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5319 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-17 13:07:38 +00:00
yorikvanhavre
24a9ff2374 + standardizing Arch module filenames
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5282 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-12 18:34:28 +00:00