mirror of
https://github.com/yeicor-3d/yet-another-cad-viewer.git
synced 2025-12-21 15:04:25 +01:00
add support for programmatically and efficiently removing objects, better API and more CI automation
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import os
|
||||
|
||||
from cad import image_to_gltf
|
||||
from yacv_server.yacv import YACV
|
||||
|
||||
yacv = YACV()
|
||||
@@ -13,9 +14,8 @@ if 'YACV_DISABLE_SERVER' not in os.environ:
|
||||
|
||||
# Expose some nice aliases using the default server instance
|
||||
show = yacv.show
|
||||
show_object = show
|
||||
show_image = yacv.show_image
|
||||
show_all = yacv.show_cad_all
|
||||
prepare_image = image_to_gltf
|
||||
export_all = yacv.export_all
|
||||
remove = yacv.remove
|
||||
clear = yacv.clear
|
||||
|
||||
Reference in New Issue
Block a user