LineSegmentsGeometry.js toJson()

Does anyone know if there’s a pull request that completes this function. Would it be easy for me to write (are there similar examples, I am a beginner)? Will using a gltf exporter work with LineSegmentsGeometry? I am using fat lines to outline 2d areas.

1 Like

You could try opening an issue on github requesting for this to be added. You could also try adding it yourself by looking at the .toJSON method on other geometries. I have no idea how hard that would be.

Will using a gltf exporter work with LineSegmentsGeometry?

My guess would be no, but probably the easiest way to answer this question is to test it yourself.