Skip to main content

IFC 5D costing library for quantity take-off and schedule production

Project description

ifc5d

Description

Ifc5D is a collection of utilities of manipulating cost-related data to and from formats, reports, and optimisation engines.

Currently supported:

  • CSV to IFC
  • IFC to XLSX
  • IFC to CSV
  • IFC to ODS

Planned (would you like to contribute? Please reach out!):

  • IFC to PDF
  • ODS to CSV
  • XLSX to CSV
  • IFC to Graph

Usage CSV to IFC

Usage IFC to CSV, ODS, XSLS

#TODO

CLI app for converting IFC files to CSV, ODS or XLSX format.

Usage: python ifc5Dspreadsheet.py input_file output_file [-l log_file] [-f format_type]

Arguments: input_file (str): The path to the input IFC file to process. output_file (str): The output directory for CSV or filename for other formats.

Options: -l, --log log_file (str): The path to the file where errors should be logged. Default is process.log. -f, --format format_type (str): The output format to export in (csv/ods/xlsx). Default is csv.

Examples: python ifc5Dspreadsheet.py "C:\Users\Dev-Machine\Desktop\test_cost.ifc" rev_01_schedule -l error.log -f ODS python ifc5Dspreadsheet.py "C:\Users\Username\Desktop\test_cost.ifc" "C:\Users\Username\Desktop" -l error.log -f CSV

Scripting:

Example for ODS exports:

import ifcopenshell
from ifc5d.ifc5Dspreadsheet import Ifc5DOdsWriter

file = "path_to_file/file.ifc"

path = "directory/cost_schedule"
writer = Ifc5DOdsWriter(file=file, output=path)
writer.write()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ifc5d-0.7.9.tar.gz (26.0 kB view details)

Uploaded Source

Built Distribution

ifc5d-0.7.9-py3-none-any.whl (28.4 kB view details)

Uploaded Python 3

File details

Details for the file ifc5d-0.7.9.tar.gz.

File metadata

  • Download URL: ifc5d-0.7.9.tar.gz
  • Upload date:
  • Size: 26.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.9

File hashes

Hashes for ifc5d-0.7.9.tar.gz
Algorithm Hash digest
SHA256 836abf471c116b3922b7b188afbf3d3ef1e2d2827447e93d9c8d34bc4886686e
MD5 d650550de55fc298ba9623e4318015cf
BLAKE2b-256 4cea553aac6c4e0e6f54f142a23d86c3e22135ec28e1e0e7fee01d0808256326

See more details on using hashes here.

File details

Details for the file ifc5d-0.7.9-py3-none-any.whl.

File metadata

  • Download URL: ifc5d-0.7.9-py3-none-any.whl
  • Upload date:
  • Size: 28.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.9

File hashes

Hashes for ifc5d-0.7.9-py3-none-any.whl
Algorithm Hash digest
SHA256 0b175626e93cbd7b4a153b3ddab0fa138cb1816ee9e5cb171220576662d5a323
MD5 33e03c138a80ae83869ae9434d57c5c3
BLAKE2b-256 14b6fbaacfd6c453c371336773bf8d4dfde07d4b97454235744f3d775a0f653a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page