mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-27 10:51:13 +00:00
Typo: strucutural > structural
This commit is contained in:
@@ -28,7 +28,7 @@ from bonsai.bim.module.structural.load_decoration_data import ShaderInfo
|
|||||||
|
|
||||||
|
|
||||||
class LoadsDecorator:
|
class LoadsDecorator:
|
||||||
"""Decorator to show strucutural loads in 3D"""
|
"""Decorator to show structural loads in 3D"""
|
||||||
|
|
||||||
is_installed = False
|
is_installed = False
|
||||||
handlers = []
|
handlers = []
|
||||||
|
|||||||
@@ -83,7 +83,7 @@ class ShaderInfo:
|
|||||||
self.point_members = {}
|
self.point_members = {}
|
||||||
self.surface_members = {}
|
self.surface_members = {}
|
||||||
self.get_force_units()
|
self.get_force_units()
|
||||||
self.get_strucutural_elements_and_activities()
|
self.get_structural_elements_and_activities()
|
||||||
self.get_linear_loads()
|
self.get_linear_loads()
|
||||||
self.get_point_loads()
|
self.get_point_loads()
|
||||||
self.get_planar_loads()
|
self.get_planar_loads()
|
||||||
@@ -213,7 +213,7 @@ class ShaderInfo:
|
|||||||
second = ifcunit.get_unit_symbol(e.Unit)
|
second = ifcunit.get_unit_symbol(e.Unit)
|
||||||
self.planar_force_unit = first + "/" + second
|
self.planar_force_unit = first + "/" + second
|
||||||
|
|
||||||
def get_strucutural_elements_and_activities(self) -> None:
|
def get_structural_elements_and_activities(self) -> None:
|
||||||
"""fills self.point_members, self.curve_members and self.surface_members dictionaries"""
|
"""fills self.point_members, self.curve_members and self.surface_members dictionaries"""
|
||||||
|
|
||||||
def populate_members_dict(
|
def populate_members_dict(
|
||||||
@@ -224,7 +224,7 @@ class ShaderInfo:
|
|||||||
) -> None:
|
) -> None:
|
||||||
"""
|
"""
|
||||||
fills self.point_members, self.curve_members and self.surface_members dictionaries
|
fills self.point_members, self.curve_members and self.surface_members dictionaries
|
||||||
thoses dicts will contain the strucutural member global id as key and a second dict as value
|
thoses dicts will contain the structural member global id as key and a second dict as value
|
||||||
the second dict contais two keys, as follow:
|
the second dict contais two keys, as follow:
|
||||||
{
|
{
|
||||||
"member": the strucutral member itself
|
"member": the strucutral member itself
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ from bonsai.bim.module.structural.decorator import LoadsDecorator
|
|||||||
|
|
||||||
|
|
||||||
class ShowLoads(bpy.types.Operator):
|
class ShowLoads(bpy.types.Operator):
|
||||||
"""Draw decorations to show strucutural actions in 3d view"""
|
"""Draw decorations to show structural actions in 3d view"""
|
||||||
|
|
||||||
bl_idname = "bim.show_loads"
|
bl_idname = "bim.show_loads"
|
||||||
bl_label = "Show Loads in 3D View"
|
bl_label = "Show Loads in 3D View"
|
||||||
|
|||||||
Reference in New Issue
Block a user