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

    Message for Fredo6

    Scheduled Pinned Locked Moved Developers' Forum
    12 Posts 6 Posters 5.2k Views 6 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.
    • JClementsJ Offline
      JClements
      last edited by

      Watkins:

      You can try Jim Foltz's Custom Toolbar:
      http://sketchuptips.blogspot.com/2008/05/custom-toolbars-beta-1.html?showComment=1214692860000

      After installing it you can copy the below txt file into the Plugins\Toolbars directory.
      It includes an Xray toggle:Color Display.txt

      You can edit the .txt file to delete out icons don't want to use (even rename it).

      John | Illustrator | Beaverton, Oregon

      1 Reply Last reply Reply Quote 0
      • W Offline
        watkins
        last edited by

        Dear Fredo,

        Would you please post your ugly icon as I have no idea how to make one. A possible icon might be a cube with the surfaces of the top half shown as one colour (say a light magenta) and the surfaces of the bottom half in plain texture, the colours being split about the mid horizontal plane. The edges of the upper half could also be a little heavier or shown through the surfaces (wireframe isometric). I will let you know how I get on with the script, but initial thoughts suggest a user selected transparency would be a nice extra feature (perhaps through a double click action on the icon).

        Dear John (?),

        I have been considering downloading Jim Foltz's Custom Toolbar, but have been concerned that I might make a mess of what is currently a stable and usable configuration. I will hold off on that one for a while, but thank you for your interest.

        Kind regards,
        Bob

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

          Here is one, very ugly.

          Just drop it in the Plugins folder and it should appear in the toolbar when you restart Sketchup.

          By the way, the script keeps memory of the selection, so that you can toggle between Xray and Plain as you wish after you made the initial selection.


          IconXraySelection.png

          1 Reply Last reply Reply Quote 0
          • W Offline
            watkins
            last edited by

            Dear Fredo,

            Thank you for the icon. I will try out the script with some construction work and see how I get on. Presumably, I can go into the script and change the transparent factor from 0.25 to some other factor. The colour of the ghost surfaces looks to be the default front colour. Can it be set to the default back colour, or some other colour?

            Thanks once again.

            Regards,
            Bob

            1 Reply Last reply Reply Quote 0
            • W Offline
              watkins
              last edited by

              Dear Fredo,

              A few observations:

              It is very useful for illustrations (see the attached), and for checking alignment.

              Unlike the X-Ray face setting style, one cannot work inside the component/group when using this script. For example, the line tool detects the outer surface of the component/group and won't allow the selection of internal points.

              If you select a second component/group while the first is still transparent then the script will make the second component/group transparent too, but you can only toggle the last selected group between the X-ray and plain view modes. It 'forgets' about the first group and one has to use undo to reset the first back to plain view.

              If the component/group is textured first (painted blue say) the x-ray view will be shown with tinted transparent surfaces (see the attached), but when the script is toggled to get back the plain view all the textures are replaced with the default front face material (white).

              Regards,
              Bob


              X-ray plain.jpg


              X-ray tinted.jpg

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

                Watkins,

                This script was written in one hour for someone who asked for this in the French section of the forum (the idea was just to Xray a selection). So, it is not polished and there is no documentation. True, the current version only handle one selection, as the objective was mainly to generate pictures from the model.

                However, if you think it is useful, I can pour more time into it and come up with something that would be more useful and handle many selections.

                In your case, I simply recommend you restore the model and then select your two components.

                Also, note that I found no way to Xray bitmap textures (as the Ruby API does not give the capability to duplicate textures!). The bitmap texture does not appear when Xrayed.

                Fredo

                1 Reply Last reply Reply Quote 0
                • W Offline
                  watkins
                  last edited by

                  Dear Fredo,

                  I like your script very much, and my observations were merely 'thinking aloud' and a way of passing on to others the functionality of your script. I'm not sure that you should spend more time on this script as its primarily an aid to visualisation. My wish would be to work inside the x-rayed component so that I could add alignment features etc, but I can do this using Sketchup's native x-ray face style, albeit having to x-ray the whole model.

                  Thank you for all your efforts.

                  Kind regards,
                  Bob

                  1 Reply Last reply Reply Quote 0
                  • atelierpaarA Offline
                    atelierpaar
                    last edited by

                    Hi Fredo6
                    xrayselection is a big help - it would be great to add your xrayselection-icon to my Toolbar - but how or where can it be downloaded ??
                    thanks again for xrayselection
                    Uli
                    πŸ˜„

                    1 Reply Last reply Reply Quote 0
                    • Rich O BrienR Offline
                      Rich O Brien Moderator
                      last edited by

                      It's a couple of posts up, Fredo attached it to a post.

                      Download the free D'oh Book for SketchUp πŸ“–

                      1 Reply Last reply Reply Quote 0
                      • E Offline
                        epeedelorage
                        last edited by

                        Hi fredo6, can u update XRaySelection ? ty !

                        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