Λογότυπο Mesh Editing And Bmesh

Mesh Editing And Bmesh

Κοινότητα
TMHSDigital
mesh-editing-and-bmesh

Create, edit and read meshes efficiently: when to use bpy.data, bpy.ops or bmesh, the bmesh.new / try / finally / free pattern, foreach_get and foreach_set for bulk data, and evaluated meshes for modifier results. Use when the user writes mesh-generating or mesh-editing Python, mentions bmesh, from_pydata, foreach_set or mesh.vertices, has a slow script looping over bpy.ops.mesh or per-vertex assignments, a bmesh script that misbehaves on its second run, or sculpt automasking code that raises AttributeError on Brush.use_automasking_* in 5.2 (MeshAutomaskingSettings). Targets 5.2 LTS.

Επισκόπηση

ΕκδότηςTMHSDigital
ΑποθετήριοBlender-Developer-Tools
Όνομα δεξιότηταςmesh-editing-and-bmesh
Αστέρια
20
Διακλαδώσεις
5
Συνοδευτικά αρχεία
Μόνο οδηγίες
Σύνδεσμοι
  • Οδηγίες σε Markdown

    Ένα αρχείο SKILL.md που το μοντέλο φορτώνει όταν χρειάζεται, ώστε να καταναλώνει token μόνο όταν ένα αίτημα είναι πράγματι σχετικό.

  • Λειτουργεί με οποιοδήποτε LLM

    Οι δεξιότητες AI είναι απλό Markdown, όχι κώδικας για συγκεκριμένο πάροχο, επομένως αυτή η δεξιότητα λειτουργεί με GPT, Claude, Gemini, Grok ή ένα τοπικό μοντέλο.

  • Αυτοτελής

    Όλα όσα χρειάζεται το μοντέλο περιλαμβάνονται στις οδηγίες — χωρίς επιπλέον αρχεία για συγχρονισμό.

  • Ανοιχτού κώδικα

    Δημοσιεύτηκε στο GitHub από τον λογαριασμό TMHSDigital. Ελέγξτε τα αρχεία της δεξιότητας στο αποθετήριο πριν την εγκαταστήσετε.

Εγκατάσταση

Εγκαταστήστε τη δεξιότητα AI Mesh Editing And Bmesh στο TypingMind για να τη χρησιμοποιείτε με οποιοδήποτε LLM ή προσθέστε τη σε άλλον πράκτορα AI που διαβάζει αρχεία SKILL.md.

1

Εγκατάσταση στο TypingMind

Το TypingMind εγκαθιστά μια δεξιότητα απευθείας από τον φάκελό της στο GitHub — διαβάζει το SKILL.md, συγκεντρώνει τα συνοδευτικά αρχεία σε πακέτο και αποθηκεύει το αποτέλεσμα τοπικά.

  1. Ανοίξτε την εφαρμογή και μεταβείτε στα Πρόσθετα → Δεξιότητες.
  2. Επιλέξτε «Εγκατάσταση από GitHub».
  3. Επικολλήστε το παρακάτω URL του φακέλου της δεξιότητας και επιβεβαιώστε.
    https://github.com/TMHSDigital/Blender-Developer-Tools/tree/main/skills/mesh-editing-and-bmesh
  4. Ενεργοποιήστε τη δεξιότητα σε κάθε συνομιλία όπου θέλετε να είναι διαθέσιμη.
Πρόσθετα → Δεξιότητες → Προσθήκη δεξιότητας → Από URL του GitHub, έπειτα επικολλήστε το URL του φακέλου και πατήστε «Συνέχεια».
2

Εγκατάσταση σε άλλον πράκτορα AI

