• Login
sketchucation logo sketchucation
  • Login
โ„น๏ธ GoFundMe | Our friend Gus Robatto needs some help in a challenging time Learn More

Xray ruby component?

Scheduled Pinned Locked Moved Developers' Forum
7 Posts 4 Posters 1.1k Views
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.
  • P Offline
    pilou
    last edited by 21 Feb 2008, 17:10

    Does exist a ruby for give to component or a selection the propriety "Xray"?
    Of course without change the normal aspect of the rest of the scene ๐Ÿ˜‰
    Thx by advance โ˜€

    Frenchy Pilou
    Is beautiful that please without concept!
    My Little site :)

    1 Reply Last reply Reply Quote 0
    • T Offline
      todd burch
      last edited by 21 Feb 2008, 17:24

      I'm not sure if a script is out there, but I've done it for myself. The net results is that it works from Ruby, but your Materials count will inflate, because now you have copies of materials that have an opacity to them.

      Which, may or may not be a problem for your model.

      Todd

      1 Reply Last reply Reply Quote 0
      • P Offline
        pilou
        last edited by 21 Feb 2008, 18:09

        Seems a normal result because you have 2 views possible of a same texture ๐Ÿ˜„

        Frenchy Pilou
        Is beautiful that please without concept!
        My Little site :)

        1 Reply Last reply Reply Quote 0
        • F Offline
          fredo6
          last edited by 21 Feb 2008, 21:17

          I quickly built a script to toggle Xray on a part of the model and posted it in the French section of the forum (at http://www.sketchucation.com/forums/scf/viewtopic.php?f=51&t=6589&st=0&sk=t&sd=a&start=30

          As Todd says, it will double the number of materials, as you have to duplicate materials present on original faces with an alpha transparency set to 0.25. So "purge unused" should be done at some point. It may also take some time on large models.

          The script works on a selection of groups, components or isolated faces, possibly nested.

          It will Xray the selection. Then, if you do not select anything, it will work in Toggle mode (Xray / Normal / Xray / Normal, ...)


          XraySelection.rb

          1 Reply Last reply Reply Quote 0
          • P Offline
            pilou
            last edited by 21 Feb 2008, 23:02

            Cool โ˜€
            See remarks on the french Forum part ๐Ÿ˜‰

            Frenchy Pilou
            Is beautiful that please without concept!
            My Little site :)

            1 Reply Last reply Reply Quote 0
            • A Offline
              agrazdi
              last edited by 22 Feb 2008, 14:12

              Trying this great ruby, i wonder if it possible to do the same thing with the other face styles, and the great one would be to select several items and apply them different styles within the model.

              1 Reply Last reply Reply Quote 0
              • F Offline
                fredo6
                last edited by 22 Feb 2008, 14:32

                Wireframe is even simpler, as you just hide / show the faces

                The big problem for Xray, is that I don't find any way to create a material from an existing one, or to assign the new one the same texture as the old one, especially with SU v6, as the JPG are now embedded in SKM files. So the macro works without texture at the moment.

                Does anyone see a solution?

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

                Advertisement