sketchucation logo sketchucation
    • 登入
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    I invite for acquaintance with Russian plug-in

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

      @jorge2011 said:

      thanks for the update. very interesting.
      a query:
      The plugin generates the following error:
      Error: # <ArgumentError: Not enough-at least 3 edges required>
      C 😕 Program Files / Google / Google SketchUp 8/Plugins/CoolPipe/Service_proc.rb: 552: in add_face ' C :/ Program Files / Google / Google SketchUp 8/Plugins/CoolPipe/Service_proc.rb: 552: in cp_create_pipe_geometry '
      C 😕 Program Files / Google / Google SketchUp 8/Plugins/CoolPipe/PipeTool.rb: 110: in `OnLButtonDown '
      you can fix that? thank you very much

      What are you trying to do when there was this error?

      @driven said:

      hi,
      it looks great but doesn't run on mac.
      what does the .dll and .so contain, is there a mac equivalent?
      john

      . dll and. so standard libraries contain Iconv, to work with different encodings. The plugin was created for the Russian language for Windows, unfortunately for MAC to configure the plugin I have no technical ability (I hope to understand.)
      Iconv needed to process W-1251 encoding in UTF from time to time by the return webdialog

      CoolPipe Plugin

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

        try to draw a pipe, and just draw a vertical line and generates the error

        1 條回覆 最後回覆 回覆 引用 0
        • yad2000Y 離線
          yad2000
          最後由 編輯

          @jorge2011 said:

          try to draw a pipe, and just draw a vertical line and generates the error

          very strange ...
          probably something with the settings of the sketchup
          or platform
          or something else))

          CoolPipe Plugin

          1 條回覆 最後回覆 回覆 引用 0
          • yorik1984Y 離線
            yorik1984
            最後由 編輯

            I tested plugin. If you have in your plugin directory this plugin:
            http://forums.sketchucation.com/viewtopic.php?t=41840
            http://rhin.crai.archi.fr/rld/plugin_details.php?id=219
            SU shutdown with error!

            1 條回覆 最後回覆 回覆 引用 0
            • yad2000Y 離線
              yad2000
              最後由 編輯

              plug-in works correctly on a 32 - x bit Windows, sometimes there is an incompatibility with some third-party plug-ins

              CoolPipe Plugin

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

                @yad2000 said:

                . dll and. so standard libraries contain Iconv, to work with different encodings. The plugin was created for the Russian language for Windows, unfortunately for MAC to configure the plugin I have no technical ability (I hope to understand.)
                Iconv needed to process W-1251 encoding in UTF from time to time by the return webdialog

                Hi,
                I had to change all the Sketchup:: require'' to require '' to return true and see the Toolbar.

                If I comment out all 'Iconv' references in all the files, Webkit on mac appears to handle the Cyrillic encoding without any issues.

                Is

                <script type="text/javascript" src="js/documets_pack.js"></script>
                

                still needed? I get an error.

                If I change ini.rb to "Lang=en", on start I get a message box Did not load RB script&#058; /Library/Application Support/Google SketchUp 8/SketchUp/plugins/CoolPipe/coolpipe_Start.rb
                if I start with Lang=ru and then change ini.rb and reload, I get
                Error: #<TypeError: /Library/Application Support/Google SketchUp 8/SketchUp/plugins/CoolPipe/coolpipe_Start.rb:81:inadd_item': can't convert nil into String>`

                I can't get much further without English, but will keep trying.
                john

                learn from the mistakes of others, you may not live long enough to make them all yourself...

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

                  OMG! WHAT A PIECE OF CRAP.

                  Denis .. you MUST wrap all your code inside a module.

                  You are defining class veriables and all your methods within Object, and they propagate into everyone else's classes and modules.

                  I do not recommend anyone use this plugin until it is fixed, and properly module wrapped !!

                  I'm not here much anymore.

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

                    WARNING !!

                    This "plugin" (term used loosely,) does very bad things to SketchUp's Ruby environment !

                    It includes Math module into Object, which will propagate into EVERYTHING else.
                    Also it modifies Integer, Float and Fixnum baseclases, by including Math (again), and defining plugin specific methods (that are not really needed anyway.)

                    I'm not here much anymore.

                    1 條回覆 最後回覆 回覆 引用 0
                    • yad2000Y 離線
                      yad2000
                      最後由 編輯

                      @driven said:

                      Hi,
                      I had to change all the Sketchup:: require'' to require '' to return true and see the Toolbar.
                      If I comment out all 'Iconv' references in all the files, Webkit on mac appears to handle the Cyrillic encoding without any issues.
                      Is

                      <script type="text/javascript" src="js/documets_pack.js"></script>
                      

                      still needed? I get an error.

                      If I change ini.rb to "Lang=en", on start I get a message box Did not load RB script&#058; /Library/Application Support/Google SketchUp 8/SketchUp/plugins/CoolPipe/coolpipe_Start.rb
                      if I start with Lang=ru and then change ini.rb and reload, I get
                      Error: #<TypeError: /Library/Application Support/Google SketchUp 8/SketchUp/plugins/CoolPipe/coolpipe_Start.rb:81:inadd_item': can't convert nil into String>`
                      I can't get much further without English, but will keep trying.
                      john

                      Work on the multi-language version is started, the news wrote about this on your site. Much more needs to be done (not without some help users of course).
                      The plugin is provided as is and use it to recommend your own risk.

                      @dan rathbun said:

                      OMG! WHAT A PIECE OF CRAP......

                      Please calm down!
                      I am not a programmer proffessionalny Ruby, do what learned.
                      I do not claim to uniqueness and correctness of their decisions. Your comment will take into consideration and try to make changes with the next version.
                      As the saying goes do not like do not eat, and you should not call all the crap.

                      CoolPipe Plugin

                      1 條回覆 最後回覆 回覆 引用 0
                      • yad2000Y 離線
                        yad2000
                        最後由 編輯

                        #-v1.2.1

                        Multi-project choice of language in the process of working with the plugin

                        Calculation of the mass-removal (steel), raschityvatesya of geometrical parameters (may not fit with factory products)

                        #-The structure of the code changes: there is no change in the standard classes, all of the code integrated into classes and modules
                        #-correction made for loading iconv.so: The MAC does not load, only on Windows

                        edit-elements located outside the Observer in the allocation of a separate command button

                        #-fixed principle of sorting elements of the standard specification. sort (to avoid memory leaks in the process of counting and hangs SketchUP)

                        CoolPipe Plugin

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

                          thanks for the update. But still generates the same error, when using the tool "tube":

                          Error: #<ArgumentError: Not enough edges - at least 3 required>
                          C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/Service_proc.rb:569:in add_face' C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/Service_proc.rb:569:in cp_create_pipe_geometry'
                          C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/PipeTool.rb:110:in `onLButtonDown'
                          C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/Service_proc.rb:247

                          you can fix it?
                          I use:
                          windows xp in Spanish
                          sketchup 8 pro in Spanish

                          1 條回覆 最後回覆 回覆 引用 0
                          • kenK 離線
                            ken
                            最後由 編輯

                            I receive the following error code after installing.

                            Thanks you in advance for your help.

                            Ken


                            ScreenHunter_01 Apr. 01 10.21.jpg

                            Fight like your the third monkey on Noah's Ark gangway.

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

                              @unknownuser said:

                              I receive the following error code after installing.

                              Thanks you in advance for your help.

                              Ken

                              You must copy the file "iconv.so" in the folder:
                              windows/system32

                              1 條回覆 最後回覆 回覆 引用 0
                              • kenK 離線
                                ken
                                最後由 編輯

                                Jorge

                                Will thanks for the advice, however I still have the same error code.

                                Ken

                                Fight like your the third monkey on Noah's Ark gangway.

                                1 條回覆 最後回覆 回覆 引用 0
                                • guanjinG 離線
                                  guanjin
                                  最後由 編輯

                                  Site not open

                                  I come from China, is to learn

                                  1 條回覆 最後回覆 回覆 引用 0
                                  • yad2000Y 離線
                                    yad2000
                                    最後由 編輯

                                    @jorge2011 said:

                                    thanks for the update. But still generates the same error, when using the tool "tube":
                                    Error: #<ArgumentError: Not enough edges - at least 3 required>
                                    C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/Service_proc.rb:569:in add_face' C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/Service_proc.rb:569:in cp_create_pipe_geometry'
                                    C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/PipeTool.rb:110:in `onLButtonDown'
                                    C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/Service_proc.rb:247
                                    you can fix it?
                                    I use:
                                    windows xp in Spanish
                                    sketchup 8 pro in Spanish

                                    hmm ...
                                    very strange ...
                                    I was not able to repeat that mistake, I can recommend:

                                    Line number 569 is:

                                    face = entities.add_face circle
                                    

                                    Try replacing the line number 557:

                                    circle = entities.add_circle pt1, vecbegin, radius, numsegs
                                    

                                    on the line

                                    circle = entities.add_circle pt1, vecbegin, radius, 24
                                    

                                    or if not, then the line

                                    circle = entities.add_circle pt1, vecbegin, radius
                                    

                                    language is not involved, but rather a problem of API in your version of SketchUP, although the design:

                                    circle = entities.add_circle
                                    

                                    works with the version of SketchUp 6.0+, can you have an earlier version, not 8.0 PRO? in a previous version of the plug CoolPipe 1.2.0 you have the same problem was, nobody else it is not repeated

                                    CoolPipe Plugin

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

                                      This solution does not work.

                                      Untitled.gif

                                      the list of error:

                                      Error: #<ArgumentError: Not enough edges - at least 3 required>
                                      C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/Service_proc.rb:570:in add_face' C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/Service_proc.rb:570:in cp_create_pipe_geometry'
                                      C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/PipeTool.rb:110:in onLButtonDown' Error: #<NoMethodError: undefined method bounds' for nil:NilClass>
                                      C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/ReducerTool.rb:90:in creategeometry' C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/ReducerTool.rb:67:in onLButtonDown'
                                      C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/Service_proc.rb:570
                                      Error: #<NoMethodError: undefined method bounds' for nil:NilClass> C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/TeeTool.rb:90:in creategeometry'
                                      C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/TeeTool.rb:68:in onLButtonDown' C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/ReducerTool.rb:90 Error: #<NoMethodError: undefined method bounds' for nil:NilClass>
                                      C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/FlangeTool.rb:90:in creategeometry' C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/FlangeTool.rb:67:in onLButtonDown'
                                      C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/TeeTool.rb:90
                                      Error: #<NoMethodError: undefined method bounds' for nil:NilClass> C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/FlangeTool.rb:90:in creategeometry'
                                      C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/FlangeTool.rb:67:in onLButtonDown' C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/FlangeTool.rb:90 Objeto elegido CoolPipe = Error: #<NoMethodError: undefined method []' for nil:NilClass>
                                      C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/PipeTool.rb:594:in getparams_frompipe' C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/PipeTool.rb:327:in reset'
                                      C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/PipeTool.rb:296:in initialize' C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/Service_proc.rb:3070:in new'
                                      C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/Service_proc.rb:3070:in cp_edit_coolpipe_elements' C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/Service_proc.rb:21:in cp_add_toolbar_button'
                                      C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/FlangeTool.rb:90:in call' C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/FlangeTool.rb:90 Error: #<NoMethodError: undefined method layer' for nil:NilClass>
                                      C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/CopyOptionsTool.rb:67:in onLButtonDown' C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/PipeTool.rb:594 Error: #<NoMethodError: undefined method layer' for nil:NilClass>
                                      C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/CopyOptionsTool.rb:67:in onLButtonDown' C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/CopyOptionsTool.rb:67 Error: #<NoMethodError: undefined method length' for nil:NilClass>
                                      C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/Service_proc.rb:2819:in cp_get_length_tube' C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/Service_proc.rb:2931:in generate_CoolPipe_specification'
                                      C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/Service_proc.rb:2925:in each' C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/Service_proc.rb:2925:in generate_CoolPipe_specification'
                                      C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/Service_proc.rb:25:in cp_add_toolbar_button' C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/CopyOptionsTool.rb:67:in call'
                                      C:/Archivos de programa/Google/Google SketchUp 8/Plugins/CoolPipe/CopyOptionsTool.rb:67

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

                                        @yad2000 said:

                                        Line number 569 is:

                                        face = entities.add_face circle
                                        

                                        try:
                                        face = entities.add_face( circle.edges )

                                        I'm not here much anymore.

                                        1 條回覆 最後回覆 回覆 引用 0
                                        • yad2000Y 離線
                                          yad2000
                                          最後由 編輯

                                          That's right, because you're not going to work. This plugin is targeted to the appropriate users. You have added a new document and a new tube without any parameters, of course anything you do will not work. The parameters necessary to specify everything: nominal diameter, outside diameter, wall thickness, the name of the pipeline, etc. All that is required.
                                          So that promote your cause, or assist in the development or discourage new users

                                          CoolPipe Plugin

                                          1 條回覆 最後回覆 回覆 引用 0
                                          • yad2000Y 離線
                                            yad2000
                                            最後由 編輯

                                            Please bring a list of documents for which you want to add elements. Now used only 2 Russian document on the piping. If you write a number of documents that you use and you can download them somewhere, I'll add them to the database to avoid similar mistakes.

                                            CoolPipe Plugin

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

                                            Advertisement