SketchUp / api-issue-tracker

Public issue tracker for the SketchUp and LayOut's APIs
https://developer.sketchup.com/
38 stars 10 forks source link

Force camera clipping plane #311

Open jiminy-billy-bob opened 5 years ago

jiminy-billy-bob commented 5 years ago

Since SketchUp 2017, we can force the camera's far and near clipping planes through the Camera dialog accessible via Sketchup.send_action 10624 on Windows. https://forums.sketchup.com/t/sketchup-send-action-10624-on-a-mac/36877/7

Please make this also accessible via ruby so we can create extensions that give users more control over the clipping planes. It would be especially useful regarding the near clipping plane, as many people complain when their model gets big and they want to edit small details.

kengey commented 4 years ago

Please also add c api label. Also, In c we have the ability to read those values: SUCameraGetClippingDistances but not in ruby. I would suggest having both a getter and a setter in Ruby and in C.