3D Workspace
Home
Assets
Affiliate Program
Sign up/Log in
?
Upgrade
DCC Bridge
3D Creation Made Simple
Text & Image to 3D Model in seconds
One-Click Texturing & Smart Detail Editing
Free Credits Monthly
Start Free
Anonymous1769362775
01-25 17:45
Model Name
gym equipment 3d model
Tags
machine
rendering
realistic
Prompt
import bpy from mathutils import Vector import bmesh # Limpar cena bpy.ops.object.select_all(action='SELECT') bpy.ops.object.delete() # Dimensões do Power Rack (mm → Blender units) height = 2.3 # 2300mm width = 1.2 # 1200mm depth = 1.2 # 1200mm tube_size = 0.08 # 80mm # Criar 4 postes verticais post_positions = [(-0.6,-0.6), (0.6,-0.6), (0.6,0.6), (-0.6,0.6)] for pos in post_positions: bpy.ops.mesh.primitive_cube_add(location=(pos[0], pos[1], height/2), scale=(tube_size/2, tube_size/2, height/2)) bpy.context.object.name = f"Poste_{pos[0]:.1f}_{pos[1]:.1f}" # Barras horizontais base e topo for z, name in [(0, "Base"), (height, "Topo")]: bpy.ops.mesh.primitive_cube_add(location=(0, -0.6, z), scale=(width/2, tube_size/2, tube_size/2)) bpy.ops.mesh.primitive_cube_add(location=(0, 0.6, z), scale=(width/2, tube_size/2, tube_size/2)) bpy.ops.mesh.primitive_cube_add(location=(-0.6, 0, z), scale=(tube_size/2, depth/2, tube_size/2))
Detailed Info
Related Models
Enter invite code
Enter invite code to get credits!