I'm new to Threejs. I'm trying to draw an elbow with different begin_radius and end_radius along a curve path with the curve_radius and an angle, however couldn't achieve results.
CylinderGeometryhavebegin_radiusandend_radiusbut doesn't have curve pathTorusGeometryhavecurve_radiusandanglebut doesn't havebegin_radiusandend_radius, as well as it is not solid.LatheGeometryhad same limitation asCylinderGeometryExtrudeGeometryhad same limitation asTorusGeometryTubeGeometryhad same limitation asTorusGeometry
Probably I'm overlooking the above geometries. Please guide some approach.
--EDIT: June 1 2020--
https://jsfiddle.net/arundhaj/ysfr8jb0
I've somehow managed to extend TubeGeometry to achieve the variable radius. However still couldn't able to make it solid.
I've taken generateCap function from CylinderGeomery to add cap at the beginning and end of the arc. It works fine when I add only one cap, however if I add both the cap, shape is getting distorted.
Please help.
