Commit Graph

1672 Commits

Author SHA1 Message Date
Andrej730 90a77d3453 geometry.remove_representation documentation 2024-04-16 11:28:59 +02:00
Andrej730 947ae02ab9 black format 2024-04-16 11:28:59 +02:00
Andrej730 5b0528cdbc shape builder docs 2024-04-16 11:28:59 +02:00
Andrej730 6d8de6425f shape builder polyline example and tests 2024-04-16 11:28:59 +02:00
Andrej730 c3ddfbdae2 fix couple building docs errors / warnings 2024-04-16 11:28:59 +02:00
Andrej730 d344923a3c shape builder docs fixes 2024-04-16 11:28:59 +02:00
Andrej730 a28e24d2f5 IFC4 Landscape Library
Created IFC library with simple trees, shrubs and hedges - with both 2d and 3d representations. Example - https://i.imgur.com/pOjh1si.png
Now it's available along with the furniture library when creating new project - https://i.imgur.com/Ho0B5Gn.png
2024-04-16 11:28:59 +02:00
Andrej730 8ba68d0f0b static ifcopenshell.geom.serializers and some typing for IDE code hints
code itself should work exactly the same way
2024-04-16 11:28:58 +02:00
Dion Moult 7b7dece5e7 See #4240. Guard against possible user creating invalid userdefined attribute values. 2024-04-16 11:28:58 +02:00
Dion Moult 0d3901336b See #4240. Fix validation issue with perspective drawing pyramid booleans. Boolean clipping results can only be used on swept solids. 2024-04-16 11:28:58 +02:00
Dion Moult 34c6be0f02 See #4240. Fix bug where 2D arbitrary profiles were invalid IFC (used 3D point lists not 2D) 2024-04-16 11:28:58 +02:00
Dion Moult 3d19d4d319 See #4216. Document using OpenCASCADE geometry serialisation to create geometry. 2024-04-16 11:26:47 +02:00
Dion Moult 4ee0930e05 Fix #4109. Write docs about geometry serialiser. 2024-04-16 11:26:47 +02:00
Dion Moult 881f38e163 Fix #4227. Add shapely as an optional dependency for IOS-Python 2024-04-16 11:26:45 +02:00
Thomas Krijnen 1764741027 #4220 weakref to file 2024-04-16 11:26:37 +02:00
Thomas Krijnen eb35b88a1e #4220 Update file.py 2024-04-16 11:26:37 +02:00
Dion Moult f2fab06438 Fix #4089. Document support for Linux AArch64 on Conda. 2024-04-16 11:26:37 +02:00
Dion Moult 1fbc770775 Fix #4211. Minor documentation fix that clarifies upstream bug about whether qto can be assigned to types. 2024-04-16 11:26:37 +02:00
Dion Moult aafda4e787 Fix #4224. Fix sequencing lint bugs. 2024-04-16 11:26:36 +02:00
Andrej730 e841d6ee3a Migrator - basic support for migrating attributes ifc4 -> ifc4x3
And added one of the IfcProperty renamed attribute as an example
2024-04-16 11:26:36 +02:00
Andrej730 f8d38b11e6 Migrator - display some error message for unhandled schemas
Noticed it was resulting in error below migrating to IFC4X3 in some cases as we don't have a mapping for IFC4X3 yet.
```
    if value is None and not attribute.optional():
UnboundLocalError: local variable 'value' referenced before assignment
```
2024-04-16 11:26:36 +02:00
Andrej730 30b51b93af black format 2024-04-16 11:26:36 +02:00
Thomas Krijnen 2aa048d0c9 #4220 Update entity_instance.py 2024-04-16 11:26:36 +02:00
mohamadalbaaj 6f7be74e7c Fixing Dimension Mismatch in Matrix Multiplication 2024-04-16 11:26:36 +02:00
Dion Moult 65c00f75dd Minor test fix 2024-04-16 11:26:36 +02:00
Dion Moult 608147c245 Fix #4195. Fix regressions from f840da3 and add support for "contains string" comparisons. 2024-04-16 11:26:36 +02:00
Dion Moult 33051c0139 Fix #4203. Fix bug where removing nested cost items left orphaned relationships. 2024-04-16 11:26:36 +02:00
c4rlosdias 43259c0124 Added more comparisons in search 2024-04-16 11:26:36 +02:00
sennhvi fd657f2b6f Update geometry_processing.rst
Add an usage example of the parameter include  for the Geometry Iterator
2024-04-16 11:26:36 +02:00
Dion Moult f55b7d439f Fix bug where updating type text literals didn't propagate and formatting rounding null values wasn't handled. 2024-04-16 11:26:35 +02:00
Dion Moult 009d1a0aba Add support for groups in selection queries 2024-04-16 11:25:27 +02:00
Sigma Dimensions (Yass) 63e3786354 add conversion based unit symbols 2024-04-16 11:25:27 +02:00
Thomas Krijnen aca4b4f957 Generalize shortened file.schema attribute 2024-04-16 11:25:27 +02:00
Sigma Dimensions (Yass) a2eef4995c fix resource cost calculation 2024-04-16 11:25:27 +02:00
Sigma Dimensions (Yass) e58495161b Record formula and resource name for cost values when calculating resource cost 2024-04-16 11:25:27 +02:00
Sigma Dimensions (Yass) bf2027ff96 fix cost value calculation when using parent cost 2024-04-16 11:25:27 +02:00
Thomas Krijnen ebd995d98d Update src/ifcopenshell-python/docs/ifcopenshell-python/geometry_processing.rst 2024-04-16 11:17:58 +02:00
wangsenhui c6f7417ce8 add geometry processing with multiple representations example 2024-04-16 11:17:58 +02:00
wangsenhui 6084354932 add geometry processing with multiple representations example 2024-04-16 11:17:58 +02:00
wangsenhui 73f81b18fd add geometry processing with multiple representations example 2024-04-16 11:17:58 +02:00
Andrej730 3008599eec Clean up IfcIndexedColourMap removing representation #4138
Because we wasn't removing colour map, remove_representation was producing orphaned IfcPolygonalFaceSet that were referred by colour map.
2024-04-16 11:17:07 +02:00
Andrej730 6b7936c0ce Fix typo in 92cf0d9 2024-04-16 11:17:06 +02:00
Andrej730 0fb2a7e5ec remove_representation not to leave brokens refs with batch_remove #4138 2024-04-16 11:17:06 +02:00
Sigma Dimensions (Yass) 38502734e8 consider unit basis for calculating resource costs #4122 2024-04-16 11:17:06 +02:00
krande f73a438d38 add test and update ci 2024-04-16 11:16:40 +02:00
krande 680f075b1b remove ifc2x3 conditional in conversion utility 2024-04-16 11:16:08 +02:00
krande 5a61173052 update name of function to make its purpose more clear 2024-04-16 11:16:08 +02:00
krande 187da13de8 update unit_assignment 2024-04-16 11:16:08 +02:00
krande 5c75cc6a39 initial proposal for updating units conversion 2024-04-16 11:16:08 +02:00
Sigma Dimensions (Yass) 7f4ab61b8a fix displaying derived task durations 2024-04-16 11:16:08 +02:00