Commit Graph

189 Commits

Author SHA1 Message Date
Dion Moult 3d1c796f14 Minor fix 2020-04-09 18:14:55 +10:00
s-leger f59f017bde Remove hardcoded selection
use selected_objects argument of exporter
2020-04-09 02:46:38 +02:00
s-leger abbaef459b Remove hardcoded input objects
Small cleanup of add_spatial_elements_if_unselected using sets
IfcExporter.export and IfcParser.parse take selected_objects as argument
2020-04-09 02:42:03 +02:00
Dion Moult dd1b0a1056 Merge pull request #828 from s-leger/patch-2
Use ifcExportSettings.factory()
2020-04-09 08:26:55 +10:00
s-leger c78bb18c8d Use ifcExportSettings.factory() 2020-04-08 15:43:45 +02:00
s-leger 4cf3479036 Settings factory
Use a static "factory" method to keep init logic near settings definition.
```python
logger = logging.getLogger('ExportIFC')
            logging.basicConfig(
                filename=context.scene.BIMProperties.data_dir + 'process.log',
                filemode='a', level=logging.DEBUG)
            output_file = bpy.path.ensure_ext(self.filepath, '.ifc')
            ifc_export_settings = export_ifc.IfcExportSettings.factory(context, output_file, logger)
            ifc_parser = export_ifc.IfcParser(ifc_export_settings)
            ifc_export_settings.logger.info('Starting export')
```
2020-04-08 15:40:12 +02:00
Dion Moult f6db62c758 Psets and qtos can be selected from a list instead of typed 2020-04-08 14:15:36 +10:00
Dion Moult 44b49f4ce9 Minor fix 2020-04-08 12:07:27 +10:00
Dion Moult b6e97dd26c Optimise spatial tree creation during import 2020-04-08 11:05:27 +10:00
Dion Moult fb51e85f79 Minor fix 2020-04-07 19:01:57 +10:00
Dion Moult acf1289d50 Import rebar as an extruded circle instead of a brep 2020-04-07 18:50:07 +10:00
Dion Moult b8edcb880d Minor fix 2020-04-07 18:49:16 +10:00
Dion Moult e86839d2db Diffs are now supported in non-legacy importer 2020-04-07 15:44:54 +10:00
Dion Moult 3049d24f6f Accomodate invalid psets without properties created by Solidworks 2020-04-07 14:46:58 +10:00
Dion Moult 28d5d11474 Spatial elements without geometry are now imported too 2020-04-07 14:34:24 +10:00
Dion Moult 503fcee432 Remove uninstall feature, as the built-in Blender remove plugin now handles this 2020-04-07 12:57:07 +10:00
Dion Moult 4c3051267e Repackage BlenderBIM Add-on in single add-on dir thanks to Stephen Leger from Archipack 2020-04-07 12:02:44 +10:00
Dion Moult 96ab539a0f Allow people to export context / project metadata 2020-04-06 10:18:23 +10:00
Dion Moult 1662b11fb2 Support different aspect ratios for BCF snapshots 2020-04-03 17:35:45 +11:00
Dion Moult 7ee385866a Minor fix 2020-04-03 16:08:49 +11:00
Dion Moult 4c58cec393 Fix bug where missing styles in invalid IFCs cause imports to fail 2020-04-02 13:11:07 +11:00
Dion Moult 55f3f20531 Add experimental multicore import to IFCClash 2020-04-01 15:11:05 +11:00
Dion Moult a6c88a1d01 Accomodate deprecreated IfcPresentationStyleAssignment better 2020-04-01 09:25:34 +11:00
Dion Moult 3ff4b056b7 Support multiple materials per object on import 2020-03-31 19:37:04 +11:00
Dion Moult a5fd66706a Add support for BCF header files 2020-03-31 12:35:17 +11:00
Dion Moult fe633d9698 Add support for ordered BCF viewpoint snapshot images 2020-03-30 18:27:28 +11:00
Dion Moult c4cd6ef710 New feature to validate IFC files against specification 2020-03-30 12:47:14 +11:00
Dion Moult c99bf6e63a Compile views and sheets with automatic numbers, names, and scales 2020-03-27 18:23:46 +11:00
Dion Moult 03a23958a3 Store scale and view title in views on sheets, so it can be post-processed 2020-03-26 21:44:54 +11:00
Dion Moult f37e5e5d83 New buttons to open views and sheets instead of browsing manually 2020-03-26 20:47:21 +11:00
Dion Moult bf4eb330e0 New feature to add a sheet, and add a view to a sheet 2020-03-26 18:26:35 +11:00
Dion Moult 8613834129 Optimise titleblock template. Skip pattern adding until it is optimised. 2020-03-26 18:23:27 +11:00
Dion Moult 3a590e4ba1 Implement BCF related topics 2020-03-25 17:55:52 +11:00
Dion Moult 1971bfe014 Support BCF topic document references 2020-03-25 17:12:02 +11:00
Dion Moult dd98ac3a89 Add links to project homepage, docs, wiki, and community 2020-03-25 16:32:14 +11:00
Dion Moult 2678dc3a09 Add support for BCF topic BIM snippets 2020-03-25 16:20:24 +11:00
Dion Moult f2e203d699 Show topic reference links and allow browsing of links 2020-03-25 15:03:06 +11:00
Dion Moult 52ff61a91c Show BCF topic metadata in UI 2020-03-24 17:53:58 +11:00
Dion Moult 8a22169036 Add support for viewing BCF comments 2020-03-24 14:44:03 +11:00
Dion Moult 7c66c5e4fc Allow users to select just objects for convenience when exporting 2020-03-24 11:25:27 +11:00
Dion Moult 44d884590a Allow any type of curve to be used for construction documentation annotation 2020-03-24 10:34:58 +11:00
Dion Moult 662a9fdad7 Allow users to see different BCF viewpoints through a camera 2020-03-23 19:35:02 +11:00
Dion Moult 648aaaa778 Show list of BCF viewpoints in UI for each topic 2020-03-22 20:39:22 +11:00
Dion Moult a8cb855613 Add button and operator to uninstall add-on 2020-03-22 15:25:57 +11:00
Dion Moult 65a5dcbe25 Add list of BCF topics in UI 2020-03-21 21:44:02 +11:00
Dion Moult 9932e7f012 Add ability to select a BCF file to be loaded 2020-03-20 21:22:32 +11:00
Dion Moult 114611d173 Do limited dissolve on imported meshes 2020-03-20 14:42:43 +11:00
Dion Moult 3b8b0cbbbf Don't assume the first representation when checking materials 2020-03-20 09:38:41 +11:00
Dion Moult 5454c5b1e7 Allow manually specified qto values to be exported 2020-03-19 18:16:30 +11:00
Dion Moult 7fe067498f Allow qtos to be imported 2020-03-19 16:48:50 +11:00