Commit Graph

175 Commits

Author SHA1 Message Date
Yorik van Havre
71fefee256 Arch: Removed Undefined IFC type - fixes #8774 2023-06-13 14:03:11 +02: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
luzpaz
86a7166d47 Arch: fix whitespace in ArchStructure.py 2023-01-22 20:27:55 -06:00
luzpaz
feb18d8a15 Fix various typos 2023-01-22 20:27:47 -06:00
Paul Lee
78151a66d8 [ArchStructure] ArchSketch Feature : Select Edges to build shape
Forum Discussion : [ArchSketch - Feature Preview] - Slab, Curtain Wall, ArchWall etc. on Same ArchSketch
- https://forum.freecadweb.org/viewtopic.php?f=23&t=73018
2023-01-14 17:37:39 +08:00
Roy-043
172f6c17a7 Arch: improve context menus (rebase) 2023-01-12 22:54:09 +01: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
alafr
d5ed23a62c Arch: fix BaseMirror property
The code checked for the existance of the property and not if it's value was true. As a result, the structure base was always mirrored, even if the property was set to false. This commit fixes the issue.
2022-03-04 19:53:58 +01:00
Roy
d2976cd9e6 Arch: Fix translation issues 2022-01-10 10:26:08 +01:00
luz paz
e780af1184 Arch: add missing paranthesis to strings
Found while approving translations in crowdin
2021-10-26 22:24:38 +02:00
Yorik van Havre
6189aee357 Merge branch 'master' into alafr-arch-structure 2021-03-26 11:08:01 +01:00
Roy-043
f9d93749bc [Arch] ArchStructure.py wrongly used Part.Line (endless line) to close a wire. 2021-02-17 23:29:01 +01:00
Chris Hennes
9d1958475e [ARCH] Catch only Exception, not BaseException 2021-02-11 11:52:45 +01:00
Yorik van Havre
216a25755b Arch: Fixed regression in structures 2020-11-26 13:47:55 +01:00
luz paz
ccf30d98d2 Arch: Fix header uniformity and remove trailing whitespace 2020-11-16 14:51:53 +01:00
alafr
3f72d434c5 Arch structure : workflow with master sketch
* Add a command that creates multiple Arch Structure objects from a selected base, using each selected edge as an extrusion path. It creates one Arch Structure object from each edge. Therefore, the Arch Structure objects can then be individually edited if needed.
* Split the command Arch Structural System from Arch Structure. For backwards compatibility, the command Arch Structure will run the command Arch Structural System when the requirements for the Arch Structural System (Structure + Axis) are met.
2020-10-31 14:17:01 +01:00
alafr
fda4198ef0 Arch Structure: fix extrusion orientation 2020-10-31 14:16:59 +01:00
alafr
856063090d Arch Structure: fix the nodes default placement. 2020-10-31 14:16:58 +01:00
alafr
7f83d8f0b0 Arch Structure : use Edges as a Tool, add options
* New widget for Tool selection: this enables the use of some Edges and not only entire Shapes - it makes possible to build Structures from a master Sketch.
* Add option BasePerpendicularToTool : option to create multiple Structures with a single Base (profile), along different Tools (paths). A copy of the profile is created and aligned perpendicular to the path at it start point.
This can already be done with multiple Draft Clones attached using the "NormalToEdge" mode, but this new option will make it more straightforward and with less objects in the document.
* Group properties related to the Tool in a group "Extrusion Path"
* Add a readonly property ComputedLength (it will be needed in BIM schedules)
2020-10-31 14:16:56 +01:00
alafr
80736caa34 Arch Structure: fix multiple extrusions along path
Fix the exception when trying to copy a wire with FreeCAD.Vector constructor
2020-10-31 14:12:12 +01:00
alafr
f87ae4de08 Arch Structure: Refactor getExtrusionData
- group all `base, placement = self.rebase(baseface)` in one place
- group all normal calculations in one place
- fix placement of tool (bug introduced by my previous PR)
- allow multiple faces when face is created by FaceMaker
- remove unused code: if `len(obj.Base.Shape.Edges) == 1` is true, then there is a Wire and `obj.Base.Shape.Wires` should be also truthy
2020-10-31 14:12:10 +01:00
hlg
a2498e1fdc [Arch] ignore extrusion direction vector length 2020-07-13 14:39:28 +02:00
Yorik van Havre
ee55ea844e Arch: Fixed wrong structural node generation 2020-06-09 15:16:34 +02:00
vocx-fc
1fb5408694 Arch: use the new Draft trackers module
Previously it was `DraftTrackers.py`.
Now we import the trackers from `draftguitools/gui_trackers.py`.
2020-03-31 12:09:25 +02:00
alafr
5b19d068c1 Export Arch Structure as Ifc Brep if not a simple extrusion 2020-03-02 11:53:46 -03:00
alafr
0680ca95e2 Fix use of Sketch as a Base for Arch Structure extruded along a Tool
See: https://forum.freecadweb.org/viewtopic.php?f=23&t=43228

