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

    Import .eps File for Use with Push-Pull Tool?

    Scheduled Pinned Locked Moved Newbie Forum
    sketchup
    40 Posts 3 Posters 2.9k Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • V Offline
      VikR
      last edited by

      I did the following:

      • Set permissions for Plugins and all included files and folders to read/write/execute for everyone (had been read/write/execute for my account only)
      • Checked for images made about the start of the process - found one - "Article_I.png" - opened it in PhotoShop - it seemed to be identical to the png we are working on.
      • Moved all TrimmedImages folders to the trash
      • Copied the latest Article I.skip file to its own folder on the desktop and opened it in SU
      • Opened Ruby Console
      • Clicked the imported .png image in SU
      • Started ImageTrimmer
      • Waited a bit
      • Status bar message: "ImageTrimmer: Making 'Edges' files - please wait..."
      • Ruby console messages: aha! There's an error message:
      Error; #<Errno;;ENOENT; No such file or directory - /Users/myUserName/Desktop/imagesToProcess/TrimmedImages/C__Users_TIG_Desktop_Article_I[Edges].dat>
      /Users/myUserName/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SKMtools/ImageTrimmer.rb;233;in `readlines'
      /Users/myUserName/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SKMtools/ImageTrimmer.rb;233;in `make_edges'
      /Users/myUserName/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SKMtools/ImageTrimmer.rb;186;in `process_image'
      /Users/myUserName/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SKMtools/ImageTrimmer.rb;163;in `initialize'
      /Users/myUserName/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SKMtools/ImageTrimmer.rb;760;in `new'
      /Users/myUserName/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SKMtools/ImageTrimmer.rb;760
      

      No file named "C__Users_TIG_Desktop_Article_I[Edges].dat" is found in the TrimmedImages folder. There is one file in there at this time, called "C__Users_TIG_Desktop_Article_I.png".

      from.ini contains:

      /Users/myUserName/Desktop/imagesToProcess/TrimmedImages/C__Users_TIG_Desktop_Article_I.png
      

      to.ini contains:

      /Users/myUserName/Desktop/imagesToProcess/TrimmedImages/C__Users_TIG_Desktop_Article_I
      
      • Ran EdgeDetector.jar - it worked! It added to files to the TrimmedImages folder:
        C__Users_TIG_Desktop_Article_I[Edges].dat
        C__Users_TIG_Desktop_Article_I[Edges].png

      I'm a coder myself (although not yet a Ruby coder) - I'm used to working with error messages. What does this tell us? Can I change something?

      1 Reply Last reply Reply Quote 0
      • V Offline
        VikR
        last edited by

        I wanted to see if I could rule out Mac vs. PC issues, so I launched Windows in Parallels, a Windows emulator for Mac. I installed Sketchup on Windows and the SKMTools plugin. I moved the Article_1.skp file to My Documents, and ran ImageTrimmer. Here is the output from the Ruby Console:

        Error; #<Errno;;ENOENT; No such file or directory - C;\Users\Administrator\Documents\TrimmedImages\Article_I[Edges].dat>
        C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/SKMtools/ImageTrimmer.rb;233;in `readlines'
        C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/SKMtools/ImageTrimmer.rb;233;in `make_edges'
        C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/SKMtools/ImageTrimmer.rb;186;in `process_image'
        
        1 Reply Last reply Reply Quote 0
        • TIGT Offline
          TIG Moderator
          last edited by

          @vikr said:

          I wanted to see if I could rule out Mac vs. PC issues, so I launched Windows in Parallels, a Windows emulator for Mac. I installed Sketchup on Windows and the SKMTools plugin. I moved the Article_1.skp file to My Documents, and ran ImageTrimmer. Here is the output from the Ruby Console:

          Error; #<Errno;;ENOENT; No such file or directory - C;\Users\Administrator\Documents\TrimmedImages\Article_I[Edges].dat>
          > C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/SKMtools/ImageTrimmer.rb;233;in `readlines'
          > C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/SKMtools/ImageTrimmer.rb;233;in `make_edges'
          > C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/SKMtools/ImageTrimmer.rb;186;in `process_image'
          

          So for some reason you aren't getting the jar file to fire and make the Article_I[Edges].dat file ??? Is there a Article_I[Edges].dpng file getting made ????
          Did you check access rights to the ../Plugins/SKMtools folder and its contents were set as I explained ? πŸ˜•

          TIG

          1 Reply Last reply Reply Quote 0
          • V Offline
            VikR
            last edited by

            @unknownuser said:

            So for some reason you aren't getting the jar file to fire and make the Article_I[Edges].dat file ??? Is there a Article_I[Edges].dpng file getting made ????
            Did you check access rights to the ../Plugins/SKMtools folder and its contents were set as I explained ?

            Yes - when I run ImageTrimmer from inside SU, it appears the jar file doesn't fire. As I noted in the post before last, there is no [Edges] file in the TrimmedImages folder after running ImageTrimmer. However, if I double-click the EdgeDetector.jar file, it works correctly, and the following two files are created:

            C__Users_TIG_Desktop_Article_I[Edges].dat
            C__Users_TIG_Desktop_Article_I[Edges].png

            I have checked the access rights per your post.

            1 Reply Last reply Reply Quote 0
            • TIGT Offline
              TIG Moderator
              last edited by

              @vikr said:

              @unknownuser said:

              So for some reason you aren't getting the jar file to fire and make the Article_I[Edges].dat file ??? Is there a Article_I[Edges].dpng file getting made ????
              Did you check access rights to the ../Plugins/SKMtools folder and its contents were set as I explained ?

              Yes - when I run ImageTrimmer from inside SU, it appears the jar file doesn't fire. As I noted in the post before last, there is no [Edges] file in the TrimmedImages folder after running ImageTrimmer. However, if I double-click the EdgeDetector.jar file, it works correctly, and the following two files are created:

              C__Users_TIG_Desktop_Article_I[Edges].dat
              C__Users_TIG_Desktop_Article_I[Edges].png

              I have checked the access rights per your post.

              This a MAC OS issue... can you check your Java settings [Control Panel] so they allow 'jar' files to be executed as well as double-clicked... Sorry I can't be too helpful as I don't have access to a MAC...

              TIG

              1 Reply Last reply Reply Quote 0
              • V Offline
                VikR
                last edited by

                Okay. I will run it on my wife's Windows computer.

                1 Reply Last reply Reply Quote 0
                • V Offline
                  VikR
                  last edited by

                  I installed SU and SKMTools on my wife's Toshiba laptop running Windows 7. Running ImageTrimmer, I get the same error message in the Ruby Console:

                  Error; #<Errno;;ENOENT; No such file or directory - I;\imagesToProcess\TrimmedImages\Article_I[Edges].dat>
                  C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/SKMtools/ImageTrimmer.rb;233;in `readlines'
                  C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/SKMtools/ImageTrimmer.rb;233;in `make_edges'
                  C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/SKMtools/ImageTrimmer.rb;186;in `process_image'
                  C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/SKMtools/ImageTrimmer.rb;163;in `initialize'
                  C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/SKMtools/ImageTrimmer.rb;760;in `new'
                  C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/SKMtools/ImageTrimmer.rb;760
                  C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/SKMtools/ImageTrimmer.rb;233;in `call'
                  C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/SKMtools/ImageTrimmer.rb;233
                  

                  As I mentioned, I'm a programmer too (although not in Ruby) and I'm used to working with error messages. Is there anything I can change here?

                  1 Reply Last reply Reply Quote 0
                  • TIGT Offline
                    TIG Moderator
                    last edited by

                    The computer's Java settings must allow jar files to run when called from a cmd/command terminal...
                    Most do... I'm no sure why both your PC and MAC don't πŸ˜• πŸ˜• πŸ˜•

                    TIG

                    1 Reply Last reply Reply Quote 0
                    • V Offline
                      VikR
                      last edited by

                      Is there a setting on my wife's Windows machine I can change to allow it to execute .jar files?

                      1 Reply Last reply Reply Quote 0
                      • TIGT Offline
                        TIG Moderator
                        last edited by

                        Is there a Java Control Panel ?
                        If not try installing Sun Java ?

                        TIG

                        1 Reply Last reply Reply Quote 0
                        • TIGT Offline
                          TIG Moderator
                          last edited by

                          Here are my own Java CP settings that work [I haven't changed them πŸ˜• ]...javaCP1.pngjavaCP2.pngjavaCP3.png

                          TIG

                          1 Reply Last reply Reply Quote 0
                          • V Offline
                            VikR
                            last edited by

                            I looked for the Java CP, didn't find it, and realized Java wasn't installed on the Windows machine! I installed Java, and ImageTrimmer worked perfectly.

                            1 Reply Last reply Reply Quote 0
                            • TIGT Offline
                              TIG Moderator
                              last edited by

                              @vikr said:

                              I looked for the Java CP, didn't find it, and realized Java wasn't installed on the Windows machine! I installed Java, and ImageTrimmer worked perfectly.

                              Doh! πŸ˜‰

                              TIG

                              1 Reply Last reply Reply Quote 0
                              • V Offline
                                VikR
                                last edited by

                                I really appreciate all your help.

                                1 Reply Last reply Reply Quote 0
                                • 1
                                • 2
                                • 2 / 2
                                • First post
                                  Last post
                                Buy SketchPlus
                                Buy SUbD
                                Buy WrapR
                                Buy eBook
                                Buy Modelur
                                Buy Vertex Tools
                                Buy SketchCuisine
                                Buy FormFonts

                                Advertisement