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

    File saved, edges softened

    Scheduled Pinned Locked Moved SketchUp Bug Reporting
    sketchup
    27 Posts 8 Posters 1.8k Views 8 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.
    • mitcorbM Offline
      mitcorb
      last edited by

      Well I was thinking maybe one of those builders tools, with a suite of special tools in it. Say, like a roof tool or building component tool for beams and such.

      I take the slow, deliberate approach in my aimless wandering.

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

        It's a known, and very annoying, SketchUp bug. It even happens when you minimize SU and restore it.

        It only happen to selected geometry. And it happens when SU is busy and stops responding for a moment. When the window then refreshes the Soften Edges function is bizarrely activated.

        For this reason alone I constantly deselect in order to avoid inadvertently softening the model. If you see it happen you can undo the operation.

        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

          Also never leave the 'soften/smooth-edges' dialog open when you don't need it, if it becomes the foremost dialog [even when rolled-up?] then selected things can sometimes be unexpectedly softened by it inadvertently.
          I suspect it might also be graphics-card related: I get this issue rarely, if ever...

          TIG

          1 Reply Last reply Reply Quote 0
          • GaieusG Offline
            Gaieus
            last edited by

            @tig said:

            I suspect it might also be graphics-card related: I get this issue rarely, if ever...

            I do not get it either which makes it even more weird (why would a certain graphics card trigger a modelling step that can clearly be undone?). 😕

            I remember your issues however, TT.

            Gai...

            1 Reply Last reply Reply Quote 0
            • S Offline
              sonder
              last edited by

              I'm not sold it is GC related as it only recently started happening on three of my latest models. I was able to undo before closing. I don't have the soften dialogue box open either. I will verify the deselect before saving. I think that makes sense, because on one model yesterday, I tried saving three times in a row and each time it softened the edges. I then tried using another operation before saving, which resulted in deslecting. It then saved successfully. If this is a known bug, I would definitely place it fairly high on the list.

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

                @unknownuser said:

                It then saved successfully. If this is a known bug, I would definitely place it fairly high on the list.

                Yes, it is a known bug. But it was one that was risky to fix which is why it hasn't been done yet.

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

                1 Reply Last reply Reply Quote 0
                • S Offline
                  sonder
                  last edited by

                  @thomthom said:

                  @unknownuser said:

                  It then saved successfully. If this is a known bug, I would definitely place it fairly high on the list.

                  Yes, it is a known bug. But it was one that was risky to fix which is why it hasn't been done yet.

                  Hopefully a fix comes about. At any rate, your recommnedation of deselecting before saving appears to work every time. Thanks!

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

                    If it seems to be a glitch with having something selected when you save, then it's possible to have a ModelObserver for onPreSaveModel etc to make the selection into an array, ensure the selection is then empty before there is a save and then another one for onPostSaveModel to restore the selection as it was ? Also App observer to ensure 'new' SKPs have the observers...
                    Try putting this into the Plugins folder, and restart... and see it if helps [you'll need to deliberately save with a selection made...]TIG-SmoothingSelectionGlitchObservers.rb

                    TIG

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

                      @tig said:

                      If it seems to be a glitch with having something selected when you save

                      No, not save specifically. It's after the SketchUp UI has hung for a while - (such as during save, sandbox tools or other operations). When the UI becomes responsive again the SU window refreshes, you might see some flickers of the toolbars, windows etc. It is then the Soften Edges function is for some mysterious reason triggered. As a result, minimizing and then restoring also cause this issue. I first noticed this when my terrain meshes got all strange smoothing after I'd restored a minimized window.

                      So because of that I keep deselecting very often. (Ctrl+t)

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

                      1 Reply Last reply Reply Quote 0
                      • Dave RD Offline
                        Dave R
                        last edited by

                        Odd. I saw it for the first time today.

                        Etaoin Shrdlu

                        %

                        (THERE'S NO PLACE LIKE)

                        G28 X0.0 Y0.0 Z0.0

                        M30

                        %

                        1 Reply Last reply Reply Quote 0
                        • S Offline
                          sonder
                          last edited by

                          I'm curious if model size has an impact. On mine they are all around 30M in size where this occurs.

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

                            The longer it takes to save, the more likely it is that SU will freeze up for long enough to cause "white-out" and then trigger it.
                            I see it also when I use Sandbox Tools to Drape geometry. If it's on large geometry, which cause SU to "white-out" while it works, Soften Edges will also trigger then.

                            I think this happens only on Windows.

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

                            1 Reply Last reply Reply Quote 0
                            • Dave RD Offline
                              Dave R
                              last edited by

                              The file it happened on for me is 629 Kb.

                              Etaoin Shrdlu

                              %

                              (THERE'S NO PLACE LIKE)

                              G28 X0.0 Y0.0 Z0.0

                              M30

                              %

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

                                Does this occur irrespective of the Smooth/Soften dialog being open at the time ?

                                TIG

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

                                  @tig said:

                                  Does this occur irrespective of the Smooth/Soften dialog being open at the time ?

                                  Yes.

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

                                  1 Reply Last reply Reply Quote 0
                                  • Dave RD Offline
                                    Dave R
                                    last edited by

                                    I don't believe it was open in my case. I don't normally keep it open and I didn't have any reason to use it on that model.

                                    Etaoin Shrdlu

                                    %

                                    (THERE'S NO PLACE LIKE)

                                    G28 X0.0 Y0.0 Z0.0

                                    M30

                                    %

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

                                      As I mentioned, it happens whenever that SketchUp window need to refresh, either after "white-out" from processing, or after restoring a minimized window. There are no single triggering action and can happen on any kind of model.

                                      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

                                        I'm trying my best to force it to happen... 😕
                                        For example, forcing white-outs, minimizing/restoring etc... but at least on smaller meshes it seems stable...
                                        Dave's geometry sounds relatively small and gets it though ?
                                        The converse of any tips to avoid it, any tips to cause it ??
                                        Without getting the issue I can't even start to think how it might be side-stepped 😕

                                        TIG

                                        1 Reply Last reply Reply Quote 0
                                        • Dave RD Offline
                                          Dave R
                                          last edited by

                                          It only softened the edges shown selected in this model. Curiously, this is the first time I've ever seen it and I use SketchUp nearly every day for many hours at a time.


                                          Softened.png

                                          Etaoin Shrdlu

                                          %

                                          (THERE'S NO PLACE LIKE)

                                          G28 X0.0 Y0.0 Z0.0

                                          M30

                                          %

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

                                            Hooray! [or sob!]
                                            I have managed to force it to happen...

                                            After running a long iteration in the Ruby Console that caused a white-out, combined with minimizing/restoring I noticed that on completing the iterations an empty array [] was returned in the Console, although it was NOT part of the iteration at all - at this time it did NOT smooth anything unexpectedly.
                                            I increased the number of iterations and when it completed this time it ended with an [unexpected] array of what looked like all of the model's active edges/faces, AND it had smoothed some of those edges faces to match the dialog's settings [for 'angle' etc].
                                            Next I repeated this with the dialog's angle reset to 'zero', so no smoothing is normally done and after the protracted iteration/white-out/etc this time the array was empty again []. Haven't repeated it with smoothed edges to see if they 'unsmooth' !
                                            It seems very unpredictable !
                                            So in conclusion, the save/white-out/minimize/restore issue somehow interacts with the smooth/soften dialog, even when it's 'hidden', and if a certain threshold is reached an array of edges is prepared and processed, following the current settings in the dialog...
                                            So is it possible to access the settings and if so how do we 'zero' them when the dialog is either hidden or inactive ? I suspect it's not - and if we did it might have the reverse issue of un-smoothing edges that you want to keep smoothed !
                                            Looks like there's a twist in the main code that invokes the smooth/soften dialog settings when unconnected operations complete ???

                                            TIG

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement