Create a spiral, as shown in the figure, and set the spiral radius, pitch and number of turns.
Use the sketch function to draw a spiral section line, as shown in the figure, and select the XZ datum plane as the sketch plane.
Draw a rectangular section line as shown in the figure. The vertex of the rectangle coincides with the endpoint of the spiral.
Using the "Scan" function, as shown in the figure, the rectangular sketch is selected as the section curve, the helix is selected as the guide line, the direction in the positioning method group is set as the vector direction, and the helix axis (in this case, the Z reference axis) is selected to specify the vector direction.
The result is shown in the figure below.