Currently, I am exploring the capabilities of Threejs.org. My goal is to display my 3D DXF file on a web page using Three.js. However, I am struggling with converting the file for this purpose. The Dxf-parser tool seems to only support 2D images. Can anyone guide me on how to convert my .dxf file into JSON geometry 4 format, which is compatible with three.js? Alternatively, if there are any other solutions available, please share them as well.
I am working on this project in Ruby on Rails.