Commit Graph

110 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
Yorik van Havre
68dc92f38b Merge pull request #9687 from Roy-043/Arch-more-consistent-object-naming-and-labelling
Arch: more consistent object naming and labelling
2023-05-30 15:18:00 +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
Yorik van Havre
36ab18c346 Arch: removed 'object' from command tooltips - fixes FreeCAD-translations/#221 2023-05-22 15:13:16 +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
Chris Hennes
17e44e2947 Arch: Fix translation context for Stairs 2023-04-20 15:28:31 -05:00
luzpaz
69d03ffc79 Arch: fix linting for ArchStairs.py (#9276)
* Arch: fix linting for ArchStairs.py

Fix bad indentation

* Arch: fix linting for ArchStairs.py (cont.)

Fixed long line, superflous parathesis, and formatting
2023-04-18 16:15:35 +02:00
Roy-043
f713036c24 [Arch] fix Arch_Stairs stringer code (#8639) 2023-02-25 00:43:46 +01:00
Roy-043
42ab4750e7 [Arch] Arch_Stairs TreadDepth was based on unprojected edge (#8613) 2023-02-24 11:01:45 +01:00
Roy-043
2c191f74c7 [Arch] Arch_Stairs fix for #8444 (#8518)
- Recompute should not be called from onDocumentRestored. It causes issues when updating complex stairs.
2023-02-16 21:09:06 +01:00
Roy-043
14da2ac92b [Arch] Allow Arch_stairs with 2 steps (#8515)
- Fixes #7050
2023-02-16 20:56:22 +01:00
luzpaz
d54efb42b3 Arch: fix incorrect indentation in ArchStairs.py (#8475) 2023-02-14 11:22:04 +01:00
Roy-043
5e0a8dd4ac [Arch] fix Arch_Stairs recompute issue (#8444)
* [Arch] fix Arch_Stairs recompute issue

* Fixed the tooltips for the updated properties.

* Added warnings to the functions that updated the properties.

* Fixed a typo makeCurvedStairsWithLandings -> makeCurvedStairsWithLanding
2023-02-13 21:11:52 +01:00
luzpaz
6babde5845 Crowdin: fix string in Arch/ArchStairs.py
Props to david69 in https://crowdin.com/translate/freecad/6766/en-fr#6605247:drl:44875:david69
2023-01-07 20:07:57 +01:00
wmayer
47cfb7569c Arch: replace tabs with spaces 2022-11-18 11:47:17 +01:00
luz paz
e2a81c8674 Arch: remove trailing whitespace 2022-11-17 23:54:03 +01:00
Roy-043
7e0550a7c8 Arch: Housekeeping: import translate from correct file 2022-07-21 10:17:03 +02:00
Chris Hennes
6391bebeb8 [Arch] Fix LGTM warnings 2021-09-28 10:29:45 -05:00
luz paz
b94ee8b275 Crowdin: represent whitespace in code instead of in string [skip ci]
Removing possible whitespace from strings lead to more accurate translations
2021-04-19 06:16:09 -04:00
Yorik van Havre
c18d98a60d Merge pull request #4299 from three-ddd/archstairs_connections_flight_landing
[0.20] [Arch] connections between stair flight and landing
2021-03-30 13:17:24 +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
three_d
10ec3016ef Update ArchStairs.py 2021-01-22 19:09:18 +01:00
three_d
193caf07f7 Arch: connections between stair flight and landing
Added some features to allow the user to change the types of connections between the flight of stairs and landing.
This issue is discussed in the forum thread: https://forum.freecadweb.org/viewtopic.php?f=22&t=53018
2021-01-21 18:41:23 +01: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
Zheng, Lei
ef5acc5023 Arch: relax Part::Feature type checking
For supporting Link inside Arch.
2019-11-17 13:03:42 -03:00
luz.paz
f53ef01d94 Arch: use string operator instead of numeric LGTM fix 2019-10-25 10:23:24 -03:00
luz.paz
7a1f98fda1 Misc. source comment typo and whitespace fixes 2019-05-06 13:42:30 +02:00
Yorik van Havre
506cfd9bd2 Arch: Renamed property IfcRole to IfcType 2019-04-09 15:53:01 -03:00
paullee0
4e35701577 Add RiserThickness feature
Mantis
  https://freecadweb.org/tracker/view.php?id=0003816

Discussion
  https://forum.freecadweb.org/viewtopic.php?f=23&t=29358&start=120#p298162
2019-04-04 11:08:04 -03:00
luz.paz
a703ae39d3 More misc. typos 2019-03-31 11:42:37 +02:00
paullee0
8ceaab78fc Fix to Build Curve Segment Railing Wire To Follow Curve Landing
Limited by makePipeShell, curvilinear railing still usually has problems to be created

Discussions:-

https://forum.freecadweb.org/viewtopic.php?f=23&t=29358&sid=bfd05589642577079096cd8879b7a88f&start=120#p285656
https://forum.freecadweb.org/viewtopic.php?f=22&t=34081#p285607
https://forum.freecadweb.org/viewtopic.php?f=23&t=29358&start=110#p284683
2019-03-19 14:16:05 -03:00
paullee0
8af522df52 Revert "Build Curve Segment Railing Wire To Fit Landing"
This reverts commit e5989280bb8aeb73b73483c0c74d019bdb1116d6.
2019-03-19 14:16:05 -03:00
paullee0
1198f11a0b Build Curve Segment Railing Wire To Fit Landing
Limited by makePipeShell, curvilinear railing usually has problems to be created

Discussions:-
https://forum.freecadweb.org/viewtopic.php?f=23&t=29358&start=110#p284683
https://forum.freecadweb.org/viewtopic.php?f=22&t=34081#p285607
2019-03-19 14:16:05 -03:00
paullee
4ffd00e520 Fix Right Align Railing Offset Bug 2019-02-06 10:13:37 -02:00
luz.paz
b1b81f6df3 Crowdin: Arch/ArchStairs.py missing paranthesis fix 2019-01-30 11:08:03 -02: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
paullee
ba4520d259 Curvilinear Landing based on underlying curve edges supported; found sortEdges() 'problem'
Discussion:-
https://forum.freecadweb.org/viewtopic.php?f=23&t=29358&start=100#p277409
2019-01-02 17:26:34 -02:00
paul
2246e73488 Fix another 2 missing parentheses 2018-12-03 10:30:08 -03:00
Yorik van Havre
78338e6e19 Fixed py3 sntax errors 2018-12-03 10:30:08 -03:00
paullee
55474651ab Some methods become Static, returnOutlines() become more generic purpose etc. 2018-12-03 10:30:08 -03:00
paullee
b3c49686da Fix Typo - vbaseFollowLastSement --> vbaseFollowLastSegment 2018-12-03 10:30:08 -03:00
Yorik van Havre
31b896ad07 Fixed coverity issues
184298 Bad use of null-like value
183849 Bad use of null-like value
183846 Bad use of null-like value
183845 Copy-paste error
183844 Bad use of null-like value
2018-11-19 19:17:56 -02:00
Yorik van Havre
61bc405586 Arch: Fixed py3 errors in IFC export 2018-11-08 17:23:06 -02:00
paullee
deedc12ee0 Tweak makeRailing(None) to (re)-create Railing and insert back to Stairs.Additions
Discussion:-

https://forum.freecadweb.org/viewtopic.php?f=23&t=29358&p=260767#p260767
2018-10-07 13:48:33 -03:00
paullee
88e8e3131a Default Stairs (i.e. without Base Dwire etc.) also have Railings created
Discussion:-

https://forum.freecadweb.org/viewtopic.php?f=23&t=29358&sid=55d32dc42111afa6c7fdf7b0fc0f3ab7&start=90#p260764
2018-10-07 13:48:33 -03:00
paul
7b2cd33048 Merge pull request #1 from luzpaz/ArchStairs_Improvement_9
Typo fix for Archstair_Improvement9
2018-10-07 13:48:33 -03:00
paullee
644d763ea0 ArchPipe objects named as "Rail"
Discussion:
https://forum.freecadweb.org/viewtopic.php?f=23&t=29358&p=259085#p259085
b68934e550 (diff-fb9ac48ea14ab86d0e964fee1f4e4838)
2018-09-28 13:18:40 -03:00