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
Thomas Krijnen
97df037c93
Reformat ids.py
2021-02-28 09:34:35 +01:00
Thomas Krijnen
b5f58dc113
#1349 result formatting
2021-02-28 09:31:21 +01:00
Thomas Krijnen
23ad1a8005
Preliminary bSI IDS implementation
2021-02-27 11:04:45 +01:00
Thomas Krijnen
3eacd809b0
validate() docstring
2021-02-24 14:06:48 +01:00
RobinVanTol
d0a9edd186
Update occ_utils.py
2021-02-21 16:04:42 +01:00
Dion Moult
ab102176cc
IfcOpenShell date util now supports converting to IFC2X3 date entities
2021-02-17 21:12:04 +11:00
Thomas Krijnen
bfc695c756
#1311 better error handling during parse for schema and header
2021-02-15 11:11:14 +01:00
Thomas Krijnen
4fb65199b8
Validate: better handling of boxed enum
2021-02-14 17:32:08 +01:00
Thomas Krijnen
08576e28d6
fixed boxed enum validation
2021-02-14 17:23:16 +01:00
Thomas Krijnen
e6592ca706
conversion rules for first citizin enum types #1276
2021-02-14 12:19:06 +01:00
Thomas Krijnen
6de3e55d19
make wrapper import in schema_class optional
2021-02-14 09:43:10 +01:00
Thomas Krijnen
4e897a0c21
surface style ids on serialization
2021-02-13 16:03:57 +01: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
Thomas Krijnen
500467b3a8
Fix json logger on validator for arg formatting
2021-01-30 21:58:27 +01: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
8c36217e26
Line ending git fix?
2021-01-23 12:02:41 +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
Bernd Hahnebach
02fa8c8413
[read carefully before decide merge] !!! normalize line endings of src files ( #1268 )
...
* all source: prepare to normalize line ending
* all src: normalize line endings
2021-01-22 08:22:34 +11:00
Manuel
3202174903
Attempt for compatibility with PythonOCC 7.4.1
...
Used import statement from occ_utils.py
added an If-Statement to the GetObject()-call.
Calling SetSelectionPriority directly on ais, as proposed by aothms (https://github.com/IfcOpenShell/IfcOpenShell/issues/1098 ) did not work.
Could load some ifc-models but needs further testing.
2021-01-21 13:34:33 +01: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
Thomas Krijnen
5a11ac0545
Remove debugging statement
2021-01-16 15:12:19 +01:00
Thomas Krijnen
e1b68dafa4
#841 cpp implementation of get_info()
2021-01-10 12:36:47 +01:00
Thomas Krijnen
6976144d80
Fix syntax for py27
2021-01-09 14:25:26 +01:00
Thomas Krijnen
2a54fee41a
Fix ifcopenshell.create_entity() by including schema
2021-01-09 11:59:34 +01: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
Thomas Krijnen
7d756138f2
Add generator expresss_parser.py
2020-12-20 11:10:21 +01:00
Dion Moult
03d8537a2d
Revert borked submodules. See #1186 .
2020-12-19 14:29:43 +11:00
Roch Bertucat
322860cc51
Merge remote-tracking branch 'origin/v0.6.0-ifcrail-contrib' into
...
v0.6.0-ifcrail-mod
Conflicts:
src/ifcbimtester/bimtester/features/steps/ifcdata.py
src/ifcbimtester/bimtester/features/template.html
src/ifcbimtester/bimtester/reports.py
src/ifcbimtester/bimtester/run.py
2020-12-18 15:44:46 +01: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
06685f9768
Fix example script for printing out properties. See #1145 .
2020-12-04 10:59:59 +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
Laurens Oostwegel
1f938c7f1a
Deleted IfcWall duplicate in defaut styles
2020-11-19 20:35:56 +11:00