Update read me to reflect openscad and cadquery changes

Resolves #336.
This commit is contained in:
Kurt Hutten
2021-06-04 18:18:53 +10:00
parent a2327b6169
commit 77d0fcb336
3 changed files with 21 additions and 13 deletions

View File

@@ -13,6 +13,7 @@ const initCodeMap = {
// ^ first comment is used for download title (i.e "involute-donut.stl")
// Follow the OpenSCAD tutorial: https://learn.cadhub.xyz/docs/
radius=3;
color(c="DarkGoldenrod")rotate_extrude()translate([20,0])circle(d=30);
@@ -24,6 +25,8 @@ color(c="hotpink")rotate_extrude()translate([20,0])offset(radius)offset(-radius)
# ^ first comment is used for download title (i.e. "demo-shaft-coupler.stl")
# CadQuery docs: https://cadquery.readthedocs.io/
import cadquery as cq
from cadquery import exporters