@@ -27,9 +27,7 @@ def setMeshPolyhedronsVisibility(self, params):
2727 def setMeshPolyhedronsColor (self , params ):
2828 print (self .mesh_polyhedrons_prefix + self .mesh_polyhedrons_schemas_dict ["color" ]["rpc" ], f"{ params = } " , flush = True )
2929 validate_schema (params , self .mesh_polyhedrons_schemas_dict ["color" ])
30- print ("id" , params ["id" ], flush = True )
3130 id = params ["id" ]
32- print ("color" , params ["color" ], flush = True )
3331 red , green , blue = params ["color" ]["r" ], params ["color" ]["g" ], params ["color" ]["b" ]
3432 self .SetColor (id , red , green , blue )
3533
@@ -39,13 +37,13 @@ def setMeshPolyhedronsVertexAttribute(self, params):
3937 validate_schema (params , self .mesh_polyhedrons_schemas_dict ["vertex_attribute" ])
4038 id = params ["id" ]
4139 name = str (params ["name" ])
42- self .setMeshVertexAttribute (id , name )
40+ self .displayAttributeOnVertices (id , name )
4341
4442 @exportRpc (mesh_polyhedrons_prefix + mesh_polyhedrons_schemas_dict ["polyhedron_attribute" ]["rpc" ])
4543 def setMeshPolyhedronsPolyhedronAttribute (self , params ):
4644 print (self .mesh_polyhedrons_prefix + self .mesh_polyhedrons_schemas_dict ["vertex_attribute" ]["rpc" ], f"{ params = } " , flush = True )
4745 validate_schema (params , self .mesh_polyhedrons_schemas_dict ["vertex_attribute" ])
4846 id = params ["id" ]
4947 name = str (params ["name" ])
50- self .setMeshPolyhedronAttribute (id , name )
48+ self .displayAttributeOnCells (id , name )
5149
0 commit comments