3D Workspace
Home
Assets
Affiliate Program
Creator Program
Sign up/Log in
?
Upgrade
DCC Bridge
Anonymous1780972264
06-09 02:56
Model Name
house 3d model
Tags
architecture
architecture rendering
architecture rendering stylized
architecture stylized
house
rendering
rendering stylized
stylized
Prompt
import numpy as np import trimesh # ========== 1 KANAL DIMENSIONS (meters) ========== # 1 Kanal = 500 sq.yd = approx 22.36m x 18.65m (keeping proportion ~1.2:1) WIDTH = 22.36 # X direction DEPTH = 18.65 # Z direction WALL_H = 3.0 # ground floor wall height WALL_H_FIRST = 2.9 # first floor height WALL_THICK = 0.4 ROOF_THICK = 0.15 # ========== UTILITY CLASSES ========== class Colors: WALL = [210, 180, 140, 255] # Terracotta/Sand (Spanish) ROOF = [180, 80, 60, 255] # Spanish tile red DOOR = [100, 60, 30, 255] # Dark wood WINDOW = [160, 210, 230, 255] # Glass blue COLUMN = [200, 170, 120, 255] # Stone FLOOR_SLAB = [150, 150, 160, 255] TERRACE = [180, 175, 160, 255] def add_box(mesh, x, z, w, d, h, color=None, translate_origin=True): """Add a box at (x,z) with width w, depth d, height h""" box = trimesh.creation.box(extents=[w, h, d]) if translate_origin: box.apply_translation([x + w/2, h/2, z + d/2]) e
Detailed Info
Related Models
Enter invite code
Enter invite code to get credits!