uinosoft / t3d.js

ThingJS 3D Engine (t3d) is a lightweight, web-first, and extendable 3D rendering library.
BSD 3-Clause "New" or "Revised" License
184 stars 23 forks source link

geometry extrude by Path #22

Closed xjindf closed 10 months ago

xjindf commented 10 months ago

I noticed that the library contains the ExtraceShapeBuilder class. How to implement the extension of 2D sections along a path, similar to the ExtraceGeometry in three. js

shawn0326 commented 10 months ago

Currently, ExtrudeShapeBuilder does not support path extrude yet. If you want to implement it by yourself, the logic should be similar to TubeBuilder, the difference is that the simple circular cross-section is replaced by Shape.

shawn0326 commented 10 months ago

The feature has been merged into dev in ExtrudeShapeBuilder