Csv2Ifc - move arguments to init for a simpler setup

This commit is contained in:
Andrej730
2025-04-17 16:58:59 +05:00
parent 209caec49a
commit 37a0b3f6a9
4 changed files with 52 additions and 19 deletions
+18 -1
View File
@@ -36,9 +36,26 @@ E.g. '1', '1.1', '1.1.1', etc.
E.g. root items of the same level have index '1', their children have '2', etc.
- 'Index' was preferred for import hierarchy source over 'Hierarchy' as it's easier to edit from the table view.
Simple example:
```python
import ifc5d.csv2ifc
csv2ifc = ifc5d.csv2ifc.Csv2Ifc(csv_filepath, ifc_file)
csv2ifc.execute()
```
## Usage IFC to CSV, ODS, XSLS
#TODO
Simple example:
```python
import ifc5d.ifc5Dspreadsheet
# csv.
writer = ifc5d.ifc5Dspreadsheet.Ifc5DCsvWriter(ifc_file, temp_csv_dir)
writer.write()
```
### CLI app for converting IFC files to CSV, ODS or XLSX format.