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
wangsenhui
5925476ed9
add geometry processing with multiple representations example
2023-12-30 10:03:10 +01:00
wangsenhui
3edb3c8df3
add geometry processing with multiple representations example
2023-12-30 10:03:10 +01:00
wangsenhui
72badd8427
add geometry processing with multiple representations example
2023-12-30 10:03:10 +01:00
Andrej730
0fbe4d80c7
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.
2023-12-26 11:33:20 +05:00
Andrej730
0b47fb5987
Fix typo in 92cf0d9
2023-12-22 21:53:31 +05:00
Andrej730
92cf0d9265
remove_representation not to leave brokens refs with batch_remove #4138
2023-12-22 16:04:52 +05:00
Sigma Dimensions (Yass)
46454c5c94
consider unit basis for calculating resource costs #4122
2023-12-20 14:19:16 +01:00
Kristoffer Andersen
96db699ad2
Merge pull request #4125 from Krande/fix/convert-units
...
Proposal for updating IfcPatch ConvertLengthUnit.py for compatibility with boost>=1.82
2023-12-19 06:43:01 +01:00
Sigma Dimensions (Yass)
df390a655d
fix displaying derived task durations
2023-12-17 20:20:52 +01:00
krande
9335c8a0c8
add test and update ci
2023-12-17 18:09:28 +01:00
krande
f5500da0af
remove ifc2x3 conditional in conversion utility
2023-12-16 14:18:13 +01:00
krande
c9552fac29
update name of function to make its purpose more clear
2023-12-16 14:01:36 +01:00
krande
b11b3b7fa8
update unit_assignment
2023-12-16 13:47:18 +01:00
krande
8aecee5836
initial proposal for updating units conversion
2023-12-16 13:37:38 +01:00
Dion Moult
000245c26c
Nesting collections only generate for element nesting, not port nesting
2023-12-14 16:50:56 +11:00
Andrej730
f8af28f12a
style.edit_surface_style to support editing IfcSurfaceStyleLighting
...
It was failing because api method wasn't supporting IfcColourRgb attributes edit in general but only for IfcSurfaceStyleShading.SurfaceColour
2023-12-13 16:53:58 +05:00
Andrej730
c4080626df
style.add_surface_texture to work without blender material provided
2023-12-13 14:07:48 +05:00
Bruno Postle
a8078e38d2
Fix Clipping divide error (reported in #4057 )
2023-12-12 22:15:59 +00:00
Dion Moult
7c89d072e2
Fix #4086 . Add support for non predefined bSDD pset and qto values.
2023-12-08 15:07:46 +11:00
Andrej730
f773480917
style.edit_surface_style - fix crash setting attribute to None
...
Occured on setting IfcColourOrFactor attribute to None (e.g. DiffuseColour).
2023-12-07 18:09:17 +05:00
Martin15135215
0f32ffe232
add cff for ifcopenshell-python
2023-12-07 13:42:32 +11:00
Ryan Schultz
52ae759218
Added classification to selector
2023-12-07 13:39:42 +11:00
Dion Moult
1b35ea122e
Implement support for managing nest hosts and components.
2023-12-07 13:19:29 +11:00
Andrej730
496e58418a
fixed typo
2023-12-01 16:53:50 +05:00
Thomas Krijnen
b976ad3880
occ_utils.py - #1037
2023-12-01 12:42:09 +01:00
MicheleBenedetti
31a763fe12
mistype-fix
2023-12-01 10:34:11 +11:00
Dion Moult
e8bd272189
Fix #4057 . Data objects for the API are now in util.data instead of mixed into the shape builder utility and only depends on numpy.
2023-11-29 14:36:01 +11:00
Bruno Postle
25bd94e84a
minor documentation typo fix
2023-11-28 23:28:38 +00:00
Dion Moult
434a11a502
Fix #4057 . Move clipping info dataclass to util.shape_builder
2023-11-29 09:28:24 +11:00
Dion Moult
03809b3d5e
Fix #3996 . Reassigning occurrences or types now also reassigns the correlating occurrence or type.
2023-11-28 16:44:31 +11:00
Dion Moult
3e268be5c7
Fix #4052 . Bug where invalid plane was generated due to missing X axis.
2023-11-28 11:52:56 +11:00
Dion Moult
6e932ec2fb
Fix #3974 . Bug where orphaned histories would be left in API remove operations.
2023-11-28 10:46:03 +11:00
Kristoffer Andersen
58414777be
Update installation.rst
...
add more information about conda package installation
2023-11-27 10:25:11 +01:00