File saved, edges softened
-
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.
-
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.
-
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 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.
-
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.
-
@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.
-
@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!
-
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 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)
-
Odd. I saw it for the first time today.
-
I'm curious if model size has an impact. On mine they are all around 30M in size where this occurs.
-
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.
-
The file it happened on for me is 629 Kb.
-
Does this occur irrespective of the Smooth/Soften dialog being open at the time ?
-
-
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.
-
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.
-
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 -
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.
-
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 ???
Advertisement