Updated the script template to be CQGI-compliant.

This commit is contained in:
Jeremy Mack Wright 2017-10-04 06:32:34 -04:00
parent 6bfe99eac7
commit 8c10491639

View File

@ -1,7 +1,11 @@
# This is a CadQuery script template
# Add your script code below
import cadquery as cq
from Helpers import show
# The show function will still work, but is outdated now
# Use the following to render your model with grey RGB and no transparency
# show(my_model, (204, 204, 204, 0.0))
# New method to render script results using the CadQuery Gateway Interface
# Use the following to render your model with grey RGB and no transparency
#show_object(result, options={"rgba":(204, 204, 204, 0.0)})