3D Workspace
Home
Assets
Affiliate Program
Sign up/Log in
?
Upgrade
DCC Bridge
Anonymous1771161957
02-15 13:29
Model Name
architectural floor plan 3d model
Tags
architectural floor plan
architecture
architecture realistic
architecture rendering
architecture rendering realistic
import bpy
realistic
rendering
rendering realistic
Input
Prompt
import bpy import math # ---- SETTINGS ---- wall_height = 10 wall_thickness = 0.75 # Clear existing objects bpy.ops.object.select_all(action='SELECT') bpy.ops.object.delete(use_global=False) def create_wall(x, y, width, depth, height): bpy.ops.mesh.primitive_cube_add(size=1, location=(x, y, height/2)) wall = bpy.context.object wall.scale = (width/2, depth/2, height/2) return wall # ---- OUTER WALLS (23' x 36') ---- create_wall(11.5, 0, 23, wall_thickness, wall_height) # Bottom create_wall(11.5, 36, 23, wall_thickness, wall_height) # Top create_wall(0, 18, wall_thickness, 36, wall_height) # Left create_wall(23, 18, wall_thickness, 36, wall_height) # Right # ---- BEDROOM 1 (11' x 11') ---- create_wall(5.5, 25, 11, wall_thickness, wall_height) # Bottom create_wall(11, 30.5, wall_thickness, 11, wall_height) # Right divider # ---- BEDROOM 2 (10' x 11') ---- create_wall(18, 25, 10, wall_thickness, wall_height) # Bottom # ---- TOILET LEFT (7.1' x 4') ---- create_wall(3.5, 21, 7.1, wall_thickness, wall_height) create_wall(7.1, 23, wall_thickness, 4, wall_height) # ---- TOILET RIGHT (5' x 7.7') ---- create_wall(20, 21, 5, wall_thickness, wall_height) create_wall(17.5, 24, wall_thickness, 7.7, wall_height) # ---- KITCHEN (10.7' x 10') ---- create_wall(5.35, 5, 10.7, wall_thickness, wall_height) create_wall(10.7, 10, wall_thickness, 10, wall_height) # ---- STAIR AREA (13.9' x 6') ---- create_wall(16.95, 6, 13.9, wall_thickness, wall_height) create_wall(23-6.95, 3, wall_thickness, 6, wall_height) print("3D Floor Plan Model Created Successfully")
Detailed Info
Related Models
Enter invite code
Enter invite code to get credits!