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 |
|---|---|---|---|---|---|
0000/00008441 | import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.59375, 0.0, 0.234375), 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.2802631578947368, 0.0).circle(0.2744243421052632)
solid0=wp_sketch0.add(loop0).extrude(0.015625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.71875, 0.0, 0.234375), 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.03634868421052632, 0.0).circle(0.03634868421052632)
loop2=wp_sketch1.moveTo(0.1328125, -0.06570723684210526).threePointArc((0.12470828530647582, 0.0), (0.1328125, 0.06570723684210526)).lineTo(0.03634868421052632, 0.06570723684210526).threePointArc((0.10205592105263157, 0.0), (0.03634868421052632, -0.06570723684210526)).close()
solid1=wp_sketch1.add(loop1).add(loop2).extrude(0.015625)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.4609375, 0.0, -0.1015625), 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.2890625, 0.0).lineTo(0.2890625, 0.10345394736842105).threePointArc((0.14453125, 0.0625003784060813), (0.0, 0.10345394736842105)).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop3).extrude(0.015625)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.046875, 0.0, 0.1640625), 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.0984375, 0.0).threePointArc((0.16492598684210527, 0.06648848684210526), (0.0984375, 0.13297697368421052)).lineTo(0.0, 0.13297697368421052).threePointArc((0.008200572690506036, 0.06648848684210526), (0.0, 0.0)).close()
loop5=wp_sketch3.moveTo(0.0984375, 0.065625).circle(0.03626644736842105)
solid3=wp_sketch3.add(loop4).add(loop5).extrude(0.015625)
solid=solid.union(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.0390625, 0.0, 0.234375), cq.Vector(-1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, 1.0, 6.123233995736766e-17)))
loop6=wp_sketch4.moveTo(0.2802631578947368, 0.0).circle(0.2744243421052632)
solid4=wp_sketch4.add(loop6).extrude(0.359375)
solid=solid.union(solid4)
# Generating a workplane for sketch 5
wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(-0.171875, 0.0, -0.1015625), cq.Vector(-1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, 1.0, 6.123233995736766e-17)))
loop7=wp_sketch5.moveTo(0.2890625, 0.0).lineTo(0.2890625, 0.10345394736842105).threePointArc((0.14453125, 0.0625003784060813), (0.0, 0.10345394736842105)).lineTo(0.0, 0.0).close()
solid5=wp_sketch5.add(loop7).extrude(0.359375)
solid=solid.union(solid5)
# Generating a workplane for sketch 6
wp_sketch6 = cq.Workplane(cq.Plane(cq.Vector(-0.40625, -0.015625, 0.390625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop8=wp_sketch6.moveTo(0.09078947368421053, 0.0).circle(0.09078947368421053)
solid6=wp_sketch6.add(loop8).extrude(0.03125)
solid=solid.union(solid6)
# Generating a workplane for sketch 7
wp_sketch7 = cq.Workplane(cq.Plane(cq.Vector(-0.3671875, -0.046875, 0.390625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop9=wp_sketch7.moveTo(0.05131578947368422, 0.0).circle(0.05131578947368422)
solid7=wp_sketch7.add(loop9).extrude(0.0390625)
solid=solid.union(solid7)
| 3,403 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00003514 | import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1640625, 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.16578947368421051, 0.0).circle(0.16233552631578946)
loop1=wp_sketch0.moveTo(0.16578947368421051, 0.0).circle(0.05871710526315789)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.1015625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.4921875, -0.6484375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch1.moveTo(0.07500000000000001, 0.0).circle(0.07500000000000001)
loop3=wp_sketch1.moveTo(0.07500000000000001, 0.0).circle(0.037500000000000006)
solid1=wp_sketch1.add(loop2).add(loop3).extrude(-0.1953125)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.4609375, -0.6484375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop4=wp_sketch2.moveTo(0.10657894736842105, 0.0).circle(0.10435855263157895)
loop5=wp_sketch2.moveTo(0.10657894736842105, 0.0).circle(0.07327302631578947)
solid2=wp_sketch2.add(loop4).add(loop5).extrude(-0.109375)
solid=solid.union(solid2)
| 1,443 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00009993 | import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.0859375, 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.023123148853693615, -0.05582421956735902), (0.07894736842105263, -0.07894736842105263)).lineTo(1.4210526315789473, -0.07894736842105263).threePointArc((1.4768768511463064, -0.05582421956735902), (1.5, 0.0)).lineTo(1.5, 0.1736842105263158).threePointArc((1.4768768511463064, 0.2295084300936748), (1.4210526315789473, 0.25263157894736843)).lineTo(0.07894736842105263, 0.25263157894736843).threePointArc((0.023123148853693615, 0.2295084300936748), (0.0, 0.1736842105263158)).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.20526315789473684, 0.07894736842105263).circle(0.06315789473684211)
loop2=wp_sketch0.moveTo(0.9473684210526316, 0.07894736842105263).circle(0.06315789473684211)
loop3=wp_sketch0.moveTo(1.263157894736842, 0.07894736842105263).circle(0.06315789473684211)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).extrude(0.1015625)
solid=solid0
| 1,475 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00006444 | import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5703125, 0.0, 0.484375), 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.0002559473103671714, -0.006949013157894737), (0.0, -0.013898026315789474)).lineTo(0.06949013157894737, -0.4308388157894737).threePointArc((0.09132009428010797, -0.47849898466726026), (0.13898026315789475, -0.500328947368421)).lineTo(0.6254111842105263, -0.500328947368421).lineTo(1.2369243421052631, -0.500328947368421).threePointArc((1.2958886740232862, -0.47590512139170726), (1.3203125, -0.4169407894736842)).lineTo(1.3203125, -0.2779605263157895).threePointArc((1.2984825372988393, -0.2303003574380029), (1.2508223684210527, -0.2084703947368421)).lineTo(0.6810032894736842, -0.12508223684210526).threePointArc((0.6319939984861566, -0.13129885223547091), (0.5976151315789474, -0.1667763157894737)).threePointArc((0.40528666432649124, -0.2868653263426321), (0.22236842105263158, -0.1528782894736842)).lineTo(0.1528782894736842, 0.06949013157894737).threePointArc((0.06459857462901217, 0.12071524085622212), (0.0, 0.04169407894736842)).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.078125)
solid=solid0
| 1,706 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00002193 | 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.37894736842105264).lineTo(0.0, 0.37894736842105264).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.09375)
solid=solid0
| 942 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00005415 | import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.671875, 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(1.421875, 0.0).lineTo(1.421875, 0.7483552631578947).lineTo(0.0, 0.7483552631578947).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0625)
solid=solid0
| 957 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00007202 | import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.6015625, -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(1.3515625, 0.0).lineTo(1.3515625, 1.3515625).lineTo(0.2703125, 1.3515625).lineTo(0.2703125, 0.8109375000000001).lineTo(1.08125, 0.8109375000000001).lineTo(1.08125, 0.2703125).lineTo(0.0, 0.2703125).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.5390625)
solid=solid0
| 1,037 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00009549 | import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.515625, 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.0263157894736843).lineTo(0.0, 1.0263157894736843).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.12631578947368421, 0.12631578947368421).circle(0.04736842105263158)
loop2=wp_sketch0.moveTo(0.12631578947368421, 0.9157894736842106).circle(0.04736842105263158)
loop3=wp_sketch0.moveTo(0.7578947368421053, 0.5052631578947369).circle(0.2368421052631579)
loop4=wp_sketch0.moveTo(1.3894736842105264, 0.12631578947368421).circle(0.04736842105263158)
loop5=wp_sketch0.moveTo(1.3894736842105264, 0.9157894736842106).circle(0.04736842105263158)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).add(loop5).extrude(0.28125)
solid=solid0
| 1,270 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00008657 | import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1171875, 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
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.375, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.37894736842105264, 0.0).circle(0.37105263157894736)
solid1=wp_sketch1.add(loop1).extrude(0.1171875, both=True)
solid=solid.union(solid1)
| 1,161 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00001883 | import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.375, -0.2734375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.9375, 0.0).lineTo(0.9375, 0.9375).lineTo(0.0, 0.9375).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 853 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00001897 | import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.390625, 0.0, -0.4375), 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.07203947368421051, 0.0).lineTo(0.07203947368421051, 0.5763157894736841).lineTo(0.2521381578947368, 0.5763157894736841).lineTo(0.33618421052631575, 0.5282894736842105).lineTo(0.33618421052631575, 0.0).lineTo(0.3601973684210526, 0.0).lineTo(0.3601973684210526, 0.5042763157894736).lineTo(0.8044407894736841, 0.19210526315789472).lineTo(0.8044407894736841, 0.0).lineTo(1.140625, 0.0).lineTo(1.140625, 0.6483552631578947).lineTo(0.0, 0.6483552631578947).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(-0.28125)
solid=solid0
| 1,279 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00007558 | import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1328125, -0.171875, 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.11225328947368421).lineTo(0.0, 0.11225328947368421).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75, both=True)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.1328125, 0.0546875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.2734375, 0.0).lineTo(0.2734375, 0.11225328947368421).lineTo(0.0, 0.11225328947368421).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.75, both=True)
solid=solid.union(solid1)
| 1,137 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00006875 | import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6015625, -0.5234375, 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.5319078947368421).lineTo(0.0, 0.5319078947368421).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.5078125, -0.5234375, 0.6015625), 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.05921052631578947, 0.0).circle(0.05797697368421052)
solid1=wp_sketch1.add(loop1).extrude(-0.75)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.5078125, -0.5234375, 0.1484375), 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.05921052631578947, 0.0).circle(0.05797697368421052)
solid2=wp_sketch2.add(loop2).extrude(-0.75)
solid=solid.cut(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.390625, -0.5234375, 0.6015625), 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.05797697368421052, 0.0).circle(0.05797697368421052)
solid3=wp_sketch3.add(loop3).extrude(-0.75)
solid=solid.cut(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.390625, -0.5234375, 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.05797697368421052, 0.0).circle(0.05797697368421052)
solid4=wp_sketch4.add(loop4).extrude(-0.75)
solid=solid.cut(solid4)
| 1,983 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00006861 | import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.7421875, -0.046875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.140625, 0.0).lineTo(1.140625, 0.7924342105263157).lineTo(0.0, 0.7924342105263157).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.078125)
solid=solid0
| 888 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00004938 | import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = 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)))
loop0=wp_sketch0.moveTo(0.15789473684210525, 0.0).lineTo(0.15789473684210525, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.171875, both=True)
solid=solid0
| 951 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00007362 | import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.0625, 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.06315789473684211).lineTo(0.0, 0.06315789473684211).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0390625)
solid=solid0
| 875 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00003676 | import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0859375, -0.203125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.37894736842105264, 0.0).lineTo(0.37894736842105264, 0.28421052631578947).lineTo(0.07368421052631578, 0.28421052631578947).threePointArc((-0.45693294167682597, 0.30760824466521347), (0.0, 0.03684210526315789)).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 997 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00001049 | 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.0001644736842105263, -0.015460526315789473).lineTo(0.015625, -0.015460526315789473).lineTo(0.015625, 0.0).lineTo(0.014309210526315789, 0.0).lineTo(0.014309210526315789, -0.012828947368421053).threePointArc((0.01392382471208756, -0.013759351027877037), (0.01299342105263158, -0.014144736842105262)).lineTo(0.002631578947368421, -0.014144736842105262).threePointArc((0.0017011752879124392, -0.013759351027877037), (0.0013157894736842105, -0.012828947368421053)).lineTo(0.0013157894736842105, 0.0).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 1,234 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00002226 | 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.7578947368421053, 0.0).circle(0.7578947368421053)
loop1=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.4421052631578948)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.6015625, both=True)
solid=solid0
| 976 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00009373 | import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.4140625, 0.625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.8281249999999999, 0.0).threePointArc((0.41406249999999994, 0.1256044861811653), (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.4140625, -0.625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.8289473684210525, 0.0).lineTo(0.8289473684210525, 1.25).lineTo(0.0, 1.25).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.0703125)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.4140625, -0.625, 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.41406249999999994, -0.1256044861811653), (0.8281249999999999, 0.0)).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.0703125)
solid=solid.union(solid2)
| 1,354 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00009367 | 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.026644736842105263, 0.0).lineTo(0.026644736842105263, 0.000493421052631579).lineTo(0.000493421052631579, 0.000493421052631579).lineTo(0.000493421052631579, 0.045394736842105265).lineTo(0.0044407894736842105, 0.041447368421052636).lineTo(0.004934210526315789, 0.04194078947368421).lineTo(0.0, 0.046875).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 1,145 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00004643 | import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.3125, -0.59375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.18133223684210525, 0.0).lineTo(0.18133223684210525, -0.1571546052631579).lineTo(0.4472861842105263, -0.1571546052631579).lineTo(0.4472861842105263, 0.0).lineTo(0.5802631578947368, 0.0).lineTo(0.5802631578947368, 1.1484375).lineTo(0.0, 1.1484375).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.1015625)
solid=solid0
| 1,027 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00004125 | 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.1015625, 0.0).lineTo(0.1015625, 0.045970394736842106).lineTo(0.09514802631578947, 0.045970394736842106).lineTo(0.09514802631578947, 0.006414473684210527).lineTo(0.006414473684210527, 0.006414473684210527).lineTo(0.006414473684210527, 0.045970394736842106).lineTo(0.0, 0.045970394736842106).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.359375, 0.0), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042)))
loop1=wp_sketch1.moveTo(0.0, 0.015625).threePointArc((-0.0078125, 0.0078125), (0.0, 0.0)).close()
solid1=wp_sketch1.add(loop1).extrude(-0.1171875)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.359375, 0.0), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042)))
loop2=wp_sketch2.moveTo(0.0, 0.0).threePointArc((0.0078125, 0.0078125), (0.0, 0.015625)).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(-0.1171875)
solid=solid.cut(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.078125, 0.0), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042)))
loop3=wp_sketch3.moveTo(0.0, 0.015625).threePointArc((-0.0078125, 0.0078125), (0.0, 0.0)).close()
solid3=wp_sketch3.add(loop3).extrude(-0.1171875)
solid=solid.cut(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.078125, 0.0), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042)))
loop4=wp_sketch4.moveTo(0.0, 0.0).threePointArc((0.0078125, 0.0078125), (0.0, 0.015625)).lineTo(0.0, 0.0).close()
solid4=wp_sketch4.add(loop4).extrude(-0.1171875)
solid=solid.cut(solid4)
# Generating a workplane for sketch 5
wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.671875, 0.0), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042)))
loop5=wp_sketch5.moveTo(0.0, 0.015625).threePointArc((-0.0078125, 0.0078125), (0.0, 0.0)).close()
solid5=wp_sketch5.add(loop5).extrude(-0.1171875)
solid=solid.cut(solid5)
# Generating a workplane for sketch 6
wp_sketch6 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.671875, 0.0), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042)))
loop6=wp_sketch6.moveTo(0.0, 0.0).threePointArc((0.0078125, 0.0078125), (0.0, 0.015625)).lineTo(0.0, 0.0).close()
solid6=wp_sketch6.add(loop6).extrude(-0.1171875)
solid=solid.cut(solid6)
| 2,864 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00008910 | import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2265625, 0.0, -0.6015625), 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.22796052631578947, 0.0).lineTo(0.45592105263157895, 0.0).lineTo(0.45592105263157895, 1.203125).lineTo(0.22796052631578947, 1.203125).lineTo(0.0, 1.203125).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(-0.03125)
solid=solid0
| 1,023 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00004694 | import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.1796875, 0.0625, 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)
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.0234375, 0.0625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.035526315789473684, 0.0).circle(0.035526315789473684)
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.484375, 0.0625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.039473684210526314, 0.0).circle(0.039473684210526314)
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.3359375, 0.0625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch3.moveTo(0.03865131578947368, 0.0).circle(0.03865131578947368)
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.640625, 0.0625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop4=wp_sketch4.moveTo(0.043421052631578944, 0.0).circle(0.04251644736842105)
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.0, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop5=wp_sketch5.moveTo(0.75, 0.0).lineTo(0.75, 0.12631578947368421).lineTo(0.039473684210526314, 0.12631578947368421).lineTo(0.0, 0.0868421052631579).lineTo(0.0, 0.0).close()
loop6=wp_sketch5.moveTo(0.06315789473684211, 0.06315789473684211).circle(0.039473684210526314)
loop7=wp_sketch5.moveTo(0.2210526315789474, 0.06315789473684211).circle(0.039473684210526314)
loop8=wp_sketch5.moveTo(0.37105263157894736, 0.06315789473684211).circle(0.039473684210526314)
loop9=wp_sketch5.moveTo(0.5289473684210526, 0.06315789473684211).circle(0.039473684210526314)
loop10=wp_sketch5.moveTo(0.6789473684210526, 0.06315789473684211).circle(0.039473684210526314)
solid5=wp_sketch5.add(loop5).add(loop6).add(loop7).add(loop8).add(loop9).add(loop10).extrude(0.0234375)
solid=solid.union(solid5)
| 2,325 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00004680 | import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.46875, -0.46875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.9453125, 0.0).lineTo(0.9453125, 0.9453125).lineTo(0.0, 0.9453125).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.4776315789473684, 0.4776315789473684).circle(0.14925986842105263)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75)
solid=solid0
| 944 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00008521 | import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.421875, -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.8526315789473684, 0.0).lineTo(0.8526315789473684, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.7736842105263159, 0.07894736842105263).lineTo(0.7736842105263159, 1.4210526315789473).lineTo(0.07894736842105263, 1.4210526315789473).lineTo(0.07894736842105263, 0.07894736842105263).close()
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.328125)
solid=solid0
| 1,062 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00007612 | import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.265625, 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.4055921052631579, 0.0).lineTo(0.4055921052631579, 0.11266447368421054).lineTo(0.27039473684210524, 0.18026315789473685).lineTo(0.31546052631578947, 0.4844572368421053).lineTo(0.4844572368421053, 0.4844572368421053).threePointArc((0.556156468848932, 0.5141560311510681), (0.5858552631578947, 0.5858552631578947)).lineTo(0.5858552631578947, 0.7435855263157894).lineTo(0.27039473684210524, 0.7435855263157894).lineTo(0.27039473684210524, 1.0703125).lineTo(0.11266447368421054, 1.0703125).threePointArc((0.03533201799317333, 1.0429470633409186), (0.0, 0.9689144736842106)).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.3605263157894737, 0.22532894736842107), (0.13519736842105262, 0.5858552631578947)).lineTo(0.13519736842105262, 0.6985197368421053).threePointArc((0.10703125000000001, 0.7266858552631579), (0.07886513157894737, 0.6985197368421053)).lineTo(0.07886513157894737, 0.5858552631578947).close()
loop2=wp_sketch0.moveTo(0.07886513157894737, 0.5858552631578947).threePointArc((0.24222861842105264, 0.6928865131578947), (0.13519736842105262, 0.8562500000000001)).lineTo(0.13519736842105262, 0.9689144736842106).threePointArc((0.10703125000000001, 0.9970805921052632), (0.07886513157894737, 0.9689144736842106)).lineTo(0.07886513157894737, 0.8562500000000001).close()
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.0234375, both=True)
solid=solid0
| 1,994 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00004333 | import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.4375, 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.43815789473684214, 0.0).circle(0.43815789473684214)
solid0=wp_sketch0.add(loop0).extrude(0.296875)
solid=solid0
| 912 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00001539 | import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.6796875, 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.3578947368421053).lineTo(0.0, 1.3578947368421053).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.28421052631578947, 0.9947368421052631).circle(0.04736842105263158)
loop2=wp_sketch0.moveTo(1.1368421052631579, 0.9947368421052631).circle(0.04736842105263158)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.0390625)
solid=solid0
| 1,034 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00008290 | import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.09375, 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.09078947368421053, 0.0).circle(0.09078947368421053)
loop1=wp_sketch0.moveTo(0.09078947368421053, 0.0).circle(0.08322368421052631)
solid0=wp_sketch0.add(loop0).add(loop1).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 | |
0000/00009824 | 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.37894736842105264, -0.6473684210526316).lineTo(1.1210526315789473, -0.6473684210526316).lineTo(1.5, 0.0).lineTo(1.1210526315789473, 0.6473684210526316).lineTo(0.37894736842105264, 0.6473684210526316).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.015625)
solid=solid0
| 984 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00007809 | import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.515625, 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(1.046875, 0.0).lineTo(1.046875, 0.5620065789473684).lineTo(0.8154605263157895, 0.5620065789473684).lineTo(0.8154605263157895, 0.7493421052631579).lineTo(0.23141447368421053, 0.7493421052631579).lineTo(0.23141447368421053, 0.5620065789473684).lineTo(0.0, 0.5620065789473684).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(-0.3515625)
solid=solid0
| 1,125 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00009818 | 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.6).lineTo(0.0, 0.6).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0625)
solid=solid0
| 909 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00005951 | import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.7265625, 0.0, -0.15625), 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.4765625, 0.0).lineTo(1.4765625, 0.24868421052631579).lineTo(0.0, 0.24868421052631579).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.03125)
solid=solid0
| 962 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00002958 | import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.375, 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.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
| 913 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00007820 | import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.3828125, 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.18536184210526319, -0.3384868421052632).lineTo(0.5722039473684211, -0.3384868421052632).lineTo(0.7656250000000001, -0.01611842105263158).lineTo(0.5802631578947369, 0.32236842105263164).lineTo(0.19342105263157897, 0.3304276315789474).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.1484375)
solid=solid0
| 1,028 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00002970 | import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.375, -0.375, 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
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.296875, -0.171875, 0.75), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.30394736842105263, -0.17097039473684209).lineTo(0.6015625, 0.0).lineTo(0.6015625, 0.34827302631578944).lineTo(0.30394736842105263, 0.5192434210526315).lineTo(0.0, 0.34827302631578944).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(-0.453125)
solid=solid.cut(solid1)
| 1,172 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00007808 | import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.515625, 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(1.046875, 0.0).lineTo(1.046875, 0.5620065789473684).lineTo(0.8154605263157895, 0.5620065789473684).lineTo(0.8154605263157895, 0.7493421052631579).lineTo(0.23141447368421053, 0.7493421052631579).lineTo(0.23141447368421053, 0.5620065789473684).lineTo(0.0, 0.5620065789473684).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(-0.4375)
solid=solid0
| 1,122 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00009825 | 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.37894736842105264, -0.6473684210526316).lineTo(1.1210526315789473, -0.6473684210526316).lineTo(1.5, 0.0).lineTo(1.1210526315789473, 0.6473684210526316).lineTo(0.37894736842105264, 0.6473684210526316).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.03125)
solid=solid0
| 983 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00002964 | import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.578125, 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.5842105263157895, 0.0).circle(0.5842105263157895)
loop1=wp_sketch0.moveTo(0.5842105263157895, 0.0).circle(0.29210526315789476)
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.1875, 0.4375, 0.171875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch1.moveTo(0.08289473684210526, 0.0).circle(0.08289473684210526)
solid1=wp_sketch1.add(loop2).extrude(0.578125)
solid=solid.union(solid1)
| 1,104 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00001538 | 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.125)
solid=solid0
| 896 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00004454 | import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.46875, -0.46875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.9453125, 0.0).lineTo(0.9453125, 0.9453125).lineTo(0.0, 0.9453125).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.4776315789473684, 0.4776315789473684).circle(0.14925986842105263)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75)
solid=solid0
| 944 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00000632 | import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.640625, 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.6434210526315789, 0.0).circle(0.6434210526315789)
loop1=wp_sketch0.moveTo(0.6434210526315789, 0.0).circle(0.6032072368421053)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.296875)
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, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop2=wp_sketch1.moveTo(0.7578947368421053, 0.0).circle(0.7578947368421053)
loop3=wp_sketch1.moveTo(0.7578947368421053, 0.0).circle(0.631578947368421)
solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.0390625)
solid=solid.union(solid1)
| 1,298 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00005762 | 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.24473684210526317).lineTo(0.0, 0.24473684210526317).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0078125)
solid=solid0
| 944 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00000168 | 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.06315789473684211).lineTo(0.5605263157894737, 0.06315789473684211).lineTo(0.5605263157894737, 0.45).lineTo(0.5289473684210526, 0.45).threePointArc((0.375, 0.2960526315789474), (0.2210526315789474, 0.45)).lineTo(0.18947368421052632, 0.45).lineTo(0.18947368421052632, 0.06315789473684211).lineTo(0.0, 0.06315789473684211).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.5625)
solid=solid0
| 1,170 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00006519 | import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.453125, 0.296875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.009457236842105263, -0.3404605263157895).lineTo(0.45394736842105265, -0.5958059210526315).lineTo(0.8984375, -0.3404605263157895).lineTo(0.8984375, 0.0).lineTo(0.5579769736842105, 0.0).lineTo(0.5579769736842105, 0.11348684210526316).lineTo(0.3404605263157895, 0.11348684210526316).lineTo(0.3404605263157895, 0.0).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.45394736842105265, -0.18914473684210525).circle(0.11348684210526316)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.109375, 0.109375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch1.moveTo(0.11447368421052631, 0.0).circle(0.11208881578947369)
loop3=wp_sketch1.moveTo(0.11447368421052631, 0.0).circle(0.07631578947368421)
solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.75)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.109375, 0.109375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop4=wp_sketch2.moveTo(0.11447368421052631, 0.0).circle(0.11208881578947369)
loop5=wp_sketch2.moveTo(0.11447368421052631, 0.0).circle(0.07631578947368421)
solid2=wp_sketch2.add(loop4).add(loop5).extrude(0.6015625)
solid=solid.cut(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.0625, 0.4140625, 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.06315789473684211, 0.0).circle(0.06315789473684211)
solid3=wp_sketch3.add(loop6).extrude(-0.2890625)
solid=solid.cut(solid3)
| 1,964 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00008911 | import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.28125, 0.0, -0.6015625), 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.0506578947368421, 0.0).lineTo(0.27861842105263157, 0.0).lineTo(0.506578947368421, 0.0).lineTo(0.5699013157894737, 0.0).lineTo(0.5699013157894737, 1.203125).lineTo(0.506578947368421, 1.203125).lineTo(0.27861842105263157, 1.203125).lineTo(0.0506578947368421, 1.203125).lineTo(0.0, 1.203125).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(-0.03125)
solid=solid0
| 1,135 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00000356 | 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, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.17565789473684212, -0.3000822368421053).lineTo(0.5196546052631579, -0.3000822368421053).lineTo(0.6953125, 0.0).lineTo(0.5196546052631579, 0.3000822368421053).lineTo(0.17565789473684212, 0.3000822368421053).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.19029605263157895, -0.2634868421052632).lineTo(0.5050164473684211, -0.2634868421052632).lineTo(0.658717105263158, 0.0).lineTo(0.5050164473684211, 0.2634868421052632).lineTo(0.19029605263157895, 0.2634868421052632).lineTo(0.036595394736842105, 0.0).close()
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75)
solid=solid0
| 1,233 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00000418 | import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5546875, 0.0, 0.09375), 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.7416118421052631, 0.0).threePointArc((0.7707451066919785, -0.012067393308021316), (0.7828124999999999, -0.04120065789473684)).lineTo(1.3046875, -0.04120065789473684).lineTo(1.3046875, 0.013733552631578947).lineTo(0.7141447368421052, 0.12360197368421053).lineTo(0.0, 0.12360197368421053).lineTo(0.0, 0.08240131578947368).lineTo(0.521875, 0.08240131578947368).threePointArc((0.5493421052631579, 0.05493421052631579), (0.521875, 0.027467105263157893)).lineTo(0.0, 0.027467105263157893).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0859375, both=True)
solid=solid0
| 1,309 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00005560 | import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6796875, -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.6828947368421053, -0.4979440789473685).lineTo(1.3515625, 0.0).lineTo(1.0954769736842105, 0.7967105263157895).lineTo(0.2560855263157895, 0.7967105263157895).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.6828947368421053, 0.2134046052631579).circle(0.45526315789473687)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75)
solid=solid0
| 1,030 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00004118 | 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.75, 0.0).lineTo(0.75, 0.6473684210526316).lineTo(0.0, 0.6473684210526316).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.6328125, -0.0390625, 0.5), 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.01171875, -0.01171875), (0.0234375, 0.0)).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(-0.125)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.6328125, -0.0390625, 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.0234375, 0.0).threePointArc((0.01171875, 0.01171875), (0.0, 0.0)).close()
solid2=wp_sketch2.add(loop2).extrude(-0.125)
solid=solid.cut(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.1328125, -0.0390625, 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.0, 0.0).threePointArc((0.01171875, -0.01171875), (0.0234375, 0.0)).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop3).extrude(-0.125)
solid=solid.cut(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.1328125, -0.0390625, 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.0234375, 0.0).threePointArc((0.01171875, 0.01171875), (0.0, 0.0)).close()
solid4=wp_sketch4.add(loop4).extrude(-0.125)
solid=solid.cut(solid4)
# Generating a workplane for sketch 5
wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(-0.6328125, -0.0390625, 0.1484375), 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.0234375, 0.0).threePointArc((0.01171875, 0.01171875), (0.0, 0.0)).close()
solid5=wp_sketch5.add(loop5).extrude(-0.125)
solid=solid.cut(solid5)
# Generating a workplane for sketch 6
wp_sketch6 = cq.Workplane(cq.Plane(cq.Vector(-0.6328125, -0.0390625, 0.1484375), 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.01171875, -0.01171875), (0.0234375, 0.0)).lineTo(0.0, 0.0).close()
solid6=wp_sketch6.add(loop6).extrude(-0.125)
solid=solid.cut(solid6)
# Generating a workplane for sketch 7
wp_sketch7 = cq.Workplane(cq.Plane(cq.Vector(-0.1328125, -0.0390625, 0.1484375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop7=wp_sketch7.moveTo(0.0234375, 0.0).threePointArc((0.01171875, 0.01171875), (0.0, 0.0)).close()
solid7=wp_sketch7.add(loop7).extrude(-0.125)
solid=solid.cut(solid7)
# Generating a workplane for sketch 8
wp_sketch8 = cq.Workplane(cq.Plane(cq.Vector(-0.1328125, -0.0390625, 0.1484375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop8=wp_sketch8.moveTo(0.0, 0.0).threePointArc((0.01171875, -0.01171875), (0.0234375, 0.0)).lineTo(0.0, 0.0).close()
solid8=wp_sketch8.add(loop8).extrude(-0.125)
solid=solid.cut(solid8)
| 3,239 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00008736 | import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2265625, 0.0, -0.09375), 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.45394736842105265, 0.0).lineTo(0.45394736842105265, 0.11916118421052632).lineTo(0.45394736842105265, 0.5390625).lineTo(0.0, 0.5390625).lineTo(0.0, 0.11916118421052632).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.06241776315789474, 0.09078947368421053).circle(0.051069078947368424)
loop2=wp_sketch0.moveTo(0.22697368421052633, 0.3120888157894737).circle(0.19292763157894738)
loop3=wp_sketch0.moveTo(0.39152960526315794, 0.09078947368421053).circle(0.051069078947368424)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).extrude(0.0546875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.296875, 0.0, -0.09375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop4=wp_sketch1.moveTo(0.45394736842105265, 0.0).lineTo(0.45394736842105265, 0.5390625).lineTo(0.0, 0.5390625).lineTo(0.0, 0.0).close()
loop5=wp_sketch1.moveTo(0.06241776315789474, 0.09078947368421053).circle(0.02837171052631579)
loop6=wp_sketch1.moveTo(0.39152960526315794, 0.09078947368421053).circle(0.02837171052631579)
solid1=wp_sketch1.add(loop4).add(loop5).add(loop6).extrude(0.0546875)
solid=solid.union(solid1)
| 1,757 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00001855 | import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -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.7495065789473685, 0.0).lineTo(0.7495065789473685, 0.7656250000000001).lineTo(0.0, 0.7656250000000001).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.3046875)
solid=solid0
| 904 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00006848 | import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1875, 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.18708881578947367, 0.0).lineTo(0.18708881578947367, -0.03741776315789474).lineTo(0.26192434210526316, -0.03741776315789474).lineTo(0.26192434210526316, 0.11225328947368421).lineTo(0.4115953947368421, 0.11225328947368421).lineTo(0.4115953947368421, 0.561266447368421).lineTo(0.26192434210526316, 0.561266447368421).lineTo(0.26192434210526316, 0.7109375).lineTo(0.18708881578947367, 0.7109375).lineTo(0.18708881578947367, 0.11225328947368421).lineTo(0.03741776315789474, 0.11225328947368421).lineTo(0.0, 0.07483552631578948).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.1875)
solid=solid0
| 1,350 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00005399 | import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.21875), 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.07425986842105263)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.03125)
solid=solid0
| 975 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00002347 | import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2421875, -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.48947368421052634, 0.0).lineTo(0.48947368421052634, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.07894736842105263, 0.04736842105263158).circle(0.015789473684210527)
loop2=wp_sketch0.moveTo(0.07894736842105263, 1.4526315789473685).circle(0.015789473684210527)
loop3=wp_sketch0.moveTo(0.4105263157894737, 0.04736842105263158).circle(0.015789473684210527)
loop4=wp_sketch0.moveTo(0.4105263157894737, 1.4526315789473685).circle(0.015789473684210527)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).extrude(0.0234375)
solid=solid0
| 1,201 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00006647 | 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.7578947368421053, 0.0).circle(0.7578947368421053)
loop1=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.18947368421052632)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75)
solid=solid0
| 968 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00002421 | import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0390625, 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.078125, 0.0).lineTo(0.078125, 0.07730263157894736).lineTo(0.0, 0.07730263157894736).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.3984375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0625, -0.3984375, 0.03125), 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.016118421052631577, -0.06271320076182427), (0.032236842105263154, 0.0)).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.3515625)
solid=solid.union(solid1)
| 1,288 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00006135 | import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.5078125, 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.9789473684210527).lineTo(0.0, 0.9789473684210527).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(1.4210526315789473, 0.07894736842105263).lineTo(1.4210526315789473, 0.9).lineTo(0.07894736842105263, 0.9).lineTo(0.07894736842105263, 0.07894736842105263).close()
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.6796875, -0.4375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch1.moveTo(1.3515625, 0.0).lineTo(1.3515625, 0.8393914473684211).lineTo(0.0, 0.8393914473684211).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop2).extrude(0.0078125)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.5859375, 0.390625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch2.moveTo(0.003947368421052632, 0.0).circle(0.0038651315789473683)
solid2=wp_sketch2.add(loop3).extrude(0.0078125)
solid=solid.cut(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.5625, 0.390625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop4=wp_sketch3.moveTo(0.003947368421052632, 0.0).circle(0.0038651315789473683)
solid3=wp_sketch3.add(loop4).extrude(0.0078125)
solid=solid.cut(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.5546875, 0.390625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop5=wp_sketch4.moveTo(0.003947368421052632, 0.0).circle(0.0038651315789473683)
solid4=wp_sketch4.add(loop5).extrude(0.0078125)
solid=solid.cut(solid4)
# Generating a workplane for sketch 5
wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(0.5703125, 0.390625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop6=wp_sketch5.moveTo(0.003947368421052632, 0.0).circle(0.0038651315789473683)
solid5=wp_sketch5.add(loop6).extrude(0.0078125)
solid=solid.cut(solid5)
# Generating a workplane for sketch 6
wp_sketch6 = cq.Workplane(cq.Plane(cq.Vector(-0.5859375, -0.3984375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop7=wp_sketch6.moveTo(0.003947368421052632, 0.0).circle(0.0038651315789473683)
solid6=wp_sketch6.add(loop7).extrude(0.0078125)
solid=solid.cut(solid6)
# Generating a workplane for sketch 7
wp_sketch7 = cq.Workplane(cq.Plane(cq.Vector(-0.5546875, -0.3984375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop8=wp_sketch7.moveTo(0.003947368421052632, 0.0).circle(0.0038651315789473683)
solid7=wp_sketch7.add(loop8).extrude(0.0078125)
solid=solid.cut(solid7)
# Generating a workplane for sketch 8
wp_sketch8 = cq.Workplane(cq.Plane(cq.Vector(0.546875, -0.3984375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop9=wp_sketch8.moveTo(0.003947368421052632, 0.0).circle(0.0038651315789473683)
solid8=wp_sketch8.add(loop9).extrude(0.0078125)
solid=solid.cut(solid8)
# Generating a workplane for sketch 9
wp_sketch9 = cq.Workplane(cq.Plane(cq.Vector(0.5703125, -0.3984375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop10=wp_sketch9.moveTo(0.003947368421052632, 0.0).circle(0.0038651315789473683)
solid9=wp_sketch9.add(loop10).extrude(0.0078125)
solid=solid.cut(solid9)
| 2,909 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00000544 | import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.3828125, 0.0, -0.4296875), 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.796875, 0.0).lineTo(0.796875, 0.7717105263157895).lineTo(0.0, 0.7717105263157895).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.3828125, 0.0, -0.4296875), 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.796875, 0.0).lineTo(0.796875, 0.7717105263157895).lineTo(0.0, 0.7717105263157895).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.1875)
solid=solid.union(solid1)
| 1,268 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00005414 | import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.671875, 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(1.421875, 0.0).lineTo(1.421875, 0.7483552631578947).lineTo(0.0, 0.7483552631578947).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0625)
solid=solid0
| 957 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00008656 | import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.125, 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.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.3515625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.046875, 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.05131578947368422, 0.0).circle(0.05131578947368422)
solid1=wp_sketch1.add(loop1).extrude(0.3984375)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.046875, -0.3515625, 0.0), 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.05131578947368422, 0.0).circle(0.05131578947368422)
solid2=wp_sketch2.add(loop2).extrude(0.3984375)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.125, 0.3984375, 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.12631578947368421, 0.0).circle(0.12631578947368421)
loop4=wp_sketch3.moveTo(0.12631578947368421, 0.0).circle(0.05526315789473684)
solid3=wp_sketch3.add(loop3).add(loop4).extrude(-0.125)
solid=solid.union(solid3)
| 1,789 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00004078 | import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = 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)))
loop0=wp_sketch0.moveTo(0.043421052631578944, -0.07417763157894737).lineTo(0.12845394736842106, -0.07417763157894737).lineTo(0.171875, 0.0).lineTo(0.12845394736842106, 0.07417763157894737).lineTo(0.043421052631578944, 0.07417763157894737).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75, both=True)
solid=solid0
| 1,074 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00006109 | import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, -0.1640625), 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.65625, 0.0).lineTo(0.65625, 0.08980263157894737).lineTo(0.23486842105263156, 0.08980263157894737).lineTo(0.23486842105263156, 0.16578947368421051).lineTo(0.15888157894736843, 0.16578947368421051).lineTo(0.15888157894736843, 0.08980263157894737).lineTo(0.0, 0.08980263157894737).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 1,127 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00000949 | 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.15, 0.0).lineTo(0.15, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.1484375)
solid=solid0
| 914 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00004252 | import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.3828125, 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(0.0, 0.0).threePointArc((0.3848684210526316, -0.6246019312701783), (0.7697368421052632, 0.0)).lineTo(0.5302631578947369, 0.4703947368421053).threePointArc((0.3848684210526316, 0.5599843458335299), (0.23947368421052634, 0.4703947368421053)).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.3848684210526316, -0.19671052631578947).circle(0.3335526315789474)
loop2=wp_sketch0.moveTo(0.3848684210526316, 0.39342105263157895).circle(0.07697368421052632)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.265625, both=True)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.2890625, 0.0, 0.375), 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.578125, 0.0).lineTo(0.4320723684210526, 0.28601973684210524).threePointArc((0.2890625, 0.3741398330163628), (0.14605263157894738, 0.28601973684210524)).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop3).extrude(-0.109375, both=True)
solid=solid.cut(solid1)
| 1,630 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00006323 | import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.2421875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.04736842105263158, -0.04736842105263158).lineTo(0.04736842105263158, -0.13421052631578947).lineTo(0.718421052631579, -0.13421052631578947).threePointArc((0.7407507404585225, -0.12496126677431199), (0.75, -0.10263157894736842)).lineTo(0.75, 0.2131578947368421).threePointArc((0.7407507404585225, 0.23548758256378569), (0.718421052631579, 0.24473684210526317)).lineTo(0.04736842105263158, 0.24473684210526317).lineTo(0.04736842105263158, 0.22894736842105265).lineTo(0.0, 0.18157894736842106).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0234375)
solid=solid0
| 1,240 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00004520 | import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0859375, 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.5731907894736842, 0.0).threePointArc((0.6605674342105263, 0.0873766447368421), (0.5731907894736842, 0.1747532894736842)).lineTo(0.0, 0.1747532894736842).threePointArc((-0.0873766447368421, 0.0873766447368421), (0.0, 0.0)).close()
solid0=wp_sketch0.add(loop0).extrude(0.03125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0859375, 0.0), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042)))
loop1=wp_sketch1.moveTo(0.08684210526315789, 0.0).circle(0.0850328947368421)
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.578125, 0.0859375, 0.0), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042)))
loop2=wp_sketch2.moveTo(0.08684210526315789, 0.0).circle(0.0850328947368421)
solid2=wp_sketch2.add(loop2).extrude(0.1328125)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.03125, 0.0859375, -0.1328125), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042)))
loop3=wp_sketch3.moveTo(0.055263157894736833, 0.0).circle(0.055263157894736833)
solid3=wp_sketch3.add(loop3).extrude(-0.109375)
solid=solid.cut(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.609375, 0.0859375, -0.1328125), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042)))
loop4=wp_sketch4.moveTo(0.055263157894736833, 0.0).circle(0.055263157894736833)
solid4=wp_sketch4.add(loop4).extrude(-0.109375)
solid=solid.cut(solid4)
| 2,121 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00006451 | 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.37894736842105264)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.09375)
solid=solid0
| 899 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00008454 | import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.234375, 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.23684210526315788, 0.0).circle(0.23684210526315788)
loop1=wp_sketch0.moveTo(0.23684210526315788, 0.0).circle(0.12335526315789473)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75)
solid=solid0
| 903 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00009038 | import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0390625, 0.0, 0.0078125), 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.004687500000000001, 0.0).lineTo(0.004687500000000001, 0.1484375).lineTo(0.0, 0.1484375).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.0390625, 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.1484375, 0.0).lineTo(0.1484375, 0.004687500000000001).lineTo(0.0, 0.004687500000000001).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.0390625, 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_sketch2.moveTo(0.0078125, 0.0).lineTo(0.0078125, 0.0078125).lineTo(0.0, 0.0078125).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.75)
solid=solid.union(solid2)
| 1,559 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00005659 | 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(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.002549342105263158, -0.002549342105263158).lineTo(0.2421875, 0.16570723684210528).lineTo(0.23963815789473686, 0.16825657894736842).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(-0.75)
solid=solid0
| 975 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00007728 | 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.37894736842105264)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.015625)
solid=solid0
| 900 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00001403 | 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.3125, 0.0).lineTo(0.3125, 0.03289473684210526).lineTo(0.03289473684210526, 0.03289473684210526).lineTo(0.03289473684210526, 0.3125).lineTo(0.0, 0.3125).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75, both=True)
solid=solid0
| 1,009 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00008433 | import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.125, 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.12631578947368421, 0.0).circle(0.12631578947368421)
solid0=wp_sketch0.add(loop0).extrude(0.6640625)
solid=solid0
| 912 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00006393 | 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)
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 913 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00009936 | 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 | |
0000/00008396 | import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5, -0.25, 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.25263157894736843).lineTo(0.0, 0.5).threePointArc((-0.25, 0.25), (0.0, 0.0)).close()
solid0=wp_sketch0.add(loop0).extrude(0.0859375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.5, -0.25, 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.25, 0.25), (0.0, 0.5)).lineTo(0.0, 0.25263157894736843).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.0859375)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.5, -0.25, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.5, 0.0).lineTo(0.5, 0.25263157894736843).lineTo(0.0, 0.25263157894736843).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.0859375)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.5, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch3.moveTo(0.5, 0.0).lineTo(0.5, 0.25263157894736843).lineTo(0.0, 0.25263157894736843).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop3).extrude(0.0859375)
solid=solid.union(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.25, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop4=wp_sketch4.moveTo(0.5, 0.0).lineTo(0.5, 0.25263157894736843).lineTo(0.0, 0.25263157894736843).lineTo(0.0, 0.0).close()
solid4=wp_sketch4.add(loop4).extrude(0.0859375)
solid=solid.union(solid4)
# Generating a workplane for sketch 5
wp_sketch5 = 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)))
loop5=wp_sketch5.moveTo(0.5, 0.0).lineTo(0.5, 0.25263157894736843).lineTo(0.0, 0.25263157894736843).lineTo(0.0, 0.0).close()
solid5=wp_sketch5.add(loop5).extrude(0.0859375)
solid=solid.union(solid5)
# Generating a workplane for sketch 6
wp_sketch6 = cq.Workplane(cq.Plane(cq.Vector(-0.390625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop6=wp_sketch6.moveTo(0.06710526315789474, 0.0).circle(0.06710526315789474)
solid6=wp_sketch6.add(loop6).extrude(0.171875)
solid=solid.cut(solid6)
| 2,163 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00007258 | 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.18947368421052632, 0.0).lineTo(0.18947368421052632, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.015625)
solid=solid0
| 943 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00000251 | import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.0078125, 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.011842105263157895, 0.0).circle(0.011842105263157895)
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 895 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00008625 | import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.140625, -0.140625), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.28125, 0.0).lineTo(0.28125, 0.28125).lineTo(0.0, 0.28125).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.25164473684210525, 0.02960526315789474).lineTo(0.25164473684210525, 0.25164473684210525).lineTo(0.02960526315789474, 0.25164473684210525).lineTo(0.02960526315789474, 0.02960526315789474).close()
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75)
solid=solid0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.140625, -0.140625), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.28125, 0.0).lineTo(0.28125, 0.28125).lineTo(0.0, 0.28125).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.25164473684210525, 0.02960526315789474).lineTo(0.25164473684210525, 0.25164473684210525).lineTo(0.02960526315789474, 0.25164473684210525).lineTo(0.02960526315789474, 0.02960526315789474).close()
solid0=wp_sketch0.add(loop0).add(loop1).extrude(-0.75)
solid=solid.union(solid0)
| 1,553 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00003016 | 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.10937499999999999, 0.0).lineTo(0.10937499999999999, 0.10937499999999999).lineTo(0.0, 0.10937499999999999).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.09375)
solid=solid0
| 900 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00001615 | import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.296875, 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.30394736842105263, 0.0).circle(0.30394736842105263)
solid0=wp_sketch0.add(loop0).extrude(0.75, both=True)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0625, 0.0, 0.4609375), 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.23124999999999998, 0.0).lineTo(0.23124999999999998, 0.2890625).lineTo(0.0, 0.2890625).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.75, both=True)
solid=solid.cut(solid1)
| 1,156 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00009249 | 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()
loop1=wp_sketch0.moveTo(1.3736842105263158, 0.12631578947368421).lineTo(1.3736842105263158, 1.3736842105263158).lineTo(0.12631578947368421, 1.3736842105263158).lineTo(0.12631578947368421, 0.12631578947368421).close()
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.03125)
solid=solid0
| 1,099 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00005498 | import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.3046875, 0.34375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.09300986842105263, 0.0).lineTo(0.5866776315789474, 0.0).lineTo(0.6796875, 0.0).lineTo(0.6796875, 0.4006578947368421).lineTo(0.5866776315789474, 0.4006578947368421).lineTo(0.09300986842105263, 0.4006578947368421).lineTo(0.0, 0.4006578947368421).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.34342105263157896, 0.20032894736842105).circle(0.057236842105263155)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.078125)
solid=solid0
| 1,111 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00009473 | import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0078125, 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.003947368421052632, 0.0).circle(0.003947368421052632)
solid0=wp_sketch0.add(loop0).extrude(0.6640625)
solid=solid0
| 846 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00001749 | import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.15625, -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.1591282894736842, 0.0).threePointArc((0.6630345394736842, 0.50390625), (0.1591282894736842, 1.0078125)).lineTo(0.0, 1.0078125).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.1591282894736842, 0.07425986842105263).threePointArc((0.5887746710526316, 0.50390625), (0.1591282894736842, 0.9335526315789474)).lineTo(0.03182565789473684, 0.9335526315789474).lineTo(0.03182565789473684, 0.07425986842105263).close()
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.1796875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.4296875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch1.moveTo(0.032565789473684215, -0.05180921052631579).lineTo(0.140625, -0.02368421052631579).threePointArc((0.0713322811326035, -0.005787154788324753), (0.0, 0.0)).close()
solid1=wp_sketch1.add(loop2).extrude(0.1796875)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.4296875, 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.0).threePointArc((0.0713322811326035, 0.005787154788324669), (0.140625, 0.02368421052631579)).lineTo(0.032565789473684215, 0.05180921052631579).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop3).extrude(0.1796875)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.15625, -0.5, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop4=wp_sketch3.moveTo(0.0506578947368421, -0.17039473684210524).threePointArc((0.16806084255086626, -0.0245293370922273), (0.25789473684210523, -0.1888157894736842)).lineTo(0.43749999999999994, 0.08289473684210526).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop4).extrude(0.09375)
solid=solid.union(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.109375, -0.640625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop5=wp_sketch4.moveTo(0.11052631578947367, 0.0).circle(0.11052631578947367)
solid4=wp_sketch4.add(loop5).extrude(0.09375)
solid=solid.union(solid4)
# Generating a workplane for sketch 5
wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(-0.046875, -0.640625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop6=wp_sketch5.moveTo(0.04736842105263158, 0.0).circle(0.04736842105263158)
solid5=wp_sketch5.add(loop6).extrude(0.09375)
solid=solid.cut(solid5)
| 2,442 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00000443 | 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.37894736842105264).lineTo(0.0, 0.37894736842105264).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.5390625, 0.1875, 0.0), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042)))
loop1=wp_sketch1.moveTo(0.02319078947368421, 0.0).circle(0.02319078947368421)
solid1=wp_sketch1.add(loop1).extrude(-0.0390625)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.1640625, 0.1875, 0.0), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042)))
loop2=wp_sketch2.moveTo(0.02368421052631579, 0.0).circle(0.02319078947368421)
solid2=wp_sketch2.add(loop2).extrude(-0.0390625)
solid=solid.cut(solid2)
| 1,432 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00001013 | import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.65625, 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.3105263157894738).lineTo(0.0, 1.3105263157894738).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.09375)
solid=solid0
| 871 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00003823 | 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
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.375, -0.75, 0.375), 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.375, 0.0).lineTo(0.375, 0.375).lineTo(0.0, 0.375).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(-1.0)
solid=solid.cut(solid1)
| 1,180 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00002297 | 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.28421052631578947).lineTo(0.0, 0.28421052631578947).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.21875, -0.0234375, 0.0859375), 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.3203125, 0.0).lineTo(0.3203125, 0.1584703947368421).lineTo(0.0, 0.1584703947368421).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(-0.0234375)
solid=solid.cut(solid1)
| 1,264 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00004433 | 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.078125)
solid=solid0
| 841 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00006224 | import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0078125, 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.015625, 0.0).lineTo(0.015625, 0.001644736842105263).lineTo(0.008552631578947369, 0.001644736842105263).lineTo(0.008552631578947369, 0.015625).lineTo(0.007072368421052631, 0.015625).lineTo(0.007072368421052631, 0.001644736842105263).lineTo(0.0, 0.001644736842105263).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 1,115 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00007884 | import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2109375, 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.20921052631578946, 0.0).circle(0.20485197368421051)
loop1=wp_sketch0.moveTo(0.20921052631578946, 0.0).circle(0.10460526315789473)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.203125, 0.03125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch1.moveTo(0.0, 0.0).threePointArc((0.20394736842105263, 0.17375511164152763), (0.40789473684210525, 0.0)).lineTo(0.30921052631578944, 0.625).threePointArc((0.20394736842105263, 0.5014459713357267), (0.09868421052631579, 0.625)).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop2).extrude(0.375)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.109375, 0.640625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch2.moveTo(0.10657894736842105, 0.0).circle(0.10657894736842105)
loop4=wp_sketch2.moveTo(0.10657894736842105, 0.0).circle(0.046628289473684206)
solid2=wp_sketch2.add(loop3).add(loop4).extrude(0.375)
solid=solid.union(solid2)
| 1,513 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00000133 | 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.7578947368421053, 0.0).circle(0.7578947368421053)
loop1=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.39473684210526316)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.25)
solid=solid0
| 950 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00002724 | import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.03125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.0053453947368421045, 0.0).lineTo(0.0053453947368421045, 0.02549342105263158).lineTo(0.033717105263157895, 0.02549342105263158).lineTo(0.033717105263157895, 0.0).lineTo(0.0390625, 0.0).lineTo(0.0390625, 0.030838815789473683).lineTo(0.0, 0.030838815789473683).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 1,033 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00009103 | 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.7578947368421053, 0.0).circle(0.7578947368421053)
solid0=wp_sketch0.add(loop0).extrude(0.1484375)
solid=solid0
| 909 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00005739 | import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.390625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.2578125, 0.0).lineTo(1.2578125, 0.9268092105263157).lineTo(0.0, 0.9268092105263157).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(-0.015625)
solid=solid0
| 885 | Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words. | false | |
0000/00006218 | import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0234375, -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.04736842105263158, 0.0).lineTo(0.04736842105263158, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0078125)
solid=solid0
| 877 | 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.