đź’ˇ LightUp 7.1 | SketchUp's only real-time renderer that uses object-based rendering
Download Trial
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...
Advertisement