curves-and-text
Installation
SKILL.md
Curves and Text
Trigger
Use this skill when the user:
- Creates a curve or 3D text object from a script (
bpy.data.curves.new,type='CURVE'ortype='FONT') - Mentions
splines,bezier_points,bevel_depth,bevel_resolution,use_fill_caps,extrude,TextCurve,body,align_x, or Bfont - Needs the vertex positions, bounds or face count of a beveled curve or extruded text
- Reports that a tube renders as a hollow pipe, or that text dimensions do not match the numbers they set
- Hits
ReferenceErrorreading a mesh afterto_mesh_clear()
High-level shape
A curve or text object is a Curve datablock, not a mesh. Author it on the data API, link an object to a collection, and read geometry only through the depsgraph:
import bpy