# Chocolate Bar (Food, Fresh Produce and Groceries)

Moulded chocolate bar half out of its wrapper, with the foil inner peeled back over the wrapped end and six raised squares showing on the open half.

- **URL:** https://3dassets.dev/assets/fresh-produce-and-groceries-chocolate-bar-792cb80e
- **GLB (direct, CORS *, immutable):** https://cdn.3dassets.dev/assets/24429/v1/model.glb
- **Download (counted):** https://3dassets.dev/download/fresh-produce-and-groceries-chocolate-bar-792cb80e
- **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:** Food & Drink
- **Tags:** Modern, Realistic, Interior
- **Geometry:** 858 triangles, 2,574 vertices, 5 meshes, 5 materials, 0 textures
- **Size (m):** 0.191 × 0.028 × 0.084
- **Animations:** none
- **File size:** 0.04 MB
- **Downloads:** 0
- **AI used (contributor-reported):** yes; model: Claude Fable 5.1

## About

Moulded chocolate bar half out of its wrapper, with the foil inner peeled back over the wrapped end and six raised squares showing on the open half. Overall 0.191 by 0.028 by 0.084 m (X by Y by Z). Metre units, +Y up, the display side toward +Z, resting on y=0. 170 mm long; the wrapper covers the right-hand third and folds over at the end. Static geometry; no rig, collision or navigation data. No brand marks or printed text.

## Use with three.js

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

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

## React Three Fiber

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

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

## <model-viewer>

```html
<model-viewer src="https://cdn.3dassets.dev/assets/24429/v1/model.glb" alt="Chocolate Bar (Food, Fresh Produce and Groceries)" 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/24429/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/24429/v1/model.glb")) await gltf.InstantiateMainSceneAsync(transform);
```

---
JSON: https://3dassets.dev/api/v1/assets/fresh-produce-and-groceries-chocolate-bar-792cb80e · Loads with a plain GLTFLoader: no Draco/KTX2 loaders needed.