0
$\begingroup$

How to Create a Limacon of Pascal in a CAD drawing for extrusion etc? Need a .STEP file ultimately.

$\endgroup$
1
  • $\begingroup$ We don’t store .step files. $\endgroup$
    – Solar Mike
    Commented Apr 13, 2023 at 6:05

1 Answer 1

2
$\begingroup$

One possibility would be in OpenSCAD:

module limacon(a, b) {
    r = function(a, b, theta) a + b * sin(theta);

    polygon([for (t=[0 : 1 : 359]) 
        [r(a,b,t)*sin(t), r(a,b,t)*cos(t)]]);
};

// draw a limacon with the specified parameters:
limacon(3, 5);

With this, we can draw the 3D extruded polygon like this:

linear_extrude(5)
        limacon(3, 5);

Which results in a drawing like this:

enter image description here

From there, things get a little more tedious than you'd probably like. At least as far as I know, OpenSCAD can't export directly to a .STEP file, but you can import the OpenSCAD file into FreeCAD, then export the object to a .STEP file from there.

$\endgroup$
1

Not the answer you're looking for? Browse other questions tagged or ask your own question.