Κάθε πράκτορας AI που υποστηρίζει τη μορφή Agent Skills μπορεί να χρησιμοποιήσει αυτή τη δεξιότητα — αντιγράψτε τον φάκελο στον κατάλογο δεξιοτήτων του.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/TMHSDigital/Blender-Developer-Tools.git /tmp/Blender-Developer-Tools
mkdir -p .claude/skills
cp -r /tmp/Blender-Developer-Tools/skills/mesh-editing-and-bmesh .claude/skills/mesh-editing-and-bmesh
Επανεκκινήστε το Claude Code μετά την αντιγραφή, ώστε να εντοπίσει τη νέα δεξιότητα.

Χρησιμοποιήστε τη στο TypingMind

Ενεργοποιήστε τη δεξιότητα Mesh Editing And Bmesh σε οποιαδήποτε συνομιλία στο TypingMind και το μοντέλο αναλαμβάνει τα υπόλοιπα. Το όνομα και η περιγραφή της περιλαμβάνονται στην προτροπή συστήματος και, μόλις προκύψει ένα σχετικό αίτημα, το μοντέλο φορτώνει μόνο του τις πλήρεις οδηγίες — δεν χρειάζεται ποτέ να την καλείτε χειροκίνητα και δεν καταναλώνει token μέχρι να χρησιμοποιηθεί πραγματικά.

Το μοντέλο φορτώνει αυτόματα τη δεξιότητα Mesh Editing And Bmesh μόλις λάβει ένα σχετικό αίτημα.

Λειτουργεί με οποιοδήποτε μοντέλο AI

Οι δεξιότητες AI είναι οδηγίες σε απλό κείμενο Markdown και όχι κώδικας για συγκεκριμένο πάροχο, οπότε η δεξιότητα Mesh Editing And Bmesh δεν περιορίζεται στο μοντέλο για το οποίο γράφτηκε. Εγκαταστήστε τη μία φορά στο TypingMind και χρησιμοποιήστε τη με GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ή ένα τοπικό μοντέλο που εκτελείτε εσείς — πάντα με τα δικά σας κλειδιά API.

  • Φόρτωση μόνο όταν χρειάζεται

    Η προτροπή συστήματος περιλαμβάνει μόνο το όνομα και την περιγραφή. Οι οδηγίες ανακτώνται με το πρώτο σχετικό αίτημα, οπότε μια δεξιότητα που δεν χρησιμοποιείται δεν έχει κόστος.

  • Αλλάξτε μοντέλο κατά τη διάρκεια της συνομιλίας

    Επειδή η δεξιότητα αποτελείται από οδηγίες και όχι από κώδικα, η αλλαγή μοντέλου δεν επηρεάζει τη λειτουργία της — το επόμενο μοντέλο διαβάζει το ίδιο αρχείο SKILL.md.

Οδηγίες δεξιότητας

Αυτό είναι το περιεχόμενο του αρχείου SKILL.md που φορτώνει το μοντέλο. Διαβάστε το πριν από την εγκατάσταση — μια δεξιότητα αποτελείται από οδηγίες που θα ακολουθήσει το μοντέλο σας.

Mesh Editing and bmesh

Trigger

Use this skill when the user:

  • Wants to create, modify, or read mesh geometry from Python
  • Mentions bmesh, mesh.vertices, foreach_set, from_pydata, evaluated_get
  • Has a script that's slow and uses bpy.ops.mesh.* in a loop
  • Needs the mesh after modifiers (subdivision surface, mirror, geometry nodes) have been applied
  • Asks why their bmesh script crashes on the second run
  • Reads or writes sculpt automasking (use_automasking_*, mesh_automasking_settings) and hits AttributeError on 5.2

Three layers, three use cases

There are three ways to touch mesh data and each is right in a specific situation.

Layer 1: bpy.data.meshes and direct vertex/edge/face access

For creating new meshes from scratch or reading static geometry:

python
import bpy

mesh = bpy.data.meshes.new("MyMesh")
verts = [(0, 0, 0), (1, 0, 0), (1, 1, 0), (0, 1, 0)]
faces = [(0, 1, 2, 3)]
mesh.from_pydata(verts, [], faces)
mesh.update()

