Opening symbols for Arch doors

Info about new community or project announcements, implemented features, classes, modules or APIs. Might get technical!
PLEASE DO NOT POST HELP REQUESTS OR OTHER DISCUSSIONS HERE!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
yorik
Founder
Posts: 13665
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Opening symbols for Arch doors

Post by yorik »

It is now possible to create this kind of opening symbols for Arch Windows/Doors:
freecad-window-openings.jpg
freecad-window-openings.jpg (161.65 KiB) Viewed 5918 times
It works like this:

1) Create a window like before
2) Double-click the window in the tree to open its task panel
3) Select a component that is openable
4) Click an edge that is the rotation axis of the component
5) Press the hinge select button
6) Select an opening mode. So far all work except the two sliding modes
7) Press update and close the task panel

Internally, it's rather simple: Each window component is defined by a set of strings in its WindowParts property. I just extended one of the strings (the "Wires" part) to hold also the hinge edge, and a number for the opening mode. So instead of "Wire0,Wire1", it is saved as "Wire0,Wire1,Edge6,Mode1". So it is rather easy to use in scripts, and will be easy to update the presets.

This is already supported by the section plane, so these symbols will appear on Drawing/TechDraw views, but there are still problems with the "V" lines, they are not cut by the other geometry, so they appear everywhere. There are many other things to do to make them better, such as allowing the user to define styles, et... But better to go step by step and see how it behaves first
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: Opening symbols for Arch doors

Post by triplus »

Looking good. Such a standard feature in architecture now made easy in FreeCAD.
Renato Rebelo
Posts: 255
Joined: Mon May 19, 2014 1:14 pm
Location: Vouzela - Portugal

Re: Opening symbols for Arch doors

Post by Renato Rebelo »

Hello, Yorik
Congratulations and Thanks for the work developed.
I've been testing the placement of the opening symbols, and I found a strange error, the arch, which should be visible only in plant, also appears in elevation represented as an arc.
must be some bug, keep up the good work

Renato
Sem título.png
Sem título.png (70.43 KiB) Viewed 5686 times
my native language is not English, please excuse me any incorrectness, I apologize for any inconvenience caused, thank you
User avatar
yorik
Founder
Posts: 13665
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: Opening symbols for Arch doors

Post by yorik »

ah good catch... I had seen this many times but always forgot to fix it... An arc cannot pass through 3 aligned points, so when the view direction is perpendicular to the axis of an arc, it should be represented as a line instead of an arc. Fixing this now.
Wudli
Posts: 2
Joined: Wed Sep 27, 2017 4:40 am

Re: Opening symbols for Arch doors

Post by Wudli »

I was exactly looking for such an option but I cannot see the "Hinge" and "opening mode" lines it when I double click on the door.

Thanks in advance for any help
Wudli

OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.6712 (Git)
Build type: Release
Branch: releases/FreeCAD-0-16
Hash: da2d364457257a7a8c6fb2137cea12c45becd71a
Python version: 2.7.8
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17
jmaustpc
Veteran
Posts: 11207
Joined: Tue Jul 26, 2011 6:28 am
Location: Australia

Re: Opening symbols for Arch doors

Post by jmaustpc »

Your first post welcome to the FreeCAD.
Wudli wrote: Tue Dec 12, 2017 6:10 pm I was exactly looking for such an option but I cannot see the "Hinge" and "opening mode" lines it when I double click on the door.
Your FreeCAD version is too old. You are using the last release version but all features after april 2016 are in the development version 0.17.

You can download development snapshots of 0.17 that will run without needing to be installed and will not effect
Your 0.16 version. So you can try it out if you like.

But do not expect a file edited in 0.17 to wortk properly in 0.16.
Wudli
Posts: 2
Joined: Wed Sep 27, 2017 4:40 am

Re: Opening symbols for Arch doors

Post by Wudli »

Got it. I think I will first finish my project (I am under a deadline for a 3 story building) and then download 0.17 and start playing around.
Thanks for the super fast response and for all the work all the people put into this awsome project.
I am looking forward to contribute hopefully soon.
User avatar
zbigg
Posts: 136
Joined: Tue Dec 19, 2017 1:11 pm

Re: Opening symbols for Arch doors

Post by zbigg »

Hello,

A question rel. to build 0.17.268:

Changing window/opening/ width DOES NOT alter opening size in the wall, only the window object changes.
Whats wrong?


cheers,
cheers,
jmaustpc
Veteran
Posts: 11207
Joined: Tue Jul 26, 2011 6:28 am
Location: Australia

Re: Opening symbols for Arch doors

Post by jmaustpc »

zbigg wrote: Tue Feb 13, 2018 11:03 am question rel. to build 0.17.268:
Your build number is wrong, not enough digits in the final group.
User avatar
yorik
Founder
Posts: 13665
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: Opening symbols for Arch doors

Post by yorik »

zbigg wrote: Tue Feb 13, 2018 11:03 am Changing window/opening/ width DOES NOT alter opening size in the wall, only the window object changes.
Fixed in git commit 23fff2b1d
Post Reply