<commit_before># from OpenMesh Tutorial
from openmesh import *

mesh = TriMesh()

vh0 = mesh.add_vertex(TriMesh.Point(0, 1, 0))
vh1 = mesh.add_vertex(TriMesh.Point(1, 0, 0))
vh2 = mesh.add_vertex(TriMesh.Point(2, 1, 0))
vh3 = mesh.add_vertex(TriMesh.Point(0,-1, 0))
vh4 = mesh.add_vertex(TriMesh.Point(2,-1, 0))

fh0 = mesh.add_face(vh0, vh1, vh2)
fh1 = mesh.add_face(vh1, vh3, vh4)
fh2 = mesh.add_face(vh0, vh3, vh1)

vh_list = [vh2, vh1, vh4]
fh3 = mesh.add_face(vh_list)

# !!! Don't Forget: normals are not updated automatically !!!
mesh.update_normals()
<commit_msg>add print (Py_v3) into example script<commit_after># from OpenMesh Tutorial
from openmesh import *

mesh = TriMesh()

vh0 = mesh.add_vertex(TriMesh.Point(0, 1, 0))
vh1 = mesh.add_vertex(TriMesh.Point(1, 0, 0))
vh2 = mesh.add_vertex(TriMesh.Point(2, 1, 0))
vh3 = mesh.add_vertex(TriMesh.Point(0,-1, 0))
vh4 = mesh.add_vertex(TriMesh.Point(2,-1, 0))

fh0 = mesh.add_face(vh0, vh1, vh2)
fh1 = mesh.add_face(vh1, vh3, vh4)
fh2 = mesh.add_face(vh0, vh3, vh1)

vh_list = [vh2, vh1, vh4]
fh3 = mesh.add_face(vh_list)

# !!! Don't Forget: normals are not updated automatically !!!
mesh.update_normals()

print("mesh created.")
print("This Message and any errors (if exists) are shown in OF log.")

{'fraction_non_alphanumeric': 0.16031746031746033, 'fraction_numerical': 0.05793650793650794, 'mean_word_length': 5.211822660098522, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6685080', 'n_tokens_mistral': 596, 'n_tokens_neox': 547, 'n_words': 125}