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