Dion Moult
cfd857233c
Fix #2864 . Fix bug where element containment was invalidly prioritised over voids and fills in relative placement.
2023-03-19 18:46:34 +11:00
Dion Moult
3da718a6d1
Fix bug where removing objects could leave orphaned annotation relationships
2023-03-19 15:17:26 +11:00
Carlos Villagrasa
a669c194cf
Merge pull request #2869 from cvillagrasa/api_material_fix
...
Api material fix
2023-03-17 17:04:22 +01:00
Carlos Villagrasa
91f4687eac
Revert "Add more parameters to material.add_layer"
...
This reverts commit 9946117de1 .
2023-03-17 17:02:35 +01:00
Carlos Villagrasa
fab7b590f7
Allow for custom IfcUnits when editing psets
2023-03-16 20:39:32 +11:00
Dion Moult
32f5a77d07
New shape utilities for getting top / bottom elevations and bbox.
2023-03-15 18:51:31 +11:00
Carlos Villagrasa
9946117de1
Add more parameters to material.add_layer
2023-03-15 08:27:46 +01:00
Carlos Villagrasa
ee85055d45
Fix bug in which layer.Material was erased
2023-03-15 08:27:27 +01:00
Dion Moult
1250a20e35
Fix #2858 . Fix #2856 . BlenderBIM Add-on drawings and IfcCSV now support the new quoted and escaped selector capabilities.
2023-03-13 11:09:56 +11:00
Thomas Krijnen
7a8bcbee33
#2685 poly curve test cases
2023-03-11 20:44:59 +01:00
Thomas Krijnen
42d7c7d32c
#2685 Recompile rule
2023-03-11 20:44:11 +01:00
Thomas Krijnen
c71a5a4d65
#2685 Indexing of simple type aggregates; fix index codegen bug; sizeof of indeterminate; repeat over indeterminate
2023-03-11 20:43:00 +01:00
Dion Moult
3e3c1699da
Fix #1047 . You can now set offsets to the iterator via Python.
2023-03-10 15:49:45 +11:00
Dion Moult
cdee5532b6
Fix #2838 . Bug where invalid 3D entity was used for 2D coordinates.
2023-03-09 21:01:54 +11:00
Dion Moult
38019288de
Fix #2839 . Bug where undo system could store edits of IFC primitives.
2023-03-09 18:18:56 +11:00
Dion Moult
3e2ca328d2
Get side area lets you choose the side axis now in util.shape.
2023-03-09 17:48:42 +11:00
Dion Moult
93b44b43a5
You can now get all materials including materials in sets via the util module.
2023-03-09 17:48:10 +11:00
Dion Moult
4ebcf8133c
Fix #2435 . The selector now supports regex filtering.
2023-03-09 11:07:28 +11:00
Dion Moult
4282014bfa
Fix #2843 . You can now get the bounding box centroid of geometry.
2023-03-08 20:58:21 +11:00
Dion Moult
30d6289942
New utility to quickly get the grid north or true north angles.
2023-03-06 17:47:22 +11:00
Dion Moult
a43a3d1ecd
Fix #2745 . You can now quote and escape complex pset names in the selector.
2023-03-06 17:47:03 +11:00
Andrej730
47192cc834
Fixed typo in generate_pset_templates.py
2023-03-03 11:08:56 +05:00
Andrej730
aa8da74ed8
ifc2x3 pset library name fix + copyrights
2023-02-24 11:07:33 +05:00
Dion Moult
aa172488b0
Fix #2594 . Document potential lag in PyPI releases of C++ core.
2023-02-24 13:35:46 +11:00
Dion Moult
ae09adf854
Fix #2424 . Bug where indirect assets (e.g. importing a type using a material) with relationships had their relationships duplicated
2023-02-24 13:01:26 +11:00
Andrej730
5b5dd73684
get_inverse_attributes - added more correct recursive unpacking for aggregates and selections
...
Not affected the result schemas though
2023-02-23 18:56:24 +05:00
Andrej730
708dc6aca2
IFC4X3/IFC2X3 pset templates library
...
Generated from xmls from the ISO release of IFC4X3.
Based on https://standards.buildingsmart.org/IFC/RELEASE/IFC4/ADD2_TC1/HTML/annex/annex-a/general-usage/IFC4_ADD2.ifc
Also generated pset templates library for IFC2X3 (also based on similar xmls) but IFC2X3 ifc pset library is using... IFC4X3 schema because IfcPropertySetTemplate and IfcRelDeclares are not available in IFC2X3. Which is okay for our purposes for now.
Will need to update IFC4X3 library if one of the issues will be resolved:
https://github.com/buildingSMART/IFC4.3.x-development/issues/587
https://github.com/buildingSMART/IFC4.3.x-development/issues/586
2023-02-23 18:17:14 +05:00
Dion Moult
2429f507ad
Fix #2785 . Fix bug where invalid models from Revit that reused material usages could create invalid models.
2023-02-21 13:48:24 +11:00
Dion Moult
03a66d2806
Fix #2787 . Fix creating invalid orphaned property and group relationships when removing systems / groups / elements.
2023-02-21 10:59:47 +11:00
Dion Moult
147602e107
Fix bug where ifcopenshell express rule validator required a logger with set_state.
2023-02-20 11:26:09 +11:00
Dion Moult
1d78e05370
Fix #2774 . Bump IfcOpenShell.
2023-02-19 21:53:49 +11:00
Andrej730
ab9a4856ab
Update entity-types mapping for ifc4
...
Added IfcWindowStyle and IfcDoorStyle for suitable StandartCases since StandartCases inherit from IfcDoor and IfcWindow.
2023-02-17 17:57:17 +05:00
Andrej730
d52618277e
Ifc4x3 - entity-types mapping
...
- added mapping entity-types mapping based on iso release of ifc4x3
- added some manual corrections for `generate_util_type_json.py` if someone would regenerate the map for ifc4.
- manual correction in ifc4x3 mapping for IfcCivilElement. It could be removed in the future releases of IFC if https://github.com/buildingSMART/IFC4.3.x-development/issues/583 is resolved
If curious to look what were the changes for mapping between ifc4 and ifc4x3:
https://github.com/IfcOpenShell/IfcOpenShell/commit/da51253fb0a9d08aa93f5fe3c074d3592b3aa997#diff-98f525c91bb47b9820e603fba61cc015d3e6ae7261593d727c51114e3ff73aa7
2023-02-17 17:57:16 +05:00
Dion Moult
f893503d0c
See #2762 . Final attempt.
2023-02-17 13:12:09 +11:00
Dion Moult
e8f21c79b1
See #2762 .
2023-02-17 12:03:25 +11:00
Dion Moult
d9f1d501aa
See #2762 . Try again.
2023-02-16 15:01:19 +11:00
Sigma Dimensions
8ee60db0df
Re-assigning a product type class should also reassign the class of its typed instances
2023-02-15 23:11:30 +01:00
Andrej730
476ab506d0
Added ifc4x3 json schema and it's parser
...
API for docs works the same way as it worked for ifc2x3 and ifc4.
Besides changing `doc.py` and adding `.json` schemas added `ifc4x3dev_scrape_data_for_docs.py` (it's kind of hacky now and relies on `server.py` code from the further mentioned repo) that's used to parse some entities descriptions from https://github.com/buildingSMART/IFC4.3.x-development for later use in `doc.py`.
2023-02-15 18:38:04 +05:00
CyrilWaechter
a6fa6201f7
Fix bugs introduced in cf87852
2023-02-15 10:34:25 +01:00
Dion Moult
77a0da2a17
See #2762 . Another attempt at fixing PyPI build.
2023-02-15 20:06:07 +11:00
Thomas Krijnen
785d2e601c
Fix after 31cf1127a6
2023-02-15 09:52:21 +01:00
Thomas Krijnen
31cf1127a6
Validation output enhancements
2023-02-14 20:55:14 +01:00
Thomas Krijnen
97385efbca
entity_instance.get_info(scalar_only=)
2023-02-14 20:11:24 +01:00
Andrej730
6a87b68c3b
Window Modifier - added 2d representation
...
+ fixed lining offset for door 2d representation
2023-02-14 16:54:43 +05:00
Thomas Krijnen
e535f911d1
Update extrusion-dir cases for undeterminate handling
2023-02-14 10:04:46 +01:00
Thomas Krijnen
18670bcbd6
Recompile rules
2023-02-14 10:04:46 +01:00
Thomas Krijnen
27511d362e
Use inverse unpacking in rule execution
2023-02-14 10:04:45 +01:00
Thomas Krijnen
c634bffa10
Update reverse compilation to eliminate getattr() calls
2023-02-14 10:04:45 +01:00
Thomas Krijnen
dffa90bd5d
Better conformance wrt indeterminate with AST rewriting and dedicated type
2023-02-14 10:04:45 +01:00
Thomas Krijnen
6a47d33974
Add zone IsGroupedBy where rule test case
2023-02-14 10:04:45 +01:00