@@ -27,9 +27,7 @@ def setMeshPolyhedronsVisibility(self, params):
27
27
def setMeshPolyhedronsColor (self , params ):
28
28
print (self .mesh_polyhedrons_prefix + self .mesh_polyhedrons_schemas_dict ["color" ]["rpc" ], f"{ params = } " , flush = True )
29
29
validate_schema (params , self .mesh_polyhedrons_schemas_dict ["color" ])
30
- print ("id" , params ["id" ], flush = True )
31
30
id = params ["id" ]
32
- print ("color" , params ["color" ], flush = True )
33
31
red , green , blue = params ["color" ]["r" ], params ["color" ]["g" ], params ["color" ]["b" ]
34
32
self .SetColor (id , red , green , blue )
35
33
@@ -39,13 +37,13 @@ def setMeshPolyhedronsVertexAttribute(self, params):
39
37
validate_schema (params , self .mesh_polyhedrons_schemas_dict ["vertex_attribute" ])
40
38
id = params ["id" ]
41
39
name = str (params ["name" ])
42
- self .setMeshVertexAttribute (id , name )
40
+ self .displayAttributeOnVertices (id , name )
43
41
44
42
@exportRpc (mesh_polyhedrons_prefix + mesh_polyhedrons_schemas_dict ["polyhedron_attribute" ]["rpc" ])
45
43
def setMeshPolyhedronsPolyhedronAttribute (self , params ):
46
44
print (self .mesh_polyhedrons_prefix + self .mesh_polyhedrons_schemas_dict ["vertex_attribute" ]["rpc" ], f"{ params = } " , flush = True )
47
45
validate_schema (params , self .mesh_polyhedrons_schemas_dict ["vertex_attribute" ])
48
46
id = params ["id" ]
49
47
name = str (params ["name" ])
50
- self .setMeshPolyhedronAttribute (id , name )
48
+ self .displayAttributeOnCells (id , name )
51
49
0 commit comments