Jump to content
Ultimaker Community of 3D Printing Experts

Component made up of multiple .stl files


Recommended Posts

Posted (edited) · Component made up of multiple .stl files

Does anyone know if Cura can or ANY slicing software, regardless of cost, which can import an assembly of elements either as separate .STL files or a single .STL file containing all the elements?

My printer can print three colours (Geeetech A30T)
I've uploaded the CAD screen image of the test object and how Cura imported the STL elements.

Cura won't align them, or at least I've not found the secret if there is one, (Arrange and Reset doesn't work) and manually arranging is not precise enough.
(If I import  as a single STL, Cura turns it in to one single object)

 

Cura Test Part Model.jpg

Cura Test Part STL Post Import LoRes.jpg

Edited by TheFlapjack
  • Link to post
    Share on other sites
    Posted · Component made up of multiple .stl files

    Select the models as a group by holding down shift and clicking each one. Then right click on one of them and select "Merge models".

    • Like 1
    Link to post
    Share on other sites
    Posted (edited) · Component made up of multiple .stl files

    This is just for general information.

    Cura always imports STL files by center of geometry (the bounding box).  Consequently it can be fooled.

    If the center of geometry for each part in an assembly is the same in the XY then all models come in wherever, but you can re-locate them to the center of your build plate.  They can be aligned where they belong in the Z but the XY dimensions of the bounding boxes need to be the same.  The X Y dimensions can be up to the size of your build plate.

    Take your base purple piece.  All the other pieces will fit in it's "shadow".  For each other piece (you would need to consider the green pieces separately since they are at different locations) add a feature that is the shape of the purple part in the plan view, and extrude it from 0 to -1 in the Z.  The X0 Y0 for every part would be the same.  When they come into Cura, move each one down -1 in the Z to put the new feature below the build plate.

    Here is a screenshot from AutoCad.  Three pieces have the base added (they don't need the chamfer).

    UntitledZ.thumb.png.1dd2c9cfaab9b0288bff4359a7b4d897.png

     

    Here is the assembly in Cura.  The base purple piece is at 0,0,0.  The other three pieces came in off the plate but I moved each one to 0,0,-1 (to hide the base below the top of the build plate.)

    Untitled.thumb.png.1d4701ceee097d9a1faf53333cd0186b.png

     

    Edited by GregValiant
  • Link to post
    Share on other sites
    Posted · Component made up of multiple .stl files

    The trickery by @GregValiant is totally unnecessary. While it is true that Cura places models on the buildplate regardless of their original location, it does remember the origin of the individual models. The "merge models" function @IRobertI mentioned is meant exactly for this scenario, and restores the original relative position of the models.

    • Like 1
    Link to post
    Share on other sites
    Posted · Component made up of multiple .stl files

    There are times when the models are exported from an assembly.  Those models should have a relationship to each other and as Ahoeben says, Merge works well.

    There are other times when the models are exported from their individual detail files and so there is no spatial relationship from model to model.  In a sense it is like putting an assembly file together in a CAD program.  In a CAD assembly program, each part has to be moved into place separately, constrained to the position, and the location data and assembly constraints are contained in the assembly file while the part itself is included only as an external reference.

    In the image below all 4 parts were brought into Cura, but each came from the detail file.  They were merged but are co-mingled.  The "feet" of the assembly are the same part (not shown and opp) and so merged exactly into one another.

    Untitled.thumb.png.57c0201ecf671bde0576a0064c5ea476.png

     

    In this image the parts were brought in from an assembly file then selected and merged.  They are in the proper relationship to each other, but they were located somewhere around the front passenger seat of a car.

    Untitled1.thumb.png.6a05ac203acb983466104a65b9f242d6.png

     

    Moving this assembly to the build plate, it won't slice yet.  The assembled models fit the build plate but the current bounding box does not. 

    Untitled2.thumb.png.039a9b2ae5efc28b10e154b8c23ac936.png

     

    Ungrouping and re-grouping allows the model to be placed and sliced.

    Untitled3.thumb.png.676e555e0cbb54d4a9aa2b251aabd3ba.png

     

    It isn't always necessary to do tricks.  But sometimes...

     

  • Link to post
    Share on other sites
    Posted · Component made up of multiple .stl files
    On 5/7/2021 at 7:12 PM, IRobertI said:

    Select the models as a group by holding down shift and clicking each one. Then right click on one of them and select "Merge models".

    Thanks,

    That worked for my model, I just had to set Z toZero afterwards.

  • Link to post
    Share on other sites
    Posted · Component made up of multiple .stl files
    17 hours ago, GregValiant said:

    This is just for general information.

    Cura always imports STL files by center of geometry (the bounding box).  Consequently it can be fooled.

    If the center of geometry for each part in an assembly is the same in the XY then all models come in wherever, but you can re-locate them to the center of your build plate.  They can be aligned where they belong in the Z but the XY dimensions of the bounding boxes need to be the same.  The X Y dimensions can be up to the size of your build plate.

    Take your base purple piece.  All the other pieces will fit in it's "shadow".  For each other piece (you would need to consider the green pieces separately since they are at different locations) add a feature that is the shape of the purple part in the plan view, and extrude it from 0 to -1 in the Z.  The X0 Y0 for every part would be the same.  When they come into Cura, move each one down -1 in the Z to put the new feature below the build plate.

    Here is a screenshot from AutoCad.  Three pieces have the base added (they don't need the chamfer).

    UntitledZ.thumb.png.1dd2c9cfaab9b0288bff4359a7b4d897.png

     

    Here is the assembly in Cura.  The base purple piece is at 0,0,0.  The other three pieces came in off the plate but I moved each one to 0,0,-1 (to hide the base below the top of the build plate.)

    Untitled.thumb.png.1d4701ceee097d9a1faf53333cd0186b.png

     

     

    17 hours ago, GregValiant said:

    This is just for general information.

    Cura always imports STL files by center of geometry (the bounding box).  Consequently it can be fooled.

    If the center of geometry for each part in an assembly is the same in the XY then all models come in wherever, but you can re-locate them to the center of your build plate.  They can be aligned where they belong in the Z but the XY dimensions of the bounding boxes need to be the same.  The X Y dimensions can be up to the size of your build plate.

    Take your base purple piece.  All the other pieces will fit in it's "shadow".  For each other piece (you would need to consider the green pieces separately since they are at different locations) add a feature that is the shape of the purple part in the plan view, and extrude it from 0 to -1 in the Z.  The X0 Y0 for every part would be the same.  When they come into Cura, move each one down -1 in the Z to put the new feature below the build plate.

    Here is a screenshot from AutoCad.  Three pieces have the base added (they don't need the chamfer).

     

     

    Here is the assembly in Cura.  The base purple piece is at 0,0,0.  The other three pieces came in off the plate but I moved each one to 0,0,-1 (to hide the base below the top of the build plate.)

    Thanks, I get the concept and it has given me a better understanding of functionality. However the Merge function worked well for me. It never occurred to me to select all the objects and Right Click to look for options.

    17 hours ago, GregValiant said:

     

     

  • 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 turns 10: A look back
        Ultimaker is turning 10 years old and that means it is story telling time! We'll explore 2010-2014, traveling through the evolution of the business from the Protobox and Ultimaker Original, to the major leaps forward with the Ultimaker 2 and Ultimaker 3.
          • Like
        • 0 replies
      • Ultimaker Transformation Summit
        Visit our virtual showroom and learn more about the Ultimaker ecosystem!
        • 14 replies
      • New here? Register your Ultimaker for free 3D printer onboarding course
        Hi,
         
        Often getting started is the most difficult part of any process. A good start sets you up for success and saves you time and energy that could be spent elsewhere. That is why we have a onboarding course ready for
        Ultimaker S5 Pro Bundle, Ultimaker S5, Ultimaker S3 Ultimaker 2+ Connect.   
        They're ready for you on the Ultimaker Academy platform. All you need to do to gain access is to register your product to gain free access. 
        Ready? Register your product here in just 60 seconds.
          • Like
        • 0 replies
    ×
    ×
    • Create New...