Andrej730
1f605484d9
library.unassign_reference - support batching #4474
2024-04-15 17:24:31 +05:00
Andrej730
81dcad6a14
library.assign_reference - support batching #4474
2024-04-15 17:24:31 +05:00
Andrej730
144831f9ee
classification.remove_reference - support batching #4474
2024-04-15 17:23:24 +05:00
Andrej730
d6e69bd6e9
classification.add_reference - support batching #4474
2024-04-15 17:23:14 +05:00
Andrej730
eb46de9658
material.unassign_material - support batching #4474
2024-04-12 17:41:37 +05:00
Andrej730
59cc9c0a16
material.assign_material - support batching #4474
2024-04-12 17:41:37 +05:00
Andrej730
e66ac3d7db
system.unassign_system - support batching #4474
2024-04-11 17:50:31 +05:00
Andrej730
6b48e8b4b9
system.assign_system - support batching #4474
2024-04-11 17:50:31 +05:00
Andrej730
49e7abb4dc
type.unassign_type - support batching #4474
2024-04-11 17:09:41 +05:00
Andrej730
df4943205a
type.assign_type - support batching #4474
2024-04-10 18:58:44 +05:00
Andrej730
06b84cfa24
nest.unassign_object - support batching #4474
2024-04-09 18:33:25 +05:00
Andrej730
97db95085a
nest.assign_object - support batching #4474
2024-04-09 18:33:25 +05:00
Andrej730
6db0c14fa8
ifcopenshell.api.run optimization
...
cache usecase classes instead of importing their modules and getting them each time, makes empty api call twice as fast
2024-04-09 16:18:11 +05:00
Andrej730
d03f9237e2
deprecate spatial.remove_container in favor of spatial.assign_container
...
added temporary support for old version with warnings:
WARNING. `spatial.remove_container` api method is deprecated and should be replaced with spatial.unassign_container
WARNING. `product` argument is deprecated for API method "spatial.remove_container" and should be replaced with `products`.
2024-04-09 16:09:04 +05:00
Andrej730
f14bf8557a
aggregate.unassign_object - support batching #4474
2024-04-08 17:49:48 +05:00
Andrej730
cd11d2de27
aggregate.assign_object - support batching #4474
2024-04-08 17:49:48 +05:00
Andrej730
d764c0af23
temporary support for deprecated api arguments #4531
2024-04-08 17:49:48 +05:00
Andrej730
d24e5df7c1
typing
2024-04-08 17:27:41 +05:00
Andrej730
28b54c869a
typing
2024-03-13 15:32:42 +05:00
Andrej730
301ddab1ee
commented out apil.run settings serialization as it's not used currently
2024-03-11 11:39:18 +05:00
Dion Moult
f0a00cbc94
#2185 Set up auto generated API reference documentation via sphinx-autoapi
2022-05-09 15:35:52 +10:00
Dion Moult
810c71dfa2
IfcOpenShell-python licensing and black. See #1082 .
2022-01-19 12:18:33 +11:00
Dion Moult
6337d04efc
IfcSverchok API node now actually executes API calls and has descriptive tooltips
2021-07-25 18:42:28 +10:00
Dion Moult
8da17cf4a0
New extract docs system to dynamically parse usecases.
2021-07-18 12:57:38 +10:00
Dion Moult
082ee3c95d
Fix #1511 . Prevent double registration of listener callbacks, and simplify listeners.
2021-06-05 19:48:04 +10:00
Dion Moult
5c1d26ac91
Dumb walls and slabs now are always exported as parametric solids instead of meshes.
2021-06-04 17:30:37 +10:00
Dion Moult
0b6af5f848
Experimental usecase serialisation function, in preparation for client-server systems and version control.
2021-05-31 14:18:24 +10:00
s-leger
730efcae49
Bugfix Set changed size during iteration ( #1506 )
...
Fix for remove RuntimeError: Set changed size during iteration
Add docstring
2021-05-29 22:03:00 +10:00
Dion Moult
62b297757e
Dumb slabs now are marked as parametric and inherit thickness from the slab type
2021-05-29 14:59:02 +10:00
s-leger
0533a00631
Allow global listeners ( #1500 )
...
* Allow global listeners
Add "global" listeners when ifc_file is None, listeners are run whatever the file.
This way allow to register listeners before a file exists, and "global" listeners.
Add listener returns the ifc_key
Remove listeners allow optional filtering by usecase_path / ifc_key.usecase_path.
* Update __init__.py
Fix was only removing the first listener found.
2021-05-29 09:06:38 +10:00
s-leger
0a2adbb632
Implement remove pre / pos / all listeners ( #1498 )
...
Remove listeners, passing callback method.
Will not handle file pre_load cleanup / post_load setup here to prevent any blender's dependancy.
2021-05-28 10:07:56 +10:00
Dion Moult
b650c045f5
Simple support for API listeners for parametric IFC authoring - editing any parameter can now trigger events from a "parametric engine" which synchronises other related geometry and attributes in the IFC dataset. Implement auto box generation as a first demo.
2021-05-19 14:45:47 +10:00
Dion Moult
ce03742aab
New ifcopenshell.api.run syntax, and rename create_product to create_entity. See #1399 .
2021-03-27 22:53:13 +11:00