discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Re: Polyhole tester: unexpected result after printing

RW
Ray West
Wed, Apr 14, 2021 12:17 PM

As you say, you are new to Cura.

You need to tune the printer to match the filament, and get the correct
settings into cura. It is not as easy as the adverts say. First, level
bed, then get the z offset set. Install the cura extensions for test
prints, run the temperature tower, and others. Make sure your extruder
steps are correct. Nothing wrong with the scad file. The rest of it is
up to the printer settings.

If it was easy, everybody would be doing it.

Best wishes,

Ray
On 14/04/2021 10:37, Terrypin via Discuss wrote:

module polyhole(h, d) {
    n = max(round(2 * d),3);
    rotate([0,0,180])
        cylinder(h = h, r = (d / 2) / cos (180 / n), $fn = n);
}

difference() {
        translate ([5,4,0]) cube(size = [25,20,3]);
    union() {
    for(i = [2:4]) {
            translate([(i * i + i)/2 + 3 * i , 10,-1])
                polyhole(h = 5, d = i);

            assign(d = i + 0.5)
                translate([(d * d + d)/2 + 3 * d, 17,-1])
                    polyhole(h = 5, d = d);
    }
    }
}

As you say, you are new to Cura. You need to tune the printer to match the filament, and get the correct settings into cura. It is not as easy as the adverts say. First, level bed, then get the z offset set. Install the cura extensions for test prints, run the temperature tower, and others. Make sure your extruder steps are correct. Nothing wrong with the scad file. The rest of it is up to the printer settings. If it was easy, everybody would be doing it. Best wishes, Ray On 14/04/2021 10:37, Terrypin via Discuss wrote: > > module polyhole(h, d) { >     n = max(round(2 * d),3); >     rotate([0,0,180]) >         cylinder(h = h, r = (d / 2) / cos (180 / n), $fn = n); > } > > > difference() { >         translate ([5,4,0]) cube(size = [25,20,3]); >     union() { >     for(i = [2:4]) { >             translate([(i * i + i)/2 + 3 * i , 10,-1]) >                 polyhole(h = 5, d = i); > >             assign(d = i + 0.5) >                 translate([(d * d + d)/2 + 3 * d, 17,-1]) >                     polyhole(h = 5, d = d); >     } >     } > }