Commit Graph

174 Commits

Author SHA1 Message Date
Yorik van Havre
65b63a7fb4 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
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
Yorik van Havre
6a7b5f754f Arch: removed 'object' from command tooltips - fixes FreeCAD-translations/#221 2023-05-22 15:13:16 +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
luzpaz
a42c526eec Arch: fix whitespace in ArchStructure.py 2023-01-22 20:27:55 -06:00
luzpaz
edfc993b7f Fix various typos 2023-01-22 20:27:47 -06:00
Paul Lee
895ef542b7 [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
42a74daa19 Arch: improve context menus (rebase) 2023-01-12 22:54:09 +01:00
Roy-043
bafe141745 Arch: Housekeeping: import translate from correct file 2022-07-21 10:17:03 +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
alafr
e6f0a0238a 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
65425b5e30 Arch: Fix translation issues 2022-01-10 10:26:08 +01:00
luz paz
4c754f7af7 Arch: add missing paranthesis to strings
Found while approving translations in crowdin
2021-10-26 22:24:38 +02:00
Yorik van Havre
49c71cb0b3 Merge branch 'master' into alafr-arch-structure 2021-03-26 11:08:01 +01:00
Roy-043
9a444671b7 [Arch] ArchStructure.py wrongly used Part.Line (endless line) to close a wire. 2021-02-17 23:29:01 +01:00
Chris Hennes
8228d64ac4 [ARCH] Catch only Exception, not BaseException 2021-02-11 11:52:45 +01:00
Yorik van Havre
01a7680a72 Arch: Fixed regression in structures 2020-11-26 13:47:55 +01:00
luz paz
67381e9579 Arch: Fix header uniformity and remove trailing whitespace 2020-11-16 14:51:53 +01:00
alafr
f6e0638cab 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
dba9585d89 Arch Structure: fix extrusion orientation 2020-10-31 14:16:59 +01:00
alafr
66c30313b0 Arch Structure: fix the nodes default placement. 2020-10-31 14:16:58 +01:00
alafr
7938cf498f 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
c743f3f083 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
ff521b1a53 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
a48b74d8a5 [Arch] ignore extrusion direction vector length 2020-07-13 14:39:28 +02:00
Yorik van Havre
9a06fdf223 Arch: Fixed wrong structural node generation 2020-06-09 15:16:34 +02:00
vocx-fc
58d4596888 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
ac0268c904 Export Arch Structure as Ifc Brep if not a simple extrusion 2020-03-02 11:53:46 -03:00
alafr
6ae04900b9 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
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
Yorik van Havre
59c15ebbc5 Arch: Adjust height of objects inside groups 2019-10-07 15:33:28 -03:00
Yorik van Havre
3dac114f9f Arch: Solved bug in Structure 2019-08-26 15:39:22 -03:00
Yorik van Havre
46a1d1d254 Arch: Minor fixes to IFC export 2019-08-14 17:56:15 -03:00
Bernd Hahnebach
36d418349e 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
a937461d6f Arch: Merge of PR #2259 - Fix ifc project 2019-08-14 16:04:52 -03:00
Yorik van Havre
8fb066841c Arch: Remember values for precast concrete presets 2019-05-15 15:55:21 -03:00
Yorik van Havre
1e426ced86 Arch: Refactor of Structure's Column/Beam modes and fixed rotation issues 2019-05-15 15:08:23 -03:00
Yorik van Havre
60fae525b8 Arch: Fixed wrong structures drawn in beam mode using a metal profile 2019-05-10 22:58:04 -03:00
Yorik van Havre
ab6e30b93a 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
624e20e9a2 Arch: Renamed property IfcRole to IfcType 2019-04-09 15:53:01 -03:00
Yorik van Havre
7c760259a3 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
f3a44bed80 Arch: Lowered tolerance of planar profiles for Arch structures 2018-12-27 12:29:03 -02:00
Yorik van Havre
ef002fdde2 Arch: Fixed non-unified extrusion direction in multisolid structures 2018-12-05 17:27:12 -02:00
Yorik van Havre
47fd9d335e Arch: Fixed wrong extrusion of multisolid structures 2018-12-05 13:02:48 -02:00
Yorik van Havre
6199c95fd7 Draft/Arch: minor fixes 2018-12-01 18:56:05 -02:00
Yorik van Havre
5217b245b4 Arch: Added pref option to set default MoveWithHost property 2018-12-01 12:23:45 -02:00
Yorik van Havre
79ba082c55 Arch: Fixed IFC export of arch structures with several solids / holes 2018-12-01 12:14:00 -02:00
Yorik van Havre
022653331f Arch: Close base profile of Structures automatically when needed 2018-08-30 17:12:18 -03:00