obj = bpy.data.objects.new("MyObject", mesh)
bpy.context.scene.collection.objects.link(obj)

Use this layer when:

  • You're constructing a mesh from a list of vertices and faces.
  • You're reading vertex coordinates, normals, or face indices from an existing static mesh.
  • You're doing one-shot bulk operations.

Layer 2: bmesh for editable mesh structure

For surgical edits (extrude, subdivide, dissolve, build n-gons by walking edges) where you need a real edit-mode-style data structure:

python
import bmesh

bm = bmesh.new()
try:
    bm.from_mesh(mesh)

    for v in bm.verts:
        v.co.z += 0.1

    bm.to_mesh(mesh)
    mesh.update()
finally:
    bm.free()

Use this layer when:

  • You need adjacency (which faces share an edge, which edges meet at a vertex).
  • You're doing structural edits (split edges, merge verts, dissolve faces).
  • You need iteration order to be stable mid-edit.

The try/finally with bm.free() is mandatory. bmesh.new() allocates C-side storage that is released only when the wrapper is collected, and a traceback, global, closure or modal operator can keep it alive for the whole session. free() in finally releases it on every path and makes any later use of bm raise ReferenceError. See the rule always-free-bmesh.

Layer 3: bpy.ops.mesh.* operators

Use only for one-shot user-facing actions, never in a loop:

python
# Acceptable: one-shot, user just clicked something.
bpy.ops.mesh.primitive_cube_add(size=2.0)
python
# WRONG: every bpy.ops call triggers a full depsgraph evaluation and UI redraw.
for obj in bpy.context.selected_objects:
    bpy.context.view_layer.objects.active = obj
    bpy.ops.object.mode_set(mode='EDIT')
    bpy.ops.mesh.subdivide()
    bpy.ops.object.mode_set(mode='OBJECT')

This is the single biggest performance trap in Blender Python. See the rule prefer-data-over-ops-in-loops.

The canonical create-an-object pattern

python
import bpy

mesh = bpy.data.meshes.new("Cube")
verts = [
    (-1, -1, -1), (1, -1, -1), (1, 1, -1), (-1, 1, -1),
    (-1, -1, 1), (1, -1, 1), (1, 1, 1), (-1, 1, 1),
]
faces = [
    (0, 1, 2, 3), (4, 5, 6, 7),
    (0, 1, 5, 4), (1, 2, 6, 5),
    (2, 3, 7, 6), (3, 0, 4, 7),
]
mesh.from_pydata(verts, [], faces)
mesh.update()

obj = bpy.data.objects.new("Cube", mesh)
bpy.context.scene.collection.objects.link(obj)

Three steps:

  1. Create the mesh datablock.
  2. Create the object datablock pointing at the mesh.
  3. Link the object into a collection so it appears in the scene.

Skipping step 3 creates the object but never shows it. The collection link is what puts it in the scene.

The deletion mirror image:

python
obj = bpy.data.objects["Cube"]
bpy.data.objects.remove(obj, do_unlink=True)

do_unlink=True removes the object from any collections it was linked into before deleting it. It is already the default (remove(object, *, do_unlink=True, ...)); passing it explicitly documents intent. With do_unlink=False, Blender refuses to delete an object that is still referenced.

foreach_set for bulk vertex injection

For setting many vertex coordinates fast, foreach_set is one to two orders of magnitude faster than a Python loop:

python
import numpy as np

n_verts = len(mesh.vertices)
flat = np.empty(n_verts * 3, dtype=np.float32)
flat[0::3] = xs  # array of x coords
flat[1::3] = ys
flat[2::3] = zs

mesh.vertices.foreach_set("co", flat)
mesh.update()

The flat array layout [x0, y0, z0, x1, y1, z1, ...] is what foreach_set expects for 'co'. Use dtype=np.float32, not float64; Blender expects 32-bit floats here.

foreach_get is the symmetric reader:

