Commit Graph

210 Commits

Author SHA1 Message Date
Josh Coalson
a8ae56e06a Part: Rename AttachExtension::Support property to AttachmentSupport, to avoid name conflict with base features. Fixes #7052 2024-03-04 18:22:43 +01:00
Roy-043
fce98fa57e Arch: Revised preference ui files, remove WindowColor
Follow-up PR of #11940.

* The new ui layout follows that of the Draft preferences.
* The ConversionFast checkbox enables/disables the 3  preferences listed below it.
* The WindowColor preference was removed. It is not a per-object, or even a per-file setting. The fix in #11940 would change windows in existing projects when they are recomputed. It is therefore better to keep the V0.21 solution where the glass is colored according to the preferences and the rest of the window receives a color based on its ShapeColor. Users who want to apply specific colors can use a multi-material.
2024-01-19 10:05:15 +01:00
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
91cfb15f64 Arch: Avoid dictionary.keys() where possible (#10159) 2023-08-13 11:46:51 +02: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
Roy-043
3aebe166b4 [Arch] remove obsolete decode code (#9316)
* Update ArchCommands.py

* Update ArchPanel.py

* Update ArchReference.py

* Update ArchWall.py

* Update import3DS.py

* Update importDAE.py

* Update importIFClegacy.py

* Update importOBJ.py

* Update importSHP.py

* Update importSHP.py

Reverted

* Update importSH3D.py
2023-04-19 15:58:06 +02:00
luzpaz
1c75bbb48a Arch: lint bad indentation, superfluous formatting (#9310) 2023-04-19 09:40:16 +02:00
luzpaz
bc1f217664 Arch: linting multiple imports on one line (#9281) 2023-04-18 16:23:44 +02:00
Roy-043
e10d92a76f Arch: update Arch.pruneIncluded to include cloned PD Bodies 2023-01-27 19:29:47 +01:00
Yorik van Havre
20695da6f7 Arch: Small fix in IFC exporter to adapt to post-0.20 changes 2023-01-26 15:17:29 +01:00
Roy-043
42a74daa19 Arch: improve context menus (rebase) 2023-01-12 22:54:09 +01:00
Chris Hennes
f6f1928cf8 Arch: Remove Py2 code 2022-11-09 14:08:54 +01:00
Uwe
846d39ba54 [Arch] minor code cleanup after Py2 check removal 2022-08-04 02:26:50 +02:00
Uwe
20dc9d0a61 [Arch] remove unneeded checks for Python 3
since we only support Python >=3, these checks can go
2022-08-04 01:32:06 +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
Roy-043
2316809038 Arch: Fix getCutVolume in ArchCommands.py 2022-07-18 08:52:39 +02:00
Bernd Hahnebach
93f428b4d1 Arch: fix survey tool for Vertexes 2022-03-30 17:35:12 +02:00
Chris Hennes
06a0e1e923 [Arch] Fix LGTM warnings 2021-09-28 10:29:45 -05:00
Yorik van Havre
5b32b806f6 Arch: Added Depth property to SectionPlanes 2021-07-01 13:46:24 +02:00
Chris Hennes
8228d64ac4 [ARCH] Catch only Exception, not BaseException 2021-02-11 11:52:45 +01:00
Amritpal Singh
4ddade87dd Removed multiple import of FreeCADGui in rebuildArchShape. 2020-11-24 15:16:43 +05:30
Amritpal Singh
517f14b90e Fixed bug: Importing IFC in Console raises error because it linked with FreeeCADGui module. 2020-11-23 18:19:20 +05:30
luz paz
67381e9579 Arch: Fix header uniformity and remove trailing whitespace 2020-11-16 14:51:53 +01:00
vocx-fc
a5aa9646b0 Arch: update some functions that come from the Draft workbench
In particular `getGroupContents` was renamed to `get_group_contents`
in the Draft workbench, so the function name is updated accordingly.
2020-07-13 14:35:38 +02:00
Ryo KOYAMA
8f646d9316 Arch: Fix bug of exporting into collada file #4362
Enable to export mirrored part into collada file.

This is discussed in:
https://forum.freecadweb.org/viewtopic.php?f=3&t=30785

The issue is:
https://tracker.freecadweb.org/view.php?id=4362
2020-06-09 11:50:48 +02:00
Yorik van Havre
7b94a6122b Arch: Handle rectangle-and circle-based profiles in IFC import/export 2020-05-29 12:12:48 +02:00
David Daish
8cf975d831 Fixed docstring allignment for a function 2020-04-22 12:17:08 +02:00
David Daish
b5a3890309 Work on ArchComponent docstrings 2020-04-22 12:17:08 +02:00
vocx-fc
ffb802d72c Arch: import from draftutils instead of DraftTools
These functions were moved from DraftTools and DraftGui
to individual modules precisely to make them easy to import.
Otherwise we have to import the entire DraftTools and DraftGui
modules which creates dependency problems when we want to use
some functions without the graphical interface.
2020-03-23 12:14:58 +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
Zheng, Lei
a3e88a399f Arch: relax Part::Feature type checking
For supporting Link inside Arch.
2019-11-17 13:03:42 -03:00
luz.paz
5c1cae14b9 Arch: use string operator instead of numeric LGTM fix 2019-10-25 10:23:24 -03:00
vocx-fc
2f06decce5 Arch: ArchCommands, change the color of the vertices of the subcomponent when using Arch Remove, just like the line color and shape color are changed. 2019-10-07 10:46:36 -03:00
Yorik van Havre
a937461d6f Arch: Merge of PR #2259 - Fix ifc project 2019-08-14 16:04:52 -03:00
Yorik van Havre
b6f964ede1 Arch: Misc improvements to Schedule tool 2019-07-17 18:00:29 -03:00
Yorik van Havre
07d3423add Arch: Misc bugfixes 2019-07-05 20:58:44 -03:00
Yorik van Havre
00e14ab356 Arch: IFC explorer migrated to BIM WB 2019-05-20 22:32:17 -03:00
Yorik van Havre
f94cdfd798 Arch: Fixed export of sites to IFC 2019-05-02 17:02:14 -03:00
Yorik van Havre
5c700f76ec Arch: Fixed wrong exported objects in IFC export 2019-05-02 16:21:39 -03:00
Yorik van Havre
9a64f3fad9 Arch: Added 'Clip' property to section planes to clip the rendered contents to the plane limits 2019-04-28 17:29:19 -03:00
Yorik van Havre
c3dc748701 Arch: Added default preferences options for spaces 2019-04-19 18:59:10 -03:00
Yorik van Havre
b533c64361 Arch: Fixed IFC export of rebars 2019-03-19 19:54:51 -03:00
Yorik van Havre
18b5f238ae Arch: Fixed py3/encoding bug 2019-02-07 21:05:09 -02:00
Yorik van Havre
bd2bf371af Arch: Fixed buggy import/export of objects based on rectangles to IFC 2018-11-09 17:59:17 -02:00
Clemens Weissbacher
54f88cc75c py3: Arch: fix import urllib2 problem 2018-10-25 11:03:36 -03:00
looooo
1e6818b6fb py3: arch: fix unicode problems #3590 2018-10-17 11:28:16 +02:00
Yorik van Havre
69d9a3f949 Arch: Use the smallest face as profile when discovering extrusions in IFC objects - thanks @geometrygym 2018-08-24 23:10:10 -03:00
Yorik van Havre
57f2bf74a6 Arch: Import/export Site data (longitude, latitude, etc..) to/from IFC 2018-08-10 17:08:20 -03:00
Yorik van Havre
1885036139 Arch: Added preference option for screen helpers color (axes, grids, etc...) 2018-07-25 10:56:12 -03:00