Commit Graph

41 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
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
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
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
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
506cfd9bd2 Arch: Renamed property IfcRole to IfcType 2019-04-09 15:53:01 -03:00
luz.paz
745f0cb3b4 Crowdin: Continuing to refine translation strings 2019-02-11 16:22:12 +01:00
Yorik van Havre
97932a25bc Arch: Building now derives from BuildingPart 2018-07-13 10:23: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
d49a194279 Arch/Draft: Make sure an active doc exists before creating objects 2018-05-08 16:07:55 -03:00
luz.paz
f18e217a64 Arch: Residual trailing \n chars removed from translate() 2018-04-17 10:16:28 -03:00
Yorik van Havre
009859ddf3 Draft: AutoGroup system 2017-01-25 14:55:14 -02: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
Jonathan Wiedemann
409a93b1c5 Move printMessage in ArchCommands.
Messages are translatable.
2016-07-24 19:57:23 -03:00
Jonathan Wiedemann
3b5edef72d 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
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
9c8d3bd4cf Arch: Added more properties needed for green buildings 2015-03-21 12:08:05 -03:00
wood galaxy
496ec111fd Arch : Internal object name are in English.
Arch objets Label could be translated.
2015-01-05 13:13:45 -02:00
wood galaxy
6e16197ffe Arch: Fixed building label 2015-01-05 13:13:45 -02:00
Yorik van Havre
5dbb3fb803 Used Gui.addModule() instead of import in Draft & Arch 2014-08-05 19:38:40 -03:00
Yorik van Havre
b9d96464be Arch: Fixed bugs when working without GUI 2014-07-17 19:58:22 -03:00
Johannes Reinhardt
9d0b571113 deactivate commands in Arch if no document is open 2014-05-21 17:09:02 +02:00
Yorik van Havre
5652a14f0e Arch now works in console mode - fixes #1362 2014-01-26 20:13:50 -02:00
Yorik van Havre
b3fc7b7a78 Fixed translation system in Arch & Draft 2014-01-07 11:17:31 -02:00
Yorik van Havre
d9a15adf33 Switch to PySide (+ Arch, Draft & Start) 2014-01-06 13:26:49 -02:00
Yorik van Havre
4005b199e0 0001102: Updated all links to old freecad homepage and wiki to the new ones 2013-09-15 17:04:42 -03:00
wmayer
dfde842e7c 0000740: work bench initiation from in fcstd file 2012-06-09 11:50:02 +02:00
Yorik van Havre
f312e9585d Arch: more bugfixing 2012-06-04 18:08:10 -03:00
Yorik van Havre
d88813d52b Arch: Adapted all other tools to doCommand() + translatable 2012-05-31 12:30:20 -03:00
Yorik van Havre
7530e224eb Made Arch groups able to receive drops from the tree 2012-05-19 18:18:02 -03:00
Yorik van Havre
6635c35b98 Arch groups now use DocumentObjectGroupPython 2012-04-18 18:03:33 -03:00
Yorik van Havre
f6fcfa8f05 + 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
4918fd32f1 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