Commit Graph

224 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
paullee
f33b973f49 [ArchWall] Fix getExtrusionData() with DraftWire base problem
See discussion on FreeCAD forum :
- https://forum.freecad.org/viewtopic.php?p=727868#p727868
( How to use the partdesign_subshapebinder for walls / Walls on "3d sketch"? )
2024-01-08 10:56:41 +01:00
Roy-043
76bdb13f1d Arch: Updates related to the PlaneGui class (#11153)
Related issue:
#5603.
2023-10-23 18:42:20 +02:00
Roy-043
a3cb3b1a23 Arch: endpoint after Wall length change was not in local sketch coords (#9592) 2023-05-16 21:24: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
Roy-043
8ecce37277 [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
fdca2d49f7 Arch: lint bad indentation, superfluous formatting (#9310) 2023-04-19 09:40:16 +02:00
luzpaz
e7ced1f7cb Arch: linting multiple imports on one line (#9281) 2023-04-18 16:23:44 +02:00
Roy-043
172f6c17a7 Arch: improve context menus (rebase) 2023-01-12 22:54:09 +01:00
Paul Lee
0e0c26647e [ArchWall] Use and Create ArchSketch if add-on is present: following Yorik's comment
(~ 17.10.2022) https://github.com/FreeCAD/FreeCAD/pull/7526#discussion_r997010867
2022-10-23 11:33:24 +08:00
Paul Lee
22dfc6d655 [ArchWall] Use and Create ArchSketch if add-on is present 2022-09-26 00:46:04 +08:00
Roy-043
38bccb31fa Arch: Fix baseface generation for walls with a trace that self-intersects, has T-connections or that overlaps 2022-09-03 09:06:51 +02:00
Roy-043
7e0550a7c8 Arch: Housekeeping: import translate from correct file 2022-07-21 10:17:03 +02:00
Uwe
bc52dc0567 [Arch] fix typo in function name
- just to please the spellchecker CI
2022-07-01 03:35:55 +02:00
Roy-043
da96a73551 Arch: Fix ArchWall onBeforeChange
The onBeforeChange method in the ArchWall class did not call onBeforeChange from its parent class. This blocked the 'MoveWithHost' behavior of windows placed in walls.
2022-01-17 16:22:16 +01:00
Yorik van Havre
260a40f133 Arch: Added 'flip direction' context menu option to walls 2021-12-28 13:17:47 +01:00
Paul Lee
c5c5c8a880 [ArchWall] Do not copy shape
Discussions-
https://forum.freecadweb.org/viewtopic.php?style=1&t=62968&p=540585
234899409f
2021-12-07 18:55:43 -06:00
Chris Hennes
13beed81ae [Arch] Remove redundant else: from while loop 2021-10-11 22:01:44 -05:00
paul lee
dc911dde55 [ArchWall] Fix MakeBlocks to work if Base is Sketch with 1 edge only
To be merged with #4955
2021-08-09 09:06:03 +08:00
Yorik van Havre
82dd05b53d Arch: Remember wall alignment when creating from existing wires 2021-08-03 16:45:07 +02:00
Roy-043
e80a21a26a Arch: Fix Arch_Wall: block joints where put on the wrong side of offset
In the execute method block joints were put on the wrong side of the offset which lead to the first block in each row being larger than intended.
2021-07-07 18:54:34 +02:00
Chris Hennes
9d1958475e [ARCH] Catch only Exception, not BaseException 2021-02-11 11:52:45 +01:00
Abdullah Tahiri
f84df4e944 Arch: Make ArchWall use Sketcher GeometryFacade 2020-12-13 15:36:59 +01:00
luz paz
ccf30d98d2 Arch: Fix header uniformity and remove trailing whitespace 2020-11-16 14:51:53 +01:00
Yorik van Havre
eacf3a6b98 Arch: Enabled ellipse-based walls - fixes #3859 2020-10-20 13:13:54 +02:00
Yorik van Havre
78ac2f7b27 Arch: Fixed translation of wall (better version) 2020-10-12 15:58:41 +02:00
Yorik van Havre
1252734a81 Arch: Fixed translation of wall 2020-10-12 15:57:15 +02:00
Roy-043
48218690ce Arch: Arch_Wall fix MultiMaterial alignment bug. 2020-09-16 13:08:45 +02:00
carlopav
41f81b2cff Draft: fixed obj.TypeId output after utils.get_type() change
.


.
2020-09-09 14:13:29 +02:00
Vanuan
874d7d55d1 Fix non-center aligned wall with multimaterial 2020-08-11 12:21:41 +02:00
paul lee
f8584455f8 [ArchWall] Failed if Sketch as Base has Point, now OK
FC Forum Discussion -
https://forum.freecadweb.org/viewtopic.php?f=23&t=48668&sid=ba6dd68ad32eefbad6ae95d8fadc30e6#p416779
2020-07-20 14:17:28 +02:00
paul lee
be46c0e25d [ArchWall] Fix #0004400 - Archwall creation from certain wire fails.
Forum Discussion - https://forum.freecadweb.org/viewtopic.php?f=23&t=47505
2020-07-16 13:53:11 +02:00
hlg
a2498e1fdc [Arch] ignore extrusion direction vector length 2020-07-13 14:39:28 +02:00
paul lee
6179f4b45a [ArchWall] Revert comments in getExtrusionData() 2020-06-24 11:29:07 +02:00
paul lee
999c3d8bf4 [ArchWall] ArchWall Offset should now works with Base as Sketch 2020-06-24 11:29:07 +02:00
paul lee
7f27ec750b [ArchWall] Fix Align Right with Multi-Material invalid case problem 2020-05-25 13:34:46 +02:00
Yorik van Havre
5aa6c4e1da Arch: Misc improvements to curtain wall
- Can be based on an edge like normal wall
- Now has a 'host' property to embed into another object (tree only)
- Mullions have different height and width properties
- Mullions or panels can be disabled
2020-05-19 13:58:46 +02:00
Yorik van Havre
b0775ee7ce Arch: Fixed regression in compound walls 2020-05-18 15:04:26 +02:00
Yorik van Havre
aa3afc1824 Arch: Removed wrong warning in walls 2020-05-18 13:28:55 +02:00
vocx-fc
32cf582e08 Arch: fix wall's addDefault call
A previous fix was in 8e458abf53, but some calls to `addDefault`
were not changed.
2020-05-04 10:55:56 +02:00
Yorik van Havre
d6f77bb23b Arch: Fixed regression in wall 2020-04-24 15:10:42 +02:00
David Daish
e46ca0b967 Rewrote the function and method docstrings in an imperative style. 2020-04-22 12:17:08 +02:00
David Daish
d7137fbb67 Moved __init__ docstrings into the class docstring 2020-04-22 12:17:08 +02:00
David Daish
9f4348e00a Removed incorrect apostrophies. 2020-04-22 12:17:08 +02:00
David Daish
390a093a67 Comparison with None is now using 'is' operator 2020-04-22 12:17:08 +02:00
David Daish
fa2e5fc837 Moved all module docstrings to the top of the file. 2020-04-22 12:17:08 +02:00
David Daish
87531f3560 Spellcheck 2020-04-22 12:17:08 +02:00
David Daish
1ae2c87914 Fixed docstrings straying too far right, after indentation was fixed. 2020-04-22 12:17:08 +02:00
David Daish
69311479e5 Added docstrings for arch project, and corrected some doc mistakes. 2020-04-22 12:17:08 +02:00
David Daish
71a75b09db Added docstrings for ArchFloor 2020-04-22 12:17:08 +02:00