3D Workspace
Home
Assets
Affiliate Program
Sign up/Log in
?
Upgrade
DCC Bridge
Anonymous1774417130
03-25 12:20
Model Name
carro off-road 3d
Tags
import bpy
realistic
rendering
rendering realistic
vehicle
vehicle realistic
vehicle rendering
vehicle rendering realistic
Prompt
import bpy # --- MEDIDAS TÉCNICAS (em mm) --- ENTRE_EIXOS = 200.0 LARGURA_TOTAL = 140.0 ALTURA_PARALAMA = 10.0 # 1 cm conforme solicitado SUPORTE_QUADRADO = 58.0 # 5,8 cm = 58 mm ESPESSURA_PECA = 4.0 def gerar_adaptador_custom(): # 1. Criar a Placa Base (Assoalho) bpy.ops.mesh.primitive_cube_add(size=1) base = bpy.context.active_object base.name = "Base_Bronco_Custom" base.scale = (LARGURA_TOTAL/2, ENTRE_EIXOS/2, ESPESSURA_PECA/2) bpy.ops.object.transform_apply(scale=True) # 2. Criar os Paralamas Laterais (Abas de 1cm nas bordas) pos_paralamas = [ (-LARGURA_TOTAL/2 + 2, 0, ALTURA_PARALAMA/2), (LARGURA_BOLHA/2 - 2, 0, ALTURA_PARALAMA/2) ] for i, pos in enumerate(pos_paralamas): bpy.ops.mesh.primitive_cube_add(size=1, location=pos) p = bpy.context.active_object p.name = f"Paralama_L_{i}" p.scale = (4, ENTRE_EIXOS/2, ALTURA_PARALAMA/2) bpy.ops.object.transform_apply(scale=True)
Detailed Info
Related Models
Enter invite code
Enter invite code to get credits!