image
imagewidth (px) 448
448
| deepcad_id
stringlengths 13
13
| cadquery
stringlengths 283
8.1k
| token_count
int64 807
6.5k
| prompt
stringclasses 1
value | hundred_subset
bool 1
class |
|---|---|---|---|---|---|
0003/00035121
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.25263157894736843, 0.0).lineTo(0.25263157894736843, 0.5).lineTo(0.0, 0.5).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.25)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.25), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.25, 0.0).lineTo(0.25, 0.25).lineTo(0.0, 0.25).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.5)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.5), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop2=wp_sketch2.moveTo(0.25, 0.0).lineTo(0.25, 0.25).lineTo(0.0, 0.25).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.25)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.25, -0.25, 0.5), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop3=wp_sketch3.moveTo(0.25, 0.0).lineTo(0.25, 0.25).lineTo(0.0, 0.25).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop3).extrude(0.25)
solid=solid.union(solid3)
| 1,560
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00030059
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0546875, 0.0, 0.6953125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.05921052631578947, 0.0).circle(0.05797697368421052)
loop1=wp_sketch0.moveTo(0.05921052631578947, 0.0).circle(0.019736842105263157)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.015625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.09375, 0.0, 0.3984375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop2=wp_sketch1.moveTo(0.0, 0.0).threePointArc((0.0962171052631579, 0.08507893764914959), (0.1924342105263158, 0.0)).lineTo(0.15394736842105264, 0.3046875).threePointArc((0.0962171052631579, 0.23939943975130132), (0.03848684210526316, 0.3046875)).lineTo(0.0, 0.0).close()
loop3=wp_sketch1.moveTo(0.07697368421052632, 0.21167763157894737).circle(0.01924342105263158)
solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.015625)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.09375, 0.0, 0.3828125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop4=wp_sketch2.moveTo(0.09868421052631579, 0.0).circle(0.09868421052631579)
loop5=wp_sketch2.moveTo(0.09868421052631579, 0.0).circle(0.020559210526315787)
solid2=wp_sketch2.add(loop4).add(loop5).extrude(0.015625)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.09375, 0.0, 0.375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop6=wp_sketch3.moveTo(0.03618421052631579, -0.3799342105263158).threePointArc((0.12891412192208668, -0.32996602576672046), (0.09498355263157895, -0.4296875)).lineTo(0.3663651315789474, -0.4206414473684211).threePointArc((0.3170919265813337, -0.37314967105263164), (0.3663651315789474, -0.32565789473684215)).lineTo(0.2080592105263158, -0.32113486842105265).threePointArc((0.1736132592983376, -0.3038557269005082), (0.16282894736842107, -0.266858552631579)).lineTo(0.1899671052631579, 0.0).threePointArc((0.09498355263157895, -0.0860880740310127), (0.0, 0.0)).close()
solid3=wp_sketch3.add(loop6).extrude(0.015625)
solid=solid.union(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.0546875, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop7=wp_sketch4.moveTo(0.05921052631578947, 0.0).circle(0.05797697368421052)
loop8=wp_sketch4.moveTo(0.05921052631578947, 0.0).circle(0.019736842105263157)
solid4=wp_sketch4.add(loop7).add(loop8).extrude(0.015625)
solid=solid.union(solid4)
# Generating a workplane for sketch 5
wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(0.21875, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop9=wp_sketch5.moveTo(0.04736842105263158, 0.0).circle(0.04736842105263158)
loop10=wp_sketch5.moveTo(0.04736842105263158, 0.0).circle(0.01875)
solid5=wp_sketch5.add(loop9).add(loop10).extrude(0.015625)
solid=solid.union(solid5)
| 3,163
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00038376
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.25, 0.0).lineTo(0.25, 0.25).lineTo(0.0, 0.25).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.25)
solid=solid0
| 837
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00037045
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6484375, 0.0, -0.375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.6552631578947369, -0.3685855263157895).lineTo(1.296875, 0.0).lineTo(1.296875, 0.7508223684210527).lineTo(0.6552631578947369, 1.1194078947368422).lineTo(0.0, 0.7508223684210527).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0234375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.6484375, 0.0, -0.078125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.0, 0.0).threePointArc((0.078125, 0.078125), (0.0, 0.15625)).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.0234375)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.2578125, 0.0, 0.6015625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop2=wp_sketch2.moveTo(0.1375, -0.07968750000000001).threePointArc((0.10859375, 0.02890625), (0.0, 0.0)).close()
solid2=wp_sketch2.add(loop2).extrude(0.0234375)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.390625, 0.0, 0.5234375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop3=wp_sketch3.moveTo(0.140625, 0.08141447368421052).threePointArc((0.02960526315789474, 0.11101973684210527), (0.0, 0.0)).close()
solid3=wp_sketch3.add(loop3).extrude(0.0234375)
solid=solid.union(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.6484375, 0.0, -0.078125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop4=wp_sketch4.moveTo(0.0, 0.15625).threePointArc((-0.078125, 0.078125), (0.0, 0.0)).close()
solid4=wp_sketch4.add(loop4).extrude(0.0234375)
solid=solid.union(solid4)
# Generating a workplane for sketch 5
wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(-0.390625, 0.0, -0.5234375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop5=wp_sketch5.moveTo(0.0, 0.0).threePointArc((0.02960526315789474, -0.11101973684210527), (0.140625, -0.08141447368421052)).lineTo(0.0, 0.0).close()
solid5=wp_sketch5.add(loop5).extrude(0.0234375)
solid=solid.union(solid5)
# Generating a workplane for sketch 6
wp_sketch6 = cq.Workplane(cq.Plane(cq.Vector(0.2578125, 0.0, -0.6015625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop6=wp_sketch6.moveTo(0.0, 0.0).threePointArc((0.10859375, -0.02890625), (0.1375, 0.07968750000000001)).lineTo(0.0, 0.0).close()
solid6=wp_sketch6.add(loop6).extrude(0.0234375)
solid=solid.union(solid6)
| 2,847
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00035652
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.3046875, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.3078947368421053, 0.0).lineTo(0.6789473684210526, 0.0).lineTo(0.6789473684210526, 0.2605263157894737).lineTo(0.3078947368421053, 0.0868421052631579).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.359375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.234375, 0.0859375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.0, 0.0).threePointArc((0.0038538581422822875, -0.009304036594559816), (0.013157894736842105, -0.013157894736842105)).lineTo(0.1381578947368421, -0.013157894736842105).threePointArc((0.15362360599391142, -0.004526266904089351), (0.15460526315789472, 0.013157894736842105)).lineTo(0.01644736842105263, 0.3059210526315789).threePointArc((0.00690732656332356, 0.3108581040254878), (0.0, 0.3026315789473684)).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.4453125)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.1640625, 0.0859375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.0, 0.0).threePointArc((-0.004616384527050239, -0.010066513894920434), (0.004194078947368421, -0.016776315789473684)).lineTo(0.11883223684210527, -0.016776315789473684).threePointArc((0.12842823499354783, -0.01338060467119351), (0.1328125, -0.004194078947368421)).lineTo(0.1328125, 0.040542763157894735).threePointArc((0.12648890997110204, 0.052220139194813706), (0.11324013157894737, 0.053125)).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.4453125)
solid=solid.cut(solid2)
| 1,983
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00034202
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 837
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00036415
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.5, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 0.9947368421052631).lineTo(0.0, 0.9947368421052631).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.03125)
solid=solid0
| 867
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00039726
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1953125, -0.546875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.7788381847290784, 0.5485197368421053), (0.0, 1.0970394736842106)).lineTo(0.0, 0.8943256578947368).threePointArc((0.5933349649832046, 0.5485197368421053), (0.0, 0.2027138157894737)).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.3359375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.7578947368421053, 0.0).circle(0.7578947368421053)
loop2=wp_sketch1.moveTo(0.7578947368421053, 0.0).circle(0.5842105263157895)
solid1=wp_sketch1.add(loop1).add(loop2).extrude(0.578125)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.1953125, -0.546875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch2.moveTo(0.0, 0.2087171052631579).threePointArc((-0.19936092361108831, 0.55078125), (0.0, 0.8928453947368421)).lineTo(0.0, 1.1015625).threePointArc((-0.3879039218045752, 0.55078125), (0.0, 0.0)).close()
solid2=wp_sketch2.add(loop3).extrude(0.578125)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.1953125, -0.34375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop4=wp_sketch3.moveTo(0.0, 0.34736842105263155).lineTo(0.0, 0.6875).threePointArc((-0.20034346933389793, 0.34375), (0.0, 0.0)).close()
solid3=wp_sketch3.add(loop4).extrude(0.578125)
solid=solid.union(solid3)
| 1,787
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00030064
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.328125, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.3355263157894737, 0.0).circle(0.3355263157894737)
solid0=wp_sketch0.add(loop0).extrude(0.3515625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.5625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.5644736842105263, 0.0).circle(0.5644736842105263)
loop2=wp_sketch1.moveTo(0.5644736842105263, 0.0).circle(0.3292763157894737)
solid1=wp_sketch1.add(loop1).add(loop2).extrude(0.0625)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch2.moveTo(0.7578947368421053, 0.0).circle(0.7578947368421053)
loop4=wp_sketch2.moveTo(0.7578947368421053, 0.0).circle(0.5526315789473685)
solid2=wp_sketch2.add(loop3).add(loop4).extrude(0.1171875)
solid=solid.union(solid2)
| 1,344
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00038438
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1875, 0.0, 0.046875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.1875, -0.04736842105263158).lineTo(0.1875, 0.06710526315789474).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.1875, 0.04736842105263158).lineTo(0.0, 0.11447368421052632).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.75)
solid=solid.union(solid1)
| 1,219
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00039732
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.0859375, 0.703125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.1640625, 0.0).lineTo(0.1640625, 0.048355263157894735).lineTo(0.0, 0.048355263157894735).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.046875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.0859375, -0.75), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.1640625, 0.0).lineTo(0.1640625, 0.048355263157894735).lineTo(0.0, 0.048355263157894735).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.046875)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.1640625, -0.703125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop2=wp_sketch2.moveTo(0.08832236842105264, 0.0).lineTo(0.2502467105263158, 0.0).lineTo(0.33856907894736843, 0.0).lineTo(0.33856907894736843, 1.3984375).lineTo(0.2502467105263158, 1.3984375).lineTo(0.08832236842105264, 1.3984375).lineTo(0.0, 1.3984375).lineTo(0.0, 0.0).close()
loop3=wp_sketch2.moveTo(0.2502467105263158, 0.04416118421052632).lineTo(0.2502467105263158, 0.10304276315789473).lineTo(0.08832236842105264, 0.10304276315789473).lineTo(0.08832236842105264, 0.04416118421052632).close()
loop4=wp_sketch2.moveTo(0.2502467105263158, 1.2953947368421053).lineTo(0.2502467105263158, 1.3542763157894737).lineTo(0.08832236842105264, 1.3542763157894737).lineTo(0.08832236842105264, 1.2953947368421053).close()
loop5=wp_sketch2.moveTo(0.16192434210526316, 0.33856907894736843).circle(0.029440789473684212)
loop6=wp_sketch2.moveTo(0.16192434210526316, 1.0598684210526317).circle(0.029440789473684212)
solid2=wp_sketch2.add(loop2).add(loop3).add(loop4).add(loop5).add(loop6).extrude(0.046875)
solid=solid.union(solid2)
| 2,205
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00036367
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.203125, -0.4453125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.953125, 0.0).lineTo(0.953125, 0.48157894736842105).lineTo(0.0, 0.48157894736842105).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0078125)
solid=solid0
| 891
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00037938
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.109375, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.11447368421052631, 0.0).circle(0.11447368421052631)
solid0=wp_sketch0.add(loop0).extrude(0.640625)
solid=solid0
| 842
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00030931
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.734375, -0.3046875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.14407894736842103, -0.24613486842105262).lineTo(0.4262335526315789, -0.24613486842105262).lineTo(0.5703125, 0.0).lineTo(0.4262335526315789, 0.24613486842105262).lineTo(0.14407894736842103, 0.24613486842105262).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.2821546052631579, 0.0).circle(0.20411184210526315)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.015625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.3125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch1.moveTo(0.14564144736842105, -0.2532894736842105).lineTo(0.45592105263157895, -0.2532894736842105).lineTo(0.6015625, 0.0).lineTo(0.6015625, 0.01899671052631579).lineTo(0.45592105263157895, 0.26595394736842104).lineTo(0.4432565789473684, 0.2722861842105263).lineTo(0.15830592105263158, 0.2722861842105263).lineTo(0.13930921052631579, 0.26595394736842104).lineTo(0.0, 0.01899671052631579).lineTo(0.0, 0.0).close()
loop3=wp_sketch1.moveTo(0.15830592105263158, -0.24062499999999998).lineTo(0.4432565789473684, -0.24062499999999998).lineTo(0.5888980263157895, 0.006332236842105263).lineTo(0.4432565789473684, 0.2532894736842105).lineTo(0.15830592105263158, 0.2532894736842105).lineTo(0.012664473684210526, 0.006332236842105263).close()
solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.0390625)
solid=solid.union(solid1)
| 1,844
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00030919
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.7578947368421053)
solid0=wp_sketch0.add(loop0).extrude(0.3203125)
solid=solid0
| 837
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00034982
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.19736842105263158).lineTo(0.0, 0.19736842105263158).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.37894736842105264, 0.09473684210526316).circle(0.039473684210526314)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.015625)
solid=solid0
| 1,025
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00035450
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.7421052631578947)
loop1=wp_sketch0.moveTo(0.18947368421052632, 0.0).circle(0.06315789473684211)
loop2=wp_sketch0.moveTo(0.48947368421052634, -0.07894736842105263).threePointArc((0.5145805639894093, -0.13790885065266828), (0.5526315789473685, -0.18947368421052632)).lineTo(0.4421052631578948, -0.28421052631578947).threePointArc((0.75, -0.4161942574601091), (1.0578947368421052, -0.28421052631578947)).lineTo(0.9473684210526316, -0.18947368421052632).threePointArc((0.9854194360105908, -0.13790885065266828), (1.0105263157894737, -0.07894736842105263)).lineTo(1.1526315789473685, -0.12631578947368421).threePointArc((1.1143101206848693, 0.19851029277071433), (0.8526315789473684, 0.39473684210526316)).lineTo(0.8210526315789474, 0.26842105263157895).threePointArc((0.75, 0.27674228238955645), (0.6789473684210526, 0.26842105263157895)).lineTo(0.6473684210526316, 0.39473684210526316).threePointArc((0.3856898793151306, 0.19851029277071433), (0.3473684210526316, -0.12631578947368421)).close()
loop3=wp_sketch0.moveTo(1.3105263157894738, 0.0).circle(0.06315789473684211)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).extrude(0.3828125)
solid=solid0
| 1,729
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00031636
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.21875, -0.1640625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.28421052631578947, 0.0).threePointArc((-0.7216361787420418, 0.1618421052631579), (0.28421052631578947, 0.3236842105263158)).lineTo(0.0, 0.3236842105263158).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.4296875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.21875, -0.1640625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.2866776315789474, 0.0).threePointArc((0.3130755113564729, 0.1640625), (0.2866776315789474, 0.328125)).lineTo(0.0, 0.328125).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.4296875)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.5, -0.1640625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.24868421052631579, 0.0).lineTo(0.24868421052631579, 0.328125).lineTo(0.0, 0.328125).threePointArc((0.026397879777525536, 0.1640625), (0.0, 0.0)).close()
solid2=wp_sketch2.add(loop2).extrude(0.1328125)
solid=solid.union(solid2)
| 1,499
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00037247
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1875, 0.0, -0.75), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.39144736842105265, 0.0).lineTo(0.39144736842105265, 1.0625).lineTo(0.0, 1.0625).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.19013157894736843, 0.7493421052631579).circle(0.10065789473684211)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.1875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.0703125, 0.0, 0.0703125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop2=wp_sketch1.moveTo(0.1328125, 0.0).threePointArc((0.06640625, 0.02703020026736593), (0.0, 0.0)).close()
solid1=wp_sketch1.add(loop2).extrude(0.1875)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.0703125, 0.0, -0.0703125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop3=wp_sketch2.moveTo(0.0, 0.0).threePointArc((0.06640625, -0.027030200267365908), (0.1328125, 0.0)).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop3).extrude(0.1875)
solid=solid.union(solid2)
| 1,618
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00032459
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6171875, 0.0, -0.75), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(1.2722861842105264, 0.0).lineTo(1.2722861842105264, 0.7539473684210527).lineTo(0.6125822368421052, 1.4921875).lineTo(0.0, 0.7539473684210527).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.3359375)
solid=solid0
| 1,010
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00030266
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.3125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.1949013157894737, 0.0).lineTo(0.1949013157894737, 0.6171875).lineTo(0.0, 0.6171875).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.546875)
solid=solid0
| 955
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00036617
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.578125, 0.0, -0.28125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(1.234375, 0.0).lineTo(1.234375, 0.7016447368421053).lineTo(0.0, 0.7016447368421053).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 954
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00032317
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.49736842105263157, 0.0).lineTo(0.49736842105263157, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.296875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.296875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.15, 0.0).lineTo(0.15, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(-0.1484375)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.2265625, 0.375, 0.296875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.10263157894736843, 0.0).circle(0.10263157894736843)
solid2=wp_sketch2.add(loop2).extrude(-1.0)
solid=solid.cut(solid2)
| 1,267
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00039242
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.3984375, 0.0).lineTo(0.3984375, 0.14679276315789475).lineTo(0.17195723684210526, 0.37327302631578946).lineTo(0.0, 0.37327302631578946).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.5)
solid=solid0
| 993
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00039256
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.34375, 0.0, -0.1796875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.9375, 0.0).lineTo(0.9375, 0.375).lineTo(0.375, 0.375).lineTo(0.0, 0.375).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 941
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00038148
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.109375, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.11447368421052631, 0.0).circle(0.11447368421052631)
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 910
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00036830
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.5210526315789474, 0.0).lineTo(0.5210526315789474, 0.15).lineTo(0.15, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.10973285476272364, 0.01929198010970481), (0.1736842105263158, 0.1105263157894737)).lineTo(0.3078947368421053, 0.1105263157894737).threePointArc((0.359576863602017, 0.1438957787253073), (0.35526315789473684, 0.20526315789473684)).lineTo(0.2210526315789474, 0.41842105263157897).threePointArc((0.15392834042382342, 0.4441455453587228), (0.1105263157894737, 0.38684210526315793)).lineTo(0.1105263157894737, 0.1736842105263158).close()
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0546875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.046875, 0.6171875), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop2=wp_sketch1.moveTo(0.019736842105263157, 0.0).circle(0.019736842105263157)
solid1=wp_sketch1.add(loop2).extrude(-0.078125)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.046875, 0.375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop3=wp_sketch2.moveTo(0.019736842105263157, 0.0).circle(0.019736842105263157)
solid2=wp_sketch2.add(loop3).extrude(-0.078125)
solid=solid.cut(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.046875, 0.109375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop4=wp_sketch3.moveTo(0.019736842105263157, 0.0).circle(0.019736842105263157)
solid3=wp_sketch3.add(loop4).extrude(-0.078125)
solid=solid.cut(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop5=wp_sketch4.moveTo(0.5210526315789474, 0.0).lineTo(0.5210526315789474, 0.15).lineTo(0.15, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close()
loop6=wp_sketch4.moveTo(0.0, 0.0).threePointArc((0.10973285476272364, 0.01929198010970481), (0.1736842105263158, 0.1105263157894737)).lineTo(0.3078947368421053, 0.1105263157894737).threePointArc((0.359576863602017, 0.1438957787253073), (0.35526315789473684, 0.20526315789473684)).lineTo(0.2210526315789474, 0.41842105263157897).threePointArc((0.15392834042382342, 0.4441455453587228), (0.1105263157894737, 0.38684210526315793)).lineTo(0.1105263157894737, 0.1736842105263158).close()
solid4=wp_sketch4.add(loop5).add(loop6).extrude(-0.078125)
solid=solid.cut(solid4)
| 2,852
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00033790
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0546875, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.055263157894736833, 0.0).circle(0.055263157894736833)
loop1=wp_sketch0.moveTo(0.055263157894736833, 0.0).circle(0.051809210526315784)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75)
solid=solid0
| 980
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00035487
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.015625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.5210526315789474, -0.06315789473684211).lineTo(0.75, -0.06315789473684211).threePointArc((0.6710526315789473, 0.015789473684210527), (0.75, 0.09473684210526316)).lineTo(0.5210526315789474, 0.09473684210526316).lineTo(0.0, 0.031578947368421054).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0234375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.078125, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.08289473684210526, 0.0).circle(0.08289473684210526)
loop2=wp_sketch1.moveTo(0.08289473684210526, 0.0).circle(0.05180921052631579)
solid1=wp_sketch1.add(loop1).add(loop2).extrude(0.0234375)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.0546875, 0.0, 0.0234375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch2.moveTo(0.05024671052631579, 0.0).circle(0.05024671052631579)
solid2=wp_sketch2.add(loop3).extrude(0.0078125)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.078125, 0.0, 0.0234375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop4=wp_sketch3.moveTo(0.08289473684210526, 0.0).circle(0.08289473684210526)
loop5=wp_sketch3.moveTo(0.08289473684210526, 0.0).circle(0.05180921052631579)
solid3=wp_sketch3.add(loop4).add(loop5).extrude(0.0078125)
solid=solid.union(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.0078125, 0.0234375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop6=wp_sketch4.moveTo(0.125, 0.0).lineTo(0.125, 0.013157894736842105).lineTo(0.0, 0.013157894736842105).lineTo(0.0, 0.0).close()
solid4=wp_sketch4.add(loop6).extrude(-0.015625)
solid=solid.cut(solid4)
| 1,993
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00034955
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.0234375, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.027631578947368417, 0.0).circle(0.027631578947368417)
solid0=wp_sketch0.add(loop0).extrude(0.75, both=True)
solid=solid0
| 899
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00035493
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.7578947368421053)
solid0=wp_sketch0.add(loop0).extrude(0.375, both=True)
solid=solid0
| 837
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00033974
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1953125, 0.4765625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.0078125, 0.0).threePointArc((0.00583831116519821, 1.689645582981382e-05), (0.0038651315789473683, 8.223684210526316e-05)).threePointArc((0.0019330704137491587, 1.7401080105269716e-05), (0.0, 0.0)).close()
solid0=wp_sketch0.add(loop0).extrude(0.234375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.2578125, 0.5703125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.0, 0.0).threePointArc((0.005836973621749781, -0.06173861247993905), (0.05929276315789474, -0.09317434210526317)).threePointArc((0.09959800748592855, -0.0822762198722224), (0.12705592105263158, -0.05082236842105263)).threePointArc((0.3399600993258377, 0.021417146394631523), (0.3472861842105263, -0.20328947368421052)).lineTo(0.1524671052631579, -0.3472861842105263).lineTo(0.11858552631578947, -0.38116776315789475).threePointArc((0.15577884149703283, -0.7726528433217243), (0.4912828947368421, -0.5675164473684211)).lineTo(0.5336348684210527, -0.11858552631578947).threePointArc((0.31860163504738026, 0.17373614060794806), (0.0, 0.0)).close()
loop2=wp_sketch1.moveTo(0.2625822368421053, -0.5675164473684211).circle(0.10164473684210526)
solid1=wp_sketch1.add(loop1).add(loop2).extrude(0.234375)
solid=solid.union(solid1)
| 1,751
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00035256
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.09375, -0.09375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.1875, 0.0).lineTo(0.1875, 0.1875).lineTo(0.0, 0.1875).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.1875, both=True)
solid=solid0
| 913
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00037441
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0390625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.039473684210526314, 0.0).circle(0.039473684210526314)
loop1=wp_sketch0.moveTo(0.039473684210526314, 0.0).circle(0.03536184210526316)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75)
solid=solid0
| 907
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00035530
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0703125, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.07105263157894737, 0.0).circle(0.07105263157894737)
solid0=wp_sketch0.add(loop0).extrude(0.109375)
solid=solid0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0703125, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.07105263157894737, 0.0).circle(0.07105263157894737)
solid0=wp_sketch0.add(loop0).extrude(-0.078125)
solid=solid.union(solid0)
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.09375, -0.109375, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.09078947368421053, 0.0).circle(0.09078947368421053)
loop2=wp_sketch1.moveTo(0.09078947368421053, 0.0).circle(0.071875)
solid1=wp_sketch1.add(loop1).add(loop2).extrude(-0.109375)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.0703125, -0.109375, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop3=wp_sketch2.moveTo(0.07105263157894737, 0.0).circle(0.07105263157894737)
solid2=wp_sketch2.add(loop3).extrude(-0.109375)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.0625, 0.078125, 0.0), cq.Vector(-1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, 1.0, 6.123233995736766e-17)))
loop4=wp_sketch3.moveTo(0.06315789473684211, 0.0).circle(0.06315789473684211)
solid3=wp_sketch3.add(loop4).extrude(0.046875)
solid=solid.union(solid3)
| 2,036
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00033633
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.22417763157894738, 0.0).lineTo(0.22417763157894738, 0.2265625).lineTo(0.0, 0.2265625).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(-0.75)
solid=solid0
| 877
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00036763
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1015625, 0.0, -0.1171875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.25, 0.0).lineTo(0.25, 0.25).lineTo(0.0, 0.25).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 921
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00032263
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.75, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.7578947368421053, 0.7578947368421053).circle(0.4421052631578948)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.6171875)
solid=solid0
| 918
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00039322
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.7421052631578947)
loop1=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.5052631578947369)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.5)
solid=solid0
| 894
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00036011
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.515625, 0.0, -0.1953125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(1.234375, 0.0).lineTo(1.234375, 0.3118421052631579).lineTo(0.0, 0.3118421052631579).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.07796052631578948, 0.07796052631578948).circle(0.01299342105263158)
loop2=wp_sketch0.moveTo(0.07796052631578948, 0.23388157894736844).circle(0.01299342105263158)
loop3=wp_sketch0.moveTo(1.1564144736842106, 0.07796052631578948).circle(0.01299342105263158)
loop4=wp_sketch0.moveTo(1.1564144736842106, 0.23388157894736844).circle(0.01299342105263158)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).extrude(0.0390625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.109375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop5=wp_sketch1.moveTo(0.2277138157894737, -0.3046875).lineTo(0.22129934210526317, 0.003207236842105263).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop5).extrude(0.0390625)
solid=solid.union(solid1)
| 1,593
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00033169
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.609375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 1.2157894736842105).lineTo(0.0, 1.2157894736842105).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.15789473684210525, 0.5368421052631579).circle(0.031578947368421054)
loop2=wp_sketch0.moveTo(0.39473684210526316, 0.12631578947368421).circle(0.031578947368421054)
loop3=wp_sketch0.moveTo(1.105263157894737, 1.0894736842105264).circle(0.031578947368421054)
loop4=wp_sketch0.moveTo(1.3421052631578947, 0.6631578947368422).circle(0.031578947368421054)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).extrude(0.046875)
solid=solid0
| 1,195
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00034606
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.75, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.03125)
solid=solid0
| 841
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00031018
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.515625, 0.0, 0.0625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.23828125, 0.23828125), (0.0, 0.4765625)).lineTo(0.0, 0.2959703947368421).threePointArc((0.057689144736842106, 0.23828125), (0.0, 0.1805921052631579)).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(-0.484375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.515625, 0.0, 0.0625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.0, 0.0).threePointArc((0.23828125, 0.23828125), (0.0, 0.4765625)).lineTo(0.0, 0.2959703947368421).threePointArc((0.057689144736842106, 0.23828125), (0.0, 0.1805921052631579)).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(-0.484375)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.515625, 0.0, 0.0625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop2=wp_sketch2.moveTo(0.2791940789473684, 0.0).threePointArc((0.419378168872886, 0.3384343311271141), (0.7578125, 0.47861842105263164)).lineTo(0.0, 0.47861842105263164).threePointArc((0.23930921052631582, 0.23930921052631582), (0.0, 0.0)).close()
solid2=wp_sketch2.add(loop2).extrude(-0.484375)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.234375, 0.0, 0.0625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop3=wp_sketch3.moveTo(0.4765625, 0.0).lineTo(0.4765625, 0.4765625).threePointArc((0.13958192459078594, 0.3369805754092142), (0.0, 0.0)).close()
solid3=wp_sketch3.add(loop3).extrude(-0.484375)
solid=solid.union(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.2421875, 0.0, 0.0625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop4=wp_sketch4.moveTo(0.4765625, 0.0).threePointArc((0.3369805754092142, 0.33698057540921406), (0.0, 0.4765625)).lineTo(0.0, 0.0).close()
solid4=wp_sketch4.add(loop4).extrude(-0.484375)
solid=solid.union(solid4)
| 2,444
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00033425
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.453125, 0.0, -0.1484375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.8984375, 0.0).lineTo(0.8984375, 0.3026315789473684).lineTo(0.0, 0.3026315789473684).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.296875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.453125, -0.296875, -0.1484375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.08750000000000001, 0.0).lineTo(0.08750000000000001, 0.296875).lineTo(0.0, 0.296875).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.296875)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.453125, -0.09375, -0.1484375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop2=wp_sketch2.moveTo(0.08750000000000001, 0.0).lineTo(0.08750000000000001, 0.296875).lineTo(0.0, 0.296875).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.296875)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.296875, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop3=wp_sketch3.moveTo(0.0, 0.0).threePointArc((0.04347633716762185, 0.1049611628323782), (0.1484375, 0.1484375)).lineTo(0.0, 0.1484375).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop3).extrude(-0.296875)
solid=solid.cut(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.296875, -0.1484375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop4=wp_sketch4.moveTo(0.1484375, 0.0).threePointArc((0.04347633716762181, 0.04347633716762185), (0.0, 0.1484375)).lineTo(0.0, 0.0).close()
solid4=wp_sketch4.add(loop4).extrude(-0.296875)
solid=solid.cut(solid4)
# Generating a workplane for sketch 5
wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(-0.640625, -0.296875, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop5=wp_sketch5.moveTo(0.039473684210526314, 0.0).circle(0.039473684210526314)
solid5=wp_sketch5.add(loop5).extrude(-0.296875)
solid=solid.cut(solid5)
| 2,481
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00037131
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.7109375, -0.28125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.203125, 0.0).lineTo(1.203125, 0.22796052631578947).lineTo(0.6078947368421053, 0.22796052631578947).lineTo(0.6078947368421053, 0.5319078947368421).lineTo(1.203125, 0.5319078947368421).lineTo(1.203125, 0.747203947368421).lineTo(0.0, 0.747203947368421).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.296875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.7109375, -0.28125, 0.296875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.3, 0.0).lineTo(0.3, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.296875)
solid=solid.union(solid1)
| 1,241
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00033419
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, -0.125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.625, 0.006578947368421052).threePointArc((0.505116711896106, 0.125), (0.625, 0.24342105263157893)).lineTo(0.0, 0.25).threePointArc((0.1219690812415471, 0.125), (0.0, 0.0)).close()
solid0=wp_sketch0.add(loop0).extrude(0.1875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, -0.125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.002631578947368421, 0.0).threePointArc((0.12460066018891548, 0.125), (0.002631578947368421, 0.25)).lineTo(0.0, 0.25).threePointArc((-0.125, 0.125), (0.0, 0.0)).close()
loop2=wp_sketch1.moveTo(0.0, 0.12631578947368421).circle(0.06315789473684211)
solid1=wp_sketch1.add(loop1).add(loop2).extrude(0.1875)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.5078125, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop3=wp_sketch2.moveTo(0.12236842105263158, 0.0).circle(0.12236842105263158)
loop4=wp_sketch2.moveTo(0.12236842105263158, 0.0).circle(0.056085526315789475)
solid2=wp_sketch2.add(loop3).add(loop4).extrude(0.1875)
solid=solid.union(solid2)
| 1,744
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00034362
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.75), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75, both=True)
solid=solid0
| 911
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00036213
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.6, 0.0).lineTo(0.6, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.3203125)
solid=solid0
| 912
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00030662
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.4453125, 0.0, -0.0546875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.08289473684210526, 0.0).lineTo(0.08289473684210526, 0.1640625).lineTo(0.0, 0.1640625).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.04144736842105263, 0.08116776315789473).circle(0.00863486842105263)
loop2=wp_sketch0.moveTo(0.04144736842105263, 0.13643092105263158).circle(0.00863486842105263)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.0234375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.4453125, 0.0, -0.0703125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop3=wp_sketch1.moveTo(0.0859375, 0.0).lineTo(0.0859375, 0.021710526315789472).lineTo(0.0, 0.021710526315789472).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop3).extrude(0.0234375)
solid=solid.union(solid1)
| 1,448
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00034389
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2265625, 0.2578125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.22648026315789474, -0.265625).lineTo(0.22648026315789474, -0.2600328947368421).lineTo(0.005592105263157895, 0.005592105263157895).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(-0.75)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.0078125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.078125, 0.0).lineTo(0.078125, 0.006578947368421052).lineTo(0.0, 0.006578947368421052).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(-0.75)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.078125, -0.0078125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.2265625, 0.0).lineTo(0.2265625, 0.007154605263157894).lineTo(0.0, 0.007154605263157894).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(-0.34375)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.0546875, 0.0703125, -0.75), cq.Vector(-0.6343932841636455, 0.773010453362737, -6.123233995736766e-17), cq.Vector(0.773010453362737, 0.6343932841636455, 6.123233995736766e-17)))
loop3=wp_sketch3.moveTo(0.06661184210526316, 0.0).lineTo(0.06661184210526316, 0.140625).lineTo(0.0, 0.140625).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop3).extrude(-0.171875)
solid=solid.cut(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.28125, 0.0, -0.3203125), cq.Vector(-1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, 1.0, 6.123233995736766e-17)))
loop4=wp_sketch4.moveTo(0.011842105263157895, 0.0).circle(0.011842105263157895)
solid4=wp_sketch4.add(loop4).extrude(-0.171875)
solid=solid.cut(solid4)
# Generating a workplane for sketch 5
wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(0.078125, 0.0, -0.75), cq.Vector(-1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, 1.0, 6.123233995736766e-17)))
loop5=wp_sketch5.moveTo(0.015789473684210527, 0.0).lineTo(0.015789473684210527, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close()
solid5=wp_sketch5.add(loop5).extrude(0.0234375)
solid=solid.union(solid5)
# Generating a workplane for sketch 6
wp_sketch6 = cq.Workplane(cq.Plane(cq.Vector(0.078125, 0.0, -0.75), cq.Vector(-1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, 1.0, 6.123233995736766e-17)))
loop6=wp_sketch6.moveTo(0.015789473684210527, 0.0).lineTo(0.015789473684210527, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close()
solid6=wp_sketch6.add(loop6).extrude(0.0234375)
solid=solid.union(solid6)
| 2,630
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00039861
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, -0.609375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.6078947368421053).lineTo(0.0, 0.6078947368421053).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(-0.4296875)
solid=solid0
| 929
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00035083
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.21875, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.22105263157894733, 0.0).circle(0.22105263157894733)
loop1=wp_sketch0.moveTo(0.22105263157894733, 0.0).circle(0.19342105263157894)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0078125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.1953125, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop2=wp_sketch1.moveTo(0.19736842105263158, 0.0).circle(0.19325657894736842)
loop3=wp_sketch1.moveTo(0.19736842105263158, 0.0).circle(0.09046052631578946)
solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.0078125)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.0859375, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop4=wp_sketch2.moveTo(0.09078947368421053, 0.0).circle(0.09078947368421053)
loop5=wp_sketch2.moveTo(0.09078947368421053, 0.0).circle(0.024588815789473684)
solid2=wp_sketch2.add(loop4).add(loop5).extrude(0.0078125)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.1953125, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop6=wp_sketch3.moveTo(0.19736842105263158, 0.0).circle(0.19325657894736842)
loop7=wp_sketch3.moveTo(0.19736842105263158, 0.0).circle(0.09046052631578946)
solid3=wp_sketch3.add(loop6).add(loop7).extrude(0.03125)
solid=solid.union(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.03125, 0.0, -0.75), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop8=wp_sketch4.moveTo(0.10937499999999999, 0.0).lineTo(0.10937499999999999, 0.03684210526315789).lineTo(0.0, 0.03684210526315789).lineTo(0.0, 0.0).close()
solid4=wp_sketch4.add(loop8).extrude(0.0234375)
solid=solid.union(solid4)
# Generating a workplane for sketch 5
wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(-0.0234375, 0.0, -0.7109375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop9=wp_sketch5.moveTo(0.047203947368421054, 0.0).lineTo(0.1550986842105263, 0.0).lineTo(0.23264802631578949, 0.0).lineTo(0.23264802631578949, 0.3203125).lineTo(0.0, 0.3203125).lineTo(0.0, 0.0).close()
solid5=wp_sketch5.add(loop9).extrude(0.0234375)
solid=solid.union(solid5)
| 2,682
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00037872
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.75, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.078125)
solid=solid0
| 842
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00035095
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.25, 0.0).lineTo(0.25, 0.25).lineTo(0.0, 0.25).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.25)
solid=solid0
| 837
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00039650
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.03125, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.035526315789473684, 0.0).circle(0.034786184210526316)
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.46875, 0.375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.4776315789473684, 0.0).circle(0.4776315789473684)
loop2=wp_sketch1.moveTo(0.4776315789473684, 0.0).circle(0.378125)
solid1=wp_sketch1.add(loop1).add(loop2).extrude(-0.1875, both=True)
solid=solid.cut(solid1)
| 1,141
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00039888
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.18651315789473683, -0.07063443360076027), (0.37302631578947365, 0.0)).lineTo(0.37302631578947365, 0.41965460526315784).threePointArc((0.18651315789473683, 0.4902890388639181), (0.0, 0.41965460526315784)).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(-0.046875)
solid=solid0
| 1,072
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00034412
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5625, -0.484375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.125, 0.0).lineTo(1.125, 0.9710526315789474).lineTo(0.0, 0.9710526315789474).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.5684210526315789, 0.4855263157894737).circle(0.07105263157894737)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.078125)
solid=solid0
| 958
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00038228
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1015625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.10263157894736843, 0.0).circle(0.10049342105263158)
loop1=wp_sketch0.moveTo(0.10263157894736843, 0.0).circle(0.03848684210526316)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.4765625, 0.1640625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch1.moveTo(0.039473684210526314, 0.0).circle(0.039473684210526314)
solid1=wp_sketch1.add(loop2).extrude(0.75)
solid=solid.union(solid1)
| 1,105
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00030674
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0546875, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.055263157894736833, 0.0).circle(0.055263157894736833)
loop1=wp_sketch0.moveTo(0.055263157894736833, 0.0).circle(0.03338815789473684)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0546875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.03125, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch1.moveTo(0.035526315789473684, 0.0).circle(0.035526315789473684)
solid1=wp_sketch1.add(loop2).extrude(0.0546875)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.03125, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch2.moveTo(0.035526315789473684, 0.0).circle(0.035526315789473684)
solid2=wp_sketch2.add(loop3).extrude(-0.046875)
solid=solid.union(solid2)
| 1,303
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00036205
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.390625)
solid=solid0
| 913
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00030660
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.4296875, 0.0, 0.1015625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(1.1796875, 0.0).lineTo(1.1796875, 0.12417763157894737).lineTo(0.0, 0.12417763157894737).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0390625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.6640625, -0.0390625, 0.15625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.019736842105263157, 0.0).circle(0.01932565789473684)
solid1=wp_sketch1.add(loop1).extrude(-0.328125)
solid=solid.cut(solid1)
| 1,244
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00031230
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.6947368421052632, 0.0).lineTo(0.6947368421052632, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.039473684210526314, 0.039473684210526314).circle(0.015789473684210527)
loop2=wp_sketch0.moveTo(0.039473684210526314, 0.7105263157894737).circle(0.015789473684210527)
loop3=wp_sketch0.moveTo(0.6552631578947369, 0.039473684210526314).circle(0.015789473684210527)
loop4=wp_sketch0.moveTo(0.6552631578947369, 0.7105263157894737).circle(0.015789473684210527)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).extrude(0.1875)
solid=solid0
| 1,195
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00037127
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5859375, -0.578125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.203125, 0.0).lineTo(1.1904605263157895, 0.22796052631578947).lineTo(0.5952302631578947, 0.22796052631578947).lineTo(0.5952302631578947, 0.5319078947368421).lineTo(1.1904605263157895, 0.5319078947368421).lineTo(1.1904605263157895, 0.747203947368421).lineTo(0.0, 0.747203947368421).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.296875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.5859375, -0.578125, 0.296875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.27631578947368424, 0.0).lineTo(0.27631578947368424, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.453125)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.3046875, -0.3671875, 0.6015625), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop2=wp_sketch2.moveTo(0.328125, 0.0).lineTo(0.328125, 0.14851973684210526).lineTo(0.0, 0.14851973684210526).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(-0.296875)
solid=solid.cut(solid2)
| 1,608
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00035730
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, -0.0390625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.046875, 0.0).lineTo(0.046875, 0.04342105263157895).lineTo(0.0, 0.04342105263157895).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 953
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00037133
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.7265625, 0.203125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.05256397983737624, -0.06860075297456651), (0.13766447368421053, -0.05353618421052632)).lineTo(0.7265625, 0.4741776315789474).threePointArc((0.21517666231088275, 0.46402326466796), (0.0, 0.0)).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 1,036
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00038957
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5703125, -0.2890625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.3203125, 0.0).lineTo(1.3203125, 0.4864309210526316).lineTo(0.0, 0.4864309210526316).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.140625)
solid=solid0
| 891
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00033816
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.3046875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.7026315789473685).lineTo(0.0, 0.7026315789473685).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.3203125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.6640625, 0.1015625, 0.3203125), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.0, 0.0).threePointArc((0.2811047837640011, 0.012269111511265989), (0.2722861842105263, 0.2935032894736842)).lineTo(0.22631578947368422, 0.2935032894736842).threePointArc((0.10233284308784446, 0.15509867251438234), (0.0, 0.0)).close()
solid1=wp_sketch1.add(loop1).extrude(-0.4453125)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.6640625, 0.390625, 0.3203125), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.0, 0.0).threePointArc((-0.06148669579430045, -0.14519449291971837), (0.0030427631578947368, -0.2890625)).threePointArc((0.10344235292757377, -0.13633890914711608), (0.22516447368421053, 0.0)).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(-0.4453125)
solid=solid.cut(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.6640625, 0.390625, 0.3203125), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch3.moveTo(0.22894736842105262, 0.0).threePointArc((0.2394171684196007, 0.009275115791132892), (0.25, 0.018421052631578946)).threePointArc((0.12176803255030437, 0.05307294170451565), (0.0, 0.0)).close()
solid3=wp_sketch3.add(loop3).extrude(-0.4453125)
solid=solid.cut(solid3)
| 1,887
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00039485
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0546875, 0.0, 0.6953125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.05921052631578947, 0.0).circle(0.05797697368421052)
loop1=wp_sketch0.moveTo(0.05921052631578947, 0.0).circle(0.019736842105263157)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.015625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.0546875, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop2=wp_sketch1.moveTo(0.05921052631578947, 0.0).circle(0.05797697368421052)
loop3=wp_sketch1.moveTo(0.05921052631578947, 0.0).circle(0.019736842105263157)
solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.015625)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.21875, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop4=wp_sketch2.moveTo(0.04736842105263158, 0.0).circle(0.04736842105263158)
loop5=wp_sketch2.moveTo(0.04736842105263158, 0.0).circle(0.01875)
solid2=wp_sketch2.add(loop4).add(loop5).extrude(0.015625)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.09375, 0.0, 0.3984375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop6=wp_sketch3.moveTo(0.0, 0.0).threePointArc((0.0962171052631579, 0.08507893764914959), (0.1924342105263158, 0.0)).lineTo(0.15394736842105264, 0.3046875).threePointArc((0.0962171052631579, 0.23939943975130132), (0.03848684210526316, 0.3046875)).lineTo(0.0, 0.0).close()
loop7=wp_sketch3.moveTo(0.07697368421052632, 0.21167763157894737).circle(0.01924342105263158)
solid3=wp_sketch3.add(loop6).add(loop7).extrude(0.015625)
solid=solid.union(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.09375, 0.0, 0.3828125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop8=wp_sketch4.moveTo(0.09868421052631579, 0.0).circle(0.09868421052631579)
loop9=wp_sketch4.moveTo(0.09868421052631579, 0.0).circle(0.020559210526315787)
solid4=wp_sketch4.add(loop8).add(loop9).extrude(0.015625)
solid=solid.union(solid4)
# Generating a workplane for sketch 5
wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(-0.09375, 0.0, 0.375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop10=wp_sketch5.moveTo(0.03618421052631579, -0.3799342105263158).threePointArc((0.12891412192208668, -0.32996602576672046), (0.09498355263157895, -0.4296875)).lineTo(0.3663651315789474, -0.4206414473684211).threePointArc((0.3170919265813337, -0.37314967105263164), (0.3663651315789474, -0.32565789473684215)).lineTo(0.2080592105263158, -0.32113486842105265).threePointArc((0.1736132592983376, -0.3038557269005082), (0.16282894736842107, -0.266858552631579)).lineTo(0.1899671052631579, 0.0).threePointArc((0.09498355263157895, -0.0860880740310127), (0.0, 0.0)).close()
solid5=wp_sketch5.add(loop10).extrude(0.015625)
solid=solid.union(solid5)
| 3,163
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00037494
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1171875, -0.1171875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.234375, 0.0).lineTo(0.234375, 0.234375).lineTo(0.0, 0.234375).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.21217105263157893, 0.024671052631578948).lineTo(0.21217105263157893, 0.21217105263157893).lineTo(0.024671052631578948, 0.21217105263157893).lineTo(0.024671052631578948, 0.024671052631578948).close()
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75)
solid=solid0
| 1,062
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00034162
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.015625, -0.0078125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.0015415432569129057, -0.0037216146378239363), (0.005263157894736842, -0.005263157894736842)).lineTo(0.02598684210526316, -0.005263157894736842).threePointArc((0.029708456743087093, -0.0037216146378239363), (0.03125, 0.0)).lineTo(0.03125, 0.020723684210526314).threePointArc((0.029708456743087093, 0.024445298848350252), (0.02598684210526316, 0.02598684210526316)).lineTo(0.005263157894736842, 0.02598684210526316).threePointArc((0.0015415432569129057, 0.024445298848350252), (0.0, 0.020723684210526314)).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.001950306640833725, -0.0027347725325607784), (0.005263157894736842, -0.003289473684210526)).lineTo(0.02598684210526316, -0.003289473684210526).threePointArc((0.028312851253903117, -0.002326009148639959), (0.029276315789473685, 0.0)).lineTo(0.029276315789473685, 0.020723684210526314).threePointArc((0.028312851253903117, 0.023049693359166273), (0.02598684210526316, 0.02401315789473684)).lineTo(0.005263157894736842, 0.02401315789473684).threePointArc((0.002937148746096883, 0.023049693359166273), (0.001973684210526316, 0.020723684210526314)).lineTo(0.001973684210526316, 0.0).close()
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.015625)
solid=solid0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.015625, -0.0078125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.0015415432569129057, -0.0037216146378239363), (0.005263157894736842, -0.005263157894736842)).lineTo(0.02598684210526316, -0.005263157894736842).threePointArc((0.029708456743087093, -0.0037216146378239363), (0.03125, 0.0)).lineTo(0.03125, 0.020723684210526314).threePointArc((0.029708456743087093, 0.024445298848350252), (0.02598684210526316, 0.02598684210526316)).lineTo(0.005263157894736842, 0.02598684210526316).threePointArc((0.0015415432569129057, 0.024445298848350252), (0.0, 0.020723684210526314)).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.001950306640833725, -0.0027347725325607784), (0.005263157894736842, -0.003289473684210526)).lineTo(0.02598684210526316, -0.003289473684210526).threePointArc((0.028312851253903117, -0.002326009148639959), (0.029276315789473685, 0.0)).lineTo(0.029276315789473685, 0.020723684210526314).threePointArc((0.028312851253903117, 0.023049693359166273), (0.02598684210526316, 0.02401315789473684)).lineTo(0.005263157894736842, 0.02401315789473684).threePointArc((0.002937148746096883, 0.023049693359166273), (0.001973684210526316, 0.020723684210526314)).lineTo(0.001973684210526316, 0.0).close()
solid0=wp_sketch0.add(loop0).add(loop1).extrude(-0.71875)
solid=solid.union(solid0)
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.015625, 0.0, -0.7421875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop2=wp_sketch1.moveTo(0.001973684210526316, 0.0).threePointArc((0.0025283853621760636, -0.0033128512539031168), (0.005263157894736842, -0.005263157894736842)).lineTo(0.02598684210526316, -0.005263157894736842).threePointArc((0.029708456743087093, -0.0037216146378239363), (0.03125, 0.0)).lineTo(0.03125, 0.020723684210526314).threePointArc((0.029708456743087093, 0.024445298848350252), (0.02598684210526316, 0.02598684210526316)).lineTo(0.005263157894736842, 0.02598684210526316).threePointArc((0.0015415432569129057, 0.024445298848350252), (0.0, 0.020723684210526314)).lineTo(0.0, 0.0).close()
loop3=wp_sketch1.moveTo(0.0, 0.0).threePointArc((0.0020184338714871967, -0.002570298848350252), (0.005263157894736842, -0.0029605263157894738)).lineTo(0.02598684210526316, -0.0029605263157894738).threePointArc((0.028244724023249644, -0.002161535464429433), (0.029276315789473685, 0.0)).lineTo(0.029276315789473685, 0.020723684210526314).threePointArc((0.028312851253903117, 0.023049693359166273), (0.02598684210526316, 0.02401315789473684)).lineTo(0.005263157894736842, 0.02401315789473684).threePointArc((0.002937148746096883, 0.023049693359166273), (0.001973684210526316, 0.020723684210526314)).lineTo(0.001973684210526316, 0.0).close()
solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.1796875, both=True)
solid=solid.union(solid1)
| 4,230
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00034604
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2890625, 0.0, -0.359375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.09473684210526316, -0.09473684210526316).lineTo(0.09473684210526316, -0.22105263157894736).lineTo(0.2631578947368421, -0.3894736842105263).lineTo(0.2631578947368421, -0.22105263157894736).lineTo(0.16842105263157894, -0.12631578947368421).lineTo(0.16842105263157894, 0.7368421052631579).lineTo(0.2631578947368421, 0.8315789473684211).lineTo(0.2631578947368421, 1.0).lineTo(0.09473684210526316, 0.8315789473684211).lineTo(0.09473684210526316, 0.6947368421052631).lineTo(0.0, 0.6105263157894737).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.6875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.1171875, -0.484375, -0.046875), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.28125, 0.0).lineTo(0.28125, 0.09473684210526316).lineTo(0.0, 0.09473684210526316).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.1328125)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.1171875, -0.46875, 0.046875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.1131578947368421, 0.0).lineTo(0.1131578947368421, 0.25).lineTo(0.0, 0.25).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(-0.21875)
solid=solid.cut(solid2)
| 1,859
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00032275
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.625, 0.0).lineTo(0.625, 0.625).lineTo(0.0, 0.625).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.5921052631578947, 0.03289473684210526).lineTo(0.5921052631578947, 0.5921052631578947).lineTo(0.03289473684210526, 0.5921052631578947).lineTo(0.03289473684210526, 0.03289473684210526).close()
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75)
solid=solid0
| 1,032
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00033143
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.7578947368421053)
solid0=wp_sketch0.add(loop0).extrude(0.1328125)
solid=solid0
| 837
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00035240
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0234375, -0.0234375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.046875, 0.0).lineTo(0.046875, 0.046875).lineTo(0.0, 0.046875).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 865
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00037331
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.7578947368421053)
loop1=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.5684210526315789)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.71875)
solid=solid0
| 898
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00031998
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.5092105263157894, 0.0).circle(0.5092105263157894)
loop1=wp_sketch0.moveTo(0.5092105263157894, 0.0).circle(0.2652138157894737)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75)
solid=solid0
| 966
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00034002
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.45, 0.0).lineTo(0.45, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(-0.453125)
solid=solid0
| 913
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00033779
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.546875, 0.1328125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.09473684210526316, 0.0).circle(0.09276315789473684)
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 898
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00034770
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5234375, 0.0, 0.4140625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.9375, 0.0).lineTo(0.9375, 0.3355263157894737).lineTo(0.0, 0.3355263157894737).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.46875)
solid=solid0
| 956
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00031608
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2265625, -0.75, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.3984375, 0.0).lineTo(0.3984375, 0.3984375).lineTo(0.0, 0.3984375).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0390625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.2265625, -0.75, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.3984375, 0.0).lineTo(0.3984375, 0.3984375).lineTo(0.0, 0.3984375).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.0390625)
solid=solid.union(solid1)
| 1,090
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00039254
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.375, 0.0, -0.296875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.25, 0.0).lineTo(0.25, 0.625).lineTo(0.0, 0.625).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.1875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.375, -0.125, 0.328125), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.25, 0.0).lineTo(0.25, 0.06315789473684211).lineTo(0.0, 0.06315789473684211).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(-0.25)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.359375, 0.0, 0.5), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop2=wp_sketch2.moveTo(0.7578125, 0.0).lineTo(0.7578125, 0.25526315789473686).lineTo(0.0, 0.25526315789473686).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.1875)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.109375, -0.1875, 0.5), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop3=wp_sketch3.moveTo(0.25, 0.0).lineTo(0.25, 0.25).lineTo(0.0, 0.25).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop3).extrude(-0.0625)
solid=solid.cut(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.1484375, 0.0, 0.5), cq.Vector(-1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, 1.0, 6.123233995736766e-17)))
loop4=wp_sketch4.moveTo(0.25, 0.0).lineTo(0.25, 0.25).lineTo(0.0, 0.25).lineTo(0.0, 0.0).close()
solid4=wp_sketch4.add(loop4).extrude(-0.0625)
solid=solid.cut(solid4)
| 1,996
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00035446
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.734375, 0.0, -0.75), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.3592105263157895, 0.0).lineTo(0.3592105263157895, 1.421875).lineTo(0.0, 1.421875).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0234375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.328125, 0.0, -0.75), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.3592105263157895, 0.0).lineTo(0.3592105263157895, 1.421875).lineTo(0.0, 1.421875).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.0234375)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.3828125, 0.0, -0.75), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop2=wp_sketch2.moveTo(0.3592105263157895, 0.0).lineTo(0.3592105263157895, 1.421875).lineTo(0.0, 1.421875).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.0234375)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.0234375, 0.0, -0.75), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop3=wp_sketch3.moveTo(0.3592105263157895, 0.0).lineTo(0.3592105263157895, 1.421875).lineTo(0.0, 1.421875).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop3).extrude(0.0234375)
solid=solid.union(solid3)
| 1,882
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00036629
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.3515625, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.0868421052631579, 0.0).threePointArc((0.35131578947368425, 0.19116138137605967), (0.6157894736842106, 0.0)).lineTo(0.7026315789473685, 0.0).lineTo(0.5289473684210526, 0.6157894736842106).threePointArc((0.35131578947368425, 0.7492272228635645), (0.1736842105263158, 0.6157894736842106)).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.35526315789473684, 0.5684210526315789).circle(0.1736842105263158)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0546875)
solid=solid0
| 1,211
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00035452
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0546875, 0.0, 0.6953125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.05921052631578947, 0.0).circle(0.05797697368421052)
loop1=wp_sketch0.moveTo(0.05921052631578947, 0.0).circle(0.019736842105263157)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.015625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.0546875, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop2=wp_sketch1.moveTo(0.05921052631578947, 0.0).circle(0.05797697368421052)
loop3=wp_sketch1.moveTo(0.05921052631578947, 0.0).circle(0.019736842105263157)
solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.015625)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.21875, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop4=wp_sketch2.moveTo(0.04736842105263158, 0.0).circle(0.04736842105263158)
loop5=wp_sketch2.moveTo(0.04736842105263158, 0.0).circle(0.01875)
solid2=wp_sketch2.add(loop4).add(loop5).extrude(0.015625)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.09375, 0.0, 0.3984375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop6=wp_sketch3.moveTo(0.0, 0.0).threePointArc((0.0962171052631579, 0.08507893764914959), (0.1924342105263158, 0.0)).lineTo(0.15394736842105264, 0.3046875).threePointArc((0.0962171052631579, 0.23939943975130132), (0.03848684210526316, 0.3046875)).lineTo(0.0, 0.0).close()
loop7=wp_sketch3.moveTo(0.07697368421052632, 0.21167763157894737).circle(0.01924342105263158)
solid3=wp_sketch3.add(loop6).add(loop7).extrude(0.015625)
solid=solid.union(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.09375, 0.0, 0.3828125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop8=wp_sketch4.moveTo(0.09868421052631579, 0.0).circle(0.09868421052631579)
loop9=wp_sketch4.moveTo(0.09868421052631579, 0.0).circle(0.020559210526315787)
solid4=wp_sketch4.add(loop8).add(loop9).extrude(0.015625)
solid=solid.union(solid4)
# Generating a workplane for sketch 5
wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(-0.09375, 0.0, 0.375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop10=wp_sketch5.moveTo(0.03618421052631579, -0.3799342105263158).threePointArc((0.12891412192208668, -0.32996602576672046), (0.09498355263157895, -0.4296875)).lineTo(0.3663651315789474, -0.4206414473684211).threePointArc((0.3170919265813337, -0.37314967105263164), (0.3663651315789474, -0.32565789473684215)).lineTo(0.2080592105263158, -0.32113486842105265).threePointArc((0.1736132592983376, -0.3038557269005082), (0.16282894736842107, -0.266858552631579)).lineTo(0.1899671052631579, 0.0).threePointArc((0.09498355263157895, -0.0860880740310127), (0.0, 0.0)).close()
solid5=wp_sketch5.add(loop10).extrude(0.015625)
solid=solid.union(solid5)
| 3,163
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00034994
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.7265625, -0.75, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.4526315789473685, 0.0).lineTo(1.4526315789473685, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.078125)
solid=solid0
| 874
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00036417
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.3359375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 0.6631578947368422).lineTo(0.0, 0.6631578947368422).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0234375)
solid=solid0
| 875
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00033209
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.453125, 0.0).lineTo(0.453125, 0.0524671052631579).lineTo(0.0524671052631579, 0.0524671052631579).lineTo(0.0524671052631579, 0.453125).lineTo(0.0, 0.453125).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 937
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00036371
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.4921875, -0.75, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.1210526315789473, 0.0).lineTo(1.1210526315789473, 0.3).lineTo(0.3, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.109375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.4921875, -0.75, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(1.1210526315789473, 0.0).lineTo(1.1210526315789473, 0.3).lineTo(0.3, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.109375)
solid=solid.union(solid1)
| 1,124
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00036365
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.515625, -0.6875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.016956975826042067, -0.0409377610160633), (0.05789473684210526, -0.05789473684210526)).lineTo(0.4486842105263158, -0.05789473684210526).threePointArc((0.49324039259501057, -0.04243656009043957), (0.5138157894736842, 0.0)).lineTo(0.5138157894736842, 0.6296052631578948).threePointArc((0.49324039259501057, 0.6720418232483343), (0.4486842105263158, 0.6875)).lineTo(0.05789473684210526, 0.6875).threePointArc((0.016956975826042067, 0.670543024173958), (0.0, 0.6296052631578948)).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0078125)
solid=solid0
| 1,240
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00031350
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5, -0.21875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.9921875, 0.0).lineTo(0.9921875, 0.09399671052631578).lineTo(0.9921875, 0.3446546052631579).lineTo(0.9921875, 0.43865131578947364).lineTo(0.0, 0.43865131578947364).lineTo(0.0, 0.3446546052631579).lineTo(0.0, 0.09399671052631578).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0703125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.625, -0.125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.12631578947368421, 0.0).lineTo(0.12631578947368421, 0.25).lineTo(0.0, 0.25).threePointArc((-0.125, 0.125), (0.0, 0.0)).close()
loop2=wp_sketch1.moveTo(0.0, 0.12631578947368421).circle(0.05263157894736842)
solid1=wp_sketch1.add(loop1).add(loop2).extrude(0.0703125)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.5, -0.125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch2.moveTo(0.12631578947368421, 0.0).threePointArc((0.2513157894736842, 0.125), (0.12631578947368421, 0.25)).lineTo(0.0, 0.25).lineTo(0.0, 0.0).close()
loop4=wp_sketch2.moveTo(0.12631578947368421, 0.12631578947368421).circle(0.05263157894736842)
solid2=wp_sketch2.add(loop3).add(loop4).extrude(0.0703125)
solid=solid.union(solid2)
| 1,654
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00035136
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.34375, -0.5, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.2734375, 0.0).lineTo(0.2734375, 0.20435855263157893).lineTo(0.0, 0.20435855263157893).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.328125, -0.3125, 0.0), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042)))
loop1=wp_sketch1.moveTo(0.2421875, 0.0).lineTo(0.2421875, 0.17335526315789473).lineTo(0.0, 0.17335526315789473).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(-0.0703125)
solid=solid.cut(solid1)
| 1,204
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00036358
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.5625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 1.1210526315789473).lineTo(0.0, 1.1210526315789473).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.046875)
solid=solid0
| 943
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00031351
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5, -0.21875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.0, 0.0).lineTo(1.0, 0.09210526315789473).lineTo(1.118421052631579, 0.09210526315789473).threePointArc((1.243421052631579, 0.21710526315789472), (1.118421052631579, 0.3421052631578947)).lineTo(1.0, 0.3421052631578947).lineTo(1.0, 0.43421052631578944).lineTo(0.0, 0.43421052631578944).lineTo(0.0, 0.3421052631578947).lineTo(0.0, 0.09210526315789473).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(1.118421052631579, 0.22368421052631576).circle(0.05263157894736842)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.171875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.625, -0.125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch1.moveTo(0.12631578947368421, 0.0).lineTo(0.12631578947368421, 0.25).lineTo(0.0, 0.25).threePointArc((-0.125, 0.125), (0.0, 0.0)).close()
loop3=wp_sketch1.moveTo(0.0, 0.12631578947368421).circle(0.05263157894736842)
solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.171875)
solid=solid.union(solid1)
| 1,496
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00039057
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6015625, 0.0, -0.296875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(1.203125, 0.0).lineTo(1.203125, 0.6078947368421053).lineTo(0.0, 0.6078947368421053).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 956
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00039731
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.34375, 0.0, 0.546875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.6796875, 0.0).lineTo(0.6796875, 0.20032894736842105).lineTo(0.0, 0.20032894736842105).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.203125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.34375, 0.0, -0.75), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.6796875, 0.0).lineTo(0.6796875, 0.20032894736842105).lineTo(0.0, 0.20032894736842105).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.203125)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.6796875, 0.0, -0.546875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop2=wp_sketch2.moveTo(0.34539473684210525, 0.0).lineTo(1.0217927631578947, 0.0).lineTo(1.3671875, 0.0).lineTo(1.3671875, 1.09375).lineTo(1.0217927631578947, 1.09375).lineTo(0.34539473684210525, 1.09375).lineTo(0.0, 1.09375).lineTo(0.0, 0.0).close()
loop3=wp_sketch2.moveTo(0.6907894736842105, 0.546875).circle(0.11513157894736842)
solid2=wp_sketch2.add(loop2).add(loop3).extrude(0.203125)
solid=solid.union(solid2)
| 1,751
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00036402
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.578125, 0.0).lineTo(0.578125, 0.32861842105263156).lineTo(0.0, 0.32861842105263156).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.265625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.578125, 0.0625, 0.1328125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.02532894736842105, -0.02532894736842105).lineTo(0.19342105263157894, -0.02532894736842105).lineTo(0.21874999999999997, 0.0).lineTo(0.21874999999999997, 0.020723684210526314).threePointArc((0.2142265583360293, 0.02934160684534047), (0.20493421052631577, 0.032236842105263154)).lineTo(0.013815789473684208, 0.032236842105263154).threePointArc((0.004523441663970669, 0.02934160684534047), (0.0, 0.020723684210526314)).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.171875)
solid=solid.union(solid1)
| 1,469
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00034201
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.75, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.039473684210526314).lineTo(0.0, 0.039473684210526314).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.296875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.6875, 0.0390625), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.6875, 0.0).lineTo(0.6875, 0.014473684210526316).lineTo(0.0, 0.014473684210526316).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.296875)
solid=solid.union(solid1)
| 1,220
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00036416
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.5, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 0.9947368421052631).lineTo(0.0, 0.9947368421052631).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0234375)
solid=solid0
| 869
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00034567
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.484375, 0.0, -0.2109375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.8984375, 0.0).lineTo(0.8984375, 0.3026315789473684).lineTo(0.0, 0.3026315789473684).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(-0.6015625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.5703125, 0.6015625, -0.359375), cq.Vector(-1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, 1.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(1.203125, 0.0).lineTo(1.203125, 0.6078947368421053).lineTo(0.0, 0.6078947368421053).lineTo(0.0, 0.0).close()
loop2=wp_sketch1.moveTo(1.0511513157894736, 0.15197368421052632).lineTo(1.0511513157894736, 0.45592105263157895).lineTo(0.15197368421052632, 0.45592105263157895).lineTo(0.15197368421052632, 0.15197368421052632).close()
solid1=wp_sketch1.add(loop1).add(loop2).extrude(0.1484375)
solid=solid.union(solid1)
| 1,473
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00032843
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0859375, -0.140625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.796875, 0.0).lineTo(0.796875, 0.2348684210526316).lineTo(0.0, 0.2348684210526316).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 884
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.