I’m trying to apply textures (materials) to various faces of an LVL board.
I am trying to apply a specific material to the edge face of the board.
My initial code looks like this:
group1faces = entities1.grep(Sketchup::Face) group1faces.material = @Lvl_mat group1faces.material = @Lvl_mat
The problem is to determine which faces are the narrow face of the board. They are always less than 2" in width and they are always oriented on the X-Y plane.
I’m sure I’ve seen a similar algorithm or Grep expression that can do this sort of thing but again my search came up empty.