Thomas Krijnen
aa9b2d7428
populate_derived() upon instance creation, don't only rely on serialization 'hack' #5364
2024-10-07 20:41:34 +02:00
Andrej730
e5c83b1538
same as 3b71d0050 #5537
2024-10-04 18:45:39 +05:00
Andrej730
392b458563
ifcopenshell.util.element.replace_element
2024-10-03 17:15:34 +05:00
Andrej730
8ae951d27a
get_info_2 to support excluding identifier
2024-10-03 17:15:33 +05:00
Andrej730
770e25dbc2
typing
2024-10-03 17:15:33 +05:00
Andrej730
104b6f5564
append_asset option to avoid assuming unique names for assets #5391
2024-10-02 18:33:31 +05:00
smr02
d5fddd5f1b
https://github.com/IfcOpenShell/IfcOpenShell/issues/5511#issuecomment-2388073735
2024-10-02 15:28:58 +02:00
Andrej730
2a9301ead2
project.append_asset - slight optimization for existing elements search
2024-10-01 18:08:03 +05:00
Andrej730
315d3c6437
ifcopenshell.file.to_string
2024-10-01 18:08:03 +05:00
Andrej730
35f53232b6
typing
2024-10-01 18:08:03 +05:00
Andrej730
f63a7d420e
style.remove_style to handle IfcFillAreaStyles
2024-10-01 15:38:46 +05:00
Andrej730
19f1c87437
style.remove_style to handle IfcFillAreaStyleHatching
2024-10-01 15:38:46 +05:00
Andrej730
4b39631b98
get_element_by_style to support IfcFillAreaStyleTiles
2024-10-01 15:38:46 +05:00
Andrej730
e040dc4562
get_elements_by_style to support curve styles used in IfcFillAreaStyleHatching
2024-10-01 15:38:45 +05:00
Andrej730
b7c390585b
ios - fix error removing other IfcPresentationStyles
...
besides IfcSurfaceStyle
2024-10-01 15:38:45 +05:00
Andrej730
9131804e4e
black .
2024-09-30 16:02:52 +05:00
Thomas Krijnen
314534436d
Add .ttl + Well Known Text geometry serializer
2024-09-27 16:32:47 +02:00
Andrej730
0dff19ba6a
Project library dropdown - show only libraries compatible with the current schema
...
To prevent errors trying to append elements from the wrong schema library
2024-09-27 19:06:31 +05:00
Dion Moult
4261fdbed6
Rewrite coordinate offset to use np.array not Vector() for precision
2024-09-27 23:09:00 +10:00
Andrej730
dd9de98290
Store edges representation item ids in Triangulation
2024-09-25 19:09:14 +05:00
Andrej730
6ac40b4ab3
typing
2024-09-25 19:09:14 +05:00
Andrej730
266416226b
ifcopenshell.sql - repr for entities
2024-09-24 19:30:08 +05:00
Andrej730
21dd5054e6
ifcopenshell.sql - fix error in by_id method
...
it was fetching some random row from id_map instead of using ifc_id filter
2024-09-24 19:30:07 +05:00
Andrej730
08e221fe93
ifcopenshell.sql - garbage collection errors (same as fe1dff0191)
2024-09-24 19:30:07 +05:00
Andrej730
c7e97d06bd
ifcopenshell.sql - fix error opening files similar to #5457
2024-09-24 19:30:07 +05:00
Andrej730
46cc3a449a
ifcopenshell.sql - handle non existing files
...
previously it would create an empty database and give a confusing error "AssertionError: SQLite schema not supported."
2024-09-24 19:30:07 +05:00
Andrej730
9e86d83616
ifcopenshell.sql - typing
2024-09-24 19:30:07 +05:00
Andrej730
2829b7daf6
ifcopenshell.stream - remove unrelated code from ifcopenshell.sql
2024-09-24 19:30:07 +05:00
Andrej730
9a23daf7b3
stream - add support of crlf files
2024-09-24 19:30:07 +05:00
Andrej730
4e3d6f1773
typing
2024-09-24 19:30:07 +05:00
Andrej730
7045fba9c0
black .
2024-09-24 19:30:00 +05:00
myoualid
455012de4c
cost web ui:
...
- add "Linked rate" column,
- assign a cost rate to multiple cost items by selecting linked rate cells & clicking the "assign" button on the chosen cost rate
#5369
2024-09-23 20:19:06 +01:00
Andrej730
fe1dff0191
ifcopenshell.stream - fix garbage collection errors
...
Mentioined in #5457
Errors such as:
Exception ignored in: <function file.__del__ at 0x7f4cfcc9f920>
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/ifcopenshell/file.py", line 284, in __del__
del file_dict[self.file_pointer()]
^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/ifcopenshell/file.py", line 444, in __getattr__
return getattr(self.wrapped_data, attr)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'file_pointer'
2024-09-23 19:33:28 +05:00
Andrej730
08bba92b2e
fix opening ifc files with streaming #5457
2024-09-23 19:33:28 +05:00
Andrej730
df055cefd4
typing
2024-09-23 19:33:27 +05:00
Andrej730
65f9a745a3
black .
2024-09-23 19:33:27 +05:00
myoualid
193daff617
web-ui: enable assigning parametric quantities from queries #5369
2024-09-23 02:21:15 +01:00
myoualid
9f542c30b3
cost module web ui:
...
- add setting options to hide/show columns
- Cost classification column
- New Cost Classification Form to display active classification library, add/delete classification references
2024-09-22 20:00:09 +01:00
Dion Moult
2a8d43c42c
Basic editing of item attributes implemented
2024-09-21 14:27:17 +10:00
myoualid
8c4ab5bf03
enable displaying schedule of rates - web ui ref #5369
2024-09-21 00:16:11 +01:00
Andrej730
d4df21c4be
ifcopenshell.util.shape.get_normals
2024-09-20 22:03:19 +05:00
Andrej730
9953ce1b39
typing
2024-09-20 22:03:19 +05:00
Thomas Krijnen
2554280e50
triangulation-type setting for non-triangulated polyhedral from iterator
2024-09-18 19:28:07 +02:00
Andrej730
4dbfeefe53
Fix UI errors getting elements using qset in IFC2X3
...
In IFC2X3 IfcQuantitySet didn't existed yet
Mentioned in #5404
2024-09-18 18:44:33 +05:00
Dion Moult
dbfa4ecf65
Fix minor regression in fe0be0c
2024-09-18 22:58:22 +10:00
Dion Moult
736d91f38e
Shape builder now supportes meshy things and faceted breps
2024-09-18 21:35:40 +10:00
Andrej730
6d8ffc27cc
ifcopenshell.util.shape.get_material_colors
2024-09-16 18:54:13 +05:00
Andrej730
6a47e68b78
fix typo
2024-09-16 18:54:12 +05:00
Andrej730
0891df5d6c
typing
2024-09-16 18:54:12 +05:00
Andrej730
8061e22480
geometry.unassign_representation to remove shape aspects
...
previously it was leaving unused shape aspects unconnected to any other elements, now it will purge them
2024-09-13 18:50:54 +05:00