sketchucation logo sketchucation
    • Login
    πŸ›£οΈ Road Profile Builder | Generate roads, curbs and pavements easily Download

    [Plugin] Convert DWG Layer Names to Materials

    Scheduled Pinned Locked Moved Plugins
    16 Posts 11 Posters 20.3k Views 11 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.
    • E Offline
      ek12
      last edited by

      @ek12 said:

      I use AutoCAD to generate most of my architectural model information, then do some tweaking, or design refinements in SketchUP, export images and do some post-production render in Photoshop. Since I have been doing this over 30 years (straight AutoCAD in early years) I have always controlled my model and materials by layer as that is how I work/think in ACAD.

      I have a lot of models with materials applied by layer and would like to simply convert the model to have the same materials applied/painted to the same surfaces to render with SU, or plug in rendering software. Anybody know of a quick solution? Thanks. EK

      Above is my original post in the materials section. I tried to use the 'convert_materials_to_layer_names.rb' and it simply made a lot of materials with the layer names, but the original materials/textures assigned to those layers were replaced by random colors without textures. Then I tried 'layers_materials.rbs' which has a lot more options, which looked like it should do the trick. But when I run the "paint faces from layers" option, it simply states: "parsed 8,109 faces, 0 changed, 8,109 inchanged" & I get the same result from all models I tried, it just reports different number of faces parsed. Using the "create materials from layers" option acts similar to the first plugin, and simply makes new materials, but doesn't assign the material properties from my layers in my 'color by layer' model to the faces. It looks like you guys are getting this to work. What am I doing wrong?

      1 Reply Last reply Reply Quote 0
      • G Offline
        Gabbiano
        last edited by

        A GREAT plugin! It saved me hours of work.
        Thanks a thousand times, Al!

        1 Reply Last reply Reply Quote 0
        • F Offline
          function
          last edited by

          Can someone post a mirror for dbur's script? This would be very handy right now!

          1 Reply Last reply Reply Quote 0
          • TIGT Offline
            TIG Moderator
            last edited by

            @function said:

            Can someone post a mirror for dbur's script? This would be very handy right now!
            What is wrong with the link which Didier gave a little earlier in this thread ? http://sketchucation.com/forums/viewtopic.php?p=323280#p323280

            TIG

            1 Reply Last reply Reply Quote 0
            • F Offline
              function
              last edited by

              are the download links working for you?
              http://rhin.crai.archi.fr/rld/download.php?file=Layers_materials.zip

              the ruby depot downloads haven't been working for me recently

              1 Reply Last reply Reply Quote 0
              • TIGT Offline
                TIG Moderator
                last edited by

                They must have a problem with their servers ?

                Does anyone have a copy they could send to 'function' by PM ?

                TIG

                1 Reply Last reply Reply Quote 0
                • F Offline
                  function
                  last edited by

                  πŸ‘ the depot is back online β˜€

                  1 Reply Last reply Reply Quote 0
                  • G Offline
                    gparadis
                    last edited by

                    Hey guys,
                    Quickly edited this plugin to also convert the layer colors, instead of assigning a random color per material.

                    Very useful ! Thanks


                    Update to also convert the layer color.

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

                      just wanted to thank Didier Bur for creating a great plugin, Al Hart for keeping it updated & gparadis for the finishing touch of recreating the layer colour on the material. πŸ‘
                      The only thing missing is that a texture assigned to a layer colour is not carried over, but that's a minor quibble.

                      Didier's site http://rhin.crai.archi.fr/rld seems to be down at the moment, by the way.

                      Regards,
                      JGA

                      1 Reply Last reply Reply Quote 0
                      • jujuJ Offline
                        juju
                        last edited by

                        @jga said:

                        Didier's site http://rhin.crai.archi.fr/rld seems to be down at the moment, by the way.

                        Didier announced that he will no longer teach SketchUp nor will he develop new extensions or maintain any of his existing extensions. That's probably why his site is down then.

                        Save the Earth, it's the only planet with chocolate.

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

                          @juju said:

                          Didier announced that he will no longer teach SketchUp nor will he develop new extensions or maintain any of his existing extensions. That's probably why his site is down then.

                          I'm not surprised, Trimble seem to be out of touch with SketchUP's core customers.
                          Didiers site & plugins were a revelation when I started out with SketchUP as a way to increase my productivity with the tool. It was a great service to the community.

                          Regards,
                          JGA

                          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