Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Window and Door style configuration #57

Open
boes3d opened this issue Jan 18, 2023 · 2 comments
Open

Window and Door style configuration #57

boes3d opened this issue Jan 18, 2023 · 2 comments
Labels
documentation Improvements or additions to documentation

Comments

@boes3d
Copy link

boes3d commented Jan 18, 2023

Hello M POSTLE
Thank you very much for the latest version of your Add on.
I started creating a new style.
I created an ifc file with a simple cube in blender 3.4, first.
But how are the various Yml files (assets, openings, etc.) associated with this precisely codified?
I took example on the current styles of your Addon but I continue to have many errors which are related to my lack of documentation on the creation of the associated *.yml files.
Thank you in advance if you can send me additional documentation.
Best regards.
ERROR TEST NEW STYLE

Mr Rémy HAENEL
29, rue Arthur Rozier
75019 PARIS

@brunopostle
Copy link
Owner

There will be documentation for the YAML files, though there are still some minor changes that need to be made to the way they work.

The red ⮽ shaped window means that an IfcWindowType with the correct Name couldn't be found in the library.ifc file.

Windows and doors are equivalent. Each style has an openings.yml, and an assets.yml file (if these files are missing then Homemaker looks in the parent folder for them).

The keys in openings.yml are fixed, so there can only be one item called living outside window. This entry declares that external walls for 'living rooms' (ie. cells with the living usage) should use the sash window asset family, with a cill height of 0.75 metres:

living outside window:
  name: sash window
  type: window
  cill: 0.75

In the assets.yml file there needs to be a matching section with a sash window key, this section contains a list of different sized assets that can be used interchangeably (Homemaker will use the biggest that fits the available wall space, but lots of these lists only contain one asset):

sash window:
  - 
    file: sash_big
    height: 1.82
    width: 0.91
    side: 0.8
    end: 0.3
  - 
    file: sash_shorter
    height: 1.445
    width: 0.91
    side: 0.8
    end: 0.3

In standard BIM terminology this is a 'family', maybe I should rename assets.yml to families.yml?

The height, width, side and end variables are in metres ('side' and 'end' is the spacing between windows, and the space before the end of the wall). The 'file' variable is telling Homemaker to look for a Type in the library.ifc file with a Name matching sash_big:

image

@brunopostle brunopostle changed the title ERROR TEST NEW STYLE Window and Door style configuration Jan 18, 2023
@brunopostle brunopostle added the documentation Improvements or additions to documentation label Jan 18, 2023
@brunopostle
Copy link
Owner

Note bb6234e renames assets.yml to families.yml, and 696bcea renames the 'file' parameter to 'name'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants