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

    Draw line by color

    Scheduled Pinned Locked Moved Plugins
    11 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.
    • boofredlayB Offline
      boofredlay
      last edited by

      Is there a plugin that allows you to draw a line "in color" rather than drawing it and painting it?

      I do quite a bit of stucco joint lines. I sometimes place them in a group and color the group but most of the time I will draw them directly on the surface then paint them individually. It all depends on the model makeup. For the second option it would be nice to be able to draw the line already painted.

      Thanks.

      http://www.coroflot.com/boofredlay

      1 Reply Last reply Reply Quote 0
      • boofredlayB Offline
        boofredlay
        last edited by

        Ooooo, found it!!!
        https://sketchucation.com/pluginstore?pln=ChrisP_ColorEdge_EN

        Hmmm, seems an old plugin with problems.

        http://www.coroflot.com/boofredlay

        1 Reply Last reply Reply Quote 0
        • pilouP Offline
          pilou
          last edited by

          Yes that is by a French guy! πŸ˜‰

          Frenchy Pilou
          Is beautiful that please without concept!
          My Little site :)

          1 Reply Last reply Reply Quote 0
          • boofredlayB Offline
            boofredlay
            last edited by

            OUI

            http://www.coroflot.com/boofredlay

            1 Reply Last reply Reply Quote 0
            • boofredlayB Offline
              boofredlay
              last edited by

              Well unfortunately it does not perform as well as expected.
              It won't draw lines inside a group or component. While in edit mode it will draw the line outside the group or component, then you have to copy paste it back in. Not too efficient.

              Maybe there is another that works as expected?

              http://www.coroflot.com/boofredlay

              1 Reply Last reply Reply Quote 0
              • pilouP Offline
                pilou
                last edited by

                Ask to Sdmitch or TIg for a more precise tricky plugin! πŸ˜‰

                Frenchy Pilou
                Is beautiful that please without concept!
                My Little site :)

                1 Reply Last reply Reply Quote 0
                • CadFatherC Offline
                  CadFather
                  last edited by

                  .

                  not sure if this can help.. the below routines will paint all selected edges with random colours
                  perhaps you can integrate it with a keyboard shortcut

                  this will paint each edge differently

                  @m = Sketchup.active_model; @s = @m.selection ; @mt = @m.materials ; @st = @m.styles
                  @m.rendering_options["EdgeColorMode"] = 0
                  @s.grep(Sketchup;;Edge).each{|m| 
                  mat = @mt.add("edge")
                  mat.color = rand(255),rand(255),rand(255)
                  m.material = mat }
                  @s.clear
                  

                  this will colour the surrent selection set with the same colour

                  @m = Sketchup.active_model; @s = @m.selection ; @mt = @m.materials
                  @m.rendering_options["EdgeColorMode"] = 0
                  mat = @mt.add("edge")
                  mat.color = rand(255),rand(255),rand(255)
                  @s.grep(Sketchup;;Edge).each{|m| m.material = mat }
                  @s.clear
                  
                  1 Reply Last reply Reply Quote 0
                  • boofredlayB Offline
                    boofredlay
                    last edited by

                    Thanks CadFather. I am looking to draw a line already in color but I will look at this.
                    I posted the issue in the plugin thread for ColorEdge.

                    http://www.coroflot.com/boofredlay

                    1 Reply Last reply Reply Quote 0
                    • CadFatherC Offline
                      CadFather
                      last edited by

                      ok, and that should be possible using observers, meantime if you were to use 'model._active_edges', instead of a selection - you could capture all edges in the current context - this can be quick.

                      below is a better example (will use existing material if already used) - right now colour set to orange

                      @m = Sketchup.active_model ; @ae = @m.active_entities ; @mt = @m.materials ; @mat = nil
                      @m.rendering_options["EdgeColorMode"] = 0
                      if @mt.to_a.include?(@mt['edge'])
                      @mat = @mt['edge']
                      else
                      @mat = @mt.add("edge")
                      @mat.color = 255,128,0
                      end
                      @ae.grep(Sketchup;;Edge).each{|m| m.material = @mat }
                      
                      
                      1 Reply Last reply Reply Quote 0
                      • FrederikF Offline
                        Frederik
                        last edited by

                        This could be very interesting...
                        Would colored lines remain colored in LayOut...?

                        Edit: Just to answer my own question, the answer is - YES... πŸ‘
                        Colors are remaining in LO even when converting to vector...! πŸ˜„

                        Cheers
                        Kim Frederik

                        1 Reply Last reply Reply Quote 0
                        • boofredlayB Offline
                          boofredlay
                          last edited by

                          Nice.

                          http://www.coroflot.com/boofredlay

                          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