Commit Graph

1077 Commits

Author SHA1 Message Date
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
Dion Moult 1a04e54f03 Fix bug where multiple presentation style assignments in IFC2X3 would get ignored 2020-09-12 10:59:45 +10:00
Dion Moult aac61a8948 Let users set their own app to open SVGs and PDFs 2020-09-11 19:02:33 +10:00
Dion Moult e25629e64f Remove papercuts when creating drawings to minimise manual tasks 2020-09-11 18:29:09 +10:00
Dion Moult 518c3eb6f0 Remove deprecated representation item operators in the mesh properties 2020-09-11 16:33:33 +10:00
Dion Moult 9c591ce285 Add support for exporting addresses to the site and building 2020-09-10 16:11:33 +10:00
Dion Moult 970832411c Enable exporting the plan context by default 2020-09-09 23:21:24 +10:00
Dion Moult 38765c8f0e Adding openings now detects if you've selected the filling object instead 2020-09-09 23:20:29 +10:00
Dion Moult 681083e757 Fix bug in autodetection of wireframe meshes in case you use a modifier 2020-09-09 23:20:01 +10:00
Dion Moult 68a821b0ec Drawing styles store the render type and include outlines for more CAD-like drawings, and store shadow and lighting settings 2020-09-09 18:49:27 +10:00
Dion Moult f2de8ce8df Implement imperial formatting for drawing dimensions 2020-09-08 22:13:41 +10:00
Dion Moult 635e84610e Fix #986. Text IfcAnnotation now stores classes and metadata like all IFC objects in SVG. 2020-09-08 18:32:11 +10:00
Dion Moult 94bd8da75e Fix #985. If the active object is a camera, the temporary section plane matches the camera orientation. 2020-09-08 18:14:39 +10:00
Dion Moult 627be5725a Fix #983. Minor fix. 2020-09-08 17:17:45 +10:00
Dion Moult cd5786d2a7 Fix bug where sometimes you cannot add a context 2020-09-07 22:09:48 +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 b43f77bc01 Fix #980. You can now have rotated text in drawings. 2020-09-07 19:54:36 +10:00
Dion Moult f351d80453 Fix #979. Include IfcSpace in the preset for cut objects for an overall plan / section 2020-09-07 18:16:39 +10:00
Dion Moult ffebc44c64 Make stroke linecaps use round ends. They're just nicer, you know. 2020-09-07 17:50:04 +10:00
Dion Moult 22d7aef7be You can now refresh the drawing list, in case you are manually creating drawings 2020-09-07 17:47:19 +10:00
Dion Moult 36bd903736 Switch between drawings with one click, with access from the 3D view 2020-09-07 17:08:04 +10:00
Dion Moult 24c00c0235 New feature to select high polygon meshes 2020-09-07 11:28:35 +10:00
Dion Moult 14c824dfee If objects are not selected, export entire project to IFC 2020-09-06 10:21:12 +10:00
Dion Moult dae5adc38b Dumb walls are now even simpler, using two modifiers by default. Plane walls are still available as an option. 2020-09-05 14:23:43 +10:00
Dion Moult 57bc6f7763 Fix #978. Minor fix. 2020-09-05 14:15:37 +10:00
Dion Moult 45b805b05f New debug panel to create shapes from STEP IDs. See #977. 2020-09-05 12:58:53 +10:00
Dion Moult 0522ea61f6 Minor cleanup 2020-09-05 12:20:16 +10:00
Dion Moult a2f24a265a Support exporting qtos related to a spatial element 2020-09-05 10:33:50 +10:00
Dion Moult 0583a5f430 Fix #975. Add error message if drawing not created when adding to sheet 2020-09-05 08:08:50 +10:00
Dion Moult 7e80615fe0 Minor fix 2020-09-03 23:02:41 +10:00
Dion Moult 71fffa41a9 Minor: add demolish hatch pattern 2020-09-03 23:02:00 +10:00