mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-13 02:47:48 +00:00
Sort imports
This commit is contained in:
@@ -16,11 +16,13 @@
|
||||
# You should have received a copy of the GNU Lesser General Public License
|
||||
# along with IfcOpenShell. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
import numpy.typing as npt
|
||||
import ifcopenshell.util.unit
|
||||
from ifcopenshell.util.shape_builder import V, SequenceOfVectors, ifc_safe_vector_type
|
||||
from typing import Optional, Union
|
||||
|
||||
import numpy.typing as npt
|
||||
|
||||
import ifcopenshell.util.unit
|
||||
from ifcopenshell.util.shape_builder import SequenceOfVectors, V, ifc_safe_vector_type
|
||||
|
||||
|
||||
def add_arbitrary_profile(
|
||||
file: ifcopenshell.file, profile: SequenceOfVectors, name: Optional[str] = None
|
||||
|
||||
+5
-3
@@ -16,11 +16,13 @@
|
||||
# You should have received a copy of the GNU Lesser General Public License
|
||||
# along with IfcOpenShell. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
import ifcopenshell.util.unit
|
||||
import numpy.typing as npt
|
||||
from ifcopenshell.util.shape_builder import SequenceOfVectors, ifc_safe_vector_type, V
|
||||
from typing import Optional, Union
|
||||
|
||||
import numpy.typing as npt
|
||||
|
||||
import ifcopenshell.util.unit
|
||||
from ifcopenshell.util.shape_builder import SequenceOfVectors, V, ifc_safe_vector_type
|
||||
|
||||
|
||||
def add_arbitrary_profile_with_voids(
|
||||
file: ifcopenshell.file,
|
||||
|
||||
@@ -15,9 +15,9 @@
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public License
|
||||
# along with IfcOpenShell. If not, see <http://www.gnu.org/licenses/>.
|
||||
import ifcopenshell
|
||||
from typing import Literal
|
||||
|
||||
import ifcopenshell
|
||||
|
||||
ProfileType = Literal["AREA", "CURVE"]
|
||||
|
||||
|
||||
@@ -15,9 +15,10 @@
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public License
|
||||
# along with IfcOpenShell. If not, see <http://www.gnu.org/licenses/>.
|
||||
import ifcopenshell
|
||||
from typing import Any
|
||||
|
||||
import ifcopenshell
|
||||
|
||||
|
||||
def edit_profile(file: ifcopenshell.file, profile: ifcopenshell.entity_instance, attributes: dict[str, Any]) -> None:
|
||||
"""Edits the attributes of an IfcProfileDef
|
||||
|
||||
Reference in New Issue
Block a user