python
flat = np.empty(n_verts * 3, dtype=np.float32)
mesh.vertices.foreach_get("co", flat)
xs = flat[0::3]
ys = flat[1::3]
zs = flat[2::3]

Depsgraph evaluation: getting the modifier-applied mesh

Reading obj.data returns the base mesh, before modifiers. To read what the user sees after the modifier stack runs:

python
depsgraph = bpy.context.evaluated_depsgraph_get()
eval_obj = obj.evaluated_get(depsgraph)
eval_mesh = eval_obj.to_mesh()

try:
    for v in eval_mesh.vertices:
        ...  # modifier-applied coords
finally:
    eval_obj.to_mesh_clear()

to_mesh() returns a temporary mesh datablock. to_mesh_clear() releases it. One temporary mesh is held per evaluated object until to_mesh_clear() or re-evaluation. Looping over many objects without clearing holds one per object. A repeated call on the same object frees the previous one. See depsgraph-and-evaluated-data for the measured lifetime.

This is the only way to:

  • Read the post-subdivision-surface vertex count and positions
  • Capture geometry-nodes-generated geometry from Python
  • Export the mesh as the user sees it without baking modifiers first

bmesh idioms

Iterating in a stable order

python
for face in bm.faces:
    if face.select:
        face.smooth = True

bmesh iteration is stable as long as you don't mutate the structure (add or remove elements). To mutate during iteration, copy the iterable first:

python
for face in list(bm.faces):
    if face.calc_area() < 0.01:
        bm.faces.remove(face)

bmesh.ops: the high-level bmesh functions

python
import bmesh

bm = bmesh.new()
try:
    bm.from_mesh(mesh)

    bmesh.ops.subdivide_edges(
        bm,
        edges=bm.edges,
        cuts=2,
        use_grid_fill=True,
    )

    bm.to_mesh(mesh)
    mesh.update()
finally:
    bm.free()

bmesh.ops.* functions take the bmesh and keyword args. They are the Python equivalent of edit-mode operators but operate directly on the bmesh structure without round-tripping through bpy.ops.

Working with selection

bmesh tracks selection via .select on each element:

python
bm = bmesh.new()
try:
    bm.from_mesh(mesh)

    selected_verts = [v for v in bm.verts if v.select]
    for v in selected_verts:
        v.co.z += 0.5

    bm.to_mesh(mesh)
finally:
    bm.free()

After mutating selection, call bm.select_flush_mode() if you've changed individual element selection and want it to propagate (e.g. selecting verts should select connected edges).

Normals after 4.1

Auto smooth stopped being a mesh setting in 4.1. On 4.5 LTS and 5.x, mesh.use_auto_smooth, auto_smooth_angle, calc_normals_split(), free_normals_split() and create_normals_split() do not exist, and setting or calling them raises AttributeError. Normals are always current.

python
import math

me.set_sharp_from_angle(angle=math.radians(30))  # sharp edges + ALL faces smooth
for i, n in enumerate(me.corner_normals):         # was loop.normal after calc_normals_split()
    ...
print(me.normals_domain)                          # 'POINT', 'FACE' or 'CORNER'
  • set_sharp_from_angle also turns every face smooth. On a flat 16-sided cylinder at 30° it marked the 32 cap-rim edges sharp and smoothed all 18 faces (4.5.14 and 5.2.1). Code ported from auto smooth does not expect flat-shaded input to come back smooth.
  • bpy.ops.object.shade_auto_smooth(angle=...) is the non-destructive version: it adds a "Smooth by Angle" geometry-nodes modifier on 5.2.1. On 4.5.14 under --background --factory-startup it returned {'CANCELLED'} and added nothing, so headless scripts that also target 4.5 should use set_sharp_from_angle.
  • Custom normals: me.normals_split_custom_set(...) and normals_split_custom_set_from_vertices(...) still exist on both.

The no-removed-normals-api rule flags the old calls. Witness: examples/mesh-normals-after-41/.

