i am new with Sketchup in combination with Ruby.
i try to make an block with an square hole in it.
see script below.
the script is working, but i will all the entities together to an group.
how do you do that…
who can help me further with this…?
mod = Sketchup.active_model # Open model
ent = mod.entities # All entities in model
sel = mod.selection # Current selection
f1 = 
f1 = [0,0,0]
f1 = [50,0,0]
f1 = [50,50,0]
f1 = [0,50,0]
f2 = 
f2 = [10,10,0]
f2 = [40,10,0]
f2 = [40,40,0]
f2 = [10,40,0]
face_outer = ent.add_face f1
face_inner = ent.add_face f2