Commit Graph

272 Commits

Author SHA1 Message Date
Dion Moult d673e845f6 WIP psets now use partial editing with new features! See full message. See #1222.
* Psets are now sensitive to data type
 * Psets now support null vs empty
 * Psets now respect shared STEP IDs
2021-01-07 19:09:55 +11:00
Dion Moult fcc2b9ee13 WIP migrate types to partial editing. See #1222. 2021-01-07 10:47:50 +11:00
QwiglyDee 19d07892f4 fix #1240 undoing add_grid 2021-01-05 21:33:38 +07:00
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
Dion Moult d74b344a95 WIP create aggregation module to manipulate aggregations. See #1222. 2021-01-05 16:29:14 +11:00
Dion Moult 30b3090386 WIP migrate attribute management to partial editing with 4 new features! See #1222.
New features include:

 - New clarity between null and empty string attributes
 - Attribute editing now shows appropriate UI widgets depending on data type
 - Attribute editing for enumerations now show a dropdown
 - Attribute editing is now schema sensitive
2021-01-05 13:16:31 +11:00
QwiglyDee cbcd04c81d drawing grid clipping 2021-01-04 11:31:30 +07: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 0c0ffce908 WIP assigning a class now ported over to partial editing and creates an IFC element. See #1222. 2021-01-04 11:08:15 +11:00
Dion Moult af5350bb9f WIP refactor representation editing into geometry module. See #1222. Some new functionality as a result:
- Representations can now be added to any context, even invalid ones, non-subcontext, or missing target views
 - Switching representations now change all linked data objects
2021-01-03 19:45:40 +11:00
Dion Moult c5ec54ca7f WIP refactor context UI into its own module. Remove dependency to Blender properties. See #1222. 2021-01-03 12:08:00 +11:00
Dion Moult 23abc604f9 WIP implement partial editing for adding / removing subcontexts. See #1222. 2021-01-02 20:28:52 +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 2c6686846a WIP allow partial mesh geometry editing to preserve style assignments. See #1222. 2021-01-02 17:45:36 +11:00
Dion Moult 008014a89b WIP refactor ability to partially write a new shape representation. See #1222. 2021-01-02 15:39:24 +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
Dion Moult cd6c258687 IFC Clash in the BlenderBIM Add-on now generates snapshots of clashes in BCF 2020-12-30 12:18:41 +11:00
Dion Moult ef8b3d60b7 Merge branch 'v0.6.0' of github.com:IfcOpenShell/IfcOpenShell into v0.6.0 2020-12-29 22:49:28 +11:00
Dion Moult c502d39aaf Add support for BCFXML export of IFC Clash results 2020-12-29 22:49:22 +11:00
QwiglyDee 397a09846e Merge branch 'v0.6.0' of github.com:IfcOpenShell/IfcOpenShell into v0.6.0 2020-12-29 18:18:45 +07:00
Dion Moult ceb7b0e13f Refactor BCF features into its own module 2020-12-29 14:15:15 +11:00
Long 5c92bd7348 implement Open Drawing Camera button (#1220) 2020-12-29 10:00:49 +11:00
QwiglyDee 7f49ebea55 fixed addin grid
close #1217, close #1215
2020-12-29 02:04:08 +07:00
Dion Moult c0381588f3 Implement add BCF related topic 2020-12-28 20:13:41 +11:00
Dion Moult 37e56c4011 Implement remove BCF related topic 2020-12-28 19:56:57 +11:00
Dion Moult ea83238e7a Implement support for adding BCF document references 2020-12-28 19:46:47 +11:00
Dion Moult fa6df3fa30 Implement support for deleting document references 2020-12-28 18:44:33 +11:00
Dion Moult 36a0119f40 Implement add BIM Snippet 2020-12-28 16:04:09 +11:00
htlcnn f277733ff5 ifccsv delimiter 2020-12-28 10:18:55 +07:00
Dion Moult 510d756cc4 Implement delete BCF topic BIM snippet 2020-12-28 13:14:33 +11:00
Dion Moult bca9c82c3d Implement ability to edit labels 2020-12-28 12:50:22 +11:00
Dion Moult 3deba2e71e Implement support for adding BCF labels to topics 2020-12-28 12:46:52 +11:00
Dion Moult d5566785be Implement BCF delete label 2020-12-28 11:40:40 +11:00
Dion Moult 6cfa9f6e9b Implement ability to edit individual BCF reference links 2020-12-28 11:20:44 +11:00
Dion Moult 6a00f2f0d2 Implement adding BCF reference links 2020-12-27 17:07:02 +11:00
Dion Moult b9583c562d Implement support for deleting reference links 2020-12-27 16:53:40 +11:00
Dion Moult e51b7d3c85 Implement ability to add BCF header file 2020-12-27 16:20:35 +11:00
Maxim Vasilyev 5234c8086f fixed typo 2020-12-27 00:21:59 +07:00
QwiglyDee abaae7f06d copying grid.
close #1210
2020-12-26 23:25:39 +07:00
QwiglyDee 3c2c591d6d breakline annotation
close #1208
2020-12-26 22:01:14 +07:00
Dion Moult 67f7e68fa7 Implement support for deleting BCF header files 2020-12-23 16:22:29 +11:00
Dion Moult 7b2fa3e877 Add support for adding BCF viewpoints 2020-12-23 15:53:38 +11:00
Dion Moult 5a1f2ec4fe Implement support for editing BCF comments 2020-12-23 13:58:28 +11:00
Dion Moult 6f84bc6ce5 Implement BCF add comment 2020-12-22 18:41:51 +11:00
Dion Moult 6a5d255c2f Implement delete BCF comment 2020-12-22 18:23:43 +11:00
Dion Moult ee42703f9f Implement delete BCF viewpoint 2020-12-22 16:22:29 +11:00
Dion Moult eb0f2de197 New snap spaces together utility for cleaning up spaces for energy modeling 2020-12-21 18:26:39 +11:00
Dion Moult 1a48343bcb Optimise import and editing for files with lots of aggregations 2020-12-21 10:44:14 +11:00
Dion Moult c16b63e5ae New import code profiler in the IFC debug panel 2020-12-20 13:48:37 +11:00