# \#linesegmentsgeometry

**URL:** https://discourse.threejs.org/tag/linesegmentsgeometry/1119.md

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

---

## [Extend SkeletonHelper to accommodate "fat" lines? (Perhaps with LineSegments2)](https://discourse.threejs.org/t/extend-skeletonhelper-to-accommodate-fat-lines-perhaps-with-linesegments2/59436)

<div class="topic-metadata">

**Author:** [@mhazani](https://discourse.threejs.org/u/mhazani)\
**Replies:** 4\
**Last updated:** [October 17, 2024, 7:46am UTC](https://discourse.threejs.org/t/extend-skeletonhelper-to-accommodate-fat-lines-perhaps-with-linesegments2/59436 "2024-10-17T07:46:52Z")

</div>

Hi folks, As the title says, I’m trying to get lines of variable width for the skeleton helper (for a skeletal animation). It currently extends LineSegments which doesn’t allow variable line width - and I’m struggling t…

---

## [Remove lines from LineSegmentsGeometry 'A' if already in 'B'?](https://discourse.threejs.org/t/remove-lines-from-linesegmentsgeometry-a-if-already-in-b/43946)

<div class="topic-metadata">

**Author:** [@StefanH](https://discourse.threejs.org/u/StefanH)\
**Replies:** 0\
**Last updated:** [October 24, 2022, 1:21pm UTC](https://discourse.threejs.org/t/remove-lines-from-linesegmentsgeometry-a-if-already-in-b/43946 "2022-10-24T13:21:11Z")

</div>

I’m creating a set of edges (A) like so: let lineGeom = new THREE.EdgesGeometry( mesh.geometry, params.edgeThreshold ); const thickLineGeom = new LineSegmentsGeometry().fromEdgesGeometry( lineGeom ); const thickLines = …

---

## [Why do I need to dispose Geometry whenever I update LineSegmentsGeometry?](https://discourse.threejs.org/t/why-do-i-need-to-dispose-geometry-whenever-i-update-linesegmentsgeometry/30743)

<div class="topic-metadata">

**Author:** [@prominent](https://discourse.threejs.org/u/prominent)\
**Replies:** 0\
**Last updated:** [October 11, 2021, 8:13pm UTC](https://discourse.threejs.org/t/why-do-i-need-to-dispose-geometry-whenever-i-update-linesegmentsgeometry/30743 "2021-10-11T20:13:49Z")

</div>

Whenever I update the position and color arrays for a lineSegmentsGeometry, It fails to render all the lines. It only renders the first segment. I end up having to do the following to make it render all the segments: …
