Commit Graph

15 Commits

Author SHA1 Message Date
Dion Moult 113efa1206 WIP you can now start a fresh project with partial editing support. See #1222. 2021-01-05 21:15:52 +11:00
Cyril Waechter 516869ba5d Use lru_cache for pset module (#1229)
New features
===========
* `get_by_name` : get pset template by name
* `is_templated` : allow to check if a pset template correspond to given name

Enhancement
============
* Use of lru_cache simplify code and enhance performance largely
(10+ times more requests in 4 less time)
kudo to aothms for the idea. See https://github.com/IfcOpenShell/IfcOpenShell/pull/1221#issuecomment-752902996.
* Take advantages of new caching system and new features in blenderbim
2021-01-04 12:13:04 +11:00
Cyril Waechter 9060b6ee40 Rework python pset module (#1221)
New features
============
* Handle all syntax for ApplicableEntity as defined in IFC documentation. (drawback it increase request time by ~2/3)
* Allow to get applicable psets directly from template definition without caching.
This allow more general purpose usages. (drawback it increase request time by ~2.4)

To notice / discuss
===================
* `ifcwrap/CmakeLists` was installing only `.py` and `.bnf` files from `ifcopenshell-python`.
Why ? It now copy all files. Is it an issue ?
* property template file is now stored in ifcopenshell python module to allow usage
from every softwares. It was before only available for blenderbim addon.
* psets and qtos are now optionnally cached at object instead of module level.
This allow to work with multiple schema in the same python interpreter.
(eg. might help conversion between schemas)
* in blenderbim addon psetqto are now stored in `schema.psetqto`.
2020-12-31 21:39:33 +11:00
Dion Moult 67baad5182 Fix #971. New utility function to query which psets/qtos apply to a class. 2020-11-03 09:53:03 +11:00
htlcnn 163075a821 black ifcblenderexport 2020-11-02 08:28:02 +11:00
Dion Moult 8872a13fd8 Classification trees are now stored in the blend instead of an external file for portability. See #1036. 2020-10-24 21:35:01 +11:00
Dion Moult 2c79f07abf New purge classifications feature, and imported systems shows up immediately 2020-08-15 18:37:03 +10:00
Dion Moult 6b07aeb703 Allow export of positioning elements (only IfcGrid for now) See #911 2020-07-12 10:19:22 +10:00
Dion Moult 1d7865c558 Add support for IfcAnnotation elements 2020-05-11 15:17:39 +10:00
Dion Moult 752a7c9b1c Minor fix for IFC2X3 2020-05-09 12:47:26 +10:00
Dion Moult ce00b3d5f8 Import classifications, as well as the hierarchy tree which can be browsed 2020-04-30 17:03:01 +10:00
Dion Moult 4db3b83681 Deprecate CSV-based pset assignment 2020-04-24 20:54:24 +10:00
Dion Moult 19130b109e New hierarchical classification navigator, reading class data from IFCs. Thanks to Lucyon Oak (Teck-Freak) 2020-04-23 16:05:06 +10:00
Dion Moult 7adf4934aa Add support for importing IFC groups 2020-04-15 10:08:09 +10:00
Dion Moult 407e64632e Reorganise libs into its own folder thanks to Stephen Leger 2020-04-11 10:37:47 +10:00