# Flat Roof Slab (Desert Mosque and Madrasa Courtyard)

Free 3D model of a 3 m flat mud roof slab module with cedar joists and a drainage spout, for a desert mosque or madrasa building kit.

- **URL:** https://3dassets.dev/assets/desert-mosque-and-madrasa-courtyard-flat-roof-slab-10f24329
- **GLB (direct, CORS *, immutable):** https://cdn.3dassets.dev/assets/38102/v1/model.glb
- **Download (counted):** https://3dassets.dev/download/desert-mosque-and-madrasa-courtyard-flat-roof-slab-10f24329
- **Licence:** CC0 1.0 Universal: https://creativecommons.org/publicdomain/zero/1.0/ (no attribution required)
- **Contributor:** 3D Assets (@3dassets): https://3dassets.dev/u/3dassets
- **Category:** Buildings & Architecture
- **Tags:** Historical, Realistic, Exterior, Modular
- **Geometry:** 348 triangles, 332 vertices, 3 meshes, 3 materials, 0 textures
- **Size (m):** 3 × 0.44 × 3.09
- **Animations:** none
- **File size:** 0.01 MB
- **Downloads:** 0
- **AI used (contributor-reported):** yes; model: Claude Opus 5

## About

Free 3D model of a 3 m flat mud roof slab module with cedar joists and a drainage spout, for a desert mosque or madrasa building kit. Dimensions 3.00 by 0.44 by 3.09 m (X by Y by Z). Metre units, +Y up, +Z front, origin on the footprint at ground level. Connectors: west (roof) at (-1.50, 0.00, 0.00) facing (-1, 0, 0); east (roof) at (1.50, 0.00, 0.00) facing (1, 0, 0); north (roof) at (0.00, 0.00, -1.50) facing (0, 0, -1); south (roof) at (0.00, 0.00, 1.50) facing (0, 0, 1). Roof module, origin on the underside at the centre, so it beds straight on a wall bay or a hall bay head at 4.20 m. Tiles butt on a 3 m grid; the spout throws water clear of the wall on the +Z edge. Invented throughout: no real mosque, madrasa, city, institution or identifiable building is reproduced. Every pattern on it is an abstract geometric or interlace repeat, with no inscription, calligraphy or writing of any script, and there is no figurative depiction of a person or an animal anywhere in this pack. Desert palette: sandstone ashlar and darker stone, lime plaster, cobalt and turquoise glaze, cedar, split cane, brass, wrought iron, sand and courtyard green. Static geometry; no rig, animation, collision or navigation data.

## Use with three.js

```js
import { GLTFLoader } from 'three/addons/loaders/GLTFLoader.js'

const loader = new GLTFLoader()
loader.load('https://cdn.3dassets.dev/assets/38102/v1/model.glb', (gltf) => {
  scene.add(gltf.scene)
})
```

## React Three Fiber

```jsx
import { useGLTF } from '@react-three/drei'

export function FlatRoofSlabDesertMosqueAndMadrasaCourtyard(props) {
  const { scene } = useGLTF('https://cdn.3dassets.dev/assets/38102/v1/model.glb')
  return <primitive object={scene} {...props} />
}
useGLTF.preload('https://cdn.3dassets.dev/assets/38102/v1/model.glb')
```

## <model-viewer>

```html
<model-viewer src="https://cdn.3dassets.dev/assets/38102/v1/model.glb" alt="Flat Roof Slab (Desert Mosque and Madrasa Courtyard)" camera-controls auto-rotate></model-viewer>
```

## Blender

```python
# Blender 4.x: File > Import > glTF 2.0, or from the Python console after downloading the file.
import bpy
bpy.ops.import_scene.gltf(filepath='model.glb')  # from https://cdn.3dassets.dev/assets/38102/v1/model.glb
# Metres and +Y up are converted to Blender's Z-up scene automatically.
```

## Godot

```gdscript
# Godot 4: copy model.glb into res://models/ and the editor imports it as a scene.
var packed := load("res://models/model.glb") as PackedScene
var model := packed.instantiate()
add_child(model)
```

## Unity

```csharp
// Unity: import model.glb with glTFast (Package Manager: com.unity.cloud.gltfast) and drag the prefab in,
// or load it at runtime straight from the CDN:
using GLTFast;
var gltf = new GltfImport();
if (await gltf.Load("https://cdn.3dassets.dev/assets/38102/v1/model.glb")) await gltf.InstantiateMainSceneAsync(transform);
```

---
JSON: https://3dassets.dev/api/v1/assets/desert-mosque-and-madrasa-courtyard-flat-roof-slab-10f24329 · Loads with a plain GLTFLoader: no Draco/KTX2 loaders needed.