sketchucation logo sketchucation
    • Login
    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

    Shape bender problem

    Scheduled Pinned Locked Moved Newbie Forum
    sketchup
    14 Posts 5 Posters 562 Views 5 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.
    • mitcorbM Offline
      mitcorb
      last edited by

      Hi.
      You keep mentioning the uncertainty about the progressbar.rb Have you tried reinstalling it?

      I take the slow, deliberate approach in my aimless wandering.

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

        I have reinstalled "progress bar" shut down SU opened it and no change. I guess one question I am asking is: Should the "progress bar" appear in the SU plugins drop menu? at least if I know that I can start narrowing it down.

        Thanks

        "If I agreed with you on that, then we would both be wrong"

        1 Reply Last reply Reply Quote 0
        • GaieusG Offline
          Gaieus
          last edited by

          No, it should not. It just runs in the background. And the error message should give some clue if that were the issue.

          Gai...

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

            Thanks, I am not getting an error though it simply will not let me select the straight line and thats as far as it goes 😕

            Thanks

            "If I agreed with you on that, then we would both be wrong"

            1 Reply Last reply Reply Quote 0
            • GaieusG Offline
              Gaieus
              last edited by

              Well, there is an error message in the ruby console. I cannot interpret it however...

              Gai...

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

                The error is telling you that it can't find files needed to make cursors etc...
                Therefore it fails.
                As well as the separately got/installed progressbar.rb... your installation in the Plugins folder should look like this:CaptureLoader.PNGand the subfolder like thisCaptureSubfolder.PNG
                Are all of the required files in the subfolder ?
                If so then are you sure you have full-access permission to that folder and that you have installed the files/subfolder properly - e.g. is there a 'Compatibility Files' button on the top bar of the Plugins folder window ? If so Vista might have protected you from yourself and although it lets you think files were installed it's put them into a 'side-folder'... move them back and ensure you have full-rights to the Plugins/Components/Materials/Styles folders... [right-click each folder's icon > properties > security...]

                TIG

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

                  Incidentally if you have not installed files/subfolder in the standard Plugins folder, but have added another folder to the $LOAD_PATH then the main .rb will load from the subfolder because the 'loader' .rb looks directly at the subfolder from wherever it is based... but then you need to adjust the lines of code in the main .rb file thus:

                  def make_cursors
                  	line_cursor_path = Sketchup.find_support_file("line_pointer.png", "Plugins/clf_shape_bender")
                  	curve_cursor_path = Sketchup.find_support_file("curve_pointer.png", "Plugins/clf_shape_bender")
                  	default_cursor_path = Sketchup.find_support_file("default_pointer.png", "Plugins/clf_shape_bender")
                  
                  

                  which expect a standard Plugins folder location... becomes

                  def make_cursors
                  	line_cursor_path = File.join(File.dirname(__FILE__), "line_pointer.png")
                  	curve_cursor_path = File.join(File.dirname(__FILE__), "curve_pointer.png")
                  	default_cursor_path = File.join(File.dirname(__FILE__), "default_pointer.png")
                  
                  

                  which will work in any setup provided those png files are in the same folder as the main .rb file...

                  TIG

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

                    @tig said:

                    Incidentally if you have not installed files/subfolder in the standard Plugins folder, but have added another folder to the $LOAD_PATH then the main .rb will load from the subfolder because the 'loader' .rb looks directly at the subfolder from wherever it is based... but then you need to adjust the lines of code in the main .rb file thus:

                    def make_cursors
                    > 	line_cursor_path = Sketchup.find_support_file("line_pointer.png", "Plugins/clf_shape_bender")
                    > 	curve_cursor_path = Sketchup.find_support_file("curve_pointer.png", "Plugins/clf_shape_bender")
                    > 	default_cursor_path = Sketchup.find_support_file("default_pointer.png", "Plugins/clf_shape_bender")
                    > 
                    

                    which expect a standard Plugins folder location... becomes

                    def make_cursors
                    > 	line_cursor_path = File.join(File.dirname(__FILE__), "line_pointer.png")
                    > 	curve_cursor_path = File.join(File.dirname(__FILE__), "curve_pointer.png")
                    > 	default_cursor_path = File.join(File.dirname(__FILE__), "default_pointer.png")
                    > 
                    

                    which will work in any setup provided those png files are in the same folder as the main .rb file...

                    Thanks Tig, but I tried real hard to understand what you said but most of it went over my head.
                    Have attached an image of what the files look like. I have a few plugins, never had an issue before.

                    Thanks


                    RB 2.png

                    "If I agreed with you on that, then we would both be wrong"

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

                      OK - you have the dreaded "Compatibility Files" 'button' in the strap-line on top of the Window for the Plugins folder.
                      This suggests you have insufficient permissions to add files/subfolders into Plugins and Vista is protecting you from yourself.
                      Click on that 'button' and see what's NOT been installed...
                      It's an annoying Vista feature as it gives little indication that things didn't go as you hoped.

                      I suggest you select the Plugins folder icon, right-click > properties > security and give yourself full permissions to the folder [repeat for other folders you might want to work in like Components/Materials/Styles]...Capture.PNG

                      I assume that the 'clf_shape_bender' icon that I can see inside Plugins is the zip file and not the required folder ?
                      Why not adjust 'folder-options' to show all file-extensions - it makes life much easier if you don't use 'details' view for folders...Capture1.PNG

                      TIG

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

                        Thanks Tig, very much appreciated!

                        "If I agreed with you on that, then we would both be wrong"

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

                        Advertisement