Commit Graph

39 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
71fefee256 Arch: Removed Undefined IFC type - fixes #8774 2023-06-13 14:03:11 +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
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
Roy-043
9a52d0bf02 Arch: Fix Arch_PipeConnector for pipes with wall thickness 2022-03-02 16:19:54 +01:00
Roy
d2976cd9e6 Arch: Fix translation issues 2022-01-10 10:26:08 +01:00
Yorik van Havre
4c1635706e Merge pull request #4453 from regularfry/lgtm-arch-unused-imports
Arch: removes unused imports
2021-03-26 11:22:11 +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
Roy-043
61269c45c7 [Arch] Fix for ArchPipe: getProfile returned Shape instead of Wire
Fix for ArchPipe: getProfile returned Shape instead of Wire
2021-02-11 21:13:36 +01: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
Yorik van Havre
870ba0c545 Arch: Fixed Pipe positioning 2020-05-18 15:24:08 +02:00
Bernd Hahnebach
1e9b91206d Arch: pipe, fix ifc type for ifc 2x3 2020-05-04 11:12:26 +02:00
Yorik van Havre
8f2c4e4d6a Arch: Added Wall Thickness property to Arch Pipes 2020-04-08 18:45:51 +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
carlopav
cae1f77433 [Arch] Pipe : correctly orient profile on bezier curves
Added a small fix to correctly take into account the profile orientation when base object is a bezier curve. Should be useful for electrical wires and flexible pipe design.
2019-07-02 20:04:47 -03:00
Yorik van Havre
506cfd9bd2 Arch: Renamed property IfcRole to IfcType 2019-04-09 15:53:01 -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
luz.paz
9167064fc1 Misc. typos
Found via `codespell`
2018-04-25 09:41:33 -03:00
luz.paz
1d04002c3b Arch: translation fixes
Adding Arch WB translation string corrections/refinements
2018-04-17 10:16:28 -03:00
luz.paz
de0ca700d5 Arch: move \n out of translation strings 2018-02-11 20:06:22 +01:00
Yorik van Havre
954289e2ef Arch: Gave small tolerance to pipe connectors in case their baselines don't join exactly 2017-07-06 17:43:13 -03:00
Kunda
088800576f Profiles for Arch pipes (fixes issue #2954)
Submitting this PR for user simsiem
MantisBT ticket #2954
Forum thread: https://forum.freecadweb.org/viewtopic.php?f=3&t=21079
2017-03-15 10:34:25 -03:00
Yorik van Havre
009859ddf3 Draft: AutoGroup system 2017-01-25 14:55:14 -02:00
wmayer
c3fe2de155 replace Part.Line with Part.LineSegment 2016-11-30 21:25:18 +01:00
Yorik van Havre
8cf706e1f1 Arch: fixed makePipe to return the pipe 2016-11-29 11:41:10 -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
0b2c1fe83f Arch: massive rewrite of extrusion-based Arch objects and IFC export 2016-10-27 15:08:16 -02:00
Yorik van Havre
783925f4db Arch: Fixed misc bugs in schedule 2016-10-14 17:16:58 -03:00
Yorik van Havre
210455d7db Made Arch objects properties translatable - issue #2524 2016-10-07 21:37:15 -03:00
Yorik van Havre
26b540aa77 Arch: minor bugfixes in Pipes 2016-08-26 18:26:46 -03:00
Yorik van Havre
fa9e476185 Arch: Fixed remaining bugs in Pipes 2016-08-24 11:25:57 -03:00
Yorik van Havre
4877314728 Arch: Forgot a file in last commit - issue #2661 2016-08-24 10:25:29 -03:00