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

    Automate Copy & Paste of face or material

    Scheduled Pinned Locked Moved Developers' Forum
    3 Posts 2 Posters 228 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.
    • J Offline
      jimahiggins
      last edited by

      I want to automate the ability to copy and paste faces and their associated material. Specifically I am trying to duplicate Google Earth Terrain on multiple layers with the terrain diced up into smaller faces. Additionally, I need to create individual materials with the ability to set their opacity.

      Thanks for any and all help,
      Jim

      1 Reply Last reply Reply Quote 0
      • Chris FullmerC Offline
        Chris Fullmer
        last edited by

        Is this like 5 copies of a terrain? Or like a Thousand? This can be done rather quickly by hand:

        • Create a bunch of target layers.
        • Import one terrain. Unlock it and delete the flat version if you want. Maybe move the terrain one onto layer 0.
        • Select it and hit ctrl-c for copy.
        • Now cahnge active layer to the next layer and do a paste in place.
        • Change layers and do paste in place
        • repeat as needed

        To speed things up, make a shortcut key for paste in place. And I like to have the layers toolbar open to switch the active layer quickly.

        That is a possible quick do it by hand method for the copying and pasting.

        And then for materials, you could remove all materials from the original terrain veofre copying and pasting. Then just create a new color for each copy and apply the color to that terrain group. That is relatively quick too.

        These are good options if you only have a fairly small amount of terrains, especiialy if it is a once only type project. But if you have 50 terrains to make, and you need to repeat this process on dozens of files in the future, you would probably want to get in and automate as much as possible in Ruby, which is mostly do-able.

        Lately you've been tan, suspicious for the winter.
        All my Plugins I've written

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

          Chris thanks for the feedback, and I have thought about doing the copy and duplication of the terrain manually. One more question, is there any way to perform the "Make Texture Unique" automatically. Once I get the duplicate terrain (on a seperatre layer), I want to dice up the terrain into smaller faces so I can add an opaque coloring to the individual faces. Basically, I need to make all faces in the terrain have their own materials/textures in order to paint or color them individually (while they still retain their own terrain image/graphic).

          Thanks a ton,
          Jim Higgins

          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