# Draw complex profile arcs, lines, curves, extrude to mesh

**URL:** <https://forum.babylonjs.com/t/draw-complex-profile-arcs-lines-curves-extrude-to-mesh/48835>\
**Category:** Questions\
**Created:** [March 17, 2024, 3:10pm UTC](https://forum.babylonjs.com/t/draw-complex-profile-arcs-lines-curves-extrude-to-mesh/48835 "2024-03-17T15:10:26Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![mawa](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/mawa/32/12384_2.png) [@mawa](https://forum.babylonjs.com/u/mawa)\
**Post date:** [March 17, 2024, 3:28pm UTC](https://forum.babylonjs.com/t/draw-complex-profile-arcs-lines-curves-extrude-to-mesh/48835/2 "2024-03-17T15:28:44Z")

</div>

Possible… yes. Basically, the way you describe it. But I have to warn you of a potential ‘blackhole’ that I believe has not been fixed and will eventually never be fixed with extruded meshes and CSG. All I can tell you is that I kind of recall this thread (below). I didn’t try further since.

> [@Closing an extruded shape generated over a circular path](https://forum.babylonjs.com/t/closing-an-extruded-shape-generated-over-a-circular-path/41505):
>
> I’m trying to generate a circular shape from a simple triangle by extruding it along a circular path generated using a for loop like a shaped torus or revolution solid. In this example, the path has only 6 points to illustrate the issue. Currently, I am using the function ExtrudeShapeCustom with the “closePath” option to close the final figure. However, I need it to form a perfect hexagon in this case. (In other cases, I use more points like 24 or 36.) You can find the example here: [https://pl…](https://playground.babylonjs.com/#ZMKN5T#294)

---

_[View the full topic](https://forum.babylonjs.com/t/draw-complex-profile-arcs-lines-curves-extrude-to-mesh/48835)._
