sketchucation logo sketchucation
    • Login
    1. Home
    2. jmartlncln
    3. Posts
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    ⚠️ Important | Libfredo 15.6b introduces important bugfixes for Fredo's Extensions Update
    J
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 1
    • Groups 1

    Posts

    Recent Best Controversial
    • RE: Assign materials to both sides?

      @tig said:

      This "one-liner" copy/pasted into the Ruby Console makes all faces in the current selection have the same material front and back... BUT don't use it as an excuse for sloppy modeling

      Sketchup.active_model.selection.each{|e|next if e.class!=Sketchup;;Face;e.back_material=e.material if e.material;e.material=e.back_material if not e.material}
      

      If a face has a front-material then it's duplicated on its back, if it doesn't have a front-material the back-material [if any] is duplicated on its front.

      It doesn't work on 'nested faces' unless you edit the group/instance and then 'select all', and then run the snippet...

      This is very useful! Is there a way to make it run through nested groups and components too? Also I need to look up how to add this, but a single click undo?

      posted in Plugins
      J
      jmartlncln
    • 1 / 1