Sculpt tool settings and automasking

Sculpt automasking moved in 5.2. On 4.5 LTS and 5.1 the 18 settings are Brush attributes (brush.use_automasking_topology, brush.automasking_cavity_factor). On 5.2 they live on brush.mesh_automasking_settings, a MeshAutomaskingSettings, and the old Brush names raise AttributeError. Two traps come with the move:

  • Only the booleans keep their names. The ten use_automasking_* flags are spelled the same on the new struct. The eight values drop the prefix: automasking_cavity_factor becomes cavity_factor, automasking_view_normal_limit becomes view_normal_limit, and so on. A blanket getattr(mas, old_name) port breaks on exactly those eight.
  • A brush needs mode="SCULPT". bpy.data.brushes.new(name) with no mode leaves mesh_automasking_settings as None on 5.2. A factory-empty file has no brushes at all, so headless code creates its own.

Pick the struct by presence, not version, and spell the value names per struct:

python
import bpy

brush = bpy.data.brushes.new("ProbeBrush", mode="SCULPT")
mas = getattr(brush, "mesh_automasking_settings", None)

if mas is not None:                      # 5.2+
    mas.use_automasking_topology = True
    mas.cavity_factor = 0.75
    topo, factor = mas.use_automasking_topology, mas.cavity_factor
else:                                    # 4.5 LTS, 5.1
    brush.use_automasking_topology = True
    brush.automasking_cavity_factor = 0.75
    topo, factor = brush.use_automasking_topology, brush.automasking_cavity_factor

assert topo is True and abs(factor - 0.75) < 1e-6
assert (mas is not None) == hasattr(bpy.types, "MeshAutomaskingSettings")
assert hasattr(brush, "automasking_cavity_factor") == (mas is None)

The full old-to-new name map is in the witness example, mesh-automasking-settings (measured on 4.5.11, 5.1.2 and 5.2.1).

Common AI mistakes

  1. bpy.ops.mesh.* in a loop. See the canonical example above. Move to bpy.data plus bmesh.

  2. Forgetting bm.free(). Crashes Blender after enough runs. Use the try/finally form unconditionally.

  3. Forgetting to_mesh_clear(). Holds one evaluated mesh per object until re-evaluation. Same try/finally discipline applies.

  4. Reading obj.data and expecting modifiers:

    python
    for v in obj.data.vertices:  # base mesh, no modifiers
        ...

    Use evaluated_get(depsgraph).to_mesh() instead.

  5. Mutating bmesh structure mid-iteration without copying the iterable first. Crashes or skips elements.

  6. Skipping mesh.update() after foreach_set or vertex coordinate edits. The mesh stays out of date until the next depsgraph cycle.

  7. Mismatched dtype in foreach_set (a float64 buffer for a float32 attribute). The values are converted correctly (round-trip error about 1e-7, float32 precision, on 4.5.11 and 5.2.1), but slower: 38 ms vs 21 ms for 361k vertices on 5.2.1 (34 vs 24 ms on 4.5.11). Match the attribute's type (float32 for co) for bulk speed.

  8. Trusting glTF as an n-gon witness. The exporter always triangulates. A cube and a hexagon-from-dissolved-edge both ship 12 tris. Hygiene (len(poly.vertices) <= 4) and Mesh.calc_tangents (aborts on n-gons) must run on the Blender mesh. Witness: examples/ngon-triangulate/.

  9. Treating coincident duplicate shells as non-manifold. Two cubes occupying the same space are still valence-2. They ship as extra glTF triangles until bmesh.ops.remove_doubles. Witness: examples/coincident-vert-weld/.

  10. mesh.use_auto_smooth = True / mesh.calc_normals_split(). Removed in 4.1; AttributeError on 4.5 and 5.x. See Normals after 4.1 above.

  11. brush.use_automasking_* / brush.automasking_* on 5.2. AttributeError; the settings moved to brush.mesh_automasking_settings, and the eight non-boolean values lost their automasking_ prefix. See Sculpt tool settings and automasking above.

