[REQ] Selectect Flat faces from top view - Done!
-
If not yet existing
Select horizontal "Flat" faces from view top
Clic image for zoom

-
m=Sketchup.active_model;s=m.selection;s.clear;m.active_entities.each{|e|s.add(e)if e.is_a?(Sketchup;;Face) && e.normal==Z_AXIS} -
Bravo!

Works like a charm!
Does it possible to make the same for faces from top view not flat but only "inclined" ? (not vertical)
All that is for make some elements of roof

Thanks by advance for the efforts!

-
@unknownuser said:
Bravo!

Works like a charm!
Does it possible to make the same for faces from top view not flat but only "inclined" ? (not vertical)
All that is for make some elements of roof

Thanks by advance for the efforts!
[attachment=0:1bfv650d]<!-- ia0 -->faces.jpg<!-- ia0 -->[/attachment:1bfv650d]
m=Sketchup.active_model;s=m.selection;s.clear;m.active_entities.each{|e|s.add(e)if e.is_a?(Sketchup;;Face) && e.normal.z>0 && e.normal.z!=1} -
Perfect!

Always amazing that a such cryptic language can make in such few words!

Bravo again!

These 2 punchy program's line can answer at some questions of view from the sky!


Advertisement