# Three.modul.js ? var geoField = new THREE.Geometry();

**URL:** <https://discourse.threejs.org/t/three-modul-js-var-geofield-new-three-geometry/25179>\
**Category:** Questions\
**Tags:** geometry\
**Created:** [April 8, 2021, 1:49pm UTC](https://discourse.threejs.org/t/three-modul-js-var-geofield-new-three-geometry/25179 "2021-04-08T13:49:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![milaas](https://avatars.discourse-cdn.com/v4/letter/m/8e8cbc/32.png) [@milaas](https://discourse.threejs.org/u/milaas)\
**Post date:** [April 8, 2021, 1:49pm UTC](https://discourse.threejs.org/t/three-modul-js-var-geofield-new-three-geometry/25179/1 "2021-04-08T13:49:35Z")

</div>

hi there iam using:  
new THREE.Geometry();  
to construct with push command a new geometry.  
its not working with my three.modul.js What to do?  
okay I found out that its out how can I use the  
vertices.push()  
in THREE.BufferGeometry();

---

<div class="post-metadata">

**Author:** ![Mugen87](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/mugen87/32/5645_2.png) [@Mugen87](https://discourse.threejs.org/u/Mugen87)\
**Post date:** [April 8, 2021, 2:06pm UTC](https://discourse.threejs.org/t/three-modul-js-var-geofield-new-three-geometry/25179/2 "2021-04-08T14:06:21Z")

</div>

> [@milaas](#):
>
> its not working with my three.modul.js What to do?

First of all it is `three.module.js`. Besides, `THREE.Geometry` was removed from core with `r125`. You should find all information in this topic:

> [@THREE.Geometry will be removed from core with r125](https://discourse.threejs.org/t/three-geometry-will-be-removed-from-core-with-r125/22401):
>
> The upcoming release r125 will contain a major, potentially breaking change. The class THREE.Geometry will be no longer part of the core but moved to jsm/deprecated/Geometry.js. It will only be available as an ES6 module and not as a global script. What does that mean for me? If you are loading your assets with one of the official loaders like GLTFLoader or procedurally generate geometry data with THREE.BufferGeometry, this change won’t affect you. If you are using THREE.Geometry, please note …

---

<div class="post-metadata">

**Author:** ![milaas](https://avatars.discourse-cdn.com/v4/letter/m/8e8cbc/32.png) [@milaas](https://discourse.threejs.org/u/milaas)\
**Post date:** [April 8, 2021, 2:08pm UTC](https://discourse.threejs.org/t/three-modul-js-var-geofield-new-three-geometry/25179/3 "2021-04-08T14:08:46Z")

</div>

yes I found that r125\_  
how do I use the THREE.BufferGeometry();  
with  
geoField.vertices.push(vertex);  
and  
geoField.faces.push(face2);

is there an example ?  
iam working with very old books…

---

<div class="post-metadata">

**Author:** ![hofk](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/hofk/32/44944_2.png) [@hofk](https://discourse.threejs.org/u/hofk)\
**Post date:** [April 8, 2021, 3:32pm UTC](https://discourse.threejs.org/t/three-modul-js-var-geofield-new-three-geometry/25179/4 "2021-04-08T15:32:49Z")

</div>

There is no .faces in the BufferGeometry.The procedure is a little different.

If you are new, take a look at the beginner example from the [Collection of examples from discourse.threejs.org](https://discourse.threejs.org/t/collection-of-examples-from-discourse-threejs-org/4315). There you will also find links to the docs in the code.

See [BeginnerExample](https://hofk.de/main/discourse.threejs/BeginnerExample/BeginnerExample.html)
