File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/gh/components/DF_preview_assembly Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 88
99from ghpythonlib .componentbase import executingcomponent as component
1010import Grasshopper as gh
11+ from Grasshopper .Kernel import GH_RuntimeMessageLevel as RML
1112
1213import diffCheck
1314from diffCheck .df_geometries import DFAssembly
@@ -134,7 +135,7 @@ def DrawViewportWires(self, args):
134135 ln = rg .Line (face_center , face_center + vector_face_center_2_beam_center )
135136 args .Display .DrawDottedLine (ln , self ._joint_rnd_clr [idx_joint ])
136137
137- # name of the joint is defined by: 1) the beam index, 2) the joint index, 3) the face index by list order
138+ ghenv . Component . AddRuntimeMessage ( RML . Remark , "legend joint naming: the beam index - the joint index - the face index by list order" ) # noqa: F821
138139 name_face_joint : str = f"{ beam .index_assembly } -{ joint .id } -{ idx_face } "
139140 args .Display .Draw2dText (
140141 name_face_joint ,
You can’t perform that action at this time.
0 commit comments