Editing an STL file

Advert

Editing an STL file

Home Forums CAD – Technical drawing & design Editing an STL file

Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • #776659
    Paul L
    Participant
      @paull58212

      I’m currently trying to help someone who needs to modify a 3d model. We have scanned a component with a creality scanner and have an .STL file but his Solidworks (about 10 years old) wont edit it and my Alibre wont import it as .STL.

      Anyone any ideas on how we can get a .STP model from the .STL that one of us can edit? Is this possible or are we wasting our time trying.

      Any help greatly appreciated

       

       

      Advert
      #776660
      Michael Gilligan
      Participant
        @michaelgilligan61133

        Currently watching LauraK … but a quick diversion to Google finds some possibilities:

        Search for: convert from stl to stp

         

        MichaelG.

        #776663
        DC31k
        Participant
          @dc31k

          FreeCAD will do this for you.

          Open the STL, convert mesh to solid, export as STEP file.

          Check what version of STEP his system accepts, as you might have to export in an older version of the format in order to be compatible.

          I guess you know that a STEP object is just a ‘dumb’ (lump of clay) 3D solid, so for instance, you could not pick a hole within it and change its diameter from 6mm to 8mm.

          #776670
          Paul L
          Participant
            @paull58212

            I think my original question was badly phased; apologies.

            What  is really needed is the ability to edit the STL model. I ‘believed’ a stp file would be editable as thats what my Alibre wants to open.

            As you can see I dont have a great deal of experience with this.

            Any suggestions welcomed.

             

            #776679
            Michael Gilligan
            Participant
              @michaelgilligan61133

              Given your clarification, Paul …

              The logical answer must be for ‘someone’ who can open the STL to do so, and then save it as an older file-type, for you.

              … Happens a lot with word-processing, etc. etc.

              MichaelG.

              #776684
              Michael Gilligan
              Participant
                @michaelgilligan61133

                I am WAY out of my depth here … but this looks promising:

                https://store.creality.com/blog/edit-stl-files

                MichaelG.

                #776686
                David Jupp
                Participant
                  @davidjupp51506
                  On DC31k Said:

                  I guess you know that a STEP object is just a ‘dumb’ (lump of clay) 3D solid, so for instance, you could not pick a hole within it and change its diameter from 6mm to 8mm.

                  But you can simply cut the 8mm hole to replace the 6mm one.  All that “dumb” means is that that a STEP file doesn’t preserve any list of features from the originating CAD system.  It is just the final shape of the model.

                  #776689
                  DC31k
                  Participant
                    @dc31k
                    On Paul L Said:

                    What  is really needed is the ability to edit the STL model.

                    As above, the STL file is a (generally triangular) mesh format.

                    The two most well-known mesh-editing programs are Meshmixer and Blender.

                    If you put ‘meshmixer alternative’ into a search, it will suggest other options.

                    A lot of what will work best for you depends on the shape of the object. If it is an ‘engineering’-type object, converting to STEP and working on the 3D solid might be a good move. If it is a more ‘organic’ or ‘sculptural’ object, keeping it as STL is probably the way forward.

                    #776713
                    David Jupp
                    Participant
                      @davidjupp51506

                      And if based on a scan of a real object, conversion is not likely to be straightforward, proper reverse engineering software could well be needed.

                      #776716
                      Packmule
                      Participant
                        @packmule

                        Fusion 360 will open a stl file

                        #776717
                        JasonB
                        Moderator
                          @jasonb

                          I have converted them in F360 and exported a STL file from there that can be opened in Alibre. beware if it is a complex part made up of a lot of triangles it will slow both F360 and Alibre down considerably

                          #776718
                          IanT
                          Participant
                            @iant

                            Solid Edge CE will import an .STL and can immediately export/save it as a .STP file should you desire to do so.

                            Solid Edge also has tools that will allow you to both repair the .STL ‘Mesh’ and manipulate the .STL model. I’ve only needed to do this once or twice and spent some time trying to understand exactly what I was supposed to be doing – I’m certainly no expert in this area. Eventually, I decided to use a limited subset of the available tools to cut & slice the model and then rebuild the ‘bit’ I’d removed using SE to create a new ‘Part’  This was then added to the modified STL model and saved as a new ‘Assembly’ which was then exported as a new .STL.

                            One part I succesfully modified was a wheel with an incorrect (flange and tread) profile. The process uses mesh tools found in the ‘Reverse Engineering’ toolset (you need to open the STL to see them):

                            a) Import the .STL as a new part

                            b) “Repair” the STL using the ‘Optimise Mesh’ tool

                            c) ‘Cut’ the flange (and tread) completely off using the ‘Cut Mesh’ tool.

                            d) Sliced a very (a few thous) thin layer off the back surface to give a ‘flat’ (reference surface) that SE can ‘see’

                            In essence, importing a STL file seems (from a 3D CAD pov) to be rather like having a rough casting that is very hard to get exact measurements from – or to cleanly ‘attach’ things to. Repairing the Mesh seems to give it a hard wire brush in that it gets rid of any obvious imperfections. Making the cuts and slices, allows SE to see good surfaces that it can reference when making assemblies (e.g. mating surfaces/points together)

                            Anyway – after this process I was able to use the modified STL ‘Part’ and add a new (SE designed) part to form a new SE assembly that was then printed with a new STL file.

                            I’ve also been told that Solid Edge is (was?) similar in some ways to Solid Works, so it may also be an easier migration for you.  If the STL model is something more irregular and ‘flowing’ (someone’s face for instance) then this approach might not be effective of course.

                            Having said that, I’ve watched a YT showing how to use an existing STL (of a complex rotor assembly) to build a new part based on the original rotor blade geometry. I watched it several years ago and cannot find it now and it was clearly some way above my SE skills. I settled for a simpler way to achieve my requirement. However SE can clearly do a great deal more with STLs than I can manage but that’s all the advice I can give you.

                            Regards,

                             

                            IanT

                            #776722
                            SillyOldDuffer
                            Moderator
                              @sillyoldduffer
                              On DC31k Said:
                              On Paul L Said:

                              What  is really needed is the ability to edit the STL model.

                              As above, the STL file is a (generally triangular) mesh format.

                              The two most well-known mesh-editing programs are Meshmixer and Blender.

                              If you put ‘meshmixer alternative’ into a search, it will suggest other options.

                              A lot of what will work best for you depends on the shape of the object. If it is an ‘engineering’-type object, converting to STEP and working on the 3D solid might be a good move. If it is a more ‘organic’ or ‘sculptural’ object, keeping it as STL is probably the way forward.

                              Exactly so.   STL is an output format, containing the minimum information needed to print an object in 3D.  Makes STL a poor choice for many purposes, though worth a try for others.

                              Though STP can be edited the result may not be useful. Many STL editors only repair and simplify.  Others allow the shape to be manipulated or merged with other shapes.  Paul: what sort of object was scanned, and what sort of edit is needed?

                              • Sculpted objects, such as figurines, aren’t too hard, once the editor is understood. A common ‘maker’ requirement – 3D printing dragons and such.
                              • Converting STL to an engineering 3D-CAD model is harder.  Most of the information needed is missing from STL.   Possible to create an STP file from STL that 3D-CAD will read, but it will only deliver a near empty starting point; shape and proportions, no measurements or anything else.  The operator has to provide what’s needed to complete the model with whatever level of detail is needed. Potentially a lot of hard work.

                              Scan and convert might be a good way of capturing the curves of a propeller, car body, or model aircraft but unsuitable for turning a Thomas the Tank Engine die-cast into a full 3D-model with view to building and running a 5″ loco.

                              Is this is a one-off?  STL tools aren’t easy to learn, especially the advanced ones.  How to edit a sculpted object might take a few days concentrated effort, much longer to do a complicated engineering object like Thomas.   Conventional methods might be quicker and require less learning.

                              Version incompatibilities could be a problem too.  A 10 year old Solidworks might gag on a new STL!

                              Sadly there doesn’t seem to a straightforward way of scanning an object as a well-populated 3d-CAD.  Or am I wrong?

                              Dave

                              #776723
                              JasonB
                              Moderator
                                @jasonb

                                Here is an stl opened in F360

                                imp stl

                                After converting the mesh it was exported as an STL and then opened in Alibre. I sketched a hole and did a cut extrude. However as it slows thing down due to having over 100,000 faces it took about 5 mins to do that rather than the usual 5 seconds.

                                holled stp

                                #776724
                                IanT
                                Participant
                                  @iant

                                  This isn’t the YT I had in mind but it does seem to pretty much cover the same ground (I’ve only wizzed through it)

                                  As you will see, this not the simplest process to understand (at least it wasn’t for me) but the more basic ‘cut & replace’ approach was much easier for me in practice, provided the model is amenable to this of course.

                                  Modifying a scanned model using Solid Edge

                                  Regards,

                                   

                                  IanT

                                  #776740
                                  Paul L
                                  Participant
                                    @paull58212

                                    Thank you all for the feedback, Ive been in the workshop nearly all day so haven’t had chance to try anything else yet, but I will and report back.

                                    Its a sort of pump housing and it has around 1,000,000 polygons!

                                    Regards

                                    Paul

                                     

                                  Viewing 16 posts - 1 through 16 (of 16 total)
                                  • Please log in to reply to this topic. Registering is free and easy using the links on the menu at the top of this page.

                                  Advert

                                  Latest Replies

                                  Viewing 25 topics - 1 through 25 (of 25 total)
                                  Viewing 25 topics - 1 through 25 (of 25 total)

                                  View full reply list.

                                  Advert

                                  Newsletter Sign-up