mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-12 22:43:41 +00:00
black.py formatting
This commit is contained in:
@@ -28,6 +28,7 @@ from bmesh.types import BMVert
|
||||
from mathutils import Vector
|
||||
from pprint import pprint
|
||||
|
||||
|
||||
def add_dumb_stair_object(self, context):
|
||||
if self.number_of_treads <= 0:
|
||||
self.number_of_treads = 1
|
||||
@@ -77,6 +78,7 @@ class BIM_OT_add_object(Operator, AddObjectHelper):
|
||||
add_dumb_stair_object(self, context)
|
||||
return {"FINISHED"}
|
||||
|
||||
|
||||
def create_stair(
|
||||
operator,
|
||||
context,
|
||||
@@ -236,4 +238,3 @@ class BIM_OT_add_clever_stair(Operator):
|
||||
def add_object_button(self, context):
|
||||
self.layout.operator(BIM_OT_add_object.bl_idname, icon="PLUGIN")
|
||||
self.layout.operator(BIM_OT_add_clever_stair.bl_idname, icon="PLUGIN")
|
||||
|
||||
|
||||
@@ -197,4 +197,4 @@ class LibraryGenerator:
|
||||
|
||||
if __name__ == "__main__":
|
||||
LibraryGenerator().generate(parse_profiles_type="EU", output_filename="IFC4 EU Steel.ifc")
|
||||
LibraryGenerator().generate(parse_profiles_type="AU", output_filename="IFC4 AU Steel.ifc")
|
||||
LibraryGenerator().generate(parse_profiles_type="AU", output_filename="IFC4 AU Steel.ifc")
|
||||
|
||||
Reference in New Issue
Block a user