Jump to content
Ultimaker Community of 3D Printing Experts
robwal

opening STL from openscad strange scaling

Recommended Posts

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

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

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

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

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

    • Print Core CC | Red for Ruby
      Q: For some users, abrasive materials may be a new subject matter. Can you explain what it is that makes a material abrasive when you are not sure which print core to use?
      A: Materials which are hard in a solid piece (like metals, ceramics and carbon fibers) will generally also wear down the nozzle. In general one should assume...
      • 1 reply
    • "Back To The Future" using Generative Design & Investment Casting
      Designing for light-weight parts is becoming more important, and I’m a firm believer in the need to produce lighter weight, less over-engineered parts for the future. This is for sustainability reasons because we need to be using less raw materials and, in things like transportation, it impacts the energy usage of the product during it’s service life.
        • Like
      • 12 replies
×

Important Information

Welcome to the Ultimaker Community of 3D printing experts. Visit the following links to read more about our Terms of Use or our Privacy Policy. Thank you!