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

    Call to Mac users for script portability

    Scheduled Pinned Locked Moved Developers' Forum
    101 Posts 10 Posters 5.1k Views 10 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.
    • fredo6F Offline
      fredo6
      last edited by

      For the display of Web dialog boxes

      Sorry to bother again, I made a slight modif to shift the content down, because it seems that on Mac the top of the HTML content starts under the title bar.
      Maybe the attached file will correct this.

      Fredo


      to drop into LIBFREDO6_Dir_31 subfolder

      1 Reply Last reply Reply Quote 0
      • T Offline
        Tasman
        last edited by

        Fredo

        Thanks for all this work you are doing on the Mac versions.

        I have just tried your last update which should remember the last position of the toolbars on Quit. Tools on Surface and Free Scale work OK but BZ_Toolbar, Round Edge and Null Transform still have the problem of returning to there previously displayed position.

        Tasman

        1 Reply Last reply Reply Quote 0
        • jeff hammondJ Offline
          jeff hammond
          last edited by

          haha, nice

          one of the 3-4 toolbars i would like to keep open at all times now has the ability to stay closed.. πŸ˜„

          question: did you have to write something specifically related to this script or is there a generic piece of code i can add to (or request that the writers add) the other toolbar containing rubies.

          dotdotdot

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

            About Toolbar persistence across Sketchup sessions

            Jeff, do you confirm, as Tasman, that you get what you wish with the FreeScale toolbar.
            It works the same incidently with ToolsOnSurface because the script also uses LibFredo6 31 now.
            For JPP, BezierSpline and RoundEdge that's not the case however and this is why the change as no effect.

            @unknownuser said:

            haha, nice

            one of the 3-4 toolbars i would like to keep open at all times now has the ability to stay closed.. πŸ˜„

            question: did you have to write something specifically related to this script or is there a generic piece of code i can add to (or request that the writers add) the other toolbar containing rubies.

            I just used the method suggested by Santiago http://www.sketchucation.com/forums/scf/viewtopic.php?f=180&t=18152&start=15#p147126

            Fredo

            1 Reply Last reply Reply Quote 0
            • jeff hammondJ Offline
              jeff hammond
              last edited by

              @unknownuser said:

              About Toolbar persistence across Sketchup sessions

              Jeff, do you confirm, as Tasman, that you get what you wish with the FreeScale toolbar.
              It works the same incidently with ToolsOnSurface because the script also uses LibFredo6 31 now.
              For JPP, BezierSpline and RoundEdge that's not the case however and this is why the change as no effect.

              yes, everything is working fine.
              thank you

              i would like to keep most of your tools open at all times so it's not much of an issue but i am wondering what you added to the script.. i would like to get enough info about it so i can put in a request to the writer of 1001bit that he add the code.. (his scripts are encrypted so he would have to do it)... his toolbar looks like this:

              http://homepage.mac.com/jeffhammond/.Public/scf/long_ass_toolbar.jpg

              i use two of the tools and it's a slight annoyance to see that big toolbar everytime i open sketchup πŸ˜„

              i couldn't find where you added the things that santiago wrote a few posts back. what would be the easiest way for me to describe the problem/solution to GOHCH @ 1001bit?

              dotdotdot

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

                @unknownuser said:

                i couldn't find where you added the things that santiago wrote a few posts back. what would be the easiest way for me to describe the problem/solution to GOHCH @ 1001bit?

                Jeff,

                If you find a line where a toolbar tlbis shown, for instance tlb.show, then transform the code into:

                
                	case tlb.get_last_state
                	when 1
                	   tlb.restore
                	when -1	
                	   tlb.show
                	end	
                
                

                This is the modif I did in my script, based on Santiago's suggestion, and it seems to do the job on Mac.

                Fredo

                PS: What about my last change concerning the display of web dialog boxes? Did it change anything?

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

                  @unknownuser said:

                  I don't seem to get the expected result on my iMac when using the Radial Bending function: the object just "leans" instead of bending (see attached picture)

                  Bob,

                  You just need to activate the slicer (via the contextual menu, and key fn F4 when it works on Mac).

                  Fredo

                  1 Reply Last reply Reply Quote 0
                  • Bob JamesB Offline
                    Bob James
                    last edited by

                    I don't seem to get the expected result on my iMac when using the Radial Bending function: the object just "leans" instead of bending (see attached picture)

                    All other functions work great!


                    Picture 17.png

                    i7-4930K 3.4Ghz, 2x GTX780 6GB, 32GB DDR3-1600 ECC, OCZ Vertex 4 500GB, WD Black 3TB, 32TB NAS, 4x 27" Monitors, SpaceMouse Pro, X-keys XK-60

                    1 Reply Last reply Reply Quote 0
                    • Bob JamesB Offline
                      Bob James
                      last edited by

                      Great! Thanks for the quick answer.

                      In your U-Tube demo you stretch a sphere into a cylinder.
                      I clicked on the Stretching Tool, oriented the grid by clicking on a line in another part of the screen, but when I stretch it I don't get the cylinder.
                      Obviously, this is the first time I've tried this incredible tool.


                      Picture 20.png


                      Picture 18.png


                      Picture 19.png

                      i7-4930K 3.4Ghz, 2x GTX780 6GB, 32GB DDR3-1600 ECC, OCZ Vertex 4 500GB, WD Black 3TB, 32TB NAS, 4x 27" Monitors, SpaceMouse Pro, X-keys XK-60

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

                        @unknownuser said:

                        Great! Thanks for the quick answer.

                        In your U-Tube demo you stretch a sphere into a cylinder.
                        I clicked on the Stretching Tool, oriented the grid by clicking on a line in another part of the screen, but when I stretch it I don't get the cylinder.
                        Obviously, this is the first time I've tried this incredible tool.

                        It depends how you built the sphere. Yours seems to be made of 'Sketchup Curves', which as indicated in the video are never stretched in the current version (I have to work on a more flexible approach, because sometimes this is what the user wants, and sometimes it's not, as in your current case).

                        Fredo

                        1 Reply Last reply Reply Quote 0
                        • takesh hT Offline
                          takesh h
                          last edited by

                          @unknownuser said:

                          i use two of the tools and it's a slight annoyance to see that big toolbar everytime i open sketchup πŸ˜„

                          How about dragging two of icons from 1001bit toolbat to the top of the window? [menu]-[view]-[customize toolbar]
                          If you go to [menu]-[view]-[tool pallets], you should see other smller toolbars for 1001bit tools.
                          Yet another solution is assigning shortcuts to those two rubies you use and hide 1001bit toolbar altogether.


                          2009-04-09_1827.jpg


                          1001.jpg

                          1 Reply Last reply Reply Quote 0
                          • jeff hammondJ Offline
                            jeff hammond
                            last edited by

                            @unknownuser said:

                            @unknownuser said:

                            i couldn't find where you added the things that santiago wrote a few posts back. what would be the easiest way for me to describe the problem/solution to GOHCH @ 1001bit?

                            Jeff,

                            If you find a line where a toolbar tlbis shown, for instance tlb.show, then transform the code into:

                            
                            > 	case tlb.get_last_state
                            > 	when 1
                            > 	   tlb.restore
                            > 	when -1	
                            > 	   tlb.show
                            > 	end	
                            > 
                            

                            This is the modif I did in my script, based on Santiago's suggestion, and it seems to do the job on Mac.

                            oh, ok. thanks.. i did a system search for "tb.restore" and "toolbar.restore" and only the sandbox rubies showed up as containing those lines.. didn't realize 'tlb' would work..

                            @unknownuser said:

                            PS: What about my last change concerning the display of web dialog boxes? Did it change anything?

                            now it looks like this:

                            http://homepage.mac.com/jeffhammond/.Public/scf/latestlib.jpg

                            so now, the red outline isn't fully visible but the title is.. you can see that the window also shows the title so it's redundant in that regard.

                            dotdotdot

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

                              @unknownuser said:

                              oh, ok. thanks.. i did a system search for "tb.restore" and "toolbar.restore" and only the sandbox rubies showed up as containing those lines.. didn't realize 'tlb' would work..

                              Jeff,

                              tlb is a variable name. It can be anything, foo, bar and other. If you search in files, just search on " .show" and " .restore".

                              For the display of dialog box, I am aparently stuck with the problem that either SU or Safari does not want to show the whole page. Still need to think about it.

                              Thanks for your valuable support.

                              Fredo

                              1 Reply Last reply Reply Quote 0
                              • jeff hammondJ Offline
                                jeff hammond
                                last edited by

                                @takesh h said:

                                @unknownuser said:

                                i use two of the tools and it's a slight annoyance to see that big toolbar everytime i open sketchup πŸ˜„

                                How about dragging two of icons from 1001bit toolbat to the top of the window? [menu]-[view]-[customize toolbar]
                                If you go to [menu]-[view]-[tool pallets], you should see other smller toolbars for 1001bit tools.
                                Yet another solution is assigning shortcuts to those two rubies you use and hide 1001bit toolbar altogether.

                                thanks takesh,
                                what you are suggesting is exactly what i want to do. i want to put two of the icons in the top of the window and keep the rest of the tool bars hidden. i can do most of it except for the part of hiding the 1001bit toolbar.. i can close it upon launching sketchup but my whole thing here is that i'd like for it to stay closed.. if i do what you're suggesting, it's great as long as i don't quit sketchup because when i relaunch, it won't stay the same.
                                i've also tried unloading the toolbar: sketchup->preferences->extension but that turns off the tools all-together..

                                with my job, i use sketchup on up to four different computers.. i like to put my template, plugin folder, shortcuts, etc on a memory card prior to me leaving town and sync with the other computers i'll be using.. that way, everything is always the same regardless of the computer and i can concentrate on modeling instead of trying to get the workspace how i want it.. the only thing holding me back from a painless sync is the fact that some of the toolbars can't remember their status.

                                dotdotdot

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

                                  @unknownuser said:

                                  so now, the red outline isn't fully visible but the title is.. you can see that the window also shows the title so it's redundant in that regard.

                                  Jeff,

                                  Would you mind to try another one, when you have time.

                                  Fredo


                                  to drop in LIBFREDO6_Dir_31 subfolder

                                  1 Reply Last reply Reply Quote 0
                                  • jeff hammondJ Offline
                                    jeff hammond
                                    last edited by

                                    @unknownuser said:

                                    @unknownuser said:

                                    so now, the red outline isn't fully visible but the title is.. you can see that the window also shows the title so it's redundant in that regard.

                                    Jeff,

                                    Would you mind to try another one, when you have time.

                                    Fredo

                                    http://homepage.mac.com/jeffhammond/.Public/scf/sweetfredo.jpg

                                       :heart_eyes: 
                                    

                                    very nice Fredo, very nice!

                                    dotdotdot

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

                                      Jeff,

                                      Thanks. This is related to the registry keys in Web Dialog which creates a bad problem on Mac.

                                      One other problem I have is about the small button images not showing. Would you mind to display the source code (via right click), store it in a txt file and post it. It may be related to the file path.

                                      Again thanks very much for your invaluable contribution.

                                      Fredo.

                                      1 Reply Last reply Reply Quote 0
                                      • jeff hammondJ Offline
                                        jeff hammond
                                        last edited by

                                        @unknownuser said:

                                        Jeff,

                                        Thanks. This is related to the registry keys in Web Dialog which creates a bad problem on Mac.

                                        One other problem I have is about the small button images not showing. Would you mind to display the source code (via right click), store it in a txt file and post it. It may be related to the file path.

                                        i can't view the source code on a web dialog such as this.. only on internet web pages etc.. the only option a right click will give me on your dialog is 'reload'
                                        i did just notice if i right click on one of the little boxes, i have an option to 'open image in new window' and if i select that, the icon pops up in a new window.. (factory icon, green check, red X )

                                        i don't have any of the OS X developer tools installed on my computers and if i did, i might have more options available to help you in this dept.

                                        any other way i might be able to view the source code?

                                        @unknownuser said:

                                        Again thanks very much for your invaluable contribution.

                                        Fredo.

                                        oh man, it's nothing for me to help out.. i'm glad to do it and i'm glad you're getting things sorted for us mac users.

                                        dotdotdot

                                        1 Reply Last reply Reply Quote 0
                                        • takesh hT Offline
                                          takesh h
                                          last edited by

                                          @unknownuser said:

                                          @unknownuser said:

                                          Would you mind to try another one, when you have time.
                                          Fredo

                                          Fredo,
                                          Thanks for the new version, Default Setting Window seems to be working normally now.
                                          But you left out Translation window... please fix translation windows as well when you have time.

                                          Jeff,
                                          I see what you mean.
                                          I talk to Goh a lot by emails, so I'll point him to this thread.
                                          With the information provided in this thread, it should be a matter of minutes for him to fix the issue.

                                          1 Reply Last reply Reply Quote 0
                                          • jeff hammondJ Offline
                                            jeff hammond
                                            last edited by

                                            @takesh h said:

                                            Jeff,
                                            I see what you mean.
                                            I talk to Goh a lot by emails, so I'll point him to this thread.
                                            With the information provided in this thread, it should be a matter of minutes for him to fix the issue.

                                            thank you.
                                            much appreciated!

                                            dotdotdot

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

                                            Advertisement