Sort imports

This commit is contained in:
Andrej730
2025-12-19 18:53:04 +05:00
parent 29176330e8
commit 13be6ccd45
731 changed files with 2234 additions and 1709 deletions
@@ -18,24 +18,25 @@
from __future__ import annotations
import inspect
import random
import operator
import warnings
import ifcopenshell.ifcopenshell_wrapper as ifcopenshell_wrapper
from typing import NamedTuple, Any, Union
from typing_extensions import assert_never
import inspect
import operator
import random
import warnings
from collections.abc import Iterable
from typing import Any, NamedTuple, Union
import OCC
from typing_extensions import assert_never
import ifcopenshell.ifcopenshell_wrapper as ifcopenshell_wrapper
try:
from OCC.Core import V3d, TopoDS, gp, AIS, Quantity, BRepTools, Graphic3d
from OCC.Core import AIS, BRepTools, Graphic3d, Quantity, TopoDS, V3d, gp
USE_OCCT_HANDLE = False
except ImportError:
from OCC import V3d, TopoDS, gp, AIS, Quantity, BRepTools, Graphic3d
from OCC import AIS, BRepTools, Graphic3d, Quantity, TopoDS, V3d, gp
USE_OCCT_HANDLE = True