Jump to content

Component made up of multiple .stl files


TheFlapjack

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 Cura 5.8 beta released
        Another Cura release has arrived and in this 5.8 beta release, the focus is on improving Z seams, as well as completing support for the full Method series of printers by introducing a profile for the UltiMaker Method.
          • Like
        • 1 reply
      • 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
          • Thanks
          • Like
        • 3 replies
    ×
    ×
    • Create New...