mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-18 06:21:40 +00:00
Minor typo fixes
This commit is contained in:
@@ -116,7 +116,7 @@ class GeoreferenceDecorator:
|
|||||||
arc_mid = angle_half @ arc_start
|
arc_mid = angle_half @ arc_start
|
||||||
self.draw_text_at_position(context, f"{self.tn_angle}deg", arc_mid)
|
self.draw_text_at_position(context, f"{self.tn_angle}deg", arc_mid)
|
||||||
|
|
||||||
if (wcs := GeoreferenceData.data["world_coordinate_system"]) and ["has_transformation"]:
|
if (wcs := GeoreferenceData.data["world_coordinate_system"]) and wcs["has_transformation"]:
|
||||||
text = "WCS"
|
text = "WCS"
|
||||||
if props.has_blender_offset:
|
if props.has_blender_offset:
|
||||||
text += f"\nBlender Coordinates ({GeoreferenceData.data['local_unit_symbol']}) X: {wcs['blender_x']}, Y: {wcs['blender_y']}, Z: {wcs['blender_z']}"
|
text += f"\nBlender Coordinates ({GeoreferenceData.data['local_unit_symbol']}) X: {wcs['blender_x']}, Y: {wcs['blender_y']}, Z: {wcs['blender_z']}"
|
||||||
@@ -281,7 +281,7 @@ class GeoreferenceDecorator:
|
|||||||
verts, edges = arc_segments
|
verts, edges = arc_segments
|
||||||
self.draw_batch("LINES", verts, decorator_color_special, edges)
|
self.draw_batch("LINES", verts, decorator_color_special, edges)
|
||||||
|
|
||||||
if (wcs := GeoreferenceData.data["world_coordinate_system"]) and ["has_transformation"]:
|
if (wcs := GeoreferenceData.data["world_coordinate_system"]) and wcs["has_transformation"]:
|
||||||
if wcs["blender_location"].length < 1000:
|
if wcs["blender_location"].length < 1000:
|
||||||
verts = [Vector((0, 0, 0)), wcs["blender_location"]]
|
verts = [Vector((0, 0, 0)), wcs["blender_location"]]
|
||||||
edges = [[0, 1]]
|
edges = [[0, 1]]
|
||||||
|
|||||||
Reference in New Issue
Block a user