chilipeppr / widget-3dviewer

The amazing 3D viewer that is the centerpiece of ChiliPeppr. It knows how to parse Gcode to show it as a 3D representation. Has a simulator built in for the tool path. Also has numerous pubsub signals defined to enable 3rd party tools to inject 3D objects into the viewer.
16 stars 41 forks source link

Clear 3D viewer without changing view angle #8

Open ameennihad opened 7 years ago

ameennihad commented 7 years ago

Is it possible to ask 3D viewer to clear the scene without changing the view angle? I want send this command from Eagle BRD Widget to redraw the board but I want to keep the view angle intact.

chilipeppr commented 7 years ago

Hmm. I wrote that so long ago I don't remember. I do know viewing angles were tough but you could capture the camera angle position, then send, then reset camera.

On Jan 19, 2017 10:42 AM, "ameennihad" notifications@github.com wrote:

Is it possible to ask 3D viewer to clear the scene without changing the view angle? I want send this command from Eagle BRD Widget to redraw the board but I want to keep the view angle intact.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/chilipeppr/widget-3dviewer/issues/8, or mute the thread https://github.com/notifications/unsubscribe-auth/AHidbVcYyvZ1iNYAWfQXLk0XcGPqt_Kpks5rT66ggaJpZM4LodVw .