Jump to content

Recommended Posts

Posted · "Found" this feature, thought I might share.

Sorry if I'm boring power users with knowledge that they are familiar with, but I stumbled on this and thought I might share.

 

During one of my projects and playing with TPU/PLA combinations I noticed the following feature. If two STLs are merged in the same material, the inner walls are sliced as separate walls and not filled as usual. At the time it was undesired and I solved it by generating the STLs as one for the material that was the same. A few months later I made a filament spool attachment for my drill that is shared on Thingiverse. The first version was made as one STL and the drill attachment simply snapped off. Remembering my multi STL use case. I used it here to make a far more durable solution. 

 

SpoolComponents.thumb.png.2a038f8082482eb1ead79ceadf637170.png

The two models were imported into Cura. In OpenSCAD they are on the correct coordinates to merge with the hexagon fitting snugly in the part.

 

Below are the slicing results of the dual STL that were merged in Cura:

CompontentsSlicing1.thumb.png.fdc047c844ed33eaa2204a51112971e4.png

ComponentsSlicing2.thumb.png.f9aa00f514c1e5519a9a15b1e2649591.png

ComponentsSlicing3.thumb.png.76dd44dd8ef80db4aa7758087558443b.png

ComponentsSlicing4.thumb.png.d1ff42001694b6fbf3388197fb404e73.png

 

As comparison, here are the slice results if the part was imported as a single STL.

OnePieceSTL1.thumb.png.ddfa5f8316ac9082cebf70c094bddad4.png

OnePieceSTL2.thumb.png.b9db118e2971a548418b48408d732472.png

OnePieceSTL3.thumb.png.bd8c4211349f937c2965632ee31e865c.png

  • Link to post
    Share on other sites

    Posted · "Found" this feature, thought I might share.

    This isn't really a Cura feature. OpenSCAD makes an implicit union of all parts, and when exporting an STL will only export a single, watertight mesh (at least, without errors). Especially with round sections, joining the two can create an average which is different to the individual parts.

     

    For something like this, with rounded parts that need to be preserved properly, make sure you define $fn as something pretty high, generally at the start of your SCAD file:

    $fn = $preview ? 64 : 2048;

    That'll make previews not take forever and the actual rendering take foooooooreeeeeever with round objects by ensuring they have a ridiculously high number of facets but will also preserve as much of the resolution as possible. It will also give you a pretty damn massive file size (a single sphere exported with $fn at 2048 is over a 200MB file, so you may want to lower the 2048 slightly, but I usually go by powers of two - programming mindset - and definitely wouldn't go any lower than 512 for a high quality export - even at 1024 the sphere file size is a quarter that of the 2048, also make sure your value is evenly divisible by 4 so that the result can have integral co-ordinates) so it's maybe not always practical.

  • Link to post
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
    • Our picks

      • UltiMaker Cura 5.9 stable released!
        Here comes Cura 5.9 and in this stable release we have lots of material and printer profiles for UltiMaker printers, including the newly released Sketch Sprint. Additionally, scarf seams have been introduced alongside even more print settings and improvements.  Check out the rest of this article to find out the details on all of that and more
          • Like
        • 5 replies
      • Introducing the UltiMaker Factor 4
        We are happy to announce the next evolution in the UltiMaker 3D printer lineup: the UltiMaker Factor 4 industrial-grade 3D printer, designed to take manufacturing to new levels of efficiency and reliability. Factor 4 is an end-to-end 3D printing solution for light industrial applications
          • Heart
          • Thanks
          • Like
        • 4 replies
    ×
    ×
    • Create New...