# Build Canonical Recognition
shape_cr = geompy.MakeCanonicalRecognition(shape_igs, True, True, 0.01)
+# Get the number of canonical faces
+init_nb_f = geompy.GetNbCanonicalFaces(shape_igs)
+res_nb_f = geompy.GetNbCanonicalFaces(shape_cr)
+
+print "Number of canonical faces in the initial shape: %s" % init_nb_f
+print "Number of canonical faces in the result shape: %s" % res_nb_f
+
# Publish in the study
geompy.addToStudy( shape_igs, 'Import from IGS' )
geompy.addToStudy( shape_cr, 'Canonical Recognition' )