Dion Moult
f63479c823
Code review and use isodate library to handle durations for robustly
2021-05-04 12:52:14 +10:00
bosonprojets
8a8bdeeaa3
Update to ifcopenshell.util.date for handling of IfcDuration with python and import of Planned Durations from P6 .xml exports in blenderBIM
2021-05-04 00:27:53 +00:00
Dion Moult
37e3a65ffb
Decouple pset APIs from blenderbim namespace
2021-04-29 19:35:21 +10:00
Dion Moult
e5cf0cde2d
Improve time and date support (don't cast to datetime) and support all recurrence types and time periods in work schedules
2021-04-29 17:52:45 +10:00
Dion Moult
44bbd17d97
Collection assignment is now synced on export, so you don't need to manually manage your tree
2021-04-19 16:08:57 +10:00
Dion Moult
1e299a0ddd
Make remove_deep_batched the default since I'm the only guy using it so far and I'm feeling lucky! Let's battle test it!
2021-04-18 19:02:39 +10:00
Dion Moult
09be170820
Geolocation utilities now support converting either X axis or Y axis to an angle
2021-04-03 21:58:35 +11:00
Dion Moult
0387c778f4
Fix bug where you couldn't add type instances for IFC4
2021-04-01 15:03:42 +11:00
Dion Moult
76568ea67c
Fix bug where express has a typo that broke the ability to add ifc transformers
2021-04-01 14:55:10 +11:00
Dion Moult
0bc86631a5
Minor fixes after the refactor mess
2021-03-25 20:19:48 +11:00
Dion Moult
09bf5b85aa
Refactor getting primitive data type into util
2021-03-24 16:09:29 +11:00
Cyril Waechter
efce28c053
Fix: get_applicable return empty generator ( #1390 )
...
`PsetQto.get_applicable` was returning an empty generator when called
multiple times. Combination on lru_cache and generator seems to lead to
this unwanted behavior.
It now returns a list to keep gains of lru_cache performance.
2021-03-17 09:23:06 +11:00
Dion Moult
a25ca91ba6
Fix fundamental coordinate placement resolution utility bug. See #688 .
2021-03-15 18:58:32 +11:00
Thomas Krijnen
5961253c29
#1376 remove_deep_batched()
2021-03-13 12:16:40 +01:00
Dion Moult
4b64f09aaa
Fix #1370 . Bug where loading pset templates makes it unable to install on Windows.
2021-03-10 20:28:08 +11:00
Dion Moult
1f68c3f612
Fix bug where you could not assign a related window or door type.
2021-03-09 12:51:18 +11:00
Dion Moult
ab102176cc
IfcOpenShell date util now supports converting to IFC2X3 date entities
2021-02-17 21:12:04 +11:00
Dion Moult
e4dee2258d
Fix #1300 . New IfcOpenShell.util.type module for checking applicable type classes.
2021-02-13 18:27:02 +11:00
Dion Moult
1f4df32d04
Fix bunch of error messages (commonly seen in IFCCSV) when you try to get a property value which is None
2021-02-01 10:18:10 +11:00
Dion Moult
900aa20e10
New "remove deep" function in the element util module. See #1228 .
2021-01-24 14:32:04 +11:00
Dion Moult
3bbdc3f277
WIP fix IFC2X3 errors in classification refactor
2021-01-22 16:55:38 +11:00
Dion Moult
c67a99fb5d
New IfcOpenShell date utility module, because we shouldn't need to think too hard about dates
2021-01-22 16:21:17 +11:00
Dion Moult
84959d1cf8
You can now export container data from IFCCSV
2021-01-22 15:52:48 +11:00
Dion Moult
1142c5285c
Geolocation util can now apply georeferencing to matrices
2021-01-20 10:07:48 +11:00
Dion Moult
ea524767a0
WIP implement georeference module for correctly geolocated files. See #1222 .
2021-01-19 11:18:26 +11:00
Dion Moult
d9dbda6b5a
Minor fix
2021-01-04 15:57:25 +11:00
Dion Moult
1fe2bd8332
Merge branch 'v0.6.0' of github.com:IfcOpenShell/IfcOpenShell into v0.6.0
2021-01-04 13:07:36 +11:00
Dion Moult
6387c03dbc
WIP port reassign and unassign class to partial editing. See #1222 .
2021-01-04 13:07:29 +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
Dion Moult
a997b2f999
WIP you can now partially edit the object placement of an object. See #1222 .
2021-01-02 19:33:32 +11:00
Dion Moult
0ecf66f7fa
New IfcOpenShell placement utility module
2021-01-02 19:32:27 +11:00
Dion Moult
b016d39eca
WIP refactoring representations to be incrementally edited. See #1222 .
...
# Conflicts:
# src/ifcblenderexport/blenderbim/bim/operator.py
2021-01-01 12:15:18 +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
Carlos Dias
e208dd0381
Update selector.py
...
Changes fix problem with boolean values
2020-12-14 12:59:20 +11:00
Dion Moult
884e8a5663
Fix #1071 . New IFC file version 2X3<->4 upgrader and downgrader IfcPatch recipe
2020-12-04 11:52:18 +11:00
Dion Moult
e1fa6fb306
You can now apply drawing styles to elements with material set usages
2020-12-03 22:17:46 +11:00
Dion Moult
4e62c276ee
Fix #1111 - issue where sometimes class and product dropdown gets out of sync. Also new utility function to query is_a() in the schema.
2020-12-02 09:51:00 +11:00
Dion Moult
c70b41f21a
Fix #1112 . You can now tag material attributes.
2020-12-02 09:03:18 +11:00
Dion Moult
4bff3dc3dd
Roundtripping native geometry now works across different IFC schema versions
2020-11-25 20:17:30 +11:00
Dion Moult
3085c88647
New experimental IfcOpenShell IFC2X3<->IFC4 version migration utility
2020-11-25 13:13:46 +11:00
Dion Moult
6ecf7a80f5
You can now convert from global to local coordinates
2020-11-05 18:17:45 +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
286c77e3b0
black ifcopenshell-python
2020-11-02 08:28:02 +11:00
Dion Moult
85d77798c3
You can now modify IFC classes using IFC CSV
2020-09-15 14:58:17 +10:00
Dion Moult
c6a5bdf4eb
Fix bugs in geocoding and geolocation MicroMVDs.
2020-09-10 17:43:30 +10:00
Dion Moult
7f95759df0
Implement model federation MicroMVD for BIMTester
2020-09-09 16:44:36 +10:00
Dion Moult
9c190d74bb
Fix #981 . Incorrect and inaccurate conversion to imperial units in quantities.
2020-09-07 21:46:13 +10:00
Dion Moult
0522ea61f6
Minor cleanup
2020-09-05 12:20:16 +10:00
Dion Moult
c552e90897
Utility to extract documentation for all maintainable assets
2020-08-26 20:08:28 +10:00
Dion Moult
3292b98080
Allow export of type relations in IFCCSV
2020-08-08 17:58:45 +10:00