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.10.tar.gz (26.0 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ifc5d-0.7.10.tar.gz
Algorithm Hash digest
SHA256 ef4407d7bfe3558eefa1b79808913a50f83151d5ceb73234de3d37970f9a2abf
MD5 e00ba4d3d06b36a39433919db5641fe4
BLAKE2b-256 b10d78326779ecbde41fddfcfe0022ad85387032a0b7430175771b65699c689c

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for ifc5d-0.7.10-py3-none-any.whl
Algorithm Hash digest
SHA256 2324fa17cf23b5434017cb6c071c0d5a6bbca2544c665fc7cf7c7d32a7884b21
MD5 83b2efb520aa21e966b746f6fe723cfd
BLAKE2b-256 6f76446fee75d5d41745fa7d66fd9a587bf796cd20df878a586875cef36a4aa9

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