List: discuss@lists.openscad.org
From: Sanjeev Prabhakar
Re: Need help creating a design similar with the pictures
Mon, May 9, 2022 10:15 AM
Idea is in this code:
include
sec=m_points_so(cr(pts1([[0,10],[0,5],[12,0,5],[10,-5],[23,0]]),5),20,.1);
max_x=max(sec*[1,0]);
p_line(sec,.1);
echo(max_x);
sec1=[for(i=[0:len(sec)-1])[13*cos(sec[i].x/max_x*360),13*sin(sec[i].x/max_x*360),sec[i].y]];
sec2=[for(i=[0:len(sec)-1])[10*cos(sec[i].x/max_x*360),10*sin(sec[i].x/max_x*360),sec[i].