mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-20 23:36:20 +00:00
Clean up unused imports in alignment operator module
Removed leftover imports from sequence module template: - isodate, dateutil, calendar, datetime - bonsai.bim.module.sequence.helper - ifcopenshell.util.sequence, ifcopenshell.geom, ifcopenshell.util.selector - Duplicate imports (os, json, ImportHelper, ifcopenshell.api.alignment) These unused imports were causing silent module registration failures. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
committed by
Dion Moult
parent
f52e95a05a
commit
42db172827
@@ -18,30 +18,16 @@
|
|||||||
|
|
||||||
# pyright: reportUnnecessaryTypeIgnoreComment=error
|
# pyright: reportUnnecessaryTypeIgnoreComment=error
|
||||||
|
|
||||||
import os
|
|
||||||
|
|
||||||
import ifcopenshell.api.alignment
|
|
||||||
|
|
||||||
import bpy
|
import bpy
|
||||||
import math
|
import math
|
||||||
import json
|
|
||||||
import time
|
import time
|
||||||
import calendar
|
|
||||||
import isodate
|
|
||||||
import bonsai.core.alignment as core
|
import bonsai.core.alignment as core
|
||||||
import bonsai.tool as tool
|
import bonsai.tool as tool
|
||||||
import bonsai.bim.module.sequence.helper as helper
|
import ifcopenshell.api.alignment
|
||||||
import ifcopenshell.api.spatial
|
import ifcopenshell.api.spatial
|
||||||
import ifcopenshell.geom
|
|
||||||
import ifcopenshell.util.sequence
|
|
||||||
import ifcopenshell.util.selector
|
|
||||||
from datetime import datetime
|
|
||||||
from dateutil import parser, relativedelta
|
|
||||||
from bpy_extras.io_utils import ImportHelper
|
from bpy_extras.io_utils import ImportHelper
|
||||||
from bpy.types import Operator
|
from bpy.types import Operator
|
||||||
from bpy.props import StringProperty, FloatProperty, IntProperty
|
from bpy.props import StringProperty, FloatProperty, IntProperty
|
||||||
from bpy_extras.io_utils import ImportHelper
|
|
||||||
import ifcopenshell.api.alignment
|
|
||||||
|
|
||||||
|
|
||||||
class ImportAlignmentCSV(bpy.types.Operator, tool.Ifc.Operator, ImportHelper):
|
class ImportAlignmentCSV(bpy.types.Operator, tool.Ifc.Operator, ImportHelper):
|
||||||
|
|||||||
Reference in New Issue
Block a user