Commit Graph

807 Commits

Author SHA1 Message Date
ofskrand 87e25cc597 Attempt to simplifying assigned items pointer. Stuck on read only 2020-11-05 16:32:49 +01:00
ofskrand 5009371e0f Ran into error when attempting to append EnumProperty. How is that done? 2020-11-05 13:54:20 +01:00
ofskrand 227ec74a51 Merge branch 'v0.6.0' of https://github.com/IfcOpenShell/IfcOpenShell into presentationlayer 2020-11-05 08:00:24 +01:00
ofskrand 9560211307 debugging collection property 2020-11-05 07:57:24 +01:00
Dion Moult 30afd6c95b New fancy UI for material layer set management 2020-11-04 21:28:47 +11:00
ofskrand aed4706e4c updated ui with Presentation Layer 2020-11-04 08:52:20 +01:00
ofskrand eeef2cfb3f Merge branch 'v0.6.0' of https://github.com/IfcOpenShell/IfcOpenShell into presentationlayer 2020-11-04 07:57:40 +01:00
Kristoffer ae25d97307 minor change [skip ci] 2020-11-03 15:55:08 +01:00
Dion Moult b07d999bce Fix #946. More intuitive UI for reassigning IFC class of the active object. 2020-11-03 22:59:35 +11:00
Dion Moult ad1cc7f0b9 Fix #1011. Add example tooltips of add-on preferences external commands. 2020-11-03 21:14:39 +11:00
Dion Moult 81cba70f33 You can now add / remove qtos in bulk. See #1060. 2020-11-03 21:04:50 +11:00
Dion Moult 8b0f0fe60f You can now add / remove psets in bulk. See #1060. 2020-11-03 20:59:48 +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
Kristoffer d9ecd20414 testing with layers [skip ci] 2020-11-02 15:14:33 +01:00
Dion Moult 96b8bc638b Add support for deleting attributes in bulk. See #1060. 2020-11-02 22:12:31 +11:00
Dion Moult ba8689468e You can now add attributes in bulk by selecting multiple before adding. See #1060. 2020-11-02 22:05:47 +11:00
Kristoffer 2b1a7eec47 Merge remote-tracking branch 'origin/presentationlayer' into presentationlayer
# Conflicts:
#	src/ifcblenderexport/blenderbim/bim/prop.py
#	src/ifcblenderexport/blenderbim/libs/site/packages/.gitignore
2020-11-02 07:15:05 +01:00
Kristoffer 35bcaa804b testing with layers [skip ci] 2020-11-02 07:13:51 +01:00
Dion Moult 8660d22476 Minor fix. 2020-11-02 11:26:31 +11:00
Dion Moult 3bc4e756cb Add support for case insensitive file units on import 2020-11-02 10:20:44 +11:00
htlcnn 163075a821 black ifcblenderexport 2020-11-02 08:28:02 +11:00
krande 19c8d13e86 Started on PresentationLayer support. Made necessary change to props set_unit enumerate list of tuples to adhere to actual IFC naming. 2020-11-01 15:59:43 +01:00
Dion Moult 1a570aea83 Fix #1063. Log error if you try to export an abstract IFC class. 2020-11-01 19:00:45 +11:00
Ryan Schultz 5c89a386ca added drop down menus for area_unit and volume_unit 2020-11-01 15:29:42 +11:00
Dion Moult 9447e87ebd Add support for rounding metric and imperial units in drawings 2020-10-31 21:46:09 +11:00
Dion Moult 3fdcf3c7b7 Add support for multiple dimension objects per view 2020-10-30 10:58:02 +11:00
Dion Moult 84c0ad9ded Auto fix incorrect file format settings when creating drawings 2020-10-30 09:17:57 +11:00
Dion Moult 0061d9d1a9 Fix bug where Views wasn't allowed to be in the IfcProject 2020-10-30 09:11:43 +11:00
Dion Moult e08260d6a2 Whoops. See #1056. 2020-10-29 20:49:49 +11:00
Dion Moult 23abd3def4 Fix #1056. Fix error in case you switch drawing styles and the style it used to have was deleted. 2020-10-29 16:27:48 +11:00
htlcnn 5e844682ea unformat log messages 2020-10-29 09:15:07 +11:00
Dion Moult 970f735b76 Fix bug where non uniform translations of spatial elements are exported wrongly. See #1052. 2020-10-28 20:20:25 +11:00
Dion Moult 6fd5f8d8c7 Support import of IFC2X3 document information / reference date times and formats 2020-10-27 11:08:22 +11:00
Dion Moult 76af85264f Fix bug where attributes wouldn't import for some IFC classes 2020-10-26 14:25:39 +11:00
Dion Moult 473d97649c Implement workaround when importing ProStructures files that aggregate elements of different types together 2020-10-26 14:06:06 +11:00
Dion Moult e1c1cf6c9b Implement model offset workaround for Bentley ProStructures. See #1047.
In an ideal world, projects are geolocated properly in IFC. If not, they tend to store it in the spatial structure placement which is then inherited (e.g. Revit) or in the geometry coords themselves (e.g. 12D). In the case of Bentley ProStructures, it seemas s though large coords can be found in both object placements and geometry coords and who knows where else. In this scenario, a model offset is a clean solution rather than patching. However, it will lead to mesh inaccuracies in Blender due to the mixing of large numbers in both object locations and geometry coordinates.

Also model offsetting is useful to have available in general.
2020-10-26 13:36:18 +11:00
Dion Moult b5d43b1d58 Fix #1036. Fix export issue where units aren't set explicitly, or set to adaptive. 2020-10-25 13:12:14 +11:00
Dion Moult 4ebed8d029 Fix export of classifications if they are only applied to a type or spatial element, not a regular element. See #1031. 2020-10-25 12:48:35 +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 ee6e96c226 Auto add owner history on IFC2X3 so the user doesn't need to do that manually 2020-10-24 18:20:42 +11:00
CyrilWaechter 60147a8ec9 Fix collections deprecation warning
```python
ifcopenshell/geom/occ_utils.py:28ifcopenshell/geom/occ_utils.py:28
  /home/cyril/git/BIMxBEM/ifcopenshell/geom/occ_utils.py:28: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.9 it will stop working
    from collections import namedtuple, Iterable
```
2020-10-10 10:30:08 +02:00
Dion Moult b5fa993531 Fix #1007. Bug where box representations don't respect project units. 2020-10-09 20:42:07 +11:00
CyrilWaechter 85e7ed380e Import materials psets and display it
Import psets similarly to objects.
Display in the UI similarly to objects.
Basic handling for ConstituentSet and MaterialList.
2020-10-09 13:22:34 +11:00
Dion Moult b4f4d9b3c5 Improve prototype of native round-tripping by reading from original file and preserving styles 2020-09-28 22:14:03 +10:00
Walter Stanish 44306b036d Fix #1013 2020-09-24 11:51:33 +10:00
Dion Moult cbeaee8501 Fix bug where spatial elements with representations would import twice 2020-09-20 20:36:38 +10:00
Dion Moult 6cc4ce46c2 Proof of concept of native representation roundtripping 2020-09-17 17:28:17 +10:00
Dion Moult 2310bf628f You can now set facet tolerances (angular and deflection tolerance) when importing. See #766. 2020-09-15 15:59:52 +10:00
Dion Moult d4a629cbe8 Exporting now sets the IFC file if unset for convenience 2020-09-15 14:57:38 +10:00
Dion Moult ce831c0e05 Bump IfcOpenShell 2020-09-12 11:07:19 +10:00