But I don’t know how can I create a single curve spiral in the form of my twisted hexagon. can anybody help me to sort that out, please?

I also used the Silkworm plugin, which creates closed hexagonal curves layer by layer. But it is not in the form of a single continuis hexagonal spiral curve.

I took the liberty of recreating your brep because one of the lines was a actually a curve and it didn’t seem precisely symmetrical. Anyway, maybe something like this?

Thanks a lot for your response. That’s exactly what I was after.
I was wondering if I could have a slide bar to determine the distance between each loop.

I tried to do it using the Divide Distance function. but it does not work properly:

Yes, I mean the Z distance between the loops.
The number of loops is not important as long as the curve goes around the whole hight of the hexagonal geometry.
But I guess if we can control the distance between each loop, then the number of them can be calculated as well.
If this answer your question,

The definition is designed to always end at the top, although because of the steepness of the short lines, it might not always look like it. I don’t know if you wanted the spiral to end on the same edge it began but you can always play with the divide curve slider to make it do so.