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

    Draw softened lines?

    Scheduled Pinned Locked Moved SketchUp Discussions
    sketchup
    4 Posts 2 Posters 240 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.
    • Rich O BrienR Offline
      Rich O Brien Moderator
      last edited by

      Is there a plugin that draws softened lines? I'm testing a tool that requires some stitching and just want to speed up workflow. [sic : lazy bastard]

      Download the free D'oh Book for SketchUp πŸ“–

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

        Not that I know of... BUT you could easily recast the example linetool.rb, as slinetool.rb.
        Remembering to call the class 'SLineTool' instead of 'LineTool' wherever it occurs in the code, and redo the creation part thus...

        def create_geometry(p1, p2, view)
            line=view.model.entities.add_line(p1,p2)
            line.soft=true
            line.smooth=true
        end
        

        πŸ€“

        TIG

        1 Reply Last reply Reply Quote 0
        • Rich O BrienR Offline
          Rich O Brien Moderator
          last edited by

          I did that and placed slinetool.rb in the plugins folders. Typed load 'slinetool.rb' into ruby console once SU started. It worked but there was vanishing lines when picking points. I think the cursor was white?

          When I activated another tool I couldn't reactivate slinetool? Even ruby console said true after tying load command?

          It was nice while it lasted πŸ˜’

          Download the free D'oh Book for SketchUp πŸ“–

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

            PM me your ballsed up code and I try to fix it...

            TIG

            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