hey i m walid s friend
wr r working together on this project
and here is the code we tried to enter yesterday
but unfortunately it didnt work
the basic of our work is to find out how to make a plugin that digs a cube randomly into different multi geometrial shapes with different sizes and so on...
thank uuuu
model = Sketchup.active_model
sel = model.selection
model.start_operation "mult. pushpull"
faces = []
sel.each do |e|
faces << e if e.is_a? sketchup;;face
end
faces.each do |face|
face.pushpull [ 100 ]
end
model.commit_operation