# Importing and Using BufferGeometryUtils

**URL:** <https://discourse.threejs.org/t/importing-and-using-buffergeometryutils/39767>\
**Category:** Questions\
**Tags:** buffergeometryutils, modules, geometry\
**Created:** [June 28, 2022, 8:53pm UTC](https://discourse.threejs.org/t/importing-and-using-buffergeometryutils/39767 "2022-06-28T20:53:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shauncoree](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/shauncoree/32/12757_2.png) [@Shauncoree](https://discourse.threejs.org/u/Shauncoree)\
**Post date:** [June 28, 2022, 8:53pm UTC](https://discourse.threejs.org/t/importing-and-using-buffergeometryutils/39767/1 "2022-06-28T20:53:14Z")

</div>

Can someone explain how to properly use BufferGeometryUtils?

I get this error - export ‘BufferGeometryUtils’ (imported as ‘THREE’) was not found in ‘three’

I am importing using import \* as BufferGeometryUtils from “three/examples/jsm/utils/BufferGeometryUtils”;

I would simply like to merge two buffer geometries together. Any advise? It seems to have changed a few times and has plagued many people before.

Thanks for the 2022 update!

---

<div class="post-metadata">

**Author:** ![donmccurdy](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/donmccurdy/32/33209_2.png) [@donmccurdy](https://discourse.threejs.org/u/donmccurdy)\
**Post date:** [June 29, 2022, 2:07am UTC](https://discourse.threejs.org/t/importing-and-using-buffergeometryutils/39767/2 "2022-06-29T02:07:06Z")

</div>

A typical import in vanilla JavaScript would be:

```javascript
import * as BufferGeometryUtils from "three/examples/jsm/utils/BufferGeometryUtils.js";

```

Note the `.js` suffix at the end. If you’re using a bundler with different import resolution, or TypeScript, it might be OK to omit the `.js` extension. The intended syntax hasn’t changed, although some details affecting ES Modules support in bundlers has. If the syntax above doesn’t work you may need to share details like the bundler you’re using, its config, and the version of three.js.

---

<div class="post-metadata">

**Author:** ![hermann](https://avatars.discourse-cdn.com/v4/letter/h/b487fb/32.png) [@hermann](https://discourse.threejs.org/u/hermann)\
**Post date:** [March 23, 2023, 1:07pm UTC](https://discourse.threejs.org/t/importing-and-using-buffergeometryutils/39767/3 "2023-03-23T13:07:18Z")

</div>

[https://threejs.org/docs/#examples/en/utils/BufferGeometryUtils](https://threejs.org/docs/#examples/en/utils/BufferGeometryUtils)

import \* as BufferGeometryUtils from ‘three/addons/utils/BufferGeometryUtils.js’
