sketchucation logo sketchucation
    • Login
    šŸ¤‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    <>in material names

    Scheduled Pinned Locked Moved SketchUp Discussions
    sketchup
    5 Posts 4 Posters 1.1k Views 4 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.
    • Al HartA Offline
      Al Hart
      last edited by

      Does anyone remember why some material names contain <> around them?

      I have an older model with the material: <Wood-floor-light> and a newer model with the material: Wood_Floor_Light. Both came from SketchUp material libraries.

      Al Hart

      http:wiki.renderplus.comimageseefRender_plus_colored30x30%29.PNG
      IRender nXt from Render Plus

      1 Reply Last reply Reply Quote 0
      • AnssiA Offline
        Anssi
        last edited by

        I think that the carets happen when you import something that has a material with a name already in use in the model. As to the hyphens, I guess that they were replaced with the underscores in some release, possibly v.4 when Ruby scripting was introduced. Perhaps they thought that anything a program can interpret as a mathematical symbol is to be avoided in naming conventions.

        Anssi

        securi adversus homines, securi adversus deos rem difficillimam adsecuti sunt, ut illis ne voto quidem opus esset

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

          I didn't use v.4 yet still I also have the same with some material names.
          I would believe now that models I started in v.5 and went on modelling in v.6 has this and I suspect that this is because of the different texture library handling of SU6 now (it does not recognise the old textures no matter they are the same images).

          Certainly I'm not sure about this - it's just my suspicion. Try to open a model wich you created in v.5 to see maybe.

          Gai...

          1 Reply Last reply Reply Quote 0
          • J Offline
            jhauswirth
            last edited by

            Just a guess, but I have seen <> wrapping words that need localized. SU looks for <> to tell it if it needs localized. If you go from SU 6 that has <> in its names and then go to SU 5, SU 5 may not know how to localize it.

            1 Reply Last reply Reply Quote 0
            • Al HartA Offline
              Al Hart
              last edited by

              Thanks for the ideas.

              1. Pasting components with mateirals

              I just tested pasting a component which had materials with the same name as materials already in my model. It renamed the old materials using square braces.

              0001_PaleVioletRed - was in my model already
              [0001_PaleVioletRed]1 - was the renamed, pasted material

              • So it looks like were going to have to modify the code which checks for carets to check for square braces as well.

              2. SU 5 models

              I downloaded the original model from the 3D Warehouse.

              • When I load it in SU 5 - it has no carets on material names
              • When I load it into SU 6 - all material names have carets.

              I tried a new SU 5 model, and the same thing happens when you load it into SU 6.

              Again, thanks for your ideas on this - it put me on the right track.

              Al Hart

              http:wiki.renderplus.comimageseefRender_plus_colored30x30%29.PNG
              IRender nXt from Render Plus

              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