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

    Calling Whaat and Fredo!! new MAC issues (SOLVED)

    Scheduled Pinned Locked Moved Developers' Forum
    94 Posts 19 Posters 17.9k Views 19 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.
    • S Offline
      ScottPara
      last edited by

      Chuck,

      Sorry but I will not be able to test it until I get back to work on the 5th 😞 but will do so first thing.

      Scott

      Love the fact that some HATE my avatar.....

      1 Reply Last reply Reply Quote 0
      • O Offline
        otb designworks
        last edited by

        thanks Scott.

        This would only be a very minor inconvenience, except I use the whee out of the Uniform B-Spline, and I miss it very much.

        Cheers, Chuck

        OTB Designworks is on Youtube

        6 core nMP, 32 gig RAM, (2) D700 GPU's, dual monitors

        1 Reply Last reply Reply Quote 0
        • fredo6F Offline
          fredo6
          last edited by

          @unknownuser said:

          Hi Fredo, thanks for keeping up with this.

          I typed as you suggested in the Ruby Console.

          All I got was [].

          I tried three times and am attaching the resulting screenshot.

          Thanks again, and please, for sure there are no apologizes necessary.

          Merry Happy,

          Then, this is where the problem comes from. I don't now what has happened between the version of MacOS X however, which makes it not working any longer.

          By the way, I assume you do have a folder BZ_Dir_12 in your Sketchup Plugins directory, and in this directory, you also have some ruby files like BZ__BSplineU.rb, BZ__Catmull.rb, etc...

          Let's take things in order then. In the Ruby console, can you type the following commands (which are actually coded at lines 394-397 of bezierspline_main.rb):

          1. sudir = Sketchup.find_support_file "Plugins"
            This should give the Sketchup Plugins Directory

          2. bzfiles = File.join sudir, "BZ_Dir_12", "BZ__*.rb"
            This should give you the path to the ruby files, so, normally
            /Library/Application Support/Google SketchUp7/SketchUp/Plugins/BZ_Dir_12/BZ__*.rb

          3. lf = Dir[bzfiles]
            This should give a list of ruby files BZ__*.rb containing the additional curves.

          Something goes wrong between step 1 and step 3.

          Thanks

          Fred

          1 Reply Last reply Reply Quote 0
          • O Offline
            otb designworks
            last edited by

            Hi Fredo, good morning.

            I am enclosing 4 screen shots.

            The first is my plugins folder, with all the Bezier Spline plugins and folder structure visible.

            The next three are the results of the three commands you wanted me to type into the Console.

            Obviously, something isn't working with number three, as all I get is: []

            Thanks!


            Picture 1.png


            Picture 2.png


            Picture 3.png


            Picture 4.png

            Cheers, Chuck

            OTB Designworks is on Youtube

            6 core nMP, 32 gig RAM, (2) D700 GPU's, dual monitors

            1 Reply Last reply Reply Quote 0
            • fredo6F Offline
              fredo6
              last edited by

              Chuck,

              Thanks.
              This seems to be a problem with Ruby itself, and it may well affect other scripts.

              I still need you (and other Mac users with the same system) to do a few tests in the Ruby console:

              1. retype first
              sudir = Sketchup.find_support_file "Plugins"
              

              and then, line, by line,

              2a)

              bzfiles = File.join sudir, "BZ_Dir_12", "*"
              Dir[bzfiles]
              

              2b)

              bzfiles = File.join sudir, "BZ_Dir_12", "*.rb"
              Dir[bzfiles]
              

              2c)

              bzfiles = File.join sudir, "BZ_Dir_12", "BZ*.rb"
              Dir[bzfiles]
              

              2d)

              bzdir = File.join sudir, "BZ_Dir_12"
              dbz = Dir.new(bzdir)
              dbz.each { |f| puts "file #{f}" }
              

              2e)

              Dir["*"]
              

              I hope we can sort it out, but it is definitely a bug in the Ruby runtime on this new version of MacOS X.

              Fredo

              1 Reply Last reply Reply Quote 0
              • O Offline
                otb designworks
                last edited by

                Hi Fredo, good morning.

                I am attaching a screenshot of the results of the new Console inputs.

                Starting to sound like Apple messed something up, huh?

                At least me get an error code this time, instead of [].

                Thanks Fredo!

                I wonder if the button graphics not showing up has something to do with this, too, though it is weird that Scott is not having the same issues.


                Picture 1.png

                Cheers, Chuck

                OTB Designworks is on Youtube

                6 core nMP, 32 gig RAM, (2) D700 GPU's, dual monitors

                1 Reply Last reply Reply Quote 0
                • fredo6F Offline
                  fredo6
                  last edited by

                  Chuck,

                  This seems to be a problem with Sketchup on this new version of Mac OS, when returning the path to the Plugins folder.

                  Just to be sure, can you open again the Ruby console, and then copy / paste the following command

                  
                  bzdir = Sketchup.find_support_file "Plugins" ;
                  dbz = Dir.new(bzdir) ;
                  dbz.each { |f| puts "file #{f}" }
                  
                  

                  If you get an error message, this means that the problem should be escalated to the SU Team as a bug on Mac.

                  By the way, if you still have SU6 on this version of Mac OS, could you do the same test and advise on the result.

                  Thanks

                  Fredo

                  1 Reply Last reply Reply Quote 0
                  • O Offline
                    otb designworks
                    last edited by

                    Hi fredo, good morning.

                    I am attaching two screenshots, the first was the result from SU7, the second is SU6.

                    The additional Bezier tools are no longer available in SU6, either.

                    I will point the support team towards this thread, too.

                    I will let you, and everyone else, know what results I hear from them.

                    Thanks!


                    Picture 1.png


                    Picture 2.png

                    Cheers, Chuck

                    OTB Designworks is on Youtube

                    6 core nMP, 32 gig RAM, (2) D700 GPU's, dual monitors

                    1 Reply Last reply Reply Quote 0
                    • fredo6F Offline
                      fredo6
                      last edited by

                      Chuck,

                      Now I am lost.
                      It seems that the Sketchup plugins folder is replaced by a Podium folder!
                      I don't know if this comes from Podium, from SU or from the Mac OS version.

                      So, could you do the following:

                      1. Check (manually, via the file explorer on Mac) the complete path to the folder BZ_Dir_12. From your previous tests, it should be in
                        /Users/chuckgayley/Library/Application Support/Google Sketchup 7/Sketchup/Plugins.

                      This is what is returned by the Ruby command: Sketchup.find_support_file "Plugins"

                      1. In the Ruby console, could you execute and report on the following commands
                      
                      sudir = Sketchup.find_support_file "Plugins"
                      
                      
                      
                      bzdir = Sketchup.find_support_file "BZ_Dir_12", "Plugins"
                      
                      
                      
                      suall = $;
                      
                      
                      1. Just in case, I have modified the main script in the way it looks for the BZ_DIr folders. The attached file bezierspline_main.rb should go into the BZ_Dir_12 folder (and then restart Sketchup).

                      At this stage, I don't understand more, except that this could have a link with the installation of Podium.

                      Thanks

                      Fredo


                      to drop into the BZ_Dir_12 folder

                      1 Reply Last reply Reply Quote 0
                      • O Offline
                        otb designworks
                        last edited by

                        Well, I trashed the podium stuff.

                        I then installed your new script that you just posted.

                        Things have changed!

                        I now have all of the the tools available under the /DRAW/Bezier Curves dropdown.

                        However, all the icons which have been visible are now gone. When choosing to view the BZ toolbar, all I now get is one blank button.

                        I will run those commands as soon as I get a chance.

                        Weird, huh?

                        I really appreciate the time and effort!

                        Cheers, Chuck

                        OTB Designworks is on Youtube

                        6 core nMP, 32 gig RAM, (2) D700 GPU's, dual monitors

                        1 Reply Last reply Reply Quote 0
                        • fredo6F Offline
                          fredo6
                          last edited by

                          Chuck,

                          Thanks again for clarification.

                          To know whether this was related to Podium or not, the best would be to reinstall my original bezierspline script.

                          In the modified version I posted today, I was too quick and made an error for the icons. Attached is a corrected version, which I hope will allow you to work with all functionality.

                          Fredo


                          bezierspline_main.rb

                          1 Reply Last reply Reply Quote 0
                          • O Offline
                            otb designworks
                            last edited by

                            Fredo, you are the man!!

                            I now have full functionality!

                            thank you thank you thank you.

                            Now, if Whaat can figure out why I can't see any of his icons, then everything would be back to normal.

                            Thanks again, Fredo, much appreciated.

                            Cheers, Chuck

                            OTB Designworks is on Youtube

                            6 core nMP, 32 gig RAM, (2) D700 GPU's, dual monitors

                            1 Reply Last reply Reply Quote 0
                            • fredo6F Offline
                              fredo6
                              last edited by

                              Glad to see it now works.

                              Did you solve it by re-installaing the original Bezierspline 1.2 or using my updated script?

                              By the way, if the issue was related to Podium, then icons for Whaat's script should show again. Is it the case?

                              Fredo

                              1 Reply Last reply Reply Quote 0
                              • O Offline
                                otb designworks
                                last edited by

                                That was with your updated script; I actually just replaced the old with the new, so I didn't have the opportunity to check the old one.

                                I still have no icons showing for Booltools or Subdivide/Smooth.

                                I guess it is hard to say what role Podium played in all of this, but my suspicion is that my issues are (were) independent of it.

                                I have not heard from Whaat at all, so I may send him another PM about this.

                                Thanks again.

                                Cheers, Chuck

                                OTB Designworks is on Youtube

                                6 core nMP, 32 gig RAM, (2) D700 GPU's, dual monitors

                                1 Reply Last reply Reply Quote 0
                                • S Offline
                                  ScottPara
                                  last edited by

                                  All was well and good until I updated from Podium 1.5 to podium 1.6 and then this. Not sure how to proceed.

                                  Lost Booltools, profile maker, etc.

                                  Scott


                                  after podium install.jpg

                                  Love the fact that some HATE my avatar.....

                                  1 Reply Last reply Reply Quote 0
                                  • tbdT Offline
                                    tbd
                                    last edited by

                                    I think there are some path problems - from your screenshot it looks like pb_load.rb tries to load timetrack.rb (one of my scripts) which it shouldn't be happening as this should be loaded by Sketchup.

                                    if you uninstall Podium it gets back to normal ?

                                    SketchUp Ruby Consultant | Podium 1.x developer
                                    http://plugins.ro

                                    1 Reply Last reply Reply Quote 0
                                    • O Offline
                                      otb designworks
                                      last edited by

                                      I have removed the Podium rubies and I still have no images on my buttons.

                                      Cheers, Chuck

                                      OTB Designworks is on Youtube

                                      6 core nMP, 32 gig RAM, (2) D700 GPU's, dual monitors

                                      1 Reply Last reply Reply Quote 0
                                      • S Offline
                                        ScottPara
                                        last edited by

                                        Same for me. I completely removed Podium and still have issues. Not that I waned to remove Podium πŸ˜„

                                        Scott

                                        Love the fact that some HATE my avatar.....

                                        1 Reply Last reply Reply Quote 0
                                        • S Offline
                                          ScottPara
                                          last edited by

                                          and now the even weirder thing is that I ONLY now have podium in my plugins folder....nothing else!

                                          Scott

                                          Love the fact that some HATE my avatar.....

                                          1 Reply Last reply Reply Quote 0
                                          • tbdT Offline
                                            tbd
                                            last edited by

                                            scott: you said that you removed Podium πŸ˜‰

                                            SketchUp Ruby Consultant | Podium 1.x developer
                                            http://plugins.ro

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

                                            Advertisement