It fixes the following issue:
Allow the use of sketches for Structure which follow a Tool. Currently, sketches are only accepted as structure Base when there is no Tool set. If I select the sketch and press the Structure button, the structure is computed correctly. But when I set the Tool property, the message "Structure has no solid" is reported and the Structure is not updated.
2020-03-02 11:53:46 -03: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
Yorik van Havre
2f07f13e9d Arch: Adjust height of objects inside groups 2019-10-07 15:33:28 -03:00
Yorik van Havre
9cd5a7ee5e Arch: Solved bug in Structure 2019-08-26 15:39:22 -03:00
Yorik van Havre
c1c5210654 Arch: Minor fixes to IFC export 2019-08-14 17:56:15 -03:00
Bernd Hahnebach
bdf1abacc7 Arch: make new property to use shape color instead of material color working for all Arch objs 2019-08-14 21:41:47 +02:00
Yorik van Havre
09d0b2d0e7 Arch: Merge of PR #2259 - Fix ifc project 2019-08-14 16:04:52 -03:00
Yorik van Havre
281a370815 Arch: Remember values for precast concrete presets 2019-05-15 15:55:21 -03:00
Yorik van Havre
ff130d08f4 Arch: Refactor of Structure's Column/Beam modes and fixed rotation issues 2019-05-15 15:08:23 -03:00
Yorik van Havre
c0430bf876 Arch: Fixed wrong structures drawn in beam mode using a metal profile 2019-05-10 22:58:04 -03:00
Yorik van Havre
135c96fbc8 Arch: Fixed translation issues in wall and structure + make use of line task dialog 2019-05-10 22:43:59 -03:00
Yorik van Havre
506cfd9bd2 Arch: Renamed property IfcRole to IfcType 2019-04-09 15:53:01 -03:00
Yorik van Havre
4ea3508967 Arch: Wall, structure, window and panel tools now remember and keep last used values 2019-03-28 17:02:54 -03:00
Yorik van Havre
bfb0a85ab5 Arch: Lowered tolerance of planar profiles for Arch structures 2018-12-27 12:29:03 -02:00
Yorik van Havre
00a241ec40 Arch: Fixed non-unified extrusion direction in multisolid structures 2018-12-05 17:27:12 -02:00
Yorik van Havre
77c7b0b886 Arch: Fixed wrong extrusion of multisolid structures 2018-12-05 13:02:48 -02:00
Yorik van Havre
0e554bd36e Draft/Arch: minor fixes 2018-12-01 18:56:05 -02:00
Yorik van Havre
306c6d66c5 Arch: Added pref option to set default MoveWithHost property 2018-12-01 12:23:45 -02:00
Yorik van Havre
af8bdf4c5b Arch: Fixed IFC export of arch structures with several solids / holes 2018-12-01 12:14:00 -02:00