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
+3 -2
View File
@@ -17,11 +17,12 @@
# along with Ifc2CA. If not, see <http://www.gnu.org/licenses/>.
import json
import ifcopenshell
import ifcopenshell.guid
import os
from datetime import datetime
import ifcopenshell
import ifcopenshell.guid
class CA2IFC:
def __init__(self, inputFilename, outputFilename):
@@ -16,11 +16,12 @@
# You should have received a copy of the GNU Lesser General Public License
# along with Ifc2CA. If not, see <http://www.gnu.org/licenses/>.
import json
import numpy as np
import itertools
import json
from pathlib import Path
import numpy as np
flatten = itertools.chain.from_iterable
ScaleFactor = 1.0
+8 -6
View File
@@ -16,15 +16,16 @@
# You should have received a copy of the GNU Lesser General Public License
# along with Ifc2CA. If not, see <http://www.gnu.org/licenses/>.
import itertools
import json
import os
import time
import json
from pathlib import Path
import numpy as np
import salome
import salome_notebook
import salome_version
import numpy as np
import itertools
from pathlib import Path
flatten = itertools.chain.from_iterable
@@ -155,10 +156,11 @@ class MODEL:
###
### GEOM component
###
import GEOM
from salome.geom import geomBuilder
import math
import GEOM
import SALOMEDS
from salome.geom import geomBuilder
gg = salome.ImportComponentGUI("GEOM")
if NEW_SALOME:
+1
View File
@@ -17,6 +17,7 @@
# along with Ifc2CA. If not, see <http://www.gnu.org/licenses/>.
from __future__ import annotations
import json
import os
import subprocess