Skip to content

Commit 8c10491

Browse files
committed
Updated the script template to be CQGI-compliant.
1 parent 6bfe99e commit 8c10491

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Templates/script_template.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
# This is a CadQuery script template
22
# Add your script code below
33
import cadquery as cq
4-
from Helpers import show
54

5+
# The show function will still work, but is outdated now
66
# Use the following to render your model with grey RGB and no transparency
77
# show(my_model, (204, 204, 204, 0.0))
8+
9+
# New method to render script results using the CadQuery Gateway Interface
10+
# Use the following to render your model with grey RGB and no transparency
11+
#show_object(result, options={"rgba":(204, 204, 204, 0.0)})

0 commit comments

Comments
 (0)