Loading

MakerBot Print is our newest print-prepration software, which supports native CAD files and STL assemblies,
allows you to interact with all your printers via the Cloud, and many other exciting new features.

Download Now

Report as inappropriate

I found that the code produced a non-manifold model with 7 shells and 24 holes for my koozie. FlashPrint 3.25.0 had indicated there were errors and I used Netfabb Basic 7.4 to find out the details. The JSON for my koozie:

  "Canada 355 ml": {
        "air_gap": "5",
        "baffle_dist": "16",
        "baffle_wall": "0.8",
        "bottom_thick": "0.8",
        "can_dia": "65.8",
        "can_height": "104",
        "chamfer": "0.6",
        "outer_wall": "0.8",
        "segments": "128",
        "support_height": "3",
        "support_width": "1.2",
        "test_slice": "no",
        "tolerance": "0.1",
        "top_cut": "0.6"
    }

I know from past experience with my own OpenSCAD code that a fudge factor is often needed when using Boolean functions to avoid non-manifold meshes caused by exactly overlapping geometries. After briefly examining the code, I added a fudge factor at line 90 and it resulted in my koozie being rendered without errors. I don't know if that's the best or only place that is needed, but it worked for my particular koozie.

 90c90
 <     shift = baffle_radius - in_wall_radius - baffle_wall;
 ---
 >     shift = baffle_radius - in_wall_radius - baffle_wall - 0.0001;