Related

  • headless-batch-scripting for using these patterns in CLI scripts
  • geometry-nodes-python for programmatic GN tree construction
  • uv-and-mesh-attributes for UV layers, the lightmap channel, tangents, color attributes, shape keys and skin weights
  • Rule prefer-data-over-ops-in-loops
  • Rule always-free-bmesh
  • Snippet canonical-object-creation.py, canonical-object-deletion.py, bmesh-load-edit-free.py, depsgraph-evaluated-mesh.py, foreach-set-vertices.py
  • Example ngon-triangulate for synthesized n-gons vs calc_tangents / triangulate
  • Example coincident-vert-weld for authored duplicate shells vs glTF

Runnable examples

Each example runs headless, asserts the contract, and exits non-zero when it breaks. Run one with blender --background --python <script> --; pass a falsifier flag to watch the check fail.

  • armature-bend: Rigging end to end in the data API — edit_bones chain construction, name-bound vertex groups with smoothstep blend zones, posing, and depsgraph evaluation. Falsify: --zero-curl (exit 8).
  • attribute-domain-shear: POINT vs CORNER color-attribute domains on a shared-vertex fan: CORNER stays exact per face while a naive per-wedge POINT loop shears to the last write at the hub. Falsify: --no-overwrite (exit 5).
  • bmesh-gear: A 14-tooth gear built entirely with bmesh — profile ring, face, extrude — with bm.free() in a try/finally, exactly as the ownership contract demands. Falsify: --no-extrude (exit 3).
  • boolean-exact-volume: The Boolean modifier on the EXACT solver. Falsify: --float-solver (exit 3).
  • collision-hull-proxy: A fire hydrant street prop inside its compound collision shell: four convex pieces hulled by bmesh.ops.convex_hull from a coarse inflated cage. Falsify: --shrink-hull (exit 3).
  • color-attribute-wheel: The modern color-attributes API — mesh.color_attributes.new() on the CORNER domain. Falsify: --point-domain (exit 6).
  • custom-normals-shade: A jerry can prop shaded three ways to prove the post-4.1 shading contract: hard edges are mesh data, landing exactly where the dihedral crosses. Falsify: --mismatch-angle (exit 5).
  • degenerate-bevel-weld: Bevel offset >= half the min box dimension collapses the band into zero-area faces — and they ship: a stdlib GLB re-parse counts the degenerate triangles crossing the export boundary. Falsify: --both-safe (exit 4).
  • lattice-deform: A 2x2x2 Lattice modifier set to KEY_LINEAR on all three axes, with two top control points moved through LatticePoint.co_deform, read back through the depsgraph (evaluated_get, to_mesh, to_mesh_clear). Falsify: --bspline (exit 4).
  • lightmap-uv-channel: A market cart carrying the two-channel UV contract for baked lighting: UV0 untouched, UVLight packed with no overlaps and a respected margin. Falsify: --overlap-islands (exit 7).
  • lod-decimate-chain: A retro rocket at LOD0/1/2 via the Decimate modifier evaluated through the depsgraph, with a wireframe of each evaluated mesh. Falsify: --no-decimate (exit 6).
  • mesh-automasking-settings: Pathology witness for the 5.2 move of sculpt automasking RNA off Brush into MeshAutomaskingSettings. Falsify: --assume-brush-attrs (exit 5).
  • mesh-hygiene-audit: Engine-ingest mesh hygiene on every part of a flanged street valve: no ngons, no loose verts, manifold edges, no zero-area faces, contiguous and outward winding, Euler V-E+F==2 on the body casting. Falsify: --inject ngon (exit 3).
  • mesh-normals-after-41: Check-only witness for the normals API that replaced auto smooth in Blender 4.1, on 4.5 LTS and 5.x alike. Falsify: --legacy-api (exit 3).
  • modular-kit-snap: A tiling corridor kit whose open-end boundary verts snap to the tile grid, so instances at 4 m multiples join with zero gap or overlap. Falsify: --seam-gap (exit 5).
  • ngon-triangulate: Synthesizes one hexagon by dissolving a cube edge, then asserts the hygiene / tangent contracts on that defective mesh. Falsify: --no-dissolve (exit 3).
  • shape-key-blend: A relative Tall shape key that turns a squat ceramic jar into a trumpet vase. Falsify: --zero-blend (exit 5).
  • soccer-ball-goldberg: A soccer ball as a Goldberg polyhedron: a bmesh icosphere truncated at 1/3 per edge, faces ordered by link-topology walks, panels bound by face vertex count. Falsify: --invert-bind (exit 13).
  • solidify-even-thickness: Solidify's use_even_offset on a folded strip. Falsify: --no-even (exit 4).
  • triangulate-tangents: A machined buckler verifying the tangent-space contract a game engine's normal mapping depends on. Falsify: --zero-uv (exit 4).
  • uv-layer-grid: The UV-layer authoring hazard — bmesh.ops.create_grid(..., calc_uvs=True) is a silent no-op unless a UV layer already exists; without one an Image Texture samples texel (0,0) everywhere. Falsify: --precreate-on-hazard (exit 3).
  • vertex-color-ao: A stone well carrying baked ambient occlusion in a colour attribute, with the bake held to the closed-form hemisphere integral rather than to a captured value. Falsify: --uniform-hemisphere (exit 3).
  • vertex-weight-limit: A rigged industrial robot arm pruned to the game-engine cap of four bone influences per vertex, through the data API. Falsify: --skip-limit (exit 4).
  • wave-displace: Bulk vertex IO at real scale — 9,409 vertices displaced into a standing wave with one foreach_get and one foreach_set, no per-vertex access. Falsify: --flat (exit 4).

