tomboul26
tomboul26
Exactly thomthom Sorry i report a similar subject here : https://github.com/SketchUp/api-issue-tracker/issues/995 I did some tests, and actually leaf always returns nil when the last item of a instancePath is a...
j'ai fini par trouver ici : https://github.com/olikraus/u8g2/files/3917804/ER-OLEDM0.42-1_Arduino_Tutorial.zip 
Thank you @olikraus Yes i find an exemple with primitiv command, and i get something much better on my screen here : https://github.com/projetsdiy/esp-01-WiFi-Scanner-ESP-01-OLED-I2C-Display about "Adafruit commands", you mean they are...
thank you @olikraus I really appreciate the chance to have your answers !! I tried your library because with adafruit command, I did not manage to make it work properly,...
oups sorry, his project is desactived : https://doi-janky.infosiftr.net/job/multiarch/job/arm32v6/job/node/
it will not also accept leaf of type ComponentInstance
also the documentation https://ruby.sketchup.com/Sketchup/Model.html#drawing_element_visible%3F-instance_method is wrong ``` module Example def self.instance?(entity) entity.is_a?([Sketchup](https://ruby.sketchup.com/Sketchup.html)::[ComponentInstance](https://ruby.sketchup.com/Sketchup/ComponentInstance.html)) || entity.is_a?([Sketchup](https://ruby.sketchup.com/Sketchup.html)::[Group](https://ruby.sketchup.com/Sketchup/Group.html)) end # Walk the visible entities in the model, taking into account # "DrawHiddenGeometry" and "DrawHiddenObjects"...
Thank you thomthom > A leaf is a drawing element that is not a containers (group / component). That's per design. Whether that was the best choice is a different...