Arch_Windows (and Doors) are able to display the side from which they open in the form of opening symbols, one for the plan view and another for the elevation view (Arch_Window#Openings, https://forum.freecadweb.org/viewtopic.php?f=23&t=25407). The symbols normally appear in the 3D view. If an Arch_SectionPlane includes the Window or Door, these opening symbols also appear in the ArchView projection (TechDraw_NewArch) in the TechDraw_Module.
In the 3D view, the opening symbol normally appears at the lower part of the Window or Door. However, in certain cases, the opening symbol appears at the top of the element.
In a window composed of two panes that are supposed to open, one symbol appears at the bottom edge, and the other at the top. This looks ugly to me but I'm not sure if it's the intended behavior. I'd prefer to have all symbols at the bottom edge of the element.
I cannot reproduce this behavior exactly. In my models I've created many Doors; some show the opening symbol at the bottom, and others at the top; this is seemingly random. I suspect it has to do with the original placement of the Arch_Window object, or maybe it's the orientation of the camera, or the direction of the normal of the object or sketch. I'm not sure, and as I said, I cannot replicate the appearance every single time.
In the attached file the objects Window, Door004, and Door007, show this behavior. The others have the opening symbols in the "regular" position at the bottom edge.
Of course, in the ArchView (TechDraw_NewArch) projection of TechDraw everything looks fine because from the top the symbols all look in the same plane. The issue described here concerns only the 3D view of the Windows and Doors.
OS: Ubuntu 18.04.1 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.14979 (Git)
Build type: Release
Branch: master
Hash: 47536dcd3729d3db106af628d62f2bf449e68c49
Python version: 2.7.15rc1
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)
[Bug?] The opening symbols of doors sometimes appear on the top edge instead of the bottom edge
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
[Bug?] The opening symbols of doors sometimes appear on the top edge instead of the bottom edge
- Attachments
-
- bugs_various.fcstd
- (189.42 KiB) Downloaded 50 times
Always add the important information to your posts if you need help. Also see Tutorials and Video tutorials.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
Re: [Bug?] The opening symbols of doors sometimes appear on the top edge instead of the bottom edge
Hi, Yorik should have answer.
I had tried TechDraw + ArchView some time ago and reported a few problems then. Since lots of improvement noted in your tests
About the problems:-
Door Frame Not Correct - Only the 'Outer' wire included in definition
I had tried TechDraw + ArchView some time ago and reported a few problems then. Since lots of improvement noted in your tests
About the problems:-
- Seem you draw the sketches yourself for all the doors and windows right? - I mean you are not using Preset.
- Seem the way you draw the rectangle is 'inverted' against the Preset way
- So ArchDoor use the wrong assumption / edges to guess which is 'up' or 'down'
- I stretch the rectangle for the door panel upper edge / lower edge to opposite sides
- Then the door panel and the symbols are in 'opposite' direction
Door Frame Not Correct - Only the 'Outer' wire included in definition
- Attachments
-
- bugs_various_ rev.fcstd
- (166.91 KiB) Downloaded 44 times
Re: [Bug?] The opening symbols of doors sometimes appear on the top edge instead of the bottom edge
Negative. I placed the Windows and Doors using the Arch Window tool with the Simple Door preset (Preset 6); the only thing I changed was the height to 2 m, from the default of 1 m. Some Doors I placed on the Wall, and others I just placed on the floor by themselves (without a Host).
You can also see the Window object embedded in the Wall. It's an Open 2-pane Window (Preset 3); I just changed the width of the frame in the Sketch. The opening symbols are in different positions. One glass pane (right) has the symbol at the bottom, and the other (left) at the top.
As I said, the sketches were created automatically by the Arch Window tool. But definitely the placement of the objects is a bit weird; I don't understand why sometimes they appear in different orientations; sometimes they appear sideways, or downwards. I think the tool sometimes gets confused by the Draft_Snapping options. I normally use snap to grid (Draft_ToggleGrid), but in the case of Doors, I usually use snap to near (Draft_Near), in order for it to pick a Wall surface.
- Seem the way you draw the rectangle is 'inverted' against the Preset way
- So ArchDoor use the wrong assumption / edges to guess which is 'up' or 'down'
- I stretch the rectangle for the door panel upper edge / lower edge to opposite sides
- Then the door panel and the symbols are in 'opposite' direction
What is the difference if you select one side of the Wall or the other side? Does that affect the normal of the Door? Does that affect the Arch_Window#Openings symbols?
Sure, but this is not a problem in any of the Arch Window objects that I present.BTW, for the door frame, you need the 2 Wires so that the 'inner wire' volume is subtracted from the 'outer wire' volume to form the frame.
Always add the important information to your posts if you need help. Also see Tutorials and Video tutorials.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
Re: [Bug?] The opening symbols of doors sometimes appear on the top edge instead of the bottom edge
Seem some problem with preset... no idea if Draft Snap is the problem.vocx wrote: ↑Sat Oct 20, 2018 6:19 pm You can also see the Window object embedded in the Wall. It's an Open 2-pane Window (Preset 3); I just changed the width of the frame in the Sketch. The opening symbols are in different positions. One glass pane (right) has the symbol at the bottom, and the other (left) at the top.
As I said, the sketches were created automatically by the Arch Window tool. But definitely the placement of the objects is a bit weird; I don't understand why sometimes they appear in different orientations; sometimes they appear sideways, or downwards. I think the tool sometimes gets confused by the Draft_Snapping options. I normally use snap to grid (Draft_ToggleGrid), but in the case of Doors, I usually use snap to near (Draft_Near), in order for it to pick a Wall surface.
What is the difference if you select one side of the Wall or the other side? Does that affect the normal of the Door? Does that affect the Arch_Window#Openings symbols?
For Door003, there are Frame and Panel in the edit mode - this should be Preset (and 2 wires for Panel)vocx wrote: ↑Sat Oct 20, 2018 6:19 pmNegative. I placed the Windows and Doors using the Arch Window tool with the Simple Door preset (Preset 6); the only thing I changed was the height to 2 m, from the default of 1 m. Some Doors I placed on the Wall, and others I just placed on the floor by themselves (without a Host).
For Door007, there are only 'Default'.... - I do not know if it is from Preset....and there are only 1 wires for Panel...
BTW, when I set Opening to 100 for Door003, there is an error.
Need Yorik to have a look indeed.
Re: [Bug?] The opening symbols of doors sometimes appear on the top edge instead of the bottom edge
Okay, I see what you mean with Door007.
All these wires and objects were created by the Arch Window tool automatically. I just adjusted the height and the position.
For Door003, there are two solid components, OuterFrame and Door; and there are two wires, Wire0 and Wire1. Wire0 and Wire1 define OuterFrame (type Frame), and Wire1 (innermost) defines Door (type Solid panel).
All these wires and objects were created by the Arch Window tool automatically. I just adjusted the height and the position.
I remember now. I was trying to reproduce the bug, that is, the opening symbol at the top of the element. At some point I deleted the default solid components, OuterFrame and Door. I recreated them but with the names Default and DefaultD. And you are right, I did not add the two wires to Default (previously the OuterFrame).For Door007, there are only 'Default'.... - I do not know if it is from Preset....and there are only 1 wires for Panel...
I see no such error. The updated file opens well both doors, but in Door007 the opening symbol is still at the top. Please notice that I'm using the 0.18 daily builds, not 0.17.BTW, when I set Opening to 100 for Door003, there is an error.
- Attachments
-
- bugs_various.fcstd
- (191.89 KiB) Downloaded 47 times
Always add the important information to your posts if you need help. Also see Tutorials and Video tutorials.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
Re: [Bug?] The opening symbols of doors sometimes appear on the top edge instead of the bottom edge
You are correct, I am using 0.17... should have tested also on 0.18_pre for consistency.
Re: [Bug?] The opening symbols of doors sometimes appear on the top edge instead of the bottom edge
Just for reference, a related, more recent thread is Arch Window/Door - Identification of 'Inside / Outside' + Finishes & Material + Hinge Offset.
Always add the important information to your posts if you need help. Also see Tutorials and Video tutorials.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.