cadquery-freecad-module/Templates/script_template.py
2017-10-04 06:33:51 -04:00

12 lines
472 B
Python

# This is a CadQuery script template
# Add your script code below
import cadquery as cq
# 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)})