Commit Graph

169 Commits

Author SHA1 Message Date
David Daish
07605ff852 Best efforts on arch wall for now. 2020-04-22 12:17:08 +02:00
David Daish
28ecdbac03 Work on adding docstrings to ArchWall 2020-04-22 12:17:08 +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
Yorik van Havre
1fb999be37 Arch: Fixed regression in layers 2020-03-12 11:33:07 -03:00
paullee0
97c40204a4 [ArchWall, DraftGeomUtils] fix bug: ArchWall with Offset Attribute set and based on Sketch fails at some cases
DraftGeomUtils.offsetWire() supports ArchWall Offset setting inherently now.

Discussion:
https://forum.freecadweb.org/viewtopic.php?f=23&t=42933
2020-02-10 11:19:47 +01:00
paullee0
a322effcef [ArchWall] Typo 2020-01-22 10:16:54 +01:00
paullee0
d562b9f01a [ArchWall] Use OverridenWidth/Align when ArchSketch getWidths/Aligns() not implemented 2020-01-22 10:16:54 +01:00
paullee0
b9fc008e22 [ArchWall] Remove remarks about Werner's earlier commit 2020-01-08 15:22:54 +01:00
paullee0
1ca234177c [ArchWall] Write back Werner's code in commit 58fdbdc - check tex.image is not None 2020-01-08 15:22:54 +01:00
paullee0
d0ac80e9ef [ArchWall] - Add per edge Align feature, and other complementary enabling codes
Per Edge Align Feature
- add OverrideAlign attribute to wall
- to know exactly which Sketch edge sorted into final Wires, so as to know each edge's width / align / etc.
  > sort Sketch edges by sorting Sketch.Geometry instead of Sketch.Shape Edge
  > this ensure consistency in sorting result
- pass widths, align, normal info to revised DraftGeomUtils.py and revised routine to get 2 wires from a basewires

Enabling works
- enable base objects to provide width and align per edge information by getWdiths() and getAligns() methods
- this enable base objects e.g. Sketch, DWire (functions being added) to store per edge info e.g. align, widths etc
  (already can do in SketchObjectPython)
2020-01-08 15:22:54 +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
wmayer
58fdbdc4d1 pivy: avoid possible segfault when setting None to an SoSFImage field 2019-11-28 15:44:42 +01:00
Zheng, Lei
a3e88a399f Arch: relax Part::Feature type checking
For supporting Link inside Arch.
2019-11-17 13:03:42 -03:00
paullee0
6dcf9ff8f0 [Arch] Test : if Sketch, fuse solid; otherwise, do makeCompound 2019-11-11 17:57:59 -03:00
paullee0
720d40a04e [Arch] - To allow exportIFC.py to work properly on sketch, which use only 1st face / wire.
Not fusing baseface in getExtrusionData(); fusing solids execute()

Forum Discussion - Arch Wall - Based on Sketch Issues

https://forum.freecadweb.org/viewtopic.php?f=39&t=31235&p=343444#p343444
2019-11-11 17:57:59 -03:00
luz.paz
5c1cae14b9 Arch: use string operator instead of numeric LGTM fix 2019-10-25 10:23:24 -03:00
paullee0
a785660f59 [Arch] Introduce Refine attribute to Select whether or not and the method to remove splitter
Currently Draft removeSplitter and Part removeSplitter available but may not work on complex sketch

Forum Discussion - https://forum.freecadweb.org/viewtopic.php?f=23&t=38527
2019-10-14 16:49:33 -03:00
Yorik van Havre
59c15ebbc5 Arch: Adjust height of objects inside groups 2019-10-07 15:33:28 -03:00
Yorik van Havre
a937461d6f Arch: Merge of PR #2259 - Fix ifc project 2019-08-14 16:04:52 -03:00
paullee0
e4132f5800 Multi-Width to support Sketch with multiple wires
Discussion:-
https://forum.freecadweb.org/viewtopic.php?f=23&t=37708&p=321956#p321956
2019-08-14 14:28:34 -03:00
Yorik van Havre
125380ddd9 Arch: Added Area property to walls 2019-07-17 19:25:42 -03:00
paullee0
f39ffe5707 Change ArchWall WidthsOfWall attribute to OverrideWidth
- following discussion at github
2019-07-13 12:52:20 -03:00
paullee0
589a2ac4f5 ArchWall_DraftGeomUtils Multi-Width support added
Discussion:- https://forum.freecadweb.org/viewtopic.php?f=23&t=36772&p=319829#p319829
2019-07-13 12:52:20 -03:00
Yorik van Havre
45367edb6d Arch/Draft: Fixed remaining bugs from latest commits 2019-07-09 15:07:00 -03:00
Yorik van Havre
81988d6b9e Arch: wall layers with negative thickness are not drawn 2019-07-09 11:58:30 -03:00
Yorik van Havre
385771153a Arch: Added message to inform user of workaround against non-editable wall baselines 2019-07-08 19:10:00 -03:00
Yorik van Havre
802b3b62b1 Arch: Fixed bug in Join Walls command 2019-07-08 18:41:02 -03:00
Yorik van Havre
07d3423add Arch: Misc bugfixes 2019-07-05 20:58:44 -03:00
Yorik van Havre
d818a96384 Arch: Fixed small bug in Wall task panel 2019-06-09 14:56:43 -03:00
Yorik van Havre
b50ac86063 Arch: Fixed bug in precasts + addressing recursive wall length issue 2019-05-15 10:49:24 -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
bd4f4a5765 Arch: Fixed wrong wall blocks when wall has an offset 2019-04-25 18:00:36 -03:00
Yorik van Havre
624e20e9a2 Arch: Renamed property IfcRole to IfcType 2019-04-09 15:53:01 -03:00
Yorik van Havre
1555ea8295 Arch: Wall blocks can now show only rows or columns 2019-04-03 17:41:30 -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
ddb335cfe0 Arch: Store last used wall thickness and height values 2019-03-27 16:40:26 -03:00
Yorik van Havre
9a72871137 Arch: Fixed behaviour of alternative wall icon 2019-01-09 10:28:27 -02:00
Yorik van Havre
cc09490725 Arch: Remember last wall alignment setting 2018-12-02 17:20:38 -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
Yorik van Havre
5f63a7764b Arch: using basic object names for all arch objects 2018-07-07 14:40:10 -03:00
Yorik van Havre
1314210a4c Arch: Handle cloning of BuildingParts 2018-06-29 12:12:54 -03:00
Yorik van Havre
2bef80dcc4 Arch: initial BuildingPart development 2018-06-28 18:44:07 -03:00
Yorik van Havre
08910e71e4 Arch: Added pref option to base new walls on Draft lines 2018-06-06 18:34:14 -03:00
Yorik van Havre
e49a5af3ae Arch: separate properties creation in own methods and check properties at file load 2018-06-01 19:36:35 -03:00
Yorik van Havre
4f5e304d64 Fixed wrong encoding in App.openTransaction 2018-05-21 12:11:46 -03:00
Yorik van Havre
30476e951d Arch: Renamed Role property to IfcRole 2018-05-11 12:01:55 -03:00
Yorik van Havre
32f089f284 Arch: optimizing block walls 2018-05-10 16:32:43 -03:00
Yorik van Havre
b5ffabace2 Arch: All Arch objects can now have any IFC type(role) 2018-05-10 10:42:06 -03:00
Yorik van Havre
c360263582 Arch/Draft: Make sure an active doc exists before creating objects 2018-05-08 16:07:55 -03:00
Adrian Schröter
04a8bf6a29 fix syntax error for python3 2018-04-18 10:05:49 -03:00