# How to write a hollow cylinder?

**URL:** <https://discourse.threejs.org/t/how-to-write-a-hollow-cylinder/33783>\
**Category:** Questions\
**Tags:** geometry\
**Created:** [January 18, 2022, 9:55am UTC](https://discourse.threejs.org/t/how-to-write-a-hollow-cylinder/33783 "2022-01-18T09:55:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![a6965921](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/a6965921/32/16019_2.png) [@a6965921](https://discourse.threejs.org/u/a6965921)\
**Post date:** [January 18, 2022, 9:55am UTC](https://discourse.threejs.org/t/how-to-write-a-hollow-cylinder/33783/1 "2022-01-18T09:55:05Z")

</div>

How to write a hollow cylinder? There are no hollow cylinders at the top and bottom I’ve tried many methods, but they don’t work

---

<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:** [January 18, 2022, 10:12am UTC](https://discourse.threejs.org/t/how-to-write-a-hollow-cylinder/33783/2 "2022-01-18T10:12:35Z")

</div>

Use 2 rings [three.js docs](https://threejs.org/docs/#api/en/geometries/RingGeometry)  
and 2 Cylinders open ended [three.js docs](https://threejs.org/docs/?q=cy#api/en/geometries/CylinderGeometry) 🙂

* * *

You can also extrude a ring or do things like that: [Shapes](https://hofk.de/main/discourse.threejs/2019/Shapes/Shapes.html)

( From the [Collection of examples from discourse.threejs.org](https://discourse.threejs.org/t/collection-of-examples-from-discourse-threejs-org/4315) )

---

<div class="post-metadata">

**Author:** ![a6965921](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/a6965921/32/16019_2.png) [@a6965921](https://discourse.threejs.org/u/a6965921)\
**Post date:** [January 19, 2022, 4:51am UTC](https://discourse.threejs.org/t/how-to-write-a-hollow-cylinder/33783/3 "2022-01-19T04:51:46Z")

</div>

thanks you are right
