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

    Crossing lines break automatically

    Scheduled Pinned Locked Moved Developers' Forum
    8 Posts 4 Posters 1.7k 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.
    • M Offline
      Matt666
      last edited by

      Hi all!

      @unknownuser said:

      When you draw a line that crosses another line on the same plane, both lines are split where they meet.

      Just one question: Is it possible to temporarly stop this method by ruby?
      This is one of new fonctionalities in SU 7.
      Thank you!

      Frenglish at its best !
      My scripts

      1 Reply Last reply Reply Quote 0
      • thomthomT Offline
        thomthom
        last edited by

        http://code.google.com/apis/sketchup/docs/ourdoc/sketchup.html#break_edges=

        Thomas Thomassen β€” SketchUp Monkey & Coding addict
        List of my plugins and link to the CookieWare fund

        1 Reply Last reply Reply Quote 0
        • M Offline
          Matt666
          last edited by

          Thank you thomthom!

          Frenglish at its best !
          My scripts

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

            And for the normal user like me, this plug yet exist somewhere?

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

            1 Reply Last reply Reply Quote 0
            • thomthomT Offline
              thomthom
              last edited by

              http://www.sketchucation.com/extensions-index/?row=601
              (Though I'm surprised that this cost $5...)

              Thomas Thomassen β€” SketchUp Monkey & Coding addict
              List of my plugins and link to the CookieWare fund

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

                @unknownuser said:

                And for the normal user like me, this plug yet exist somewhere?

                require 'sketchup.rb'
                def break_edges_toggle()
                  model=Sketchup.active_model
                 model.start_operation("Break Edges Toggle")
                  breaks_edges=Sketchup.break_edges?
                  if breaks_edges
                    Sketchup.break_edges=false
                  else
                    Sketchup.break_edges=true
                  end#if
                  puts "Sketchup.break_edges= "+Sketchup.break_edges?.to_s
                 model.commit_operation 
                end#def
                if not file_loaded?(File.basename(__FILE__))
                  UI.menu("Plugins").add_item("Break Edges Toggle"){break_edges_toggle}
                end#if
                file_loaded(File.basename(__FILE__))
                

                Copy/paste this into a new Ruby file in your Plugins folder called something like 'break_edges_toggle.rb'. You could shortcut the command that's in the Plugins menu to say 'B' to toggle the line breaking. The Ruby Console tells you the current status of the toggle.

                TIG

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

                  Thx TIG πŸ˜‰
                  and sorry Rick 😳

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

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

                    I didn't realise there was a $ script already ! Sorry RickW... but my version is out there now... $5 x X for a few seconds work ? 😳

                    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