Commit Graph

3006 Commits

Author SHA1 Message Date
Bernd Hahnebach 2e85a80fc8 bimtester: geometric step translation improvement 2021-01-08 08:41:41 +01:00
Bernd Hahnebach 8eab1ec4a5 bimtester: code formating 2021-01-08 08:26:28 +01:00
Bernd Hahnebach 7871dea3ca bimtester: very small code improvements in reports 2021-01-08 08:26:28 +01:00
Bernd Hahnebach bf41ee013c bimtester: improve step translation 2021-01-08 08:26:28 +01:00
Bernd Hahnebach ef3f9489ea bimtester: improve some step method names 2021-01-08 08:26:28 +01:00
Dion Moult be2ea335f5 WIP partial port of IfcPerson to partial editing. New feature too! See message. See #1222.
* Previously, IfcPerson was not imported. Now it is! Funky.
2021-01-08 16:27:19 +11:00
Dion Moult 53de93e582 WIP move the IFC Debug code into its own module. See #1222. 2021-01-08 13:49:31 +11:00
Dion Moult 0dcdfcf46c WIP implement local placement tree. See #1222. 2021-01-08 13:29:59 +11:00
Dion Moult 2d061f63fb WIP port add aggregate and remove container. See #1222. 2021-01-08 11:41:54 +11:00
Dion Moult afbdedaee8 WIP minor fixes to aggregate and spatial collection handling. See #1222. 2021-01-07 21:02:46 +11:00
Dion Moult 30d9ad1fbc Fix #1194. Aggregates no longer use collection instances. 2021-01-07 20:21:41 +11:00
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
Dion Moult 02ac150a51 WIP Implement style edit/add. See #1222. 2021-01-06 17:57:24 +11:00
Dion Moult d206dff9c0 WIP class dropdowns are now schema version specific and generated. See #1222. 2021-01-06 15:19:55 +11:00
Dion Moult cac635107e WIP spatial operator now updates the blender collection structure. See #1222. 2021-01-06 11:06:59 +11:00
Dion Moult 8eb9973045 WIP refactor mesh UI into geometry module and minor fixes. See #1222. 2021-01-06 10:28:22 +11:00
Dion Moult c4aecd6e61 Minor fix for #1235. 2021-01-06 08:45:34 +11:00
QwiglyDee cef3b9537a toggle decorations onload
fix #1237
2021-01-06 04:01:03 +07:00
QwiglyDee 02b01b2a44 refectored decorations.
fixed #1241 somehow
2021-01-06 03:52:40 +07:00
QwiglyDee db5418cbfe fixed #1233 grid cropping 2021-01-06 02:32:55 +07:00
Bernd Hahnebach 44d3ddbb7c bimtester: add log file and zoom smart view for failed elements tests 2021-01-05 18:06:09 +01:00
Bernd Hahnebach b2e5c904c3 bimtester: copy all files of source code features path to tmp run 2021-01-05 18:06:09 +01: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 f76d792a25 WIP port unit assignment to partial editing. See #1222. 2021-01-05 21:13:44 +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
Dion Moult d4a219e54f WIP assigning a class also assigns the spatial container if possible. See #1222. 2021-01-04 16:23:36 +11:00
Dion Moult 23a66b3a72 WIP allow partial editing of spatial container. See #1222. 2021-01-04 15:57:25 +11:00
Dion Moult d9dbda6b5a Minor fix 2021-01-04 15:57:25 +11:00
QwiglyDee cbcd04c81d drawing grid clipping 2021-01-04 11:31:30 +07: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 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
Thomas Krijnen b91dfb401d Rewrite svg array_to_string() 2021-01-02 13:08:01 +01:00
Thomas Krijnen 979f37d7c6 --svg-poly option and correct HLR view direction 2021-01-02 12:34:10 +01: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 0ecf66f7fa New IfcOpenShell placement utility module 2021-01-02 19:32:27 +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
QwiglyDee c773b5741b decorations anti-aliasing 2020-12-31 19:56:55 +07: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 c3d4ce8f51 Store drawing location in SVG 2020-12-31 11:31:05 +01:00
Thomas Krijnen a5adb01dff IfcConvert --svg-xmlns option 2020-12-30 14:44:43 +01:00