Commit Graph

6475 Commits

Author SHA1 Message Date
Andrej730 a7cbc628a8 Fixed annotations angle operator svg rendering bug
Fixed bug where the angle was drawn in svg only for the first two edges of the curve.
Now it takes into account all edges - first angle = edge0 + edge1, second angle = edge1 + edge2 etc.
2023-01-05 16:59:48 +11:00
CyrilWaechter 3ab02a3931 Allow to write to unexisting directory
`ifcopenshell.write("/unexisting/path/model.ifc")` was failing without
throwing an error. It now works and a test ensure it works.
2023-01-05 16:59:48 +11:00
Sigma Dimensions 31b095ff68 fix library import for date utils 2023-01-05 16:59:48 +11:00
Sigma Dimensions b09e19dc8a Proposal to use parent productivity to calculate resource work. 2023-01-05 16:59:48 +11:00
Sigma Dimensions 97327dbc13 BBIM: forgotten commit for "ScheduleDuration" formatting 2023-01-05 16:59:48 +11:00
Sigma Dimensions 9ad0fca10e fix typo for resource_work calculation 2023-01-05 16:59:48 +11:00
Sigma Dimensions bea095afd0 fix offset date calculation when finish date lies outside of calendar range 2023-01-05 16:59:48 +11:00
Dion Moult d34e45fad5 Add support for loading IFCs with aggregated types 2023-01-05 16:59:48 +11:00
Dion Moult efed95615e Write documentation for root API module 2023-01-05 16:59:48 +11:00
Dion Moult 9bb4b0328a Write documentation for resource API module 2023-01-05 16:59:48 +11:00
Dion Moult 5f9d1a5e63 Write documentation for pset_template API module 2023-01-05 16:59:48 +11:00
Dion Moult f6ba95935a Add documentation for pset API module 2023-01-05 16:59:48 +11:00
Dion Moult d9d58af049 Consolidate standard "clean environment" instructions in docs 2023-01-05 16:59:48 +11:00
Dion Moult aed3bdf72a Write docs for project API module 2023-01-05 16:59:48 +11:00
Dion Moult 968f56a189 Revert detailed SPF comments in code example
Sorry I find these really hard to read an intimidating for new users.
2023-01-05 16:59:48 +11:00
Dion Moult 90d92e70b2 Write docs for profile API module 2023-01-05 16:59:48 +11:00
Dion Moult efacef1789 Write docs for owner API module 2023-01-05 16:59:48 +11:00
Ryan Schultz a590cf8330 Added some troubleshooting measures to determine if another plugin is interfering with BB. 2023-01-05 16:59:48 +11:00
fbpyr 05a7c66843 bump python version
bumping python version, so it works with our ubuntu latest image and `actions/setup-python@v2`
2023-01-05 16:59:48 +11:00
CyrilWaechter c4a4752a7e Ignore mypy cache, swig and compiled files 2023-01-05 16:59:48 +11:00
CyrilWaechter 50f1c52d24 Remove bloat line 2023-01-05 16:59:48 +11:00
CyrilWaechter a5e419cdc3 Remove duplicate line 2023-01-05 16:59:48 +11:00
CyrilWaechter d22557c8a0 Move boundary origin to space origin
Ensure that boundary origin is same as space origin to assign correct
geometry into IFC.
2023-01-05 16:59:48 +11:00
Ryan Schultz c6e285cef8 where to look to see if a dependency has changed. 2023-01-05 16:59:48 +11:00
CyrilWaechter f81fc4e748 Remove unecessary line which make build failing 2023-01-05 16:59:48 +11:00
Dion Moult 28d9e435d1 Write documentation for the nest API module. 2023-01-05 16:59:48 +11:00
Dion Moult fe5e35bae4 Add API documentation for the material module 2023-01-05 16:59:48 +11:00
Dion Moult 1dc5b8cd33 Add docs for library API module 2023-01-05 16:59:48 +11:00
Dion Moult 8e04847310 Add docs to layer API 2023-01-05 16:59:48 +11:00
Dion Moult b37d8d3e7f Add API documentation for group module 2023-01-05 16:59:48 +11:00
Dion Moult 7d08360808 Add documentation for grid API module 2023-01-05 16:59:48 +11:00
Ryan Schultz 5ac0e92250 Added more examples to the Code Examples page 2023-01-05 16:59:48 +11:00
Andrej730 61d42a914c Added ReloadSelectedIfcFile operator
Added ReloadSelectedIfcFile operator and added it to IFC Quality Control -> IFC Debug, it's useful when you're debugging and doing a lot of iterations on the same file.
2023-01-05 16:59:48 +11:00
Massimo Fabbro 5d516154b1 Mapping quantities (see #2533) (#2627)
* Finish mapping Qto_PileBaseQuantities

* Finish mapping IfcPipeSegmentBaseQuantities

* Finish mapping IfcVehicleBaseQuantities

* Finish mapping Qto_OpeningElementBaseQuantities

* Finish mapping Qto_PlateBaseQuantities

* Finish Qto_MarineFacilityBaseQuantities

* Finish Qto_FacilityPartBaseQuantities

* Finish Qto_ProjectionElementBaseQuantities

* Better syntax
2023-01-05 16:59:48 +11:00
Thomas Krijnen 59f74eaf8e #2624 2023-01-05 16:59:48 +11:00
Dion Moult 1313cb34bb Add API docs for georeferencing module 2023-01-05 16:59:48 +11:00
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