Commit Graph

163 Commits

Author SHA1 Message Date
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
Yorik van Havre
7501055394 Arch: Close base profile of Structures automatically when needed 2018-08-30 17:12:18 -03:00
Yorik van Havre
ff21c1b95d Arch: Added edit mode task panel to arch profiles + added American Wide Flange (W) profiles 2018-07-21 22:50:07 -03:00
Yorik van Havre
a1faed3449 Arch: using basic object names for all arch objects 2018-07-07 14:40:10 -03:00
Yorik van Havre
334f2df65f Arch: Support of IfcBuildingElement and IfcPropertySets in ifc import/export 2018-07-04 14:49:31 -03:00
Yorik van Havre
2a116ff4f1 Arch: Handle cloning of BuildingParts 2018-06-29 12:12:54 -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
Yorik van Havre
f3329e2c71 Arch: Added a new 'beam mode' to draw structure objects 2018-05-07 23:21:53 -03:00
Yorik van Havre
ef9a411318 Arch: Fixed leftover encoding bug (backported to 0.17) 2018-04-17 11:18:23 -03:00
luz.paz
978a02c9cb Arch: Misc. typos and uniformity fixes 2018-02-12 21:55:31 +01:00