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
Dion Moult
14f1acadb7
See #3974 . WIP review to ensure history removal in API.
2023-11-27 18:31:55 +11:00
Dion Moult
5937ed4b63
Fix #4034 . Bug where abstract pset template applicabilities didn't apply to occurrences as well as types.
2023-11-24 14:02:27 +11:00
Bruno Postle
8f650c56e5
Revert 1d972a6 as no datetime.UTC on CI server
2023-11-23 21:59:23 +00:00
Bruno Postle
1d972a6a6f
fix python 3.12 utcnow() deprecation warning
...
Warning is:
/usr/lib64/python3.12/site-packages/ifcopenshell/api/project/create_file.py:61:
DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version.
Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
2023-11-23 21:16:24 +00:00
Bruno Postle
70a1d7d345
python api documentation fix
2023-11-23 21:15:24 +00:00
Andrej730
0da210b732
edit_object_placement optimization for objects with subchildren #4035
...
1) We were iterating over same subchildren 2 or more times.
2) There is no need to change subchildren position at all since their parent position is already adjusted.
Explained here in detail - https://github.com/IfcOpenShell/IfcOpenShell/issues/4035#issuecomment-1822824352
2023-11-23 13:43:39 +05:00
Andrej730
6ee4edd0a0
Fixed issue reassigning class to type class with userdefined type #4018
...
When PredefinedType is not found in the related enum reassign_class is considering it USERDEFINED and trying to set .ObjectType. The problem was it was doing for type classes also, when it should have set .ElementType instead.
Why it crashed BlenderBIM - in IfcClassData.data["has_entity"] we store currently active IFC entity which is recreated during `ifcopenshell.util.schema.reassign_class` making old entity invalid. Since `root.reassign_class` was failing in the process, related BBIM operator was failing too, IfcClassData wasn't updated and removed entity was accessed from UI leading to crash.
2023-11-21 12:35:35 +05:00
Dion Moult
229c7285c2
Add support for loading nested elements and consider nesting for indirect spatial containment.
2023-11-20 16:57:38 +11:00
Andrej730
50bbe849ff
minor fix to support union typing before python 3.10 #3774
2023-11-17 18:57:51 +05:00
Andrej730
dc438b2560
ClippingInfo util class to pass and apply plane clippings #3774
...
Co-Authored-By: Carlos Villagrasa <carvillasil@gmail.com >
2023-11-17 16:52:59 +05:00
Andrej730
6750dd927c
minor fixes
...
- error in settings poll message for bim.assign_selected_as_product
- test that drawing.assign_product won't create new assignments for the same product
2023-11-17 12:30:34 +05:00
Andrej730
c6454803ee
fixed issue adding bend between segments located at the same point
...
also added some tests
2023-11-14 17:18:57 +05:00
VDobranov
dd044c8516
Update reference_structure.py
...
A mistype in docs: should be IfcRelReferencedInSpatialStructure instead of IfcRelContainedInSpatialStructure
2023-11-11 12:56:26 +01:00
Andrej730
c26988b292
root.remove_product to remove IfcRelFlowControlElements
2023-11-10 12:10:22 +05:00
Andrej730
9a80dc14e9
api for assigning/unassigning flow controls #3981
2023-11-09 17:34:26 +05:00
Andrej730
6bda066e1b
Fixed typo in control.assign_control, added tests
2023-11-09 15:33:31 +05:00
Igor.Sokolov
b3a6b8e07f
bf: IfcBSplineCurve is an isntance of abstract entity
2023-11-04 15:41:38 +01:00
Igor.Sokolov
52700452d9
bf: pass-valid-selected-enumeration.ifc
2023-11-04 15:41:38 +01:00
Igor.Sokolov
aab011f7bf
bf: pass-group-1-rels-IFC2X3.ifc failed
2023-11-04 15:41:38 +01:00
Igor.Sokolov
5f129e2357
bf: pass-attr-count-ok.ifc failed
2023-11-04 15:41:38 +01:00
Dion Moult
6f3ff51d91
Docs now mention historic builds
2023-11-03 22:45:42 +11:00
Dion Moult
0de0422c2e
Minor fix
2023-11-03 22:45:42 +11:00
ceegartner
01f52e069e
Update unit.py - convert function, case issue
...
Hi,
I noticed an issue and suggest a fix:
Unit names from <si_conversions> are all lowercase, whereas project units extracted from the IFC files with <get_project_unit(...).Name> are uppercase. So the convert function didn't seem to work properly.
Hope this helps!
2023-11-03 11:47:44 +01:00
Dion Moult
7c694e5b3e
Fix #3951 . mats selector now supports IfcMaterialList.
2023-11-01 22:48:31 +11:00
Dion Moult
8eeb212003
See #3951 . IfcCSV now supports list concatenation.
2023-11-01 22:47:30 +11:00
Dion Moult
20b7ee009d
Fix #3957 . Fix bug where shared properties were not edited independently.
2023-11-01 15:18:57 +11:00
Dion Moult
19a3f56941
Fix #3958 . Bug where reassigning type class would incorrectly assign occurrence classes.
2023-11-01 14:41:25 +11:00
Dion Moult
3b298d44c1
Fix regressions in mapped native swept disk handling
2023-11-01 14:16:12 +11:00
Ryan Schultz
3b3668eedf
More IFC class suggestions
2023-10-30 22:51:55 -05:00
Dion Moult
7f7f353131
Disable batching for removal as it doesn't seem to help mostly from experience. Still testing.
2023-10-31 12:31:05 +11:00
Dion Moult
53594de1ff
See #3955 . PyPI release now specifies compatible Python versions.
2023-10-31 08:32:51 +11:00
Thomas Krijnen
db06cff997
Update test file for case insensitivity. Thanks Igor.
2023-10-29 14:35:14 +01:00
Dion Moult
f0028c0094
get_footprint_area now unions 2D polygons to prevent double counting
2023-10-28 15:54:45 +11:00