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!
    ⚠️ Important | Libfredo 15.6b introduces important bugfixes for Fredo's Extensions Update

    [PlugIn] 3D Printers G-Code importer/Exporter Ver0.0.9

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

      What should the next feature be?
      If you have an idea, I will be very happy to try implementing it.

      1 條回覆 最後回覆 回覆 引用 0
      • J 離線
        Jim
        最後由 編輯

        @davidfi1 said:

        What should the next feature be?
        If you have an idea, I will be very happy to try implementing it.

        Animate a model of a cnc machine from the gcode.

        Hi

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

          @jim said:

          @davidfi1 said:

          What should the next feature be?
          If you have an idea, I will be very happy to try implementing it.

          Animate a model of a cnc machine from the gcode.

          Did you try to import CNC G-Code?
          Can you explain what was the problem?
          Do you have an idea how it should work if it was working correctly?

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

            i have attempted this plugin in 2013, about to try it in 8 pro.
            thought i should bring this little web app that i found recently.
            it is a gcode viewer and i was hoping to use it to view the gcode i exported from sketchup in it but it doesn't seem to be working from being exported in 2013.
            http://jherrm.github.io/gcode-viewer/

            neither of the gcode files i exported from regular sketchup files worked in the simulator. but i am keen to use this addon to use the simulation app

            1 條回覆 最後回覆 回覆 引用 0
            • Z 離線
              zurits
              最後由 編輯

              Does not work for me either; Sketchup 2013 Win7x86, thanks for for the code.

              1 條回覆 最後回覆 回覆 引用 0
              • M 離線
                mkultra
                最後由 編輯

                2014 load fails...
                2014/SketchUp/Plugins/Fishelzon/GcodeImporterVer0.0.8.rb:38: formal argument cannot be an instance variable
                @filamentComp.entities.each { |@ent|

                                                       ^
                

                C:/Users/Cheryl/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/Fishelzon/GcodeImporterVer0.0.8.rb:163: formal argument cannot be an instance variable
                IO.foreach(filename) do |@line|

                                                ^
                

                C:/Users/Cheryl/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/Fishelzon/GcodeImporterVer0.0.8.rb:183: formal argument cannot be an instance variable
                @params.map {|@var|

                                        ^>
                

                C:/Program Files (x86)/SketchUp/SketchUp 2014/Tools/extensions.rb:197:in require' C:/Program Files (x86)/SketchUp/SketchUp 2014/Tools/extensions.rb:197:in load'
                C:/Users/Cheryl/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/Fishelzon_GcodeTools_ext.rb:40:in register_extension' C:/Users/Cheryl/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/Fishelzon_GcodeTools_ext.rb:40:in loadLastVer'
                C:/Users/Cheryl/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/Fishelzon_GcodeTools_ext.rb:47:in <module:Fishelzon>' C:/Users/Cheryl/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/Fishelzon_GcodeTools_ext.rb:11:in <top (required)>'

                1 條回覆 最後回覆 回覆 引用 0
                • M 離線
                  mctabish
                  最後由 編輯

                  I am also failing to load on start up. I get:
                  Error Loading File C:/Users/Pop/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/Fishelzon/GcodeImporterVer0.0.8.rb
                  Error: #<SyntaxError: C:/Users/Pop/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/Fishelzon/GcodeImporterVer0.0.8.rb:38: formal argument cannot be an instance variable
                  @filamentComp.entities.each { |@ent|

                                                         ^
                  

                  C:/Users/Pop/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/Fishelzon/GcodeImporterVer0.0.8.rb:163: formal argument cannot be an instance variable
                  IO.foreach(filename) do |@line|

                                                  ^
                  

                  C:/Users/Pop/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/Fishelzon/GcodeImporterVer0.0.8.rb:183: formal argument cannot be an instance variable
                  @params.map {|@var|

                                          ^>
                  

                  C:/Program Files (x86)/SketchUp/SketchUp 2014/Tools/extensions.rb:197:in require' C:/Program Files (x86)/SketchUp/SketchUp 2014/Tools/extensions.rb:197:in load'
                  C:/Users/Pop/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/Fishelzon_GcodeTools_ext.rb:40:in register_extension' C:/Users/Pop/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/Fishelzon_GcodeTools_ext.rb:40:in loadLastVer'
                  C:/Users/Pop/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/Fishelzon_GcodeTools_ext.rb:47:in <module:Fishelzon>' C:/Users/Pop/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/Fishelzon_GcodeTools_ext.rb:11:in <top (required)>'

                  Any resolution?
                  sketchup 2014 Win 7 x64

                  Thanks
                  Bruce

                  1 條回覆 最後回覆 回覆 引用 0
                  • Dan RathbunD 離線
                    Dan Rathbun
                    最後由 編輯

                    Try making the following changes. untested

                    (Ruby v 2.0 will not allow direct references to instance variables in the block parameter list.)

                    Line 38:
                    @filamentComp.entities.each { |ent| @ent = ent

                    Line 163:
                    IO.foreach(filename) do |line| @line = line

                    Line 183:
                    @params.map {|var| @var = var

                    I'm not here much anymore.

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

                      I know this is a couple of years old but the plugin does not appear to work with latest version of SKetchup Make. Any chance there is an updated version of this plugin anywhere? Would really love to import Gcode files into SKetchup.

                      Thanks!!

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

                      Advertisement