Soften-Edges using by ruby
-
Assuming
ss=Sketchup.active_model.selection...defns=[] ss.grep(Sketchup;;ComponentInstance).each{|e|defns << e.definition} defns.uniq! defns.each{|defn| defn.entities.grep(Sketchup;;Edge).each{|e| if e.faces.length==2 e.soft=true e.smooth=true end } }or something similar...
-
@tig said:
Assuming
ss=Sketchup.active_model.selection...defns=[] > ss.grep(Sketchup;;ComponentInstance).each{|e|defns << e.definition} > defns.uniq! > defns.each{|defn| > defn.entities.grep(Sketchup;;Edge).each{|e| > if e.faces.length==2 > e.soft=true > e.smooth=true > end > } > }or something similar...
yes...it works
this will save me time, since i noticed that some components edges come back visible in my models, for unknown reason...
now with just one clic, the problem is solved
thank you
-
The unexpected reversion of smoothed edges to solid is a known bug.
Never save when in a edit session. Even an auto-save can trigger this, so never stay inside an edit session for longer than you need to...
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register LoginAdvertisement