Snippets

Short standalone patterns to copy. Each one runs in CI on 5.2 and 4.5 with a check and a falsifier.

References

Συχνές ερωτήσεις

Τι κάνει η δεξιότητα AI Mesh Editing And Bmesh;

Create, edit and read meshes efficiently: when to use bpy.data, bpy.ops or bmesh, the bmesh.new / try / finally / free pattern, foreach_get and foreach_set for bulk data, and evaluated meshes for modifier results. Use when the user writes mesh-generating or mesh-editing Python, mentions bmesh, from_pydata, foreach_set or mesh.vertices, has a slow script looping over bpy.ops.mesh or per-vertex assignments, a bmesh script that misbehaves on its second run, or sculpt automasking code that raises AttributeError on Brush.use_automasking_* in 5.2 (MeshAutomaskingSettings). Targets 5.2 LTS.

Γιατί να χρησιμοποιήσετε τη δεξιότητα Mesh Editing And Bmesh στο TypingMind;

Επειδή την εγκαθιστάτε μία φορά και τη χρησιμοποιείτε με οποιοδήποτε μοντέλο. Η Mesh Editing And Bmesh είναι απλό Markdown και όχι κώδικας ειδικά για κάποιον πάροχο, επομένως η ίδια δεξιότητα λειτουργεί με GPT-5, Claude, Gemini, Grok ή ένα τοπικό μοντέλο — και μπορείτε να αλλάξετε μοντέλο κατά τη διάρκεια της συνομιλίας χωρίς να διακοπεί η λειτουργία της. Το TypingMind λειτουργεί με τα δικά σας κλειδιά API, οπότε πληρώνετε απευθείας τους παρόχους αντί για συνδρομή ανά θέση χρήστη, ενώ οι δεξιότητες και οι συνομιλίες σας παραμένουν στον δικό σας χώρο αποθήκευσης.

Πώς εγκαθιστώ τη δεξιότητα Mesh Editing And Bmesh στο TypingMind;

