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

    Not breaking faces & not making faces

    Scheduled Pinned Locked Moved SketchUp Discussions
    sketchup
    19 Posts 5 Posters 536 Views 5 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.
    • D Offline
      driven
      last edited by

      Hi just got back in and ran the suggestions,

      I'm on 10.5.8 and V8 Pro M2

      Sketchup.break_edges? with all plugins turned ON returned false

      Sketchup.break_edges? with all .rb plugins turned ON and all .rbs plugins OFF returned false

      Sketchup.break_edges? with ALL plugins turned OFF returned false

      ran Sketchup.break_edges=true in Ruby Console

      after restart...

      with ALL plugins turned OFF Sketchup.break_edges? returns true

      with ALL plugins turned ON Sketchup.break_edges? returns true

      ran a few plugins that break or restore edges SU still returns true.

      I greped my plugins folder and edges.rb [by TT] uses
      break_edge = Sketchup.break_edges? Sketchup.break_edges = false and then
      # Restore the break_edges setting Sketchup.break_edges = break_edge return temp_edges.size

      is that the same as saying
      Sketchup.break_edges = true???

      I was using EdgeTools recently, but didn't notice a change afterwards, it was the OP that made me think about a few oddities, very recently...

      Everything seems to be OK, I'll keep an eye out for it failing again.

      cheers TIG and Thomas.

      learn from the mistakes of others, you may not live long enough to make them all yourself...

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

        TT's tool does temporarily reset the edge-splitting to 'false'... BUT it is failsafe-trapped to 'ensure' it's set back as it was when the tool started off [even on a crash]... so it should never mess with your settings...
        This is weird ?

        TIG

        1 Reply Last reply Reply Quote 0
        • D Offline
          driven
          last edited by

          It is possible I had a hang , caused by another operation, the last time I used EdgeTools.

          Could that effect the reset?

          john

          learn from the mistakes of others, you may not live long enough to make them all yourself...

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

            It might do... πŸ˜•
            You [we] need to ask TT... as I can see no reason to reset it at all, because API-made-edges never break whatever the main Sketchup setting ? So changing it back and forth seems to do nothing anyway πŸ˜•

            TIG

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

              hmm... thought the fail catching should be safe. But I might have to look into this. If TIG is right and the setting only affect the native tools and not Ruby API made edges then is is redundant...

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

              1 Reply Last reply Reply Quote 0
              • D Offline
                driven
                last edited by

                cheer TT,

                since I did the reset I've had a couple of crashes and it's still returning 'true' at the moment.

                so it maybe something else...

                john

                learn from the mistakes of others, you may not live long enough to make them all yourself...

                1 Reply Last reply Reply Quote 0
                • wind-borneW Offline
                  wind-borne
                  last edited by

                  @driven said:

                  I was using EdgeTools recently, but didn't notice a change afterwards, it was the OP that made me think about a few oddities, very recently...

                  Close Gaps of Edge Tools breaks SU setting on my Mac if tolerance setting doesn't allow ends to meet.

                  Thanks for the help all, good learning experience now that I know the way out.


                  Ruby Console.png

                  "To read between the lines was easier than to follow the text."OSX 10.11.6

                  %(#BF80BF)[SU 8 pro

                  1 Reply Last reply Reply Quote 0
                  • D Offline
                    driven
                    last edited by

                    hi wind-borne,

                    I was doing something similar then running other scripts that caused hangs... I need try those scripts now... they might work after all

                    a question, does it stay false after a restart when induced?

                    john

                    learn from the mistakes of others, you may not live long enough to make them all yourself...

                    1 Reply Last reply Reply Quote 0
                    • wind-borneW Offline
                      wind-borne
                      last edited by

                      @driven said:

                      hi wind-borne,

                      a question, does it stay false after a restart when induced?

                      john

                      yes, restarting SU or computer has no effect but =true works like a charm πŸ’­

                      "To read between the lines was easier than to follow the text."OSX 10.11.6

                      %(#BF80BF)[SU 8 pro

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

                        hm... I cannot see why this should be happening at all. But I'm inclined to just remove the break_edges references all together.

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

                        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