Jump to content
Ultimaker Community of 3D Printing Experts

opening STL from openscad strange scaling


Recommended Posts

Posted · opening STL from openscad strange scaling

Hi There!

I'm a bit new to 3d printing, but already love it! Printing downloaded stuf is going smooth but I want to design my own ;-)

 

I have made an simple object in openscad wich I export as stl file and then open in Cura (lates 3.4.1).

The problem is that cura scales the object extremely and I can't figure out why.

 

In openscad I use the following code:

 

            cylinder(0.1, 0.1, 0.1);

 

When I make a cube all goes well.

 

Any help is welcome an thanx in advance!

Rob

Screen Shot 2018-08-02 at 16.21.31.png

  • Share this post


    Link to post
    Share on other sites
    Posted · opening STL from openscad strange scaling

    Hi Rob and welcome to the forums.

     

    The reason Cura scales the cube is because of its tiny proportions. You have set the cube to be a tenth of a milimeter big. Check out these Cura settings (and you might want to create a bigger cube ? )

    Screen Shot 2018-08-02 at 16.38.36.png

    • Like 1

    Share this post


    Link to post
    Share on other sites
    Posted (edited) · opening STL from openscad strange scaling

    Hi Nicolinux!

     

    Changed it!

    I'm having similar (??) problem with the STL generated from following openscad and then opening in Cura.

     

    difference(){
    cylinder(h=30, r1=60, r2=54);
        cylinder(h=30, r1=7, r2=7);
    }

    I'm trying to print a cap for the filament side gap.

    It is a 3cm high cap for both ends, it has a 7mm hole in it.But it turs out real big...

     

    I hope you can guide me towards the solution!

    Kind regards,

    Rob

    Screen Shot 2018-08-02 at 16.43.39.png

    Edited by robwal
  • Share this post


    Link to post
    Share on other sites
    Posted · opening STL from openscad strange scaling

    Hi,

     

    this looks about right. You speficied "cylinder(h=30, r1=60, r2=56)". "r" stands for radius, so it has a diameter (r*2) of 120mm. Cura does not perform any automatic scalling now and you can see that the object is 30mm tall.

    Take a look at the OpenSCAD documentation for cylinder:

    https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/The_OpenSCAD_Language#cylinder

     

    One more hint - play with "$fn" which specifies the smoothness of the object (facet number). This way you'll get smoother curved surfaces.

  • Share this post


    Link to post
    Share on other sites
    Posted · opening STL from openscad strange scaling

    Don't go much smoother than this - maybe 4X smoother.  If you go too smooth there are too many points and the printer does very poorly when there are more than 5 points per mm as it is moving.  It can only look ahead 16 points and if that is less than a few mm it slows down just in case it needs to stop on the 17th point.  Slowing down causes overextrusion and ugliness.

     

    I love openScad by the way.

  • Share this post


    Link to post
    Share on other sites
    Posted · opening STL from openscad strange scaling

    Thanks for the tip GR5! I might nock (twice) on your door for advice one of these days ?  

     

    Rob

  • Share this post


    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

      • Talking additive | The 3D printing podcast
        Why should we be the only ones asking questions? Join us and ask Jabil all your questions on September 22nd 5pm CET
          • Like
        • 3 replies
      • Ultimaker masterclass: Optimizing your Ultimaker Cura workflow
        Save your seat for either broadcast on September 23.
        What will you learn?
        · Best practices for iterative print preparation and every lesson you should learn from each print
        · The right way to use per-object settings and when they are most useful
        · Easy-to-use resources for anyone who wants to develop their own printer definitions, plugins, or print profiles
        · How to optimize print profile settings and whether to “keep” or “discard” changes
        · When is the right time to export your drawing from CAD? (Based on Ultimaker Cura’s surprising power as 3D control software)
        · And a whole lot more tips and tricks!
         
        How can I join?
        This free masterclass will take place twice:
        1. 11am CEST (5pm SGT, 5am EDT)
        2. 5pm CEST (11am EDT, 8am PDT, 11pm SGT)
          • Like
        • 0 replies
      • Do you use 3D printing at work? Let us know
        It doesn't matter if you are using 1 Ultimaker or 10, there is inspiration in everything. We're looking for ...
        • 1 reply
    ×
    ×
    • Create New...