Dion Moult
911cfe010e
Publish IfcClash to PyPI
2024-04-08 11:19:13 +10:00
Dion Moult
c89b84ff57
Whoops again
2024-04-08 10:31:37 +10:00
Dion Moult
cda13af7a3
See #4529 . Publish IfcPatch to PyPI.
2024-04-08 10:24:04 +10:00
Dion Moult
8f2a7be903
Fix #4521 .
2024-04-08 08:32:28 +10:00
Andrej730
109787d869
spatial.assign_container - support batching #4474
2024-04-05 17:28:30 +05:00
Dion Moult
c35c3f06b5
Fix #4504 . Extract CAD layers when linking in models.
2024-04-05 15:03:47 +11:00
Dion Moult
fada808a2f
See #4504 . Extract material data for linked models.
2024-04-05 14:53:11 +11:00
Andrej730
38afce1628
RegenerateGlobalIds - tests
2024-04-02 12:32:36 +05:00
Dion Moult
fbde23870e
Fix #4321 . The PurgeData recipe now also works on IFC2X3.
2024-04-01 17:00:47 +11:00
Andrej730
74adde3030
ExtractElemenets - add some tests
2024-03-27 17:52:18 +05:00
Andrej730
f68e8f0e00
ExtractElements - fix bug where IfcElementAssembly elements wasn't added to the spatial tree
...
Example issue - https://community.osarch.org/discussion/2054/bbim-extractelements-patch-and-missing-elements-in-ifcelementassembly
2024-03-27 16:59:10 +05:00
Andrej730
9ec80cee0d
TesselateElements - avoid processing queries that affect no elements
...
Previously it was failing with
File "\ifcopenshell\geom\main.py", line 119, in __init__
self.this = initializer(
File "\ifcopenshell\ifcopenshell_wrapper.py", line 2467, in construct_iterator_with_include_exclude
return _ifcopenshell_wrapper.construct_iterator_with_include_exclude(settings, file, elems, include, num_threads)
TypeError: Attribute of type AGGREGATE OF STRING needs a python sequence of strs
2024-03-21 15:06:32 +05:00
Andrej730
a5daf4177a
add_mesh_representation - option to force faceted breps
2024-03-21 15:06:32 +05:00
Andrej730
09da42d649
typing
2024-03-20 17:30:58 +05:00
Benoit DAMAY
abeefeeee7
removing debug print from previous commit
2024-03-15 14:05:09 +11:00
Benoit DAMAY
d949180461
replacing os.rename() by shutil.move in ifcpatch
2024-03-15 14:05:09 +11:00
Andrej730
8c28f52e6a
fix duplicated ifcstyleditems using append_asset
...
since we don't use `file.add` to add inverse items and we use `file.create_entity` it was duplicating new elements, added optional parameter that makes it possible to track already added relationships between `append_asset`s.
2024-03-05 14:18:18 +05:00
Andrej730
b7e26bacea
typing
2024-03-04 18:02:49 +05:00
Andrej730
a2fdd93e6b
Optimise patch - lazy import toposort
...
to fix empty Optimise patch description in BlenderBIM
2024-03-04 18:02:49 +05:00
Dion Moult
3a098e55c4
New IfcPatch recipe to extract flattened properties and relationships to SQLite for simple queries
2024-02-29 16:23:21 +11:00
Andrej730
4f3ba7ae22
some typing
2024-02-14 14:25:55 +05:00
Andrej730
4617834578
MergeDuplicateTypes - fix error occuring if ifcopenshell.api is not imported
...
error was:
File "\site-packages\ifcpatch\__init__.py", line 78, in execute
patcher.patch()
File "\site-packages\ifcpatch\recipes\MergeDuplicateTypes.py", line 73, in patch
self.assign_type(element, original_type)
File "\site-packages\ifcpatch\recipes\MergeDuplicateTypes.py", line 114, in assign_type
ifcopenshell.api.run("owner.update_owner_history", self.file, **{"element": types[0]})
^^^^^^^^^^^^^^^^
AttributeError: module 'ifcopenshell' has no attribute 'api'
2024-02-07 12:20:11 +05:00
Andrej730
ca9f165b6a
ifcpatch.execute - make input attribute optional
...
e.g. MergeDuplicateTypes doesn't use it in the code either way
2024-02-07 12:16:54 +05:00
krande
c9552fac29
update name of function to make its purpose more clear
2023-12-16 14:01:36 +01:00
krande
8aecee5836
initial proposal for updating units conversion
2023-12-16 13:37:38 +01:00
Dion Moult
cb8462a0d0
New SetWorldCoordinateSystem patch. Autodesk software is starting to pay attention to this attribute which I find really confusing.
2023-12-14 17:02:00 +11:00
Martin15135215
0259d4c0cd
add cff for ifcpatch
2023-12-07 13:42:32 +11:00
Dion Moult
2b34dc4ce7
Fix bug in TessellateElements patch recipe where sometimes the patch would run forever.
2023-12-06 14:16:18 +11:00
Dion Moult
ff0d6c810f
Fix #4072 . IDS reports now include filename.
2023-12-04 17:26:57 +11:00
Dion Moult
7aa6be8e8a
FixRevitTINs patch now also flips normals for surface TINs instead of solid TINs.
...
Minor fixes to use view_layer.object.active etc instead of context.active_object when running via Blender UI (it seems when you run the patch recipe from the Blender UI at least in later versions, context does not have an "active_object" property.
2023-11-30 14:58:32 +11:00
Dion Moult
640341715c
Minor IfcPatch doc fix where examples had a missing argument
2023-11-23 12:07:29 +11:00
Dion Moult
37a9a1b5d9
New IfcPatch recipe to tessellate elements to account for bugs in other vendors.
2023-11-21 14:21:09 +11:00
Dion Moult
c30c9d50c9
Fix missing LGPL license blocks in IfcPatch
2023-11-21 14:21:09 +11:00
Dion Moult
123557939f
New ConvertNestToAggregate patch recipe
2023-11-20 16:57:38 +11:00
Dion Moult
ad9ad3f060
Purge data recipe now also purges shape aspect names and layers.
2023-11-15 14:22:21 +11:00
Dion Moult
2fbc9e4424
Forgot rabbit branding.
2023-11-02 15:15:04 +11:00
Dion Moult
ba97da20eb
New data purging IfcPatch recipe
2023-11-02 14:59:18 +11:00
Dion Moult
159eeeb3a4
You can now edit rendering styles in the style manager
2023-10-19 16:38:42 +11:00
Dion Moult
748055dcf1
New IfcPatch recipe to fix Revit bug with occurrence based classifications
2023-10-03 21:21:28 +11:00
Dion Moult
3904162360
New IfcPatch recipe to fix Revit bug with hardcoded Uniformat classification
2023-10-03 21:21:28 +11:00
Dion Moult
c90c438324
ResetAbsoluteCoordinates IfcPatch recipe can now choose whether to reset placements, geometry, or both points.
2023-09-07 22:15:44 +10:00
Dion Moult
a3fd169bb6
IfcPatch now uses the new facet selector syntax.
2023-08-23 17:10:17 +10:00
Dion Moult
a65747dd2c
Minor doc improvements and SQL/stream code cleanup
2023-07-07 18:12:52 +10:00
Dion Moult
9944024457
The user can now toggle between rotate before / after translating in OffsetObjectPlacements
2023-07-07 15:57:42 +10:00
Dion Moult
71846d683b
Fix #3121 . Merge equivalent contexts when merging projects in MergeProject Ifcpatch recipe.
2023-07-07 13:04:44 +10:00
Dion Moult
c1d972f7bf
Ifc2Sql patch now can store inverses for efficient queries.
2023-06-26 17:08:50 +10:00
Dion Moult
704e27ecca
Build testing prototype of an SQLite based file / entity_instance.
2023-06-16 16:16:22 +10:00
Dion Moult
8cb99a77cf
Convert Ifc2Sql script to IfcPatch recipe and add geometry support
2023-06-16 13:32:33 +10:00
Dion Moult
47cc3158fd
IfcPatch can now support patches that write to arbitrary files or have no output.
2023-06-16 13:32:33 +10:00
Dion Moult
4ad9ecb7db
FixRevitTINs patch recipe now also purges non up-facing polygons as Revit doesn't handle them very well.
2023-04-03 21:28:34 +10:00