mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-22 02:40:59 +00:00
black, sort imports
This commit is contained in:
@@ -243,9 +243,7 @@ class MSP2Ifc:
|
|||||||
|
|
||||||
# <Name> is the file the export came from; <Title> is what the planner
|
# <Name> is the file the export came from; <Title> is what the planner
|
||||||
# called the programme, and is the string a viewer puts in its header.
|
# called the programme, and is the string a viewer puts in its header.
|
||||||
self.project["Name"] = (
|
self.project["Name"] = self.text(project, "Title") or self.text(project, "Name") or "Unnamed"
|
||||||
self.text(project, "Title") or self.text(project, "Name") or "Unnamed"
|
|
||||||
)
|
|
||||||
self.project["CalendarUID"] = self.text(project, "CalendarUID")
|
self.project["CalendarUID"] = self.text(project, "CalendarUID")
|
||||||
minutes_per_day = self.text(project, "MinutesPerDay")
|
minutes_per_day = self.text(project, "MinutesPerDay")
|
||||||
self.project["MinutesPerDay"] = minutes_per_day
|
self.project["MinutesPerDay"] = minutes_per_day
|
||||||
|
|||||||
@@ -37,8 +37,8 @@ from pathlib import Path
|
|||||||
import ifcopenshell
|
import ifcopenshell
|
||||||
import ifcopenshell.api.aggregate
|
import ifcopenshell.api.aggregate
|
||||||
import ifcopenshell.api.context
|
import ifcopenshell.api.context
|
||||||
import ifcopenshell.api.georeference
|
|
||||||
import ifcopenshell.api.geometry
|
import ifcopenshell.api.geometry
|
||||||
|
import ifcopenshell.api.georeference
|
||||||
import ifcopenshell.api.project
|
import ifcopenshell.api.project
|
||||||
import ifcopenshell.api.root
|
import ifcopenshell.api.root
|
||||||
import ifcopenshell.api.spatial
|
import ifcopenshell.api.spatial
|
||||||
|
|||||||
Reference in New Issue
Block a user