sketchucation logo sketchucation
    • 登入
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    🔌 Smart Spline | Fluid way to handle splines for furniture design and complex structures. Download

    [Plugin] Import STL files

    已排程 已置頂 已鎖定 已移動 Plugins
    40 貼文 18 Posters 48.5k 瀏覽 18 Watching
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • N 離線
      NewOne
      最後由 編輯

      When exporting STL from SolidWorks, here is an option to put all geometry in same file or to create separate file for each part. Mr. Didier Bur, could this script to be modified in a manner that allows multiple file selection and each geometry to be made group (or component if there are more identical parts) ? Or to specify a folder where stl part files are located?

      Thank you.

      1 條回覆 最後回覆 回覆 引用 0
      • Didier BurD 離線
        Didier Bur
        最後由 編輯

        Dropped into the to-do list 😉

        DB

        1 條回覆 最後回覆 回覆 引用 0
        • GaieusG 離線
          Gaieus
          最後由 編輯

          bump
          (sorry Dider - no practical reason just testing some moderation stuff)

          Gai...

          1 條回覆 最後回覆 回覆 引用 0
          • S 離線
            stefkeB
            最後由 編輯

            Minor improvement:

            On line 54 you call the "openpanel" method when exporting. This should be "savepanel", so the user gets the correct dialog displayed. Still works on Windows but not on OSX, where you need to point to an already existing file.

            Also, the default "." file location could be replaced with ENV['USER'] or ENV['HOME'] or preferably the current file folder, as to make it more convenient. With 'USER' it works much better for me on OSX.

            (I refer to the unscrambled file, obviously, not the compacted one -- maybe the reason why people think it is a binary file)

            1 條回覆 最後回覆 回覆 引用 0
            • Didier BurD 離線
              Didier Bur
              最後由 編輯

              Hi,
              @stefkeB: I'm using openpanel when importing, and savepanel when exporting. So I don't understand what you're talking about, propably you have an old version, because the latest one is v1.3. (Nov 2009) and is scrambled in a RBS file (so unreadable).

              DB

              1 條回覆 最後回覆 回覆 引用 0
              • thomthomT 離線
                thomthom
                最後由 編輯

                I've been looking around at the various ruby based importers for SketchUp and I see that no one uses the Importer class. If this class is used the importer can be found in the native import list which would be very nice.
                http://code.google.com/apis/sketchup/docs/ourdoc/importer.html

                Thomas Thomassen — SketchUp Monkey & Coding addict
                List of my plugins and link to the CookieWare fund

                1 條回覆 最後回覆 回覆 引用 0
                • charly2008C 離線
                  charly2008
                  最後由 編輯

                  Hi Didier,

                  I have tried the tool in Sketchup 8. The Unit support appears and I can choose my unit but then nothing happens. I've attached the stl files which I downloaded from Internet.

                  Charly


                  knot.zip


                  brain-gear.zip

                  He who makes no mistakes, makes nothing

                  1 條回覆 最後回覆 回覆 引用 0
                  • Didier BurD 離線
                    Didier Bur
                    最後由 編輯

                    Hi Charly,
                    Your files are binary STL files. The script cannot read such files, but only ASCII STL format.
                    You can convert binary STL's to ASCII with Meshlab (free) for instance.
                    Regards,

                    DB

                    1 條回覆 最後回覆 回覆 引用 0
                    • charly2008C 離線
                      charly2008
                      最後由 編輯

                      Hi Didier,

                      Thank you for the explanation. I learned something more to it.

                      Charly

                      He who makes no mistakes, makes nothing

                      1 條回覆 最後回覆 回覆 引用 0
                      • D 離線
                        davidheim1
                        最後由 編輯

                        Didier,
                        I just downloaded the STL Export/Import plug-in on my Mac, but I can't make it work. It asks me for the name of a file to export, but won't ever let me export anything. What am I missing? Can you provide a brief explanation of how to make the export function work?
                        Many thanks,
                        David Heim

                        1 條回覆 最後回覆 回覆 引用 0
                        • mariochaM 離線
                          mariocha
                          最後由 編輯

                          @davidheim1 said:

                          Didier,
                          It asks me for the name of a file to export to, but won't ever let me export anything.
                          David Heim

                          Same here. It happens with the one loaded from SketchUcation store.
                          But the one on CRAI Ruby depot, loaded the old way, manually, works.

                          %(#008000)[Mario C.
                          Every rule has exceptions, but some.]

                          1 條回覆 最後回覆 回覆 引用 0
                          • thomthomT 離線
                            thomthom
                            最後由 編輯

                            I recommend that anyone importing or exporting STL files in SketchUp use the open source plugin that SketchUp released: http://extensions.sketchup.com/en/content/sketchup-stl

                            Thomas Thomassen — SketchUp Monkey & Coding addict
                            List of my plugins and link to the CookieWare fund

                            1 條回覆 最後回覆 回覆 引用 0
                            • F 離線
                              frankleng
                              最後由 編輯

                              @thomthom said:

                              I recommend that anyone importing or exporting STL files in SketchUp use the open source plugin that SketchUp released: http://extensions.sketchup.com/en/content/sketchup-stl

                              very fast and good.thanks /

                              1 條回覆 最後回覆 回覆 引用 0
                              • ntxdaveN 離線
                                ntxdave
                                最後由 編輯

                                I have used the AUTOINSTALL 3 times now to add this plugin in SU 2014 and it does not show up anywhere that I can find. The installation process says it was installed successfully but I can not find it anywhere.

                                Am I doing something wrong or is there a problem using the plugin with 2014?

                                Press F1...thank me later

                                1 條回覆 最後回覆 回覆 引用 0
                                • TIGT 線上
                                  TIG Moderator
                                  最後由 編輯

                                  @ntxdave said:

                                  I have used the AUTOINSTALL 3 times now to add this plugin in SU 2014 and it does not show up anywhere that I can find. The installation process says it was installed successfully but I can not find it anywhere.

                                  Am I doing something wrong or is there a problem using the plugin with 2014?
                                  This Plugin was started 9 years ago, and in this form it is 6 years old.
                                  I unpacked it, did some very simple editing, and it worked in v2014 just fine.
                                  BUT Didier as the author must make these changes and republish...
                                  I suspect he won't want to support this any further... because Trimble now have their own newer [better?] STL Import/Export plugin - it is available free from the EWH...
                                  Why not try that ?
                                  http://extensions.sketchup.com/en/content/sketchup-stl

                                  TIG

                                  1 條回覆 最後回覆 回覆 引用 0
                                  • ntxdaveN 離線
                                    ntxdave
                                    最後由 編輯

                                    @tig said:

                                    @ntxdave said:

                                    I have used the AUTOINSTALL 3 times now to add this plugin in SU 2014 and it does not show up anywhere that I can find. The installation process says it was installed successfully but I can not find it anywhere.

                                    Am I doing something wrong or is there a problem using the plugin with 2014?
                                    This Plugin was started 9 years ago, and in this form it is 6 years old.
                                    I unpacked it, did some very simple editing, and it worked in v2014 just fine.
                                    BUT Didier as the author must make these changes and republish...
                                    I suspect he won't want to support this any further... because Trimble now have their own newer [better?] STL Import/Export plugin - it is available free from the EWH...
                                    Why not try that ?
                                    http://extensions.sketchup.com/en/content/sketchup-stl

                                    Yes, when I saw that the other one was not showing up, I did go install this one. The whole 3D thing is new to me 😄

                                    Press F1...thank me later

                                    1 條回覆 最後回覆 回覆 引用 0
                                    • B 離線
                                      BeePee
                                      最後由 編輯

                                      I downloaded and see su2stl in my Loaded Plugins list, but it's not in the Loaded Extensions list.

                                      How do I open and use this plugin? I can't see any toolbar button and it's not in any drop-down menu.

                                      Thanks, BeePee

                                      1 條回覆 最後回覆 回覆 引用 0
                                      • mariochaM 離線
                                        mariocha
                                        最後由 編輯

                                        Should be under the Files menu : Export stl. Right under Import

                                        %(#008000)[Mario C.
                                        Every rule has exceptions, but some.]

                                        1 條回覆 最後回覆 回覆 引用 0
                                        • B 離線
                                          BeePee
                                          最後由 編輯

                                          I want to Imprt STL files with the specific plugin. Export is not a problem. I can Import with the standard plugin but it's not working, as explained. How do I access Import STL with this plugin su2stl.rb?

                                          1 條回覆 最後回覆 回覆 引用 0
                                          • mariochaM 離線
                                            mariocha
                                            最後由 編輯

                                            Ahg ! sorry, bad reading. 😳
                                            The answer is in the description of the plugin.
                                            With this plugin, you’ll find STL as a supported format within SketchUp’s Import command. STL files will be imported to SketchUp as a group. 😉

                                            %(#008000)[Mario C.
                                            Every rule has exceptions, but some.]

                                            1 條回覆 最後回覆 回覆 引用 0
                                            • 1
                                            • 2
                                            • 2 / 2
                                            • 第一個貼文
                                              最後的貼文
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement