/blender-object-bundle:vehicle-modelingfrom blender-object-bundle
Models wheeled vehicles in Blender as toy low-poly assemblies using Python generator scripts via Blender MCP. Builds vehicles bottom-up stage by stage with user approval, producing separate objects with pivots for game mechanics and flat FBX export.
Ships in blender-object-bundle. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
A method proven in practice on a boxy 4-door hatchback that went from a four-view reference sheet to a drivable game car, one approved stage at a time. It works for any wheeled vehicle: hatchback, van, pickup, bus, truck, kart.
The result is a Python script that builds the vehicle from scratch. The script is the source; the meshes are
output. The same principles as object-modeling apply (read its style section if it is installed): toy, chubby,
caricature, detailed but chunky, no bevel, flat shading, numbers at the top, rebuild on every change.
What is different about vehicles: they become mechanics. Wheels spin and steer, suspension moves, doors, hood and hatch open, lights turn on, the body dents, items ride in slots. So a vehicle is not one mass: it is an assembly of separate pieces, each with its pivot where it turns, built bottom up like a real assembly line.
Project first: read the project's conventions before starting (a CLAUDE.md, an art doc, the names the engine
looks for, the axis and side conventions, the export tool, existing vehicles to match). Follow them on top of this
skill. The suffix convention below is a default; the project's wins.
scripts/vehicle.py: the vehicle tools (section lofts, hollow shell, boolean cutters, opening panels, paint by face
rule, mesh check per object, parenting that keeps the pose, empties, flattening and FBX export).scripts/workshop.py + scripts/rings.py: the Workshop (one bmesh, a material per face, a seeded random: box,
cylinder, lathe, tube, bar, prism) and the ring tools under it. workshop.material(name, hex) makes a flat color.scripts/measure.py: render(...) for review images (Workbench, long lens).examples/toy_hatchback.py: a whole 4-door hatchback in 7 stages plus export. The model to copy (the method and
the order of the stages, never the look: every vehicle starts from its own reference).execute_blender_code and you can call
get_scene_info and get_viewport_screenshot. Without it, run the same script in the background:
blender -b --factory-startup -P <script.py>.bpy, bmesh, mathutils).TH_). No maker names,
logos, badges or model names in objects, materials, comments, docs or textures, even when the reference is a real
car. The reference images stay local to the conversation: never commit, publish or ship them; publish renders of
your finished model instead.get_scene_info. The vehicle lives in its own collection; hide the rest.import sys, importlib; sys.path.insert(0, r"<skill base directory>/scripts")
import rings as R, workshop as W, vehicle as V, measure as M
for m in (R, W, V, M): importlib.reload(m)
examples/toy_hatchback.py, with a STAGE global (run up to that stage).
It only goes into the project when the user approves the whole vehicle.Say the anatomy out loud, then build one stage, render it, show it, wait for "yes". Never several stages at once: the user directs the look, and a wrong platform makes every later piece wrong.
| Stage | Pieces | Pivot (origin) |
|---|---|---|
| 0. Gauge | The reference images as empties in real scale behind the model (side, front, rear), a wire box of the overall size and ghost wheels. Measure pixels per meter from the known length. Local only. | – |
| 1. Platform | Floor pan and chassis rails. | Vehicle origin |
| 2. Axles | Front axle with a knuckle per side (it steers), rear axle or beam (it moves with the suspension). | Knuckle at the kingpin; rear beam at its pivot |
| 3. Suspension | Springs (few fat coils) and dampers, one per corner. | Top mount |
| 4. Wheels | Rim, hubcap and tire per corner, front ones children of the knuckles, rear ones of the rear axle. | Wheel center |
| 5. Body | The hollow shell carved by cutters; then doors, hood and hatch cut from the same shell with a gap. | Shell at the vehicle origin; each panel at its hinge |
| 6. Finish | Glass (recessed) and frames, bumpers, flares and side skirt, lights, grille, mirrors, handles, wipers, plates, trim, the black parts. | Bumpers and lights at their mount |
| 7. Interior | Seats, dash with gauges, steering wheel and its axis, the driver camera and the cargo slots. | Steering wheel at its hub |
| 8. Colors and export | Palette by material name, root empty, names checked, export (only when asked). | – |
Render at every stage from the angles that show it (3/4 front, side, rear, top for the platform, an open-pose render for hinges) and open the PNGs before showing them.
Lofts by stations, then hollow, then cut. Never model the body as boxes glued together.
[(x, z)] from the
bottom center up the +X side to the top center, mirrored. A station with a tiny height closes an end.Gotchas seen in practice:
<prefix>_Cutter_<what>_<size>), delete it after applying.Prefix + piece + suffix the engine reads. Adapt to the project:
| Suffix | Meaning |
|---|---|
_Body | The shell: the dentable body and the source of the collider size. |
_Wheel_FL _FR _RL _RR | Wheels (front/rear, left/right), origin at the center. |
_Glass | Glass (the engine makes the material transparent). |
_Headlight _Taillight _Indicator | Lights (also used as material names, which is what the engine matches). |
_BumperFront _BumperRear | Bumpers that can come off. |
_SteeringWheel _SteeringAxis | Steering wheel and an empty on its axis. |
Cam_Driver, Slot_<Area>_<n> | Driver camera; cargo slots. |
Paint the body with one material (e.g. <prefix>_Paint) so the game can repaint it; trim black in another.
bake_space_transform converts the axes twice on
any object that has a grandparent: doors' glass, wheels under knuckles and hubcaps under wheels come out tipped
90°. Before exporting, make every piece a direct child of the root empty, keeping its world pose (and clearing the
parent inverse). Join what must move as one (hubcap and tire into the wheel). The parent relations ("this glass
belongs to that door") are rebuilt in the engine by name when the pieces become mechanics._Body, its bottom above the wheel centers (the wheels do the ground contact).| Function | Purpose |
|---|---|
V.collection(name) / V.clean(collection, prefixes, local_prefixes) | The vehicle's own collection; remove its objects (by prefix, and generic names like Cam_/Slot_ only inside its collection) so a re-run starts clean. |
V.loft(bm, stations, mat) | The body: a closed solid through [(y, [(x, z) half-section from bottom center up the +X side])]; returns rings, rows and the two caps. |
V.full_ring(half) / V.interp(points, x) | Mirror a half-section into a ring; piecewise-linear value (a station's height along the length). |
V.hollow(ob, thickness) | Solidify inward with even thickness, applied: the hollow shell. |
V.boolean(target, cutter, op, keep_cutter=False) | MANIFOLD boolean (EXACT fails where the hollow walls cross), then deletes the cutter. |
V.cutter_workshop() / V.finish_cutter(w, name, collection) / V.box_cutter(...) | Hidden, non-rendered cutters built from boxes and prisms. Unique names. |
V.inset(pts, d) / V.offset_open(pts, d, z_foot) | Shrink/grow a closed outline (door cutter minus the gap, window frame band); offset an open line and cut it at the ground (the flare). |
V.opening_panel(shell, cutter, name, hinge, collection, window=None, mat=None) | Door, hood, hatch: shell ∩ cutter (minus the window), one material, origin at the hinge. |
V.copy(ob, collection) / V.single_material(ob, mat) / V.set_origin(ob, point) | Copy with its own mesh; one material on every face (cut faces inherit the cutter's); move the origin without moving the mesh. |
V.paint_faces(ob, mat, cond) | Paint by rule: cond(world_center, world_normal) (the black side trim, a window strip). |
V.dissolve_extra(ob) / V.check_object(ob) | Remove vertices left in line by the booleans; the mesh check (open, non_manifold, extra). |
V.join(target, others) / V.parent_keep(ob, parent) / V.empty(name, pos, parent, collection) | Join pieces; parent keeping the pose; camera and slot empties. |
V.flatten_for_export(root, objects) / V.export_fbx(path, objects) / V.tris(objects) | Everything a direct child of the root (the FBX grandparent axis bug), export with the bundle's options, triangle count. |
w = W.Workshop(MATS, seed) | The pieces themselves: box, cylinder, lathe, tube, bar, prism, tower; w.build(name, collection, pos) closes, checks and creates the object. |
M.render(png, target, distance, elevation, azimuth) | Workbench render with a long lens, for every stage. |
Lengths in meters, front = −Y, left = +X, base at z = 0.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
blender, 3d-modeling, low-poly, game-assets, vehicle-modeling, python-scripting
npx claudepluginhub arthur-pedro/blender-object-bundle --plugin blender-object-bundle3 skills in this plugin
/object-modelingModel a 3D object or building (prop, furniture, street piece, house, shop) in Blender in a stylized toy low-poly style from the requester's reference (asked for first, ideally images in 3 views), applying principles rather than copying templates, as a Python generator script driven live through the Blender MCP, or teach the user to model it by hand. Ring-by-ring ("floors") method, measured against the reference by sections, recesses with straight walls, sharp corners or a single straight chamfer, a slight bend at the end, mesh check and side-by-side renders. Use when the user asks to model, remake, polish or match a piece, or asks for help in Blender. For trees and plants use vegetation-modeling./vegetation-modelingModel trees, bushes, cacti, grass and ground cover in Blender in a toy low-poly style, as Python generator scripts driven live through the Blender MCP. Faceted trunks and arched limbs (few sides, never smooth), canopies of real diamond leaves lit like a ball (or anchors for an engine foliage system), fruit clusters, a separate ground object with fallen leaves, grass tufts and rocks, baked leaf pivots for in-engine wind, and a reference shader for wind, see-through near the player and stippled shadows. Built in stages, each reviewed with renders. Use when the user asks for a tree, plant, bush, grass, flowers or any vegetation. For objects and buildings use object-modeling.Other plugins' skills for the same job