# \#extrude-geometry

**URL:** https://discourse.threejs.org/tag/extrude-geometry/255.md

[Latest](https://discourse.threejs.org/latest.md) · [Categories](https://discourse.threejs.org/categories.md) · [Tags](https://discourse.threejs.org/tags.md)

---

## [Custom face material on ExtrudeGeometry](https://discourse.threejs.org/t/custom-face-material-on-extrudegeometry/90550)

<div class="topic-metadata">

**Author:** [@kalabedo](https://discourse.threejs.org/u/kalabedo)\
**Replies:** 10\
**Last updated:** [March 25, 2026, 11:48am UTC](https://discourse.threejs.org/t/custom-face-material-on-extrudegeometry/90550 "2026-03-25T11:48:09Z")

</div>

Hi there, in one of my apps i use ExtrudeGeometries heavily. I know that there is a way to give the caps and the faces created by the extrusion different materials with material groups 1 and 2. Today i thought if the fo…

---

## [Industrial 3D Path Engine: Automating Fabrication Quotes & Engineering](https://discourse.threejs.org/t/industrial-3d-path-engine-automating-fabrication-quotes-engineering/89709)

<div class="topic-metadata">

**Author:** [@josh\_mcmaugh](https://discourse.threejs.org/u/josh_mcmaugh)\
**Replies:** 0\
**Last updated:** [February 8, 2026, 11:07am UTC](https://discourse.threejs.org/t/industrial-3d-path-engine-automating-fabrication-quotes-engineering/89709 "2026-02-08T11:07:33Z")

</div>

Hi everyone, I’ve developed a generative 3D tool designed to solve a major bottleneck in the metal fabrication industry: closing the gap between understanding designs and accurate production quotes. The Problem: Tradit…

---

## [Is the result of ExtrudeGeometry always Manifold? ~ Given necessary properties for being so](https://discourse.threejs.org/t/is-the-result-of-extrudegeometry-always-manifold-given-necessary-properties-for-being-so/88717)

<div class="topic-metadata">

**Author:** [@PratikHadawale-tech](https://discourse.threejs.org/u/PratikHadawale-tech)\
**Replies:** 3\
**Last updated:** [December 18, 2025, 11:37am UTC](https://discourse.threejs.org/t/is-the-result-of-extrudegeometry-always-manifold-given-necessary-properties-for-being-so/88717 "2025-12-18T11:37:07Z")

</div>

Assume we have a 2D Shape with the following properties: Non Overlapping edges No duplicate points in shape Non Overlapping Holes with other holes / boundary May or May not have co-linear points Note: Unsure about the…

---

## [Create a procedural door model](https://discourse.threejs.org/t/create-a-procedural-door-model/87149)

<div class="topic-metadata">

**Author:** [@kalabedo](https://discourse.threejs.org/u/kalabedo)\
**Replies:** 21\
**Last updated:** [October 4, 2025, 9:06pm UTC](https://discourse.threejs.org/t/create-a-procedural-door-model/87149 "2025-10-04T21:06:14Z")

</div>

Hi there, I’ve been building a door configurator for a while now and for the whole time i stuck with a working door model for one specific thickness. Here is what i can build right now: Basically a boxGeometry for a…

---

## [Need help applying a texture to an extruded object (size and color are not right)](https://discourse.threejs.org/t/need-help-applying-a-texture-to-an-extruded-object-size-and-color-are-not-right/80676)

<div class="topic-metadata">

**Author:** [@franckieos](https://discourse.threejs.org/u/franckieos)\
**Replies:** 4\
**Last updated:** [April 21, 2025, 4:11pm UTC](https://discourse.threejs.org/t/need-help-applying-a-texture-to-an-extruded-object-size-and-color-are-not-right/80676 "2025-04-21T16:11:30Z")

</div>

Hi, I want to make a simulator for a door, that changes according to the cut of each side, the size of the door, and the texture it should have. For this, I created the shape of the cut from lists of points like this: p…

---

## [Unwrapping UVs on custom geometry](https://discourse.threejs.org/t/unwrapping-uvs-on-custom-geometry/79404)

<div class="topic-metadata">

**Author:** [@davo](https://discourse.threejs.org/u/davo)\
**Replies:** 7\
**Last updated:** [March 16, 2025, 4:40pm UTC](https://discourse.threejs.org/t/unwrapping-uvs-on-custom-geometry/79404 "2025-03-16T16:40:27Z")

</div>

I’ve recently worked on creating a custom rounded geometry component and I wanted to figure a way to create a generalized UV mapping solution. I failed miserable, of course. I was about to give up, when I found tha…

---

## [How to create 3D tube geometry from 2D shape](https://discourse.threejs.org/t/how-to-create-3d-tube-geometry-from-2d-shape/27805)

<div class="topic-metadata">

**Author:** [@Zyxi](https://discourse.threejs.org/u/Zyxi)\
**Replies:** 2\
**Last updated:** [March 12, 2025, 3:30pm UTC](https://discourse.threejs.org/t/how-to-create-3d-tube-geometry-from-2d-shape/27805 "2025-03-12T15:30:09Z")

</div>

Hi i have 2d shapes that i want to turn into a 3d tube I have this shape which should look something like this: const testShape = new THREE.Shape(); testShape.autoClose = false; const x = 0; const y = 0; const radius…

---

## [Extruded arc shape geometry not closing](https://discourse.threejs.org/t/extruded-arc-shape-geometry-not-closing/78435)

<div class="topic-metadata">

**Author:** [@Fennec](https://discourse.threejs.org/u/Fennec)\
**Replies:** 7\
**Last updated:** [February 22, 2025, 3:06am UTC](https://discourse.threejs.org/t/extruded-arc-shape-geometry-not-closing/78435 "2025-02-22T03:06:18Z")

</div>

Can someone please tell me why the geometry isn’t closing properly? I just spent over an hour on what was supposed to be “aesthetic”. My brain has officially stopped functioning. (I’m out, touching some asphalt) I…

---

## [Implement the different color for each face of the shape which is made by extrude geometry](https://discourse.threejs.org/t/implement-the-different-color-for-each-face-of-the-shape-which-is-made-by-extrude-geometry/75673)

<div class="topic-metadata">

**Author:** [@Ningomba](https://discourse.threejs.org/u/Ningomba)\
**Replies:** 7\
**Last updated:** [January 9, 2025, 10:13am UTC](https://discourse.threejs.org/t/implement-the-different-color-for-each-face-of-the-shape-which-is-made-by-extrude-geometry/75673 "2025-01-09T10:13:05Z")

</div>

This is the right triangle shape which is made by extrude geometry. So i want to implement the different color for each faces. But i get the difficulties because it is made by extrude geometry, it gives only two face …

---

## [Creating a concave arc using extrude geometry](https://discourse.threejs.org/t/creating-a-concave-arc-using-extrude-geometry/73483)

<div class="topic-metadata">

**Author:** [@Ningomba](https://discourse.threejs.org/u/Ningomba)\
**Replies:** 3\
**Last updated:** [November 5, 2024, 2:14pm UTC](https://discourse.threejs.org/t/creating-a-concave-arc-using-extrude-geometry/73483 "2024-11-05T14:14:13Z")

</div>

the below code is for making convex shape \[AvailableShapes.CurvedCube\]: { // This is how the dimensions are given for custom generated shape. firstLine: { x: 0, y: isForSelector ? 3 : 20, }, arc: { x: 0, y: 0…

---

## [Changing dimensions of a extruded shape geometry without stretching in vertex shader](https://discourse.threejs.org/t/changing-dimensions-of-a-extruded-shape-geometry-without-stretching-in-vertex-shader/72986)

<div class="topic-metadata">

**Author:** [@Cheung-KaWai](https://discourse.threejs.org/u/Cheung-KaWai)\
**Replies:** 4\
**Last updated:** [October 23, 2024, 7:06pm UTC](https://discourse.threejs.org/t/changing-dimensions-of-a-extruded-shape-geometry-without-stretching-in-vertex-shader/72986 "2024-10-23T19:06:02Z")

</div>

I’m creating shapes for a table configurator using the Shape and ExtrudeGeometry and I want to change the dimensions of my table shapes but with the current logic I recreate the geometry shape the whole time and I notice…

---

## [How to fix UV problem on ExtrudeGeometry](https://discourse.threejs.org/t/how-to-fix-uv-problem-on-extrudegeometry/72691)

<div class="topic-metadata">

**Author:** [@kalabedo](https://discourse.threejs.org/u/kalabedo)\
**Replies:** 14\
**Last updated:** [October 13, 2024, 12:24pm UTC](https://discourse.threejs.org/t/how-to-fix-uv-problem-on-extrudegeometry/72691 "2024-10-13T12:24:28Z")

</div>

Hi there, I created a component that creates a ExtrudeGeometry by giving it a width and a angle value. That works so far. As you can see in the Codesandbox the uv messes up when an angle is applied obviously. My goal i…

---

## [Geometry with three inclined planes](https://discourse.threejs.org/t/geometry-with-three-inclined-planes/72405)

<div class="topic-metadata">

**Author:** [@Delshire](https://discourse.threejs.org/u/Delshire)\
**Replies:** 1\
**Last updated:** [October 4, 2024, 8:01pm UTC](https://discourse.threejs.org/t/geometry-with-three-inclined-planes/72405 "2024-10-04T20:01:45Z")

</div>

I’m trying to model the front part of a vehicle in threejs which has three inclined planes, one at the front and two oblique ones at each side: Top view Iso view It’s easy to model the front-middle part extruding …

---

## [How to add thickness to any flat mesh](https://discourse.threejs.org/t/how-to-add-thickness-to-any-flat-mesh/70687)

<div class="topic-metadata">

**Author:** [@Dieter\_Banaag](https://discourse.threejs.org/u/Dieter_Banaag)\
**Replies:** 3\
**Last updated:** [September 13, 2024, 6:40pm UTC](https://discourse.threejs.org/t/how-to-add-thickness-to-any-flat-mesh/70687 "2024-09-13T18:40:40Z")

</div>

So I have this mesh: How can i add thickness to it? Even with that Rectangle hole inside

---

## [ExtrudeGeometry has extra faces and not closed like the curve](https://discourse.threejs.org/t/extrudegeometry-has-extra-faces-and-not-closed-like-the-curve/66495)

<div class="topic-metadata">

**Author:** [@Cube\_3js](https://discourse.threejs.org/u/Cube_3js)\
**Replies:** 2\
**Last updated:** [June 12, 2024, 7:44pm UTC](https://discourse.threejs.org/t/extrudegeometry-has-extra-faces-and-not-closed-like-the-curve/66495 "2024-06-12T19:44:57Z")

</div>

Hello! In this screenshot, I am having two issues with this extruded geometry. There are some extra geometries that I did not intend to be drawn upon creation of the THREE.Shape. Here is the shape I was expecting …

---

## [Calculate snap points (corners midpoints and edges ) for complete model](https://discourse.threejs.org/t/calculate-snap-points-corners-midpoints-and-edges-for-complete-model/62586)

<div class="topic-metadata">

**Author:** [@jaxx\_sparrow](https://discourse.threejs.org/u/jaxx_sparrow)\
**Replies:** 3\
**Last updated:** [May 17, 2024, 10:50am UTC](https://discourse.threejs.org/t/calculate-snap-points-corners-midpoints-and-edges-for-complete-model/62586 "2024-05-17T10:50:01Z")

</div>

Hey everyone, I’m almost done adding a feature where you can measure stuff and snap it to the closest corner, middle, or edge. I’ve got it mostly working using something called a raycaster to figure out the measurements …

---

## [How to set Segments of Extrude Geometry](https://discourse.threejs.org/t/how-to-set-segments-of-extrude-geometry/64590)

<div class="topic-metadata">

**Author:** [@volcano](https://discourse.threejs.org/u/volcano)\
**Replies:** 1\
**Last updated:** [April 28, 2024, 4:51pm UTC](https://discourse.threejs.org/t/how-to-set-segments-of-extrude-geometry/64590 "2024-04-28T16:51:07Z")

</div>

I am going to add displacement map to endwall. The end wall was built by ExtrudeGeometry. Is it possible to add segment like this?

---

## [Die Cidretasse / The cup of cider](https://discourse.threejs.org/t/die-cidretasse-the-cup-of-cider/63287)

<div class="topic-metadata">

**Author:** [@prisoner849](https://discourse.threejs.org/u/prisoner849)\
**Replies:** 6\
**Last updated:** [March 28, 2024, 5:38pm UTC](https://discourse.threejs.org/t/die-cidretasse-the-cup-of-cider/63287 "2024-03-28T17:38:56Z")

</div>

Hi community! Here is the result of the coding for one evening :slight\_smile: Video: Demo: https://codepen.io/prisoner849/full/poBwLRG

---

## [How to create a hole on 3D model , which have the shape of the 3D model dragged through the surface ,using ExtrudeGeometry?](https://discourse.threejs.org/t/how-to-create-a-hole-on-3d-model-which-have-the-shape-of-the-3d-model-dragged-through-the-surface-using-extrudegeometry/37170)

<div class="topic-metadata">

**Author:** [@Chinchu](https://discourse.threejs.org/u/Chinchu)\
**Replies:** 1\
**Last updated:** [April 18, 2022, 6:26am UTC](https://discourse.threejs.org/t/how-to-create-a-hole-on-3d-model-which-have-the-shape-of-the-3d-model-dragged-through-the-surface-using-extrudegeometry/37170 "2022-04-18T06:26:18Z")

</div>

I am trying to generate an empty hole on the side of my 3D model while dragging a 3D shape through the model .The shape of the empty hole must be the shape of the 3D model dragged through the surface. I am trying to use …

---

## [Separate shapes in one ExtrudeGeometry](https://discourse.threejs.org/t/separate-shapes-in-one-extrudegeometry/61853)

<div class="topic-metadata">

**Author:** [@jeryrep](https://discourse.threejs.org/u/jeryrep)\
**Replies:** 1\
**Last updated:** [February 23, 2024, 12:13pm UTC](https://discourse.threejs.org/t/separate-shapes-in-one-extrudegeometry/61853 "2024-02-23T12:13:32Z")

</div>

Greetings. I have code as follows: var shape = new THREE.Shape(); shape.moveTo(0, 0); shape.lineTo(1, 0); shape.lineTo(1, 1); shape.lineTo(0, 0); // Close the first triangle shape.moveTo(2, 2); shape.lineTo(2, 3); sh…

---

## [How to make the process more efficient?](https://discourse.threejs.org/t/how-to-make-the-process-more-efficient/59515)

<div class="topic-metadata">

**Author:** [@kalabedo](https://discourse.threejs.org/u/kalabedo)\
**Replies:** 15\
**Last updated:** [January 19, 2024, 3:31pm UTC](https://discourse.threejs.org/t/how-to-make-the-process-more-efficient/59515 "2024-01-19T15:31:57Z")

</div>

Hi there, I am cutting out specific geometries out of a rectangle. There are many different Cutouts i have to visualize. Currently my method is as follows: I create the geometry in Blender: Beginning, MiddlePart, En…

---

## [How to Attach Tight Rigid Body Physics to Extruded SVG with React Three Rapier](https://discourse.threejs.org/t/how-to-attach-tight-rigid-body-physics-to-extruded-svg-with-react-three-rapier/59490)

<div class="topic-metadata">

**Author:** [@psygo](https://discourse.threejs.org/u/psygo)\
**Replies:** 1\
**Last updated:** [December 20, 2023, 6:19pm UTC](https://discourse.threejs.org/t/how-to-attach-tight-rigid-body-physics-to-extruded-svg-with-react-three-rapier/59490 "2023-12-20T18:19:09Z")

</div>

I’ve also asked this question on Stack Overflow. I’m trying to get to a tight inferred mesh from @react-three/rapier’s \<RigidBody\> on an extruded SVG geometry, much like the hull example in this CodeSandbox from their…

---

## [Extrude Complex SVG with React Three Fiber](https://discourse.threejs.org/t/extrude-complex-svg-with-react-three-fiber/59363)

<div class="topic-metadata">

**Author:** [@psygo](https://discourse.threejs.org/u/psygo)\
**Replies:** 0\
**Last updated:** [December 18, 2023, 12:06pm UTC](https://discourse.threejs.org/t/extrude-complex-svg-with-react-three-fiber/59363 "2023-12-18T12:06:48Z")

</div>

This question has a bounty on Stack Overflow as well. By following this CodeSandbox example by rabelais88, it’s possible to extrude an SVG with React Three Fiber. However, when I try doing it with the more complex ti…

---

## [Rotational Extrusion with React Three Fiber](https://discourse.threejs.org/t/rotational-extrusion-with-react-three-fiber/59331)

<div class="topic-metadata">

**Author:** [@psygo](https://discourse.threejs.org/u/psygo)\
**Replies:** 0\
**Last updated:** [December 17, 2023, 6:38pm UTC](https://discourse.threejs.org/t/rotational-extrusion-with-react-three-fiber/59331 "2023-12-17T18:38:02Z")

</div>

This question has a bounty on Stack Overflow as well. Depth Extrusion seems to be not very difficult in Three.js. However, I’m having a hard time finding any resources on how to do Rotational Extrusions through it. S…

---

## [ExtrudeGeometry displays different aspects in different paths](https://discourse.threejs.org/t/extrudegeometry-displays-different-aspects-in-different-paths/55303)

<div class="topic-metadata">

**Author:** [@SADYX](https://discourse.threejs.org/u/SADYX)\
**Replies:** 3\
**Last updated:** [August 25, 2023, 1:44am UTC](https://discourse.threejs.org/t/extrudegeometry-displays-different-aspects-in-different-paths/55303 "2023-08-25T01:44:33Z")

</div>

I’m trying to create ExtrudeGeometry with Shape and CatmullRomCurve3,but aspect of ExtrudeGeometry will be rotate 90deg if the CatmullRomCurve3 is not a straight path on x-axis. So how can i make the aspect not be rot…

---

## [Smoothing edges of extruded shapes](https://discourse.threejs.org/t/smoothing-edges-of-extruded-shapes/51817)

<div class="topic-metadata">

**Author:** [@Leeow76](https://discourse.threejs.org/u/Leeow76)\
**Replies:** 2\
**Last updated:** [May 21, 2023, 9:58pm UTC](https://discourse.threejs.org/t/smoothing-edges-of-extruded-shapes/51817 "2023-05-21T21:58:50Z")

</div>

I use CSG operations to subtract or add extruded shapes from a base (a box geometry). I need to smooth the edges of the shapes but I’m struggling to find a solution for this. I tried using a separate extrudeGeometry wit…

---

## [Extrude geometry: apply texture to all faces of the mesh](https://discourse.threejs.org/t/extrude-geometry-apply-texture-to-all-faces-of-the-mesh/48246)

<div class="topic-metadata">

**Author:** [@Dmitry-Romanchuk-Unilimes](https://discourse.threejs.org/u/Dmitry-Romanchuk-Unilimes)\
**Replies:** 15\
**Last updated:** [February 21, 2023, 7:08pm UTC](https://discourse.threejs.org/t/extrude-geometry-apply-texture-to-all-faces-of-the-mesh/48246 "2023-02-21T19:08:21Z")

</div>

Hello there. I have a mesh with ExtrudeGeometry and texture, but it applyes correctly for front face only. I want it to look like wrapped, not extruded. Front view: Side view: I have some MaterialProcessor, whic…

---

## [Extrude Geometry extension request: different front and back bevel parameters to model gemstone cabochons](https://discourse.threejs.org/t/extrude-geometry-extension-request-different-front-and-back-bevel-parameters-to-model-gemstone-cabochons/11157)

<div class="topic-metadata">

**Author:** [@den232](https://discourse.threejs.org/u/den232)\
**Replies:** 3\
**Last updated:** [October 24, 2022, 2:40pm UTC](https://discourse.threejs.org/t/extrude-geometry-extension-request-different-front-and-back-bevel-parameters-to-model-gemstone-cabochons/11157 "2022-10-24T14:40:25Z")

</div>

Greetings All. I am trying to generate asymmetrical extrusions (for gemstone cabochons: rounded on the front, only slightly rounded on the obverse) using the versatile extrude-geometry engine. What I would like to pro…

---

## [Round-edged box](https://discourse.threejs.org/t/round-edged-box/1402)

<div class="topic-metadata">

**Author:** [@prisoner849](https://discourse.threejs.org/u/prisoner849)\
**Replies:** 28\
**Last updated:** [April 22, 2022, 12:14pm UTC](https://discourse.threejs.org/t/round-edged-box/1402 "2022-04-22T12:14:01Z")

</div>

As I couldn’t find the solution for round-edged boxes, I took the way of least resistance - “re-invent and build the bicycle, if you don’t have one” :blush: THREE.Shape() and THREE.ExtrudeBufferGeometry() helped me. h…

---

## [How to use ExtrudeGeometry with functional components](https://discourse.threejs.org/t/how-to-use-extrudegeometry-with-functional-components/30446)

<div class="topic-metadata">

**Author:** [@kr0v](https://discourse.threejs.org/u/kr0v)\
**Replies:** 4\
**Last updated:** [February 27, 2022, 9:53pm UTC](https://discourse.threejs.org/t/how-to-use-extrudegeometry-with-functional-components/30446 "2022-02-27T21:53:24Z")

</div>

Hello, I have been searching for an answer or at least some tutorial on how to use ExtrudeGeometry with FC, to no avail. My goal is to create a hollow box (with the floor, roof and two walls) which was successful without…

[Next page](https://discourse.threejs.org/tag/extrude-geometry/255.md?match_all_tags=true&page=1&tags%5B%5D=extrude-geometry)
