From 6e0954e85574ff126a4543d707ab733af6e3c19e Mon Sep 17 00:00:00 2001 From: Dion Moult Date: Tue, 28 Jan 2025 10:45:54 +1100 Subject: [PATCH] Purge constants file that came from PR. --- .../ifcopenshell/util/constants.py | 65 ------------------- 1 file changed, 65 deletions(-) delete mode 100644 src/ifcopenshell-python/ifcopenshell/util/constants.py diff --git a/src/ifcopenshell-python/ifcopenshell/util/constants.py b/src/ifcopenshell-python/ifcopenshell/util/constants.py deleted file mode 100644 index f56d644f59..0000000000 --- a/src/ifcopenshell-python/ifcopenshell/util/constants.py +++ /dev/null @@ -1,65 +0,0 @@ -#!/usr/bin/env python3 -# -*- coding: utf-8 -*- - -# ---------------------------------------------------------------- -# IMPORTS -# ---------------------------------------------------------------- - -from typing import Literal - -# ---------------------------------------------------------------- -# EXPORTS -# ---------------------------------------------------------------- - -__all__ = [ - "IFC_APPLICATION", - "IFC_GRID_AXIS", - "IFC_PRODUCT", - "IFC_PROJECT", - "IFC_PROPERTY_SINGLE_VALUE", - "IFC_QUANTITY_AREA", - "IFC_QUANTITY_COUNT", - "IFC_QUANTITY_LENGTH", - "IFC_QUANTITY_TIME", - "IFC_QUANTITY_VOLUME", - "IFC_QUANTITY_WEIGHT", - "IFC_SI_UNIT", - "IFC_TYPES", - "IFC_UNIT_ASSIGNMENT", -] - -# ---------------------------------------------------------------- -# CONSTANTS -# ---------------------------------------------------------------- - -# TODO: complete this -IFC_APPLICATION = "IfcApplication" -IFC_GRID_AXIS = "IfcGridAxis" -IFC_PRODUCT = "IfcProduct" -IFC_PROJECT = "IfcProject" -IFC_PROPERTY_SINGLE_VALUE = "IfcPropertySingleValue" -IFC_QUANTITY_AREA = "IfcQuantityArea" -IFC_QUANTITY_COUNT = "IfcQuantityCount" -IFC_QUANTITY_LENGTH = "IfcQuantityLength" -IFC_QUANTITY_TIME = "IfcQuantityTime" -IFC_QUANTITY_VOLUME = "IfcQuantityVolume" -IFC_QUANTITY_WEIGHT = "IfcQuantityWeight" -IFC_SI_UNIT = "IfcSIUnit" -IFC_UNIT_ASSIGNMENT = "IfcUnitAssignment" - -# TODO: complete this -IFC_TYPES = Literal[ - "IfcApplication", - "IfcGridAxis", - "IfcProduct", - "IfcProject", - "IfcPropertySingleValue", - "IfcQuantityArea", - "IfcQuantityCount", - "IfcQuantityLength", - "IfcQuantityTime", - "IfcQuantityVolume", - "IfcQuantityWeight", - "IfcSIUnit", - "IfcUnitAssignment", -]