Andrej730
96a8c1e8ae
style.assign_material_style to assign style to related shape aspects
2024-02-19 18:08:18 +05:00
Andrej730
602e18a262
promote get_shape_aspects to util.element method
2024-02-19 18:08:18 +05:00
Andrej730
a2ff63f9ec
Fix issue editing object placement that shares it's axis placement with other placements
...
If multiple object placements were reusing the same IfcAxis2Placement then editing one of them would remove IfcAxis2Placement ignoring it's inverse references making all other object placements invalid.
2024-02-16 18:04:09 +05:00
Andrej730
a82b0f30b0
fix errors getting layer assignments in ifc2x3 #4330
2024-02-16 18:04:09 +05:00
Andrej730
4f3ba7ae22
some typing
2024-02-14 14:25:55 +05:00
Andrej730
a33a1700dc
Fix bug in ExtractElements recipe adding a lot unrelated products
...
if you'd add a type product and it had material that were used in bunch of ther products
example - https://community.osarch.org/discussion/1965/error-extracting-ifcslab-or-ifccolumn
2024-02-14 14:23:50 +05:00
Andrej730
5e5de0bbd8
root.remove_product - fix some cases producing invalid ifc #4313
...
always remove IfcRelNests
1) if product is RelatingObject
2) if product is the only RelatedObject
2024-02-12 11:40:25 +05:00
Andrej730
e1a1ba62c5
add fallback to the previous schema versions for docs and mappings
...
before it was breaking part of BlenderBIM UI if we would open IFC4X1 file
2024-02-09 12:12:02 +05:00
Andrej730
426dcbee43
ifcopenshell installation notion about compiling only specific schemas
2024-02-07 12:20:11 +05:00
Andrej730
e355a33d48
bump required cmake version to remove deprecation warning
...
deprecation warning:
CMake Deprecation Warning at CMakeLists.txt:20 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
2024-02-07 12:16:55 +05:00
Andrej730
73817acdff
add a note on get_info_2() #4270
2024-02-01 17:19:35 +05:00
Andrej730
bd64f42a54
remove_representation to consider representation item's layers too
...
and purge layers if they are out of items as they become invalid
2024-01-30 14:36:35 +05:00
Andrej730
5351966430
access layer assignments from inverse attribute instead of going through representation inverses
2024-01-30 14:36:35 +05:00
Andrej730
fda6fc6c48
geometry.remove_representation documentation
2024-01-26 17:20:39 +05:00
Andrej730
b7a3dd4164
black format
2024-01-26 14:54:50 +05:00
Andrej730
51b5a507cf
shape builder docs
2024-01-25 16:46:38 +05:00
Andrej730
a44357dad5
shape builder polyline example and tests
2024-01-25 16:46:34 +05:00
Andrej730
352321364c
fix couple building docs errors / warnings
2024-01-24 16:38:53 +05:00
Andrej730
2ab32e41b2
shape builder docs fixes
2024-01-24 16:38:53 +05:00
Andrej730
3fbd9d7cdf
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-01-24 16:38:52 +05:00
Andrej730
c3ded31a6a
static ifcopenshell.geom.serializers and some typing for IDE code hints
...
code itself should work exactly the same way
2024-01-22 14:24:24 +05:00
Dion Moult
ab80400e16
See #4240 . Guard against possible user creating invalid userdefined attribute values.
2024-01-21 21:56:45 +11:00
Dion Moult
c88496c6a6
See #4240 . Fix validation issue with perspective drawing pyramid booleans. Boolean clipping results can only be used on swept solids.
2024-01-21 19:13:40 +11:00
Dion Moult
0ee07fb8cc
See #4240 . Fix bug where 2D arbitrary profiles were invalid IFC (used 3D point lists not 2D)
2024-01-21 16:07:00 +11:00
Dion Moult
0b308770a6
See #4216 . Document using OpenCASCADE geometry serialisation to create geometry.
2024-01-20 14:35:52 +11:00
Dion Moult
ff3c7786f6
Fix #4109 . Write docs about geometry serialiser.
2024-01-19 23:18:38 +11:00
Dion Moult
3f71efea6d
Fix #4227 . Add shapely as an optional dependency for IOS-Python
2024-01-18 09:22:35 +11:00
Thomas Krijnen
b57b7080fd
#4220 weakref to file
2024-01-16 09:44:04 +01:00
Thomas Krijnen
860ff4e513
#4220 Update file.py
2024-01-16 09:31:35 +01:00
Dion Moult
663966e08d
Fix #4089 . Document support for Linux AArch64 on Conda.
2024-01-16 11:19:17 +11:00
Dion Moult
f077ebdc81
Fix #4211 . Minor documentation fix that clarifies upstream bug about whether qto can be assigned to types.
2024-01-16 10:56:35 +11:00
Dion Moult
40b6b3bf17
Fix #4224 . Fix sequencing lint bugs.
2024-01-16 10:47:50 +11:00
Andrej730
8728fa38b9
Migrator - basic support for migrating attributes ifc4 -> ifc4x3
...
And added one of the IfcProperty renamed attribute as an example
2024-01-15 17:39:49 +05:00
Andrej730
39ee9cd8b1
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-01-15 16:16:29 +05:00
Andrej730
b375bbf558
black format
2024-01-15 16:16:29 +05:00
Thomas Krijnen
f2cae79dea
#4220 Update entity_instance.py
2024-01-15 12:01:18 +01:00
mohamadalbaaj
83d364574a
Fixing Dimension Mismatch in Matrix Multiplication
2024-01-14 15:08:08 +11:00
Dion Moult
688d2b7bd1
Minor test fix
2024-01-13 16:49:27 +11:00
Dion Moult
ca8e014647
Fix #4195 . Fix regressions from f840da3 and add support for "contains string" comparisons.
2024-01-13 15:58:57 +11:00
Dion Moult
8df40dc4a6
Fix #4203 . Fix bug where removing nested cost items left orphaned relationships.
2024-01-12 18:14:49 +11:00
c4rlosdias
f840da3ffd
Added more comparisons in search
2024-01-10 23:21:18 +11:00
sennhvi
034df852b2
Update geometry_processing.rst
...
Add an usage example of the parameter include for the Geometry Iterator
2024-01-10 23:19:46 +11:00
Dion Moult
6ea1e378c5
Fix bug where updating type text literals didn't propagate and formatting rounding null values wasn't handled.
2024-01-10 14:42:14 +11:00
Dion Moult
bfabc0db0f
Add support for groups in selection queries
2024-01-09 16:44:40 +11:00
Sigma Dimensions (Yass)
f1b5f7d558
add conversion based unit symbols
2024-01-05 18:45:54 +01:00
Thomas Krijnen
77a497cdf7
Generalize shortened file.schema attribute
2024-01-04 15:05:40 +01:00
Sigma Dimensions (Yass)
c26caaa58d
fix resource cost calculation
2024-01-04 09:33:55 +01:00
Sigma Dimensions (Yass)
b260bd3877
Record formula and resource name for cost values when calculating resource cost
2024-01-04 09:32:31 +01:00
Sigma Dimensions (Yass)
cd6246c382
fix cost value calculation when using parent cost
2024-01-04 09:30:27 +01:00
Thomas Krijnen
831709d514
Update src/ifcopenshell-python/docs/ifcopenshell-python/geometry_processing.rst
2023-12-30 10:03:10 +01:00