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 |
|---|---|---|---|---|---|
0002/00021101
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5625, 0.0, -0.0625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.609375, 0.0).lineTo(0.609375, 0.18601973684210527).threePointArc((0.47783918264441033, 0.2405036563286209), (0.42335526315789473, 0.37203947368421053)).lineTo(0.0, 0.37203947368421053).threePointArc((0.18601973684210527, 0.18601973684210527), (0.0, 0.0)).close()
solid0=wp_sketch0.add(loop0).extrude(0.1484375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.5625, 0.0, -0.0625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.0, 0.0).threePointArc((0.18359375, 0.18359375), (0.0, 0.3671875)).lineTo(0.0, 0.2550986842105263).threePointArc((0.0734375, 0.18166118421052632), (0.0, 0.1082236842105263)).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.1484375)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.5625, 0.0, -0.0625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop2=wp_sketch2.moveTo(0.0, 0.0).threePointArc((0.18359375, 0.18359375), (0.0, 0.3671875)).lineTo(0.0, 0.2550986842105263).threePointArc((0.0734375, 0.18166118421052632), (0.0, 0.1082236842105263)).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.1484375)
solid=solid.union(solid2)
| 1,841
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00024079
|
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
|
|
0002/00027216
|
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.37894736842105264, 0.0).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.375)
solid=solid0
| 911
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00024078
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.484375, 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.4855263157894737, 0.0).circle(0.4855263157894737)
solid0=wp_sketch0.add(loop0).extrude(0.265625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.3359375, 0.0, 0.265625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.3355263157894737, 0.0).circle(0.3355263157894737)
solid1=wp_sketch1.add(loop1).extrude(0.375)
solid=solid.union(solid1)
| 1,035
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00027217
|
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.09473684210526316, 0.0).threePointArc((0.375, 0.2802631578947368), (0.6552631578947369, 0.0)).lineTo(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.375)
solid=solid0
| 1,024
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00029560
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.75, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.12631578947368421, 0.12631578947368421).circle(0.07894736842105263)
loop2=wp_sketch0.moveTo(0.12631578947368421, 1.3578947368421053).circle(0.07894736842105263)
loop3=wp_sketch0.moveTo(1.3736842105263158, 0.12631578947368421).circle(0.07894736842105263)
loop4=wp_sketch0.moveTo(1.3736842105263158, 1.3578947368421053).circle(0.07894736842105263)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).extrude(0.1328125)
solid=solid0
| 1,160
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00022435
|
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.3).lineTo(0.0, 0.3).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.296875)
solid=solid0
| 839
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00021896
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.5390625, 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.5447368421052632).lineTo(0.0, 0.5447368421052632).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.2890625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.2578125, -0.265625, 0.2890625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.11842105263157894, 0.0).circle(0.11842105263157894)
solid1=wp_sketch1.add(loop1).extrude(0.2890625)
solid=solid.union(solid1)
| 1,083
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00022347
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5, -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.9947368421052631, 0.0).lineTo(0.9947368421052631, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.3631578947368421, 0.6157894736842106).circle(0.015789473684210527)
loop2=wp_sketch0.moveTo(0.3631578947368421, 0.8526315789473684).circle(0.015789473684210527)
loop3=wp_sketch0.moveTo(0.6157894736842106, 0.6473684210526316).circle(0.015789473684210527)
loop4=wp_sketch0.moveTo(0.6157894736842106, 0.7894736842105263).circle(0.015789473684210527)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).extrude(0.03125)
solid=solid0
| 1,187
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00025428
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2890625, 0.0, -0.109375), 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.0390625, 0.0).lineTo(1.0390625, 0.24062499999999998).lineTo(0.0, 0.24062499999999998).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.140625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.2890625, -0.1015625, 0.0078125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.035526315789473684, 0.0).circle(0.035526315789473684)
solid1=wp_sketch1.add(loop1).extrude(-0.2578125)
solid=solid.cut(solid1)
| 1,228
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00026848
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1875, 0.0, -0.4609375), 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.029146997728583483, -0.14941680823851355), (0.16570723684210525, -0.21669407894736842)).lineTo(0.3951480263157895, -0.21669407894736842).threePointArc((0.5300618800617954, -0.14815780766335435), (0.5608552631578947, 0.0)).lineTo(0.3569078947368421, 0.8540296052631579).lineTo(0.5608552631578947, 1.2109375).lineTo(0.29317434210526316, 1.1089638157894737).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.25493421052631576, -0.02549342105263158).circle(0.08922697368421052)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.28125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.0234375, 0.0, -0.484375), 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.09473684210526316, 0.0).circle(0.09473684210526316)
solid1=wp_sketch1.add(loop2).extrude(0.6640625)
solid=solid.union(solid1)
| 1,567
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00026479
|
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.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()
loop1=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.4736842105263158)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.203125, both=True)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.5625, -0.0234375, 0.328125), cq.Vector(3.0181309670986093e-17, 1.0, -5.3277462432051744e-17), cq.Vector(0.8700869911087113, 0.0, 0.4928981922297841)))
loop2=wp_sketch1.moveTo(0.02368421052631579, 0.0).circle(0.02368421052631579)
solid1=wp_sketch1.add(loop2).extrude(-0.0234375)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.0234375, 0.0, 0.6484375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch2.moveTo(0.02368421052631579, 0.0).circle(0.02368421052631579)
solid2=wp_sketch2.add(loop3).extrude(-0.0234375)
solid=solid.cut(solid2)
| 1,597
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00027001
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.75, 0.2578125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.16875, 0.0).lineTo(0.16875, 0.28125).lineTo(0.0, 0.28125).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.046875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.140625, -0.1015625), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.0506578947368421, 0.0).lineTo(0.0506578947368421, 0.05468749999999999).lineTo(0.0, 0.05468749999999999).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.359375)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.6875, 0.46875), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop2=wp_sketch2.moveTo(0.011842105263157895, 0.0).circle(0.011842105263157895)
solid2=wp_sketch2.add(loop2).extrude(-0.0546875)
solid=solid.cut(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.6875, 0.3984375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop3=wp_sketch3.moveTo(0.011842105263157895, 0.0).circle(0.011842105263157895)
solid3=wp_sketch3.add(loop3).extrude(-0.0546875)
solid=solid.cut(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.6328125, 0.3125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop4=wp_sketch4.moveTo(0.011842105263157895, 0.0).circle(0.011595394736842105)
solid4=wp_sketch4.add(loop4).extrude(-0.0546875)
solid=solid.cut(solid4)
# Generating a workplane for sketch 5
wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.7421875, 0.3046875), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop5=wp_sketch5.moveTo(0.011842105263157895, 0.0).circle(0.011595394736842105)
solid5=wp_sketch5.add(loop5).extrude(-0.0546875)
solid=solid.cut(solid5)
# Generating a workplane for sketch 6
wp_sketch6 = cq.Workplane(cq.Plane(cq.Vector(0.359375, 0.1484375, -0.078125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop6=wp_sketch6.moveTo(0.011842105263157895, 0.0).circle(0.011842105263157895)
solid6=wp_sketch6.add(loop6).extrude(0.09375)
solid=solid.union(solid6)
| 2,511
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00022151
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.75, -0.390625), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.9921875, 0.0).lineTo(0.9921875, 0.1984375).lineTo(0.2924342105263158, 0.6893092105263158).lineTo(0.0, 0.6893092105263158).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.296875)
solid=solid0
| 972
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00022637
|
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.3315789473684211, -0.12631578947368421).circle(0.1105263157894737)
loop2=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.3157894736842105)
loop3=wp_sketch0.moveTo(0.631578947368421, 0.4263157894736842).circle(0.1105263157894737)
loop4=wp_sketch0.moveTo(0.868421052631579, -0.4263157894736842).circle(0.1105263157894737)
loop5=wp_sketch0.moveTo(1.168421052631579, 0.12631578947368421).circle(0.1105263157894737)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).add(loop5).extrude(0.2265625, both=True)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.3203125, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop6=wp_sketch1.moveTo(0.3236842105263158, 0.0).circle(0.3236842105263158)
loop7=wp_sketch1.moveTo(0.3236842105263158, 0.0).circle(0.13486842105263158)
solid1=wp_sketch1.add(loop6).add(loop7).extrude(0.296875, both=True)
solid=solid.union(solid1)
| 1,476
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00026445
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6953125, -0.6640625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.3955592105263158, 0.0).lineTo(0.4107730263157895, 0.0).lineTo(1.4453125, 1.0041118421052633).lineTo(1.4453125, 1.2323190789473684).lineTo(0.0, 1.2323190789473684).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.3955592105263158, 0.2738486842105263).circle(0.10649671052631579)
loop2=wp_sketch0.moveTo(0.3955592105263158, 0.8976151315789473).circle(0.10649671052631579)
loop3=wp_sketch0.moveTo(1.110608552631579, 0.8976151315789473).circle(0.10649671052631579)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).extrude(0.15625)
solid=solid0
| 1,195
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00022623
|
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.3473684210526316, 0.0).circle(0.07894736842105263)
loop2=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.20526315789473684)
loop3=wp_sketch0.moveTo(0.7578947368421053, -0.39473684210526316).circle(0.07894736842105263)
loop4=wp_sketch0.moveTo(0.7578947368421053, 0.39473684210526316).circle(0.07894736842105263)
loop5=wp_sketch0.moveTo(1.1526315789473685, 0.0).circle(0.07894736842105263)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).add(loop5).extrude(0.1484375, both=True)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.203125, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop6=wp_sketch1.moveTo(0.20131578947368423, 0.0).circle(0.20131578947368423)
loop7=wp_sketch1.moveTo(0.20131578947368423, 0.0).circle(0.07549342105263158)
solid1=wp_sketch1.add(loop6).add(loop7).extrude(0.203125, both=True)
solid=solid.union(solid1)
| 1,600
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00029789
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.109375, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.11447368421052631, 0.0).circle(0.11447368421052631)
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 910
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00024468
|
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.03125)
solid=solid0
| 840
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00025004
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2734375, -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.15690789473684208, 0.0).lineTo(0.15690789473684208, 0.45328947368421046).threePointArc((0.27458881578947364, 0.5709703947368421), (0.39226973684210525, 0.45328947368421046)).lineTo(0.39226973684210525, 0.0).lineTo(0.5491776315789473, 0.0).lineTo(0.5491776315789473, 0.8281249999999999).lineTo(0.0, 0.8281249999999999).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.109375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.2734375, 0.078125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.5445723684210526, 0.0).lineTo(0.5445723684210526, 0.3960526315789474).threePointArc((0.2722861842105263, 0.6683388157894737), (0.0, 0.3960526315789474)).lineTo(0.0, 0.0).close()
loop2=wp_sketch1.moveTo(0.2758223684210526, 0.3960526315789474).circle(0.11315789473684211)
solid1=wp_sketch1.add(loop1).add(loop2).extrude(0.109375)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.2734375, 0.078125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch2.moveTo(0.5445723684210526, 0.0).lineTo(0.5445723684210526, 0.3960526315789474).threePointArc((0.2722861842105263, 0.6683388157894737), (0.0, 0.3960526315789474)).lineTo(0.0, 0.0).close()
loop4=wp_sketch2.moveTo(0.2758223684210526, 0.3960526315789474).circle(0.11315789473684211)
solid2=wp_sketch2.add(loop3).add(loop4).extrude(0.21875)
solid=solid.union(solid2)
| 1,852
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00025762
|
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, 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.027631578947368424, -0.027631578947368424), (0.05526315789473685, 0.0)).lineTo(0.05526315789473685, 0.718421052631579).threePointArc((0.027631578947368424, 0.7460526315789474), (0.0, 0.718421052631579)).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.031578947368421054, 0.0).circle(0.007894736842105263)
loop2=wp_sketch0.moveTo(0.031578947368421054, 0.718421052631579).circle(0.007894736842105263)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.015625)
solid=solid0
| 1,223
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00026531
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1796875, -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.609375, 0.0).lineTo(0.609375, 0.13470394736842106).lineTo(0.5837171052631579, 0.13470394736842106).lineTo(0.0, 0.13470394736842106).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.03125, -0.625, 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.15000000000000002, 0.0).circle(0.15000000000000002)
solid1=wp_sketch1.add(loop1).extrude(-0.1875)
solid=solid.cut(solid1)
| 1,193
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00024326
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.140625, -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.075, 0.0).lineTo(0.075, 0.22499999999999998).lineTo(0.8156249999999999, 0.22499999999999998).lineTo(0.8156249999999999, 0.0).lineTo(0.890625, 0.0).lineTo(0.890625, 0.75).lineTo(0.8156249999999999, 0.75).lineTo(0.8156249999999999, 0.3).lineTo(0.075, 0.3).lineTo(0.075, 0.740625).lineTo(0.0, 0.740625).lineTo(0.0, 0.375).lineTo(0.0, 0.11249999999999999).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.125, -0.296875, 0.0078125), 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.05468749999999999, 0.0).lineTo(0.05468749999999999, 0.05468749999999999).lineTo(0.0, 0.05468749999999999).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(-0.7734375)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.6875, -0.2890625, 0.0078125), 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.05468749999999999, 0.0).lineTo(0.05468749999999999, 0.05468749999999999).lineTo(0.0, 0.05468749999999999).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(-0.75)
solid=solid.cut(solid2)
| 1,783
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00024440
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5, -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.9947368421052631, 0.0).lineTo(0.9947368421052631, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.25)
solid=solid0
| 864
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00022780
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.4765625), 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.3984375, 0.0).lineTo(1.3984375, 1.0451480263157895).lineTo(0.0, 1.0451480263157895).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.41217105263157894, 0.44161184210526316).circle(0.014720394736842106)
loop2=wp_sketch0.moveTo(0.8243421052631579, 0.44161184210526316).circle(0.014720394736842106)
loop3=wp_sketch0.moveTo(1.0451480263157895, 0.44161184210526316).circle(0.014720394736842106)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).extrude(0.171875)
solid=solid0
| 1,202
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00025945
|
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.6953125, 0.0).lineTo(0.6953125, 0.23421052631578948).lineTo(0.0, 0.23421052631578948).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0546875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.75, 0.0, -0.0390625), 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.8046875, 0.0).lineTo(0.8046875, 0.2879934210526316).lineTo(0.0, 0.2879934210526316).lineTo(0.0, 0.0).close()
loop2=wp_sketch1.moveTo(0.7538651315789474, 0.04235197368421053).lineTo(0.7538651315789474, 0.27952302631578946).lineTo(0.05082236842105263, 0.27952302631578946).lineTo(0.05082236842105263, 0.04235197368421053).close()
solid1=wp_sketch1.add(loop1).add(loop2).extrude(0.0078125)
solid=solid.union(solid1)
| 1,456
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00025206
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6875, -0.4140625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.3828125, 0.0).lineTo(1.3828125, 0.8442434210526316).lineTo(0.0, 0.8442434210526316).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.6484375, -0.4140625, 0.2578125), 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.2578947368421053, -0.1692434210526316).lineTo(0.38281250000000006, 0.13297697368421055).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(-1.0)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.3515625, -0.4140625, 0.4765625), 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.08782894736842106, -0.08782894736842106).lineTo(0.35863486842105263, -0.35863486842105263).lineTo(0.5635690789473684, -0.1390625).lineTo(0.6953125, 0.0).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(-1.0)
solid=solid.cut(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.2109375, -0.4140625, 0.3359375), 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.2809210526315789, -0.22105263157894733).lineTo(0.43749999999999994, 0.027631578947368417).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop3).extrude(-1.0)
solid=solid.cut(solid3)
| 1,911
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00026041
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6484375, 0.2109375, 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.0047574109866942915, -0.045644528832273795), (0.022039473684210525, -0.0881578947368421)).lineTo(0.3636513157894737, -0.6060855263157895).lineTo(1.046875, -0.37467105263157896).lineTo(0.0, 0.48486842105263156).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.1640625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.2109375, 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.0038581031922164458, -0.04755485408840233), (0.015789473684210527, -0.09375)).threePointArc((0.05932633840578125, 0.001511786863660606), (0.0, 0.08782894736842106)).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.1640625)
solid=solid.union(solid1)
| 1,345
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00020424
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.7421875, -0.546875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.5163651315789474, 0.0).lineTo(0.3592105263157895, 0.7109375).lineTo(0.0, 0.7109375).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.390625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.3828125, 0.171875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.1644736842105263, -0.7154605263157894).lineTo(0.6167763157894737, -0.7154605263157894).lineTo(0.78125, 0.0).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.1953125)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.234375, -0.546875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.5163651315789474, 0.0).lineTo(0.5163651315789474, 0.7109375).lineTo(0.16463815789473685, 0.7109375).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.390625)
solid=solid.union(solid2)
| 1,412
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00022555
|
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.09473684210526316)
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
|
|
0002/00026733
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2890625, 0.0, -0.109375), 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.0390625, 0.0).lineTo(1.0390625, 0.24062499999999998).lineTo(0.0, 0.24062499999999998).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.140625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.2890625, -0.0859375, 0.0078125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.015789473684210527, 0.0).circle(0.015789473684210527)
solid1=wp_sketch1.add(loop1).extrude(-0.2578125)
solid=solid.cut(solid1)
| 1,228
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00026900
|
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.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
| 912
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00021909
|
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, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.031578947368421054, 0.0).circle(0.031578947368421054)
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 911
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00026914
|
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.0390625)
solid=solid0
| 909
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00024859
|
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.484375, 0.0).lineTo(0.484375, 0.3416118421052632).lineTo(0.0, 0.3416118421052632).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.38240131578947373, 0.2243421052631579).threePointArc((0.4206414473684211, 0.2625822368421053), (0.38240131578947373, 0.30082236842105264)).lineTo(0.10197368421052633, 0.30082236842105264).threePointArc((0.06373355263157895, 0.2625822368421053), (0.10197368421052633, 0.2243421052631579)).close()
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0234375)
solid=solid0
| 1,226
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00020381
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.3828125), 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.2421875, 0.0).lineTo(1.2421875, 0.588404605263158).lineTo(0.0, 0.588404605263158).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.21875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.3828125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(1.2421875, 0.0).lineTo(1.2421875, 0.588404605263158).lineTo(0.0, 0.588404605263158).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.328125)
solid=solid.union(solid1)
| 1,263
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00028929
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.1328125, 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.13026315789473686, 0.0).circle(0.13026315789473686)
solid0=wp_sketch0.add(loop0).extrude(0.4609375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.2890625), 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.75, 0.0).lineTo(0.75, 0.5763157894736842).lineTo(0.0, 0.5763157894736842).lineTo(0.0, 0.41842105263157897).lineTo(0.5921052631578948, 0.41842105263157897).lineTo(0.5921052631578948, 0.15789473684210525).lineTo(0.0, 0.15789473684210525).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.234375, both=True)
solid=solid.union(solid1)
| 1,344
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00028901
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.25, 0.0703125, 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.0320720625797907, -0.05539371537785781), (0.017023026315789475, -0.09646381578947369)).lineTo(0.4879934210526316, -0.09646381578947369).threePointArc((0.5370885099482118, -0.05539371537785781), (0.5050164473684211, 0.0)).lineTo(0.25534539473684215, 0.09646381578947369).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.0, 0.0).threePointArc((-0.02252298593562931, -0.04404503116733157), (0.017023026315789475, -0.07376644736842106)).lineTo(0.4879934210526316, -0.07376644736842106).threePointArc((0.5151531856072575, -0.05300644621681746), (0.4993421052631579, -0.022697368421052633)).lineTo(0.25534539473684215, 0.0680921052631579).lineTo(0.011348684210526316, -0.022697368421052633).close()
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75)
solid=solid0
| 1,400
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00024691
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.203125, 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.4105263157894737).lineTo(0.0, 0.4105263157894737).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.18947368421052632, 0.20526315789473684).circle(0.09473684210526316)
loop2=wp_sketch0.moveTo(0.4736842105263158, 0.20526315789473684).circle(0.09473684210526316)
loop3=wp_sketch0.moveTo(0.7578947368421053, 0.20526315789473684).circle(0.09473684210526316)
loop4=wp_sketch0.moveTo(1.0263157894736843, 0.20526315789473684).circle(0.09473684210526316)
loop5=wp_sketch0.moveTo(1.3105263157894738, 0.20526315789473684).circle(0.09473684210526316)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).add(loop5).extrude(0.4296875)
solid=solid0
| 1,275
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00020391
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.46875, 0.0, -0.4453125), 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.21875, 0.0).lineTo(1.21875, 0.8851973684210527).lineTo(0.0, 0.8851973684210527).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.2421875, both=True)
solid=solid0
| 962
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00025202
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.7578947368421053)
solid0=wp_sketch0.add(loop0).extrude(0.734375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.2890625, 0.0, 0.0), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042)))
loop1=wp_sketch1.moveTo(0.28815789473684206, 0.0).circle(0.28815789473684206)
solid1=wp_sketch1.add(loop1).extrude(-1.0)
solid=solid.cut(solid1)
| 1,107
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00021702
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.53125, 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.5368421052631579, 0.0).circle(0.5368421052631579)
loop1=wp_sketch0.moveTo(0.5368421052631579, 0.0).circle(0.3355263157894737)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75)
solid=solid0
| 898
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00025564
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.046875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.5526315789473685, -0.015789473684210527).lineTo(0.9473684210526316, -0.015789473684210527).lineTo(1.5, 0.0).lineTo(1.5, 0.09473684210526316).lineTo(0.9473684210526316, 0.1105263157894737).lineTo(0.5526315789473685, 0.1105263157894737).lineTo(0.0, 0.09473684210526316).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.140625)
solid=solid0
| 1,047
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00020408
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.7421875, 0.0, -0.421875), 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.5163651315789474, 0.0).lineTo(0.3592105263157895, 0.7109375).lineTo(0.0, 0.7109375).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.390625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.2265625, 0.0, -0.421875), 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.5163651315789474, 0.0).lineTo(0.5163651315789474, 0.7109375).lineTo(0.16463815789473685, 0.7109375).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.390625)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.7421875, 0.0, -0.421875), 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.5163651315789474, 0.0).lineTo(0.3592105263157895, 0.7109375).lineTo(0.0, 0.7109375).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.1953125)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.2265625, 0.0, -0.421875), 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.5163651315789474, 0.0).lineTo(0.5163651315789474, 0.7109375).lineTo(0.16463815789473685, 0.7109375).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop3).extrude(0.1953125)
solid=solid.union(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.390625, 0.0, 0.2890625), 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.1644736842105263, -0.7154605263157894).lineTo(0.6167763157894737, -0.7154605263157894).lineTo(0.78125, 0.0).lineTo(0.0, 0.0).close()
solid4=wp_sketch4.add(loop4).extrude(0.1953125)
solid=solid.union(solid4)
| 2,275
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00021070
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.515625, 0.0, -0.1796875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(1.0703125, 0.0).lineTo(1.0703125, 0.31546052631578947).lineTo(0.0, 0.31546052631578947).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 960
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00029404
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.3671875), 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.109375, 0.0).lineTo(1.109375, 1.109375).lineTo(0.9692434210526316, 1.109375).lineTo(0.9692434210526316, 0.6189144736842105).lineTo(0.9692434210526316, 0.3503289473684211).lineTo(0.9692434210526316, 0.1401315789473684).lineTo(0.49046052631578946, 0.1401315789473684).lineTo(0.0, 0.1401315789473684).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.6953125)
solid=solid0
| 1,148
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00021058
|
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.12434210526315789, 0.0).threePointArc((0.20982730263157895, -0.08548519736842106), (0.2953125, 0.0)).lineTo(0.4507401315789474, 0.0).threePointArc((0.7460526315789473, 0.2953125), (1.0413651315789474, 0.0)).lineTo(1.18125, 0.0).threePointArc((1.266735197368421, -0.08548519736842106), (1.352220394736842, 0.0)).lineTo(1.4765625, 0.0).threePointArc((1.414401639813523, 0.15543782402404904), (1.2589638157894736, 0.2175986842105263)).threePointArc((1.1494603490716249, 0.2344192760072783), (1.056907894736842, 0.2953125)).threePointArc((0.7460526315789473, 0.4285653054822459), (0.4351973684210526, 0.2953125)).threePointArc((0.3431458127971951, 0.23311693935887168), (0.23314144736842105, 0.2175986842105263)).threePointArc((0.06913989218218668, 0.15961809014314554), (0.0, 0.0)).close()
solid0=wp_sketch0.add(loop0).extrude(0.171875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = 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)))
loop1=wp_sketch1.moveTo(0.0, 0.0).threePointArc((0.06913989218218668, -0.15961809014314599), (0.23314144736842105, -0.2175986842105263)).threePointArc((0.3431458127971951, -0.23311693935887168), (0.4351973684210526, -0.2953125)).threePointArc((0.7460526315789473, -0.4285653054822455), (1.056907894736842, -0.2953125)).threePointArc((1.1494603490716253, -0.23441927600727808), (1.2589638157894736, -0.2175986842105263)).threePointArc((1.4144016398135226, -0.15543782402404926), (1.4765625, 0.0)).lineTo(1.352220394736842, 0.0).threePointArc((1.266735197368421, -0.08548519736842106), (1.18125, 0.0)).lineTo(1.0413651315789474, 0.0).threePointArc((0.7460526315789473, -0.2953125), (0.4507401315789474, 0.0)).lineTo(0.2953125, 0.0).threePointArc((0.20982730263157895, -0.08548519736842106), (0.12434210526315789, 0.0)).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.171875)
solid=solid.union(solid1)
| 2,362
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00020346
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.734375, 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.484375, 0.0).lineTo(1.46875, 0.734375).lineTo(0.0, 0.734375).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.2109375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.34375, -0.2109375, 0.3984375), 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.18947368421052632, 0.0).circle(0.18552631578947368)
solid1=wp_sketch1.add(loop1).extrude(0.296875)
solid=solid.union(solid1)
| 1,211
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00020352
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.265625, 0.0, -0.25), 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.8125, 0.0).lineTo(0.8125, 0.2480263157894737).threePointArc((0.6371189101925472, 0.32067154177149454), (0.5644736842105263, 0.4960526315789474)).lineTo(0.0, 0.4960526315789474).threePointArc((-0.2480263157894737, 0.2480263157894737), (0.0, 0.0)).close()
loop1=wp_sketch0.moveTo(0.0, 0.2480263157894737).circle(0.11973684210526317)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.3984375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.390625, 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.12631578947368421, 0.0).circle(0.12631578947368421)
solid1=wp_sketch1.add(loop2).extrude(0.1953125)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.5546875, -0.3203125, 0.171875), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop3=wp_sketch2.moveTo(0.03848684210526316, -0.12434210526315789).lineTo(0.24276315789473685, -0.12434210526315789).lineTo(0.28125, 0.0).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop3).extrude(0.1953125)
solid=solid.union(solid2)
| 1,740
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00029809
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.09375, 0.0, -0.0234375), 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.09078947368421053, 0.0).circle(0.09078947368421053)
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 915
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00025766
|
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(1.5, 0.0).lineTo(0.7578947368421053, 0.18947368421052632).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.2210526315789474, 0.031578947368421054).circle(0.015789473684210527)
loop2=wp_sketch0.moveTo(0.7578947368421053, 0.15789473684210525).circle(0.015789473684210527)
loop3=wp_sketch0.moveTo(1.2789473684210526, 0.031578947368421054).circle(0.015789473684210527)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).extrude(0.015625)
solid=solid0
| 1,174
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00025000
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.21875, 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.0, 0.0).threePointArc((0.15433464312292963, -0.36583098771181466), (0.46875, -0.12335526315789473)).lineTo(0.28125, -0.12335526315789473).lineTo(0.28125, -0.25164473684210525).lineTo(0.15296052631578946, -0.25164473684210525).lineTo(0.15296052631578946, 0.0).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(-0.75)
solid=solid0
| 1,099
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00022035
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.1796875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(1.03125, 0.0).lineTo(1.03125, 0.33651315789473685).lineTo(1.03125, 0.5210526315789474).lineTo(0.0, 0.5210526315789474).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.455921052631579, 0.33651315789473685).circle(0.010855263157894738)
loop2=wp_sketch0.moveTo(0.8032894736842106, 0.33651315789473685).circle(0.010855263157894738)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.125)
solid=solid0
| 1,144
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00029606
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.1796875, 0.0078125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.002264141658590789, -0.0054661214993038925), (0.007730263157894737, -0.007730263157894737)).lineTo(0.35945723684210523, -0.007730263157894737).threePointArc((0.3649233583414092, -0.0054661214993038925), (0.3671875, 0.0)).lineTo(0.3671875, 0.038651315789473686).lineTo(0.3671875, 0.0).threePointArc((0.3629907925519355, -0.006266616459482182), (0.3555921052631579, -0.007730263157894737)).lineTo(0.011595394736842105, -0.007730263157894737).threePointArc((0.004196707448064474, -0.006266616459482182), (0.0, 0.0)).lineTo(0.0, 0.038651315789473686).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75, both=True)
solid=solid0
| 1,354
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00022800
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 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.18552631578947368, 0.0).circle(0.18166118421052632)
loop1=wp_sketch0.moveTo(0.18552631578947368, 0.0).circle(0.06184210526315789)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.078125, both=True)
solid=solid0
| 911
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00026327
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.453125, 0.0, 0.0859375), 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.014451968033558507, -0.03489013722959938), (0.049342105263157895, -0.049342105263157895)).lineTo(0.888157894736842, -0.049342105263157895).threePointArc((0.9230480319664415, -0.03489013722959938), (0.9375, 0.0)).lineTo(0.9375, 0.2763157894736842).threePointArc((0.9230480319664415, 0.31120592670328356), (0.888157894736842, 0.3256578947368421)).lineTo(0.049342105263157895, 0.3256578947368421).threePointArc((0.014451968033558507, 0.31120592670328356), (0.0, 0.2763157894736842)).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.453125, 0.0, 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.0, 0.0).threePointArc((0.014451968033558507, -0.03489013722959938), (0.049342105263157895, -0.049342105263157895)).lineTo(0.888157894736842, -0.049342105263157895).threePointArc((0.9230480319664415, -0.03489013722959938), (0.9375, 0.0)).lineTo(0.9375, 0.2763157894736842).threePointArc((0.9230480319664415, 0.31120592670328356), (0.888157894736842, 0.3256578947368421)).lineTo(0.049342105263157895, 0.3256578947368421).threePointArc((0.014451968033558507, 0.31120592670328356), (0.0, 0.2763157894736842)).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.75)
solid=solid.union(solid1)
| 1,980
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00024530
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.421875), 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.9765625000000001, 0.0).lineTo(0.9765625000000001, 0.7092927631578948).lineTo(0.0, 0.7092927631578948).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.3597861842105263, 0.2569901315789474).circle(0.010279605263157895)
loop2=wp_sketch0.moveTo(0.6167763157894737, 0.2569901315789474).circle(0.010279605263157895)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.0859375)
solid=solid0
| 1,136
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00026441
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.421875, -0.671875, 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.023628967734868212, -0.05704537437039495), (0.08067434210526316, -0.08067434210526316)).lineTo(0.7708881578947369, -0.08067434210526316).threePointArc((0.8279335322651318, -0.05704537437039495), (0.8515625, 0.0)).lineTo(0.8515625, 0.6902138157894737).threePointArc((0.8279335322651318, 0.7472591901598686), (0.7708881578947369, 0.7708881578947369)).lineTo(0.08067434210526316, 0.7708881578947369).threePointArc((0.023628967734868212, 0.7472591901598686), (0.0, 0.6902138157894737)).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.14297059819451785, -0.022464188760746396), (0.25995065789473687, 0.0627467105263158)).lineTo(0.5916118421052632, 0.0627467105263158).threePointArc((0.6486572164756581, 0.086375678261184), (0.6722861842105263, 0.14342105263157895)).lineTo(0.6722861842105263, 0.5916118421052632).threePointArc((0.6486572164756581, 0.6486572164756581), (0.5916118421052632, 0.6722861842105263)).lineTo(0.25995065789473687, 0.6722861842105263).threePointArc((0.2029052835243419, 0.6486572164756581), (0.17927631578947367, 0.5916118421052632)).lineTo(0.17927631578947367, 0.14342105263157895).close()
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0234375)
solid=solid0
| 1,789
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00029766
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1015625, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.10189144736842105, 0.0).lineTo(0.14161184210526315, -0.006907894736842105).lineTo(0.16233552631578946, -0.006907894736842105).lineTo(0.16233552631578946, -0.00863486842105263).lineTo(0.15024671052631577, -0.00863486842105263).lineTo(0.15024671052631577, -0.010361842105263157).lineTo(0.1640625, -0.010361842105263157).lineTo(0.1640625, -0.005180921052631579).lineTo(0.14161184210526315, -0.005180921052631579).lineTo(0.10189144736842105, 0.0017269736842105263).lineTo(0.0017269736842105263, 0.0017269736842105263).lineTo(0.0017269736842105263, 0.031085526315789473).lineTo(0.0, 0.031085526315789473).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 1,411
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00027993
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.078125, 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.07500000000000001, 0.0).circle(0.07500000000000001)
loop1=wp_sketch0.moveTo(0.07500000000000001, 0.0).circle(0.018750000000000003)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.015625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.21875, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop2=wp_sketch1.moveTo(0.04736842105263158, 0.0).circle(0.04736842105263158)
loop3=wp_sketch1.moveTo(0.04736842105263158, 0.0).circle(0.01875)
solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.015625)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.09375, 0.0, 0.3671875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop4=wp_sketch2.moveTo(0.01875, -0.375).threePointArc((0.14295082276528195, -0.3117402626816618), (0.103125, -0.4453125)).lineTo(0.36093749999999997, -0.4171875).threePointArc((0.30857679870943816, -0.3703125), (0.36093749999999997, -0.3234375)).lineTo(0.21562499999999998, -0.309375).threePointArc((0.1842211167570472, -0.292029313562416), (0.1734375, -0.2578125)).lineTo(0.1875, 0.0).threePointArc((0.09375, -0.08925742000321168), (0.0, 0.0)).close()
solid2=wp_sketch2.add(loop4).extrude(0.015625)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.03125, 0.0, 0.609375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop5=wp_sketch3.moveTo(0.0, 0.0).threePointArc((0.014634679481913757, 0.002944873458085541), (0.026644736842105263, -0.0059210526315789476)).threePointArc((0.04539754093189623, 0.1413777499830067), (0.0, 0.0)).close()
loop6=wp_sketch3.moveTo(0.028125, 0.0680921052631579).circle(0.017763157894736842)
solid3=wp_sketch3.add(loop5).add(loop6).extrude(0.015625)
solid=solid.union(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.09375, 0.0, 0.3828125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop7=wp_sketch4.moveTo(0.0, 0.0).threePointArc((0.0921875, 0.08669764981090662), (0.184375, 0.0)).lineTo(0.16875, 0.296875).threePointArc((0.14700271538636187, 0.24049728461363815), (0.09062500000000001, 0.21875)).threePointArc((0.0695126129627214, 0.19015050833224623), (0.0625, 0.225)).threePointArc((0.02924005293764083, 0.2540075322229118), (0.018750000000000003, 0.296875)).lineTo(0.0, 0.0).close()
solid4=wp_sketch4.add(loop7).extrude(0.015625)
solid=solid.union(solid4)
# Generating a workplane for sketch 5
wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(-0.09375, 0.0, 0.375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop8=wp_sketch5.moveTo(0.09473684210526316, 0.0).circle(0.09473684210526316)
loop9=wp_sketch5.moveTo(0.09473684210526316, 0.0).circle(0.019736842105263157)
solid5=wp_sketch5.add(loop8).add(loop9).extrude(0.015625)
solid=solid.union(solid5)
| 3,181
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00022633
|
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.734375, 0.0).lineTo(0.734375, 0.2319078947368421).lineTo(0.0, 0.2319078947368421).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.20098684210526316, 0.1082236842105263).circle(0.007730263157894737)
loop2=wp_sketch0.moveTo(0.3092105263157895, 0.1082236842105263).circle(0.007730263157894737)
loop3=wp_sketch0.moveTo(0.49473684210526314, 0.1082236842105263).circle(0.007730263157894737)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).extrude(0.078125)
solid=solid0
| 1,192
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00026333
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.1015625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.13585526315789476, 0.0).lineTo(0.9218750000000001, 0.0).lineTo(0.9218750000000001, 0.009703947368421053).threePointArc((0.9228092056381317, 0.014555921052631579), (0.9218750000000001, 0.019407894736842107)).lineTo(0.7860197368421054, 0.15526315789473685).threePointArc((0.6989398996867134, 0.20216761029655378), (0.6016447368421053, 0.184375)).threePointArc((0.29944754021691156, 0.10398762502746008), (0.0, 0.19407894736842107)).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.125)
solid=solid0
| 1,254
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00025389
|
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.20131578947368423, 0.0).lineTo(0.20131578947368423, 0.3984375).lineTo(0.0, 0.3984375).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.5546875, 0.0, -0.21875), 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.9550164473684211, 0.0).threePointArc((1.1544819078947368, 0.19946546052631578), (0.9550164473684211, 0.39893092105263156)).lineTo(0.0, 0.39893092105263156).lineTo(0.0, 0.0).close()
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.3984375, 0.0, -0.21875), 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.0, 0.0).threePointArc((0.1953125, 0.1953125), (0.0, 0.390625)).lineTo(0.0, 0.29605263157894735).threePointArc((0.10074013157894736, 0.1953125), (0.0, 0.09457236842105263)).lineTo(0.0, 0.0).close()
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.3984375, 0.0, -0.21875), 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.1953125, 0.1953125), (0.0, 0.390625)).lineTo(0.0, 0.29605263157894735).threePointArc((0.10074013157894736, 0.1953125), (0.0, 0.09457236842105263)).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop3).extrude(0.3984375)
solid=solid.union(solid3)
| 2,094
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00026858
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.75, -0.1171875), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.265625, 0.0).lineTo(0.265625, 0.265625).lineTo(0.0, 0.265625).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.13421052631578947, 0.13421052631578947).circle(0.1174342105263158)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.3359375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.734375, 0.015625), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop2=wp_sketch1.moveTo(0.11842105263157894, 0.0).circle(0.11595394736842105)
solid1=wp_sketch1.add(loop2).extrude(0.265625)
solid=solid.union(solid1)
| 1,252
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00028861
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.234375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.2890625, 0.0).lineTo(1.2890625, 0.48848684210526316).lineTo(0.0, 0.48848684210526316).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.21875)
solid=solid0
| 886
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00025376
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5, -0.375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.0394736842105263, 0.0).lineTo(1.0394736842105263, 0.5).lineTo(1.25, 0.5).lineTo(1.25, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.3684210526315789).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.5, 0.3684210526315789).circle(0.2631578947368421)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.25)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch1.moveTo(0.24868421052631579, 0.0).lineTo(0.24868421052631579, 0.375).lineTo(0.0, 0.375).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop2).extrude(0.5)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch2.moveTo(0.24868421052631579, 0.0).lineTo(0.24868421052631579, 0.375).lineTo(0.0, 0.375).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop3).extrude(0.3359375)
solid=solid.union(solid2)
| 1,433
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00027213
|
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.18947368421052632).lineTo(0.0, 0.18947368421052632).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.375)
solid=solid0
| 940
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00028646
|
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
|
|
0002/00020232
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.703125, 0.0, 0.7109375), 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.03865131578947368, 0.0).circle(0.039473684210526314)
solid0=wp_sketch0.add(loop0).extrude(0.1015625)
solid=solid0
| 922
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00026643
|
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.09473684210526316, 0.0).circle(0.09276315789473684)
solid0=wp_sketch0.add(loop0).extrude(0.125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.1875, 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.039473684210526314, -0.631578947368421).threePointArc((0.1695476808422404, -0.7478942080043274), (0.29210526315789476, -0.6236842105263158)).lineTo(0.37894736842105264, 0.0).threePointArc((0.18947368421052632, 0.18947368421052632), (0.0, 0.0)).close()
loop2=wp_sketch1.moveTo(0.18947368421052632, 0.0).circle(0.09473684210526316)
solid1=wp_sketch1.add(loop1).add(loop2).extrude(0.125)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = 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)))
loop3=wp_sketch2.moveTo(0.09473684210526316, 0.0).circle(0.09276315789473684)
solid2=wp_sketch2.add(loop3).extrude(0.3828125)
solid=solid.union(solid2)
| 1,612
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00024054
|
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.22450657894736842, 0.0).lineTo(0.22450657894736842, 0.08980263157894737).lineTo(0.15197368421052632, 0.08980263157894737).lineTo(0.15197368421052632, 0.328125).lineTo(0.0, 0.328125).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(-0.75)
solid=solid0
| 1,035
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00028108
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0390625, -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.7890625, 0.0).lineTo(0.7890625, 0.13289473684210526).lineTo(0.0, 0.13289473684210526).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.0390625, 0.0390625, 0.0234375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.7890625, 0.0).lineTo(0.7890625, 0.024917763157894735).lineTo(0.0, 0.024917763157894735).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.4375)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.0390625, -0.0625, 0.0234375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.7890625, 0.0).lineTo(0.7890625, 0.024917763157894735).lineTo(0.0, 0.024917763157894735).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.4375)
solid=solid.union(solid2)
| 1,390
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00026131
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.4140625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 0.8210526315789474).lineTo(0.0, 0.8210526315789474).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.5842105263157895, 0.3473684210526316).circle(0.015789473684210527)
loop2=wp_sketch0.moveTo(0.7578947368421053, 0.3473684210526316).circle(0.09473684210526316)
loop3=wp_sketch0.moveTo(0.7578947368421053, 0.18947368421052632).circle(0.015789473684210527)
loop4=wp_sketch0.moveTo(0.7578947368421053, 0.5210526315789474).circle(0.015789473684210527)
loop5=wp_sketch0.moveTo(0.9157894736842106, 0.3473684210526316).circle(0.015789473684210527)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).add(loop5).extrude(0.1015625, both=True)
solid=solid0
| 1,351
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00021886
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.28125, 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.5684210526315789, 0.0).lineTo(0.5684210526315789, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.1484375)
solid=solid0
| 945
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00024040
|
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.7471217105263158, 0.0).lineTo(0.7471217105263158, -0.1513157894736842).lineTo(0.71875, -0.1513157894736842).threePointArc((0.6761924342105263, -0.19387335526315788), (0.71875, -0.23643092105263158)).lineTo(0.7471217105263158, -0.23643092105263158).lineTo(0.8984375, -0.23643092105263158).lineTo(0.8984375, 0.1513157894736842).lineTo(0.0, 0.1513157894736842).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.1796875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.640625, 0.390625, 0.0390625), 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.1015625).threePointArc((-0.05078125, 0.05078125), (0.0, 0.0)).close()
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.640625, 0.390625, 0.0390625), 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.0, 0.0).threePointArc((0.05078125, 0.05078125), (0.0, 0.1015625)).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(-0.75)
solid=solid.cut(solid2)
| 1,696
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00026656
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.21875, 0.0, -0.59375), 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.10657894736842105, 0.0).circle(0.10657894736842105)
loop1=wp_sketch0.moveTo(0.10657894736842105, 0.0).circle(0.053289473684210525)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.109375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.171875, 0.0, -0.5078125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop2=wp_sketch1.moveTo(0.0, 0.0).threePointArc((0.05550986842105263, 0.014995577501983074), (0.11101973684210525, 0.0)).lineTo(0.11101973684210525, 1.0546875).threePointArc((0.05550986842105263, 1.039691922498017), (0.0, 1.0546875)).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop2).extrude(0.109375)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.171875, 0.0, 0.5546875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop3=wp_sketch2.moveTo(0.0, 0.0).threePointArc((0.05468749999999999, -0.014773420798250024), (0.10937499999999999, 0.0)).lineTo(0.055263157894736833, 0.0).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop3).extrude(0.109375)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.171875, 0.0, 0.5546875), 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.05139802631578947, 0.0).lineTo(0.10485197368421052, 0.0).threePointArc((0.05242598684210526, 0.19406785974493074), (0.0, 0.0)).close()
loop5=wp_sketch3.moveTo(0.05139802631578947, 0.09046052631578946).circle(0.05139802631578947)
solid3=wp_sketch3.add(loop4).add(loop5).extrude(0.109375)
solid=solid.union(solid3)
| 2,165
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00024041
|
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.7471217105263158, 0.0).lineTo(0.7471217105263158, -0.1513157894736842).lineTo(0.71875, -0.1513157894736842).threePointArc((0.6761924342105263, -0.19387335526315788), (0.71875, -0.23643092105263158)).lineTo(0.7471217105263158, -0.23643092105263158).lineTo(0.8984375, -0.23643092105263158).lineTo(0.8984375, 0.1513157894736842).lineTo(0.0, 0.1513157894736842).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.1796875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.640625, 0.390625, 0.0390625), 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.1015625).threePointArc((-0.05078125, 0.05078125), (0.0, 0.0)).close()
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.640625, 0.390625, 0.0390625), 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.0, 0.0).threePointArc((0.05078125, 0.05078125), (0.0, 0.1015625)).lineTo(0.0, 0.0).close()
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.1484375, 0.390625, 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.6875, 0.0).lineTo(0.6875, 0.18092105263157895).lineTo(0.0, 0.18092105263157895).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop3).extrude(0.296875)
solid=solid.union(solid3)
| 2,006
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00020233
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5625, 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.5684210526315789, 0.0).circle(0.5684210526315789)
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 906
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00029559
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.2578125, 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.5052631578947369).lineTo(0.0, 0.5052631578947369).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.234375)
solid=solid0
| 874
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00021105
|
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, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.578125, 0.0).lineTo(0.578125, 0.17648026315789472).threePointArc((0.4533346091754662, 0.2281701354912557), (0.4016447368421053, 0.35296052631578945)).lineTo(0.0, 0.35296052631578945).threePointArc((0.17648026315789472, 0.17648026315789472), (0.0, 0.0)).close()
solid0=wp_sketch0.add(loop0).extrude(0.078125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.578125, 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.0, 0.10361842105263157).threePointArc((-0.0703125, 0.17393092105263158), (0.0, 0.24424342105263155)).lineTo(0.0, 0.3515625).threePointArc((-0.17578125, 0.17578125), (0.0, 0.0)).close()
solid1=wp_sketch1.add(loop1).extrude(0.078125)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.578125, 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.0, 0.0).threePointArc((0.17578125, 0.17578125), (0.0, 0.3515625)).lineTo(0.0, 0.24424342105263155).threePointArc((0.0703125, 0.17393092105263158), (0.0, 0.10361842105263157)).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.078125)
solid=solid.union(solid2)
| 1,827
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00028647
|
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
|
|
0002/00025377
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.4140625, 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(1.1640625, 0.0).lineTo(1.1640625, 0.1225328947368421).lineTo(0.6371710526315789, 0.1225328947368421).lineTo(0.6371710526315789, 0.28182565789473685).lineTo(1.1640625, 0.28182565789473685).lineTo(1.1640625, 0.40435855263157894).lineTo(0.0, 0.40435855263157894).threePointArc((-0.20217927631578947, 0.20217927631578947), (0.0, 0.0)).close()
loop1=wp_sketch0.moveTo(0.0, 0.19605263157894737).circle(0.08577302631578948)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.3984375)
solid=solid0
| 1,226
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00027206
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.40625, -0.484375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.0546875, 0.0).lineTo(1.0546875, 1.0546875).lineTo(0.0, 1.0546875).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.046875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.40625, -0.484375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(1.0546875, 0.0).lineTo(1.0546875, 1.0546875).lineTo(0.0, 1.0546875).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.046875)
solid=solid.union(solid1)
| 1,092
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00025388
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6328125, 0.0, -0.5859375), 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.3828125, 0.0).lineTo(1.3828125, 0.4075657894736842).lineTo(0.0, 0.4075657894736842).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.40625)
solid=solid0
| 962
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00022381
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.7265625, 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.8203125000000001, 0.0).lineTo(0.6994243421052633, 0.8116776315789475).lineTo(0.12088815789473685, 0.8116776315789475).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.03125)
solid=solid0
| 991
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00026865
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.59375, -0.5234375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.19210526315789472, 0.0).lineTo(0.0, 0.5703125).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.59375, 0.046875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.19210526315789472, -0.5703125).lineTo(0.3782072368421052, -0.5703125).lineTo(0.0, 0.3782072368421052).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.375)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.1640625, -0.5234375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.1890625, 0.0).lineTo(0.378125, 0.5671875).lineTo(0.378125, 0.9453125).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.375)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.3515625, -0.5234375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch3.moveTo(0.19210526315789472, 0.0).lineTo(0.19210526315789472, 0.5703125).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop3).extrude(0.375)
solid=solid.union(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.59375, -0.75, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop4=wp_sketch4.moveTo(1.140625, 0.0).lineTo(1.140625, 0.228125).lineTo(0.9485197368421052, 0.228125).lineTo(0.7564144736842104, 0.228125).lineTo(0.38421052631578945, 0.228125).lineTo(0.19210526315789472, 0.228125).lineTo(0.0, 0.228125).lineTo(0.0, 0.0).close()
solid4=wp_sketch4.add(loop4).extrude(0.375)
solid=solid.union(solid4)
# Generating a workplane for sketch 5
wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(-0.0234375, -0.75, 0.1328125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop5=wp_sketch5.moveTo(0.0, 0.0).threePointArc((0.05859375, 0.05859375), (0.0, 0.1171875)).lineTo(0.0, 0.0).close()
solid5=wp_sketch5.add(loop5).extrude(-0.1484375)
solid=solid.cut(solid5)
# Generating a workplane for sketch 6
wp_sketch6 = cq.Workplane(cq.Plane(cq.Vector(-0.0234375, -0.75, 0.1328125), 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.1171875).threePointArc((-0.05859375, 0.05859375), (0.0, 0.0)).close()
solid6=wp_sketch6.add(loop6).extrude(-0.1484375)
solid=solid.cut(solid6)
| 2,477
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00028848
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.421875, -0.375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.19119493078592137, -0.13791239026492733), (0.421875, -0.18651315789473683)).lineTo(0.421875, 0.18651315789473683).threePointArc((0.2890705636582924, 0.24336199179843004), (0.23536184210526315, 0.3774671052631579)).lineTo(0.0, 0.3774671052631579).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.421875, 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.22796052631578945, 0.0).threePointArc((0.5515393239910434, 0.14439256859873306), (0.42483552631578947, -0.18651315789473683)).lineTo(0.42483552631578947, -0.5595394736842105).threePointArc((0.9291460452727688, 0.23325297179385218), (0.0, 0.37302631578947365)).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.75)
solid=solid.union(solid1)
| 1,530
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00022154
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6953125, 0.0, -0.34375), 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.4453125, 0.0).lineTo(1.4453125, 0.4868421052631579).lineTo(0.3955592105263158, 0.7606907894736842).lineTo(0.0, 0.7606907894736842).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(1.201891447368421, 0.24342105263157895).circle(0.10649671052631579)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.140625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.6953125, 0.0, -0.34375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop2=wp_sketch1.moveTo(0.42483552631578947, 0.0).lineTo(0.42483552631578947, 0.27648026315789476).lineTo(0.21578947368421053, 0.640625).lineTo(0.0, 0.640625).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop2).extrude(-0.140625)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.5625, -0.140625, -0.34375), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042)))
loop3=wp_sketch2.moveTo(0.6640625, 0.0).lineTo(0.0, 0.4263980263157895).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop3).extrude(-0.140625)
solid=solid.union(solid2)
| 1,712
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00024531
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.7421875, 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.011842105263157895, 0.0).circle(0.011595394736842105)
solid0=wp_sketch0.add(loop0).extrude(0.6328125)
solid=solid0
| 920
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00022626
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5625, 0.0, -0.203125), 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.953125, 0.0).lineTo(0.953125, 0.953125).lineTo(0.0, 0.953125).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.21069078947368422, 0.47154605263157895).circle(0.010032894736842105)
loop2=wp_sketch0.moveTo(0.45148026315789475, 0.47154605263157895).circle(0.010032894736842105)
loop3=wp_sketch0.moveTo(0.7825657894736842, 0.47154605263157895).circle(0.010032894736842105)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).extrude(0.0390625)
solid=solid0
| 1,183
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00022168
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.75, -0.65625), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.6171875, 0.0).lineTo(0.6171875, 0.4287828947368421).lineTo(0.4287828947368421, 0.4287828947368421).lineTo(0.0, 0.1234375).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.1875)
solid=solid0
| 969
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00025820
|
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.09473684210526316).lineTo(0.09473684210526316, 0.09473684210526316).lineTo(0.09473684210526316, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.375, both=True)
solid=solid0
| 1,002
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00022801
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.140625, 0.1171875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.011842105263157895, 0.0).circle(0.011595394736842105)
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 846
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00021501
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.015625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.00337212587449692, -0.00814103202023984), (0.011513157894736841, -0.011513157894736841)).lineTo(0.2820723684210526, -0.011513157894736841).threePointArc((0.29309168991497675, -0.00933325855667559), (0.29934210526315785, 0.0)).lineTo(0.29934210526315785, 0.5353618421052632).threePointArc((0.29309168991497675, 0.5446951006619386), (0.2820723684210526, 0.546875)).lineTo(0.011513157894736841, 0.546875).threePointArc((0.00337212587449692, 0.543502874125503), (0.0, 0.5353618421052632)).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.3984375)
solid=solid0
| 1,246
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00025767
|
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.007894736842105263, 0.0).circle(0.007894736842105263)
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
|
|
0002/00025001
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.375, 0.0, 0.5), 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.06315789473684211, -0.12631578947368421).lineTo(0.18947368421052632, -0.3736842105263158).lineTo(0.25263157894736843, -0.5).lineTo(0.3736842105263158, -0.5).lineTo(0.12631578947368421, 0.0).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.5625, 0.0).lineTo(0.43815789473684214, 0.24868421052631579).lineTo(0.12434210526315789, 0.24868421052631579).lineTo(0.18947368421052632, 0.3730263157894737).lineTo(0.0, 0.3730263157894737).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.25)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.125, 0.0, 0.375), 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.3125, 0.0).lineTo(0.25, 0.125).lineTo(0.0625, 0.125).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.375)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = 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)))
loop3=wp_sketch3.moveTo(0.5, 0.0).lineTo(0.625, 0.0).lineTo(0.5657894736842105, 0.125).lineTo(0.0, 0.125).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop3).extrude(0.5)
solid=solid.union(solid3)
| 2,000
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00026291
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5625, -0.0546875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.35526315789473684, -0.28421052631578947).lineTo(0.7697368421052632, -0.28421052631578947).lineTo(1.125, 0.0).lineTo(1.125, 0.6631578947368422).lineTo(1.125, 0.7460526315789474).lineTo(0.7697368421052632, 0.8052631578947369).lineTo(0.35526315789473684, 0.8052631578947369).lineTo(0.0, 0.7460526315789474).lineTo(0.0, 0.6631578947368422).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.35526315789473684, -0.20131578947368423).lineTo(0.7697368421052632, -0.20131578947368423).lineTo(1.0776315789473685, 0.04736842105263158).lineTo(1.0776315789473685, 0.6631578947368422).lineTo(0.7697368421052632, 0.7105263157894737).lineTo(0.35526315789473684, 0.7105263157894737).lineTo(0.04736842105263158, 0.6631578947368422).lineTo(0.04736842105263158, 0.04736842105263158).close()
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.34375)
solid=solid0
| 1,468
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00022791
|
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.06315789473684211, 0.0).circle(0.06315789473684211)
loop1=wp_sketch0.moveTo(0.06315789473684211, 0.0).circle(0.010526315789473684)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0234375, both=True)
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.06315789473684211, 0.0).circle(0.06315789473684211)
loop3=wp_sketch1.moveTo(0.06315789473684211, 0.0).circle(0.010526315789473684)
solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.0390625, both=True)
solid=solid.union(solid1)
| 1,314
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00020810
|
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.007894736842105263, 0.0).circle(0.007894736842105263)
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
|
|
0002/00028280
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.015625, 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.019736842105263157, 0.0).circle(0.019736842105263157)
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 840
|
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.