# Tube from 3d points

**URL:** <https://discourse.threejs.org/t/tube-from-3d-points/29585>\
**Category:** Questions\
**Tags:** tubegeometry\
**Created:** [September 4, 2021, 12:04pm UTC](https://discourse.threejs.org/t/tube-from-3d-points/29585 "2021-09-04T12:04:37Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![TiagoCavalcanteTrindade](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/tiagocavalcantetrindade/32/19347_2.png) [@TiagoCavalcanteTrindade](https://discourse.threejs.org/u/TiagoCavalcanteTrindade)\
**Post date:** [September 9, 2021, 5:49pm UTC](https://discourse.threejs.org/t/tube-from-3d-points/29585/10 "2021-09-09T17:49:58Z")

</div>

I saw a solution for the path [here](https://discourse.threejs.org/t/tubegeometry-problems-with-path-parameter/3634/5).

I made the end caps with half spheres.

![image](https://canada1.discourse-cdn.com/flex035/uploads/threejs/original/3X/1/e/1e7d25a0e4fb52fd96830ccff5c407a7af9abf34.png)

If anyone is interested in the code, it is [in this PR](https://github.com/Mathics3/mathics-threejs-backend/pull/40) and ~~is going to be merged soon~~ was merged.

---

_[View the full topic](https://discourse.threejs.org/t/tube-from-3d-points/29585)._