Στο TypingMind, ανοίξτε Πρόσθετα → Δεξιότητες → Εγκατάσταση από το GitHub και επικολλήστε τη διεύθυνση https://github.com/TMHSDigital/Blender-Developer-Tools/tree/main/skills/mesh-editing-and-bmesh. Το TypingMind διαβάζει το αρχείο SKILL.md και εγκαθιστά τη δεξιότητα, την οποία μπορείτε να ενεργοποιείτε ανά συνομιλία.

Ποια μοντέλα AI μπορούν να χρησιμοποιήσουν τη δεξιότητα Mesh Editing And Bmesh;

Οποιοδήποτε μοντέλο συνδέετε στο TypingMind. Οι δεξιότητες AI είναι απλές οδηγίες Markdown και όχι κώδικας ειδικά για κάποιον πάροχο, επομένως τα GPT, Claude, Gemini, Grok και τα τοπικά μοντέλα μπορούν όλα να φορτώσουν αυτή τη δεξιότητα όταν ένα αίτημα αντιστοιχεί σε αυτή.

Με πόσα μοντέλα AI μπορώ να χρησιμοποιήσω τη δεξιότητα Mesh Editing And Bmesh;

Με όσα θέλετε. Στο TypingMind μπορείτε να χρησιμοποιήσετε τη δεξιότητα Mesh Editing And Bmesh με οποιοδήποτε μοντέλο υποστηρίζει δεξιότητες, όπως τα GPT, Claude, Gemini, Grok, DeepSeek, Mistral και Llama, χρησιμοποιώντας τα δικά σας κλειδιά API.

Είναι δωρεάν η δεξιότητα AI Mesh Editing And Bmesh;

Δημοσιεύεται στο GitHub από τον λογαριασμό TMHSDigital. Ελέγξτε το αποθετήριο για τους όρους αδειοδότησης. Πληρώνετε μόνο τον δικό σας πάροχο AI για τα token που χρησιμοποιείτε.

Τι είναι οι δεξιότητες AI;

Μια δεξιότητα AI είναι ένα επαναχρησιμοποιήσιμο πακέτο οδηγιών που διδάσκει σε ένα μοντέλο AI πώς να εκτελεί μια συγκεκριμένη εργασία. Ακολουθεί την ανοιχτή μορφή Agent Skills: ένα αρχείο SKILL.md με όνομα και περιγραφή, μαζί με τυχόν σενάρια κώδικα, πρότυπα ή αρχεία αναφοράς που μπορεί να χρειαστεί το μοντέλο. Το μοντέλο διαβάζει τις οδηγίες μόνο όταν το αίτημά σας αντιστοιχεί στη δεξιότητα, οπότε μια εγκατεστημένη δεξιότητα δεν κοστίζει τίποτα μέχρι να χρησιμοποιηθεί.

Σε τι διαφέρουν οι δεξιότητες AI από τα πρόσθετα ή τους συνδέσμους MCP;

Ένα πρόσθετο ή ένας σύνδεσμος MCP παρέχει στο μοντέλο νέα εργαλεία που μπορεί να καλέσει — κώδικα που εκτελείται κάπου και επιστρέφει ένα αποτέλεσμα. Μια δεξιότητα AI παρέχει αντί γι’ αυτό γνώσεις και διαδικασίες στο μοντέλο: πώς να προσεγγίσει μια εργασία, ποια βήματα να ακολουθήσει και ποια χαρακτηριστικά έχει ένα καλό αποτέλεσμα. Οι δεξιότητες είναι απλό Markdown, επομένως δεν χρειάζονται διακομιστή, κλειδί API ή περιβάλλον εκτέλεσης και λειτουργούν με οποιοδήποτε μοντέλο.

Προβολή όλων

Δημιουργήστε τώρα τον δικό σας χώρο εργασίας AI

Εγγραφείτε στο ενημερωτικό μας δελτίο για να ενημερώνεστε για νέες λειτουργίες και μελλοντικές κληρώσεις δώρων 👇