• Login
sketchucation logo sketchucation
  • Login
⚠️ Libfredo 15.4b | Minor release with bugfixes and improvements Update

Questrion for script developers on textures

Scheduled Pinned Locked Moved Developers' Forum
3 Posts 2 Posters 242 Views 2 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.
  • P Offline
    Patreze
    last edited by 24 Dec 2009, 10:41

    Hi.
    First let me sorry if my English is not very fluid one.
    Now here is my question:

    Let say i have in model material with tileable texture. Is it possible to make a script so I can select one of my in model materials, and get info how many times this texture is tilled in my model? Or even cooler, select a few materials and get a report for each one.
    This way I could get a material info for tiles in kitchen model and create material quantity/cost report for client.

    Thank You

    1 Reply Last reply Reply Quote 0
    • P Offline
      Patreze
      last edited by 24 Dec 2009, 12:03

      Thank You very much for quick answer.
      Acutaly I am from Poland 😄

      Thanks again, I will try your way.

      Oh and Mary Christmas 😄

      1 Reply Last reply Reply Quote 0
      • T Offline
        TIG Moderator
        last edited by 24 Dec 2009, 15:20

        I don't know of a script to do this, but if your tiles are faces or groups / component instances with an applied material, then there is a built-in way.
        Select one with that material.
        Right click and in the context-menu choose 'Select' and 'All with Same Material'.
        Right click again and in the context-menu choose 'Entity Info'.
        The dialog that opens will report the number of things now selected with that material.
        If the objects are faces it also reports their area in current units.
        If the things are 'instances' it will only report their number.
        If the tiles are instances of a component with the material applied 'internally', then you can count the number of them in the model this way...
        Open the Component Browser and click the Model-tab [small-house] and right-click over the tile component you want.
        In the context-menu choose 'Select Instances'.
        All instances of that component are now selected.
        'Entity Info' will again give the count of those tiles now selected.
        [Of course this might all be different wording in your 'locale' version]
        I'm guessing you are Spanish? Don't worry, your English is quite good...

        Merry Christmas

        TIG

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

        Advertisement