mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-17 22:11:36 +00:00
Black format
This commit is contained in:
@@ -595,14 +595,17 @@ class PolylineDecorator:
|
|||||||
wall_preview_data = self.get_wall_preview_data(context, self.relating_type)
|
wall_preview_data = self.get_wall_preview_data(context, self.relating_type)
|
||||||
if wall_preview_data:
|
if wall_preview_data:
|
||||||
self.draw_batch("LINES", wall_preview_data["verts"], decorator_color, wall_preview_data["edges"])
|
self.draw_batch("LINES", wall_preview_data["verts"], decorator_color, wall_preview_data["edges"])
|
||||||
self.draw_batch("TRIS", wall_preview_data["verts"], transparent_color(decorator_color), wall_preview_data["tris"])
|
self.draw_batch(
|
||||||
|
"TRIS", wall_preview_data["verts"], transparent_color(decorator_color), wall_preview_data["tris"]
|
||||||
|
)
|
||||||
|
|
||||||
# Mesh type products
|
# Mesh type products
|
||||||
product_preview_data = self.get_product_preview_data(context, self.relating_type)
|
product_preview_data = self.get_product_preview_data(context, self.relating_type)
|
||||||
if product_preview_data:
|
if product_preview_data:
|
||||||
self.draw_batch("LINES", product_preview_data["verts"], decorator_color, product_preview_data["edges"])
|
self.draw_batch("LINES", product_preview_data["verts"], decorator_color, product_preview_data["edges"])
|
||||||
self.draw_batch("TRIS", product_preview_data["verts"], transparent_color(decorator_color), product_preview_data["tris"])
|
self.draw_batch(
|
||||||
|
"TRIS", product_preview_data["verts"], transparent_color(decorator_color), product_preview_data["tris"]
|
||||||
|
)
|
||||||
|
|
||||||
def draw_input_ui(self, context):
|
def draw_input_ui(self, context):
|
||||||
texts = {
|
texts = {
|
||||||
|
|||||||
@@ -303,7 +303,6 @@ class Polyline(bonsai.core.tool.Polyline):
|
|||||||
|
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def validate_input(cls, input_number, input_type):
|
def validate_input(cls, input_number, input_type):
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user