Commit Graph

6439 Commits

Author SHA1 Message Date
Massimo Fabbro 21edf462f3 Finish mapping quantities Qto_SpaceBaseQuantities 2023-01-05 16:59:48 +11:00
CyrilWaechter 69c854f0f4 Allow ifcpatch to work with .ifcZIP | .ifcXML
Closes #2350
2023-01-05 16:59:47 +11:00
CyrilWaechter 78f03c8544 Allow to write .ifcZIP | .ifcXML #2350
Transparently write any .ifc | .ifcXML | .ifcZIP formatted file
 with any extension :
- by guessing format from its extension
(eg. .zip | .ifczip | .ifcZIP | .ifcXML | .ifcxml | .IFC | .ifc)
zipped file can file can be of any supported format
- by specifying a format
- by specifying if it should be zipped
2023-01-05 16:59:47 +11:00
Ryan Schultz 6ba56fdf35 misspellings with outer_boundary 2023-01-05 16:59:47 +11:00
CyrilWaechter 386205cde7 Fix IfcSystem assignment bug introduced in f0b1935
Fixing my own bug…
Note : always run all test before pushing not only the one which used to fail…
2023-01-05 16:59:47 +11:00
CyrilWaechter ba4f8886e9 Add system assignment check
@aothms Is there a way to check against IFC formal propositions ?
Example for [IfcZone](http://ifc43-docs.standards.buildingsmart.org/IFC/RELEASE/IFC4x3/HTML/lexical/IfcZone.htm#5.4.3.82.4-Formal-propositions)
@Moult Should I move is_assignable to an util ?
2023-01-05 16:59:47 +11:00
CyrilWaechter d55dff8a77 Add IfcSpatialElementType to assignable classes
Required for IFC4+ to assign IfcSpaceType and IfcSpatialZoneType
Solves #2615
2023-01-05 16:59:47 +11:00
Thomas Krijnen 57f21d1e74 IfcOpenShell WASM module build script (#2617) 2023-01-05 16:59:47 +11:00
Thomas Krijnen b99e048aed Moar schema indices 2023-01-05 16:59:47 +11:00
Andrej730 3bf1b9f489 Added new angle annotations operator
New operator should be more intuitive to work with. I kept the old one too for now.
2023-01-05 16:59:47 +11:00
Thomas Krijnen 28261491d0 Test cases for #2586 2023-01-05 16:59:47 +11:00
Thomas Krijnen f10646ad35 Distinguish between nil and derived in validate.py 2023-01-05 16:59:47 +11:00
Thomas Krijnen d571f0871c https://raw.githubusercontent.com/buildingSMART/IFC4.3-html/sep-13-release/IFC/RELEASE/IFC4x3/HTML/IFC4X3_TC1.exp 2023-01-05 16:59:47 +11:00
Dion Moult 267bb65b5e Add API docs for drawing module 2023-01-05 16:59:47 +11:00
Dion Moult 0968687bc3 Add API documentation for document module 2023-01-05 16:59:47 +11:00
CyrilWaechter 71f1236252 Fix path for ci (root at src/ifcopenshell-python) 2023-01-05 16:59:47 +11:00
CyrilWaechter b76933b95f Update test/input submodule to https://github.com/IfcOpenShell/files/commit/20a17fcf3b1be2bc48af0273f7604af5b7cc4068
#2350
2023-01-05 16:59:47 +11:00
CyrilWaechter edee74cb31 Fix type hints #2350 for python <3.10 2023-01-05 16:59:47 +11:00
CyrilWaechter 2007047ae2 Add test suite for ifcopenshell.open #2350
Fix open function: format argument was unused
2023-01-05 16:59:47 +11:00
Thomas Krijnen 8d16ca5d88 Missing parse updates after 4e0a19e 2023-01-05 16:59:47 +11:00
Dion Moult d10325f69d Add documentation for cost module 2023-01-05 16:59:47 +11:00
CyrilWaechter ea56506683 Add stable AUR package 2023-01-05 16:59:47 +11:00
CyrilWaechter 1ed379e466 Allow to open .ifcZIP | .ifcXML #2350
Transparently open any .ifc | .ifcXML | .ifcZIP formatted file
 with any extension :
- by guessing format from its extension
(eg. .zip | .ifczip | .ifcZIP | .ifcXML | .ifcxml | .IFC | .ifc)
zipped file can file can be of any supported format
-  by specifying a format
2023-01-05 16:59:47 +11:00
CyrilWaechter fcb6971d4d IfcZone: Allow to remove an object from an IfcZone 2023-01-05 16:59:47 +11:00
CyrilWaechter 10f56a7ae2 IfcZone : Allow basic selection/deletion/creation 2023-01-05 16:59:47 +11:00
Thomas Krijnen 29bbe814a0 https://raw.githubusercontent.com/buildingSMART/IFC4.3-html/v4.3.1.0/IFC/RELEASE/IFC4x3/HTML/IFC4X3_ADD1.exp 2023-01-05 16:59:47 +11:00
Thomas Krijnen b161681ffa Fix test case 2023-01-05 16:59:47 +11:00
Massimo Fabbro c71b9c1915 Finish mapping Qto_CoveringBaseQuantities 2023-01-05 16:59:47 +11:00
Massimo Fabbro 02eb846dea Finish mapping Qto_DoorBaseQuantities and Qto_WindowBaseQuantities 2023-01-05 16:59:47 +11:00
Massimo Fabbro 899995cb51 Minor fix 2023-01-05 16:59:47 +11:00
Massimo Fabbro 85dde1033a Fix get_gross_side_area for Qto_WallBaseQuantities 2023-01-05 16:59:47 +11:00
Vukas Pajic fffb5ab6a3 #2602 get_properties no longer throws error when EnumerationValues = None 2023-01-05 16:59:47 +11:00
Kristoffer Andersen d6829d04cb bump conda daily build number 2023-01-05 16:59:47 +11:00
Ryan Schultz efaa79a841 Added diffuse_color inside IFC Style panel 2023-01-05 16:59:47 +11:00
Andrej730 201e290897 documented create_simple_2dcurve() 2023-01-05 16:59:47 +11:00
Dion Moult f43e6069ec Write API documentation for control module 2023-01-05 16:59:47 +11:00
Dion Moult c6fc048fc3 Add API documentation for context module 2023-01-05 16:59:47 +11:00
Dion Moult 8bb940c851 Add API docs for constraint module 2023-01-05 16:59:47 +11:00
Andrej730 c371bf32e7 Added c-, z-profiles with lips to AU steel library
Added c- and z-profiles with lips to IFC AU Steel profile library (based on data from https://github.com/boltsparts/boltsparts/pull/15).

For z-profiles I've created simple 2D curve generation function that can be reused later - it requires list of points and list of points with fillets and the results are list of curve points, segments and IfcIndexedPolyCurve.

Example:

    points, segments, ifc_curve = create_simple_curve_from_coords(coords,
        fillets =     (0,   1,   4, 5, 6,   7,   10, 11),
        fillet_radius=(r+t, r+t, r, r, r+t, r+t, r, r),
        closed=True, ifc_file=ifc_file)
2023-01-05 16:59:47 +11:00
Dion Moult 522d3a8367 Add API documentation for classification module 2023-01-05 16:59:47 +11:00
Dion Moult 37954e35e7 Add API docs for boundary module 2023-01-05 16:59:47 +11:00
Thomas Krijnen 49d5264ed2 Missing file 2023-01-05 16:59:47 +11:00
Thomas Krijnen 1d53a92f8a Refactoring 2023-01-05 16:59:47 +11:00
Dion Moult 2f39490fda Add docs for attribute API 2023-01-05 16:59:47 +11:00
Dion Moult f322ab6c51 Add docs for aggregate api 2023-01-05 16:59:47 +11:00
Massimo Fabbro f93d4ff92f Cleaning around in qto_calculator 2023-01-05 16:59:47 +11:00
Thomas Krijnen 412e850167 Refactoring 2023-01-05 16:59:47 +11:00
Thomas Krijnen 64021720ca Refactoring 2023-01-05 16:59:47 +11:00
Dion Moult 3a8df68710 Minor fix 2023-01-05 16:59:47 +11:00
Dion Moult e9a4b06f2b Minor documentation tweaks 2023-01-05 16:59:47 +11:00