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
0001/00013606
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0234375, 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.02368421052631579, 0.0).circle(0.02368421052631579) solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
839
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017460
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.06315789473684211).lineTo(0.5763157894736842, 0.06315789473684211).lineTo(0.5842105263157895, 0.2210526315789474).lineTo(0.5210526315789474, 0.2210526315789474).threePointArc((0.37894736842105264, 0.07894736842105263), (0.2368421052631579, 0.2210526315789474)).lineTo(0.1736842105263158, 0.2210526315789474).lineTo(0.1736842105263158, 0.06315789473684211).lineTo(0.0, 0.06315789473684211).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.28125) solid=solid0
1,241
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017306
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.265625), 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.0859375, 0.0).lineTo(1.0859375, 0.26291118421052634).lineTo(0.25148026315789473, 0.4915296052631579).lineTo(0.25148026315789473, 0.6972861842105263).lineTo(0.0, 0.6972861842105263).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.53125) solid=solid0
1,043
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00010680
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2421875, 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.24868421052631579, 0.0).circle(0.24868421052631579) loop1=wp_sketch0.moveTo(0.04144736842105263, 0.0).circle(0.025904605263157892) loop2=wp_sketch0.moveTo(0.24868421052631579, -0.20205592105263157).circle(0.025904605263157892) loop3=wp_sketch0.moveTo(0.24868421052631579, 0.20205592105263157).circle(0.025904605263157892) loop4=wp_sketch0.moveTo(0.4507401315789473, 0.0).circle(0.025904605263157892) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).extrude(0.4375) solid=solid0
1,136
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00012083
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.6).lineTo(0.0, 0.6).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.0234375) solid=solid0
894
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00015908
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1484375, -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.23289473684210527, -0.22804276315789476).lineTo(0.46093750000000006, -0.11644736842105263).lineTo(0.2717105263157895, 0.2814144736842105).lineTo(0.15041118421052632, 0.05337171052631579).lineTo(0.0, 0.24259868421052633).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
1,011
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017138
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -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.84375, 0.0).lineTo(0.84375, 0.6927631578947369).lineTo(0.0, 0.6927631578947369).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.1484375) solid=solid0
880
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00016226
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5859375, 0.0, -0.75), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(1.2931743421052633, 0.0).lineTo(1.2931743421052633, 1.4453125).lineTo(0.2738486842105263, 1.4453125).lineTo(0.2738486842105263, 1.0953947368421053).lineTo(0.2738486842105263, 0.3194901315789474).lineTo(0.0, 0.3194901315789474).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(-0.0078125) solid=solid0
1,085
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00014431
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1640625, 0.0, 0.1875), 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.16578947368421054, -0.43777399642397097), (0.3315789473684211, 0.0)).threePointArc((0.359537123146864, 0.1626940595244634), (0.2546052631578947, 0.2901315789473684)).threePointArc((0.16578947368421054, 0.5589808109098023), (0.07697368421052632, 0.2901315789473684)).threePointArc((-0.02795817577844294, 0.1626940595244634), (0.0, 0.0)).close() solid0=wp_sketch0.add(loop0).extrude(-0.25, both=True) solid=solid0
1,178
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00018545
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.4921875, 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(1.046875, 0.0).lineTo(1.046875, 0.7493421052631579).lineTo(0.0, 0.7493421052631579).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.1796875, 0.75, -0.078125), cq.Vector(-1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, 1.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.296875, 0.0).lineTo(0.296875, 0.15000000000000002).lineTo(0.0, 0.15000000000000002).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(-0.0390625) solid=solid.cut(solid1)
1,269
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00014419
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.515625, -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.0234375, 0.0).threePointArc((0.7864309210526316, 0.23700657894736843), (1.0234375, 0.47401315789473686)).lineTo(0.0, 0.47401315789473686).threePointArc((0.23700657894736843, 0.23700657894736843), (0.0, 0.0)).close() solid0=wp_sketch0.add(loop0).extrude(0.234375) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.24078947368421053, 0.0).circle(0.24078947368421053) loop2=wp_sketch1.moveTo(0.24078947368421053, 0.0).circle(0.17557565789473684) solid1=wp_sketch1.add(loop1).add(loop2).extrude(0.15625) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.2734375, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop3=wp_sketch2.moveTo(0.24078947368421053, 0.0).circle(0.24078947368421053) loop4=wp_sketch2.moveTo(0.24078947368421053, 0.0).circle(0.17557565789473684) solid2=wp_sketch2.add(loop3).add(loop4).extrude(0.15625) solid=solid.union(solid2)
1,491
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00013362
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.015625, 0.0, -0.0078125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.03125, 0.0).lineTo(0.03125, 0.013486842105263158).lineTo(0.0, 0.013486842105263158).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
958
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00019897
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2265625, 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.22894736842105262, 0.0).circle(0.22894736842105262) loop1=wp_sketch0.moveTo(0.22894736842105262, 0.0).circle(0.19078947368421054) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75) solid=solid0
904
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00010086
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).lineTo(0.1875, 0.0).lineTo(0.1875, 0.07105263157894737).lineTo(0.17565789473684212, 0.07105263157894737).lineTo(0.16973684210526316, 0.017763157894736842).lineTo(0.09473684210526316, 0.017763157894736842).lineTo(0.017763157894736842, 0.017763157894736842).lineTo(0.011842105263157895, 0.07105263157894737).lineTo(0.0, 0.07105263157894737).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75, both=True) solid=solid0
1,186
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017064
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.6328125, -0.453125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(1.125, 0.0).lineTo(1.125, 0.5684210526315789).lineTo(0.9355263157894738, 0.5684210526315789).lineTo(0.9355263157894738, 0.37894736842105264).lineTo(0.18947368421052632, 0.37894736842105264).lineTo(0.18947368421052632, 0.5684210526315789).lineTo(0.0, 0.5684210526315789).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
1,104
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00013202
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0234375, -0.0234375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.0390625, 0.0).lineTo(0.0390625, 0.0390625).lineTo(0.0, 0.0390625).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
869
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00015667
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.75, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.0868421052631579, 0.0).lineTo(0.0868421052631579, 0.6631578947368422).lineTo(0.75, 0.6631578947368422).lineTo(0.75, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.703125) solid=solid0
926
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017070
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2109375, 0.0, 0.015625), 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.5546875, 0.0).lineTo(0.5546875, 0.11677631578947369).lineTo(0.0, 0.11677631578947369).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.2109375, 0.0, 0.1328125), 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.5546875, 0.0).lineTo(0.5546875, 0.15764802631578947).lineTo(0.4379111842105263, 0.15764802631578947).lineTo(0.4729440789473684, 0.08174342105263158).lineTo(0.08174342105263158, 0.08174342105263158).lineTo(0.11677631578947369, 0.15764802631578947).lineTo(0.0, 0.15764802631578947).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.15625) solid=solid.union(solid1)
1,450
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00014790
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2109375, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.20921052631578946, 0.0).circle(0.20485197368421051) solid0=wp_sketch0.add(loop0).extrude(0.5546875) solid=solid0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2109375, 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.20921052631578946, 0.0).circle(0.20485197368421051) solid0=wp_sketch0.add(loop0).extrude(-0.5546875) solid=solid.union(solid0) # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.140625, -0.5546875, 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.14210526315789473, 0.0).circle(0.14210526315789473) solid1=wp_sketch1.add(loop1).extrude(0.0546875) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.0859375, -0.609375, 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.08684210526315789, 0.0).circle(0.08684210526315789) solid2=wp_sketch2.add(loop2).extrude(0.140625) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.140625, 0.5546875, 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.14210526315789473, 0.0).circle(0.14210526315789473) solid3=wp_sketch3.add(loop3).extrude(0.0546875) solid=solid.union(solid3) # Generating a workplane for sketch 4 wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.0859375, 0.609375, 0.0), 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.08684210526315789, 0.0).circle(0.08684210526315789) solid4=wp_sketch4.add(loop4).extrude(0.140625) solid=solid.union(solid4) # Generating a workplane for sketch 5 wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.484375, -0.109375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop5=wp_sketch5.moveTo(0.13585526315789473, 0.0).lineTo(0.13585526315789473, 0.21874999999999997).lineTo(0.0, 0.21874999999999997).lineTo(0.0, 0.0).close() solid5=wp_sketch5.add(loop5).extrude(-0.5546875, both=True) solid=solid.cut(solid5) # Generating a workplane for sketch 6 wp_sketch6 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.34375, -0.109375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop6=wp_sketch6.moveTo(0.13585526315789473, 0.0).lineTo(0.13585526315789473, 0.21874999999999997).lineTo(0.0, 0.21874999999999997).lineTo(0.0, 0.0).close() solid6=wp_sketch6.add(loop6).extrude(-0.5546875, both=True) solid=solid.cut(solid6) # Generating a workplane for sketch 7 wp_sketch7 = cq.Workplane(cq.Plane(cq.Vector(-0.109375, 0.140625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop7=wp_sketch7.moveTo(0.21874999999999997, 0.0).lineTo(0.21874999999999997, 0.13585526315789473).lineTo(0.0, 0.13585526315789473).lineTo(0.0, 0.0).close() solid7=wp_sketch7.add(loop7).extrude(-0.28125, both=True) solid=solid.cut(solid7) # Generating a workplane for sketch 8 wp_sketch8 = cq.Workplane(cq.Plane(cq.Vector(-0.109375, -0.28125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop8=wp_sketch8.moveTo(0.21874999999999997, 0.0).lineTo(0.21874999999999997, 0.13585526315789473).lineTo(0.0, 0.13585526315789473).lineTo(0.0, 0.0).close() solid8=wp_sketch8.add(loop8).extrude(-0.28125, both=True) solid=solid.cut(solid8)
3,437
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00014948
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.6789473684210526, 0.0).circle(0.015789473684210527) loop2=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.015789473684210527) loop3=wp_sketch0.moveTo(0.8210526315789474, 0.0).circle(0.015789473684210527) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).extrude(0.078125) solid=solid0
1,031
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00016187
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1328125, -0.234375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.305921052631579, 0.0).lineTo(0.305921052631579, 0.484375).lineTo(0.0, 0.484375).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.3046875) solid=solid0
887
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017299
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.171875), 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.1736842105263158).lineTo(0.8575657894736842, 0.1736842105263158).threePointArc((0.7961591479495894, 0.1991196742653789), (0.7707236842105264, 0.2605263157894737)).lineTo(0.7707236842105264, 0.6838815789473685).lineTo(0.2605263157894737, 0.6838815789473685).lineTo(0.2605263157894737, 0.2605263157894737).threePointArc((0.2350908520504106, 0.1991196742653789), (0.1736842105263158, 0.1736842105263158)).lineTo(0.0, 0.1736842105263158).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.5210526315789474, 0.47763157894736846).circle(0.1736842105263158) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.515625) solid=solid0
1,368
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00018182
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.09375, 0.1484375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.0555921052631579, 0.0).lineTo(0.0555921052631579, 0.0555921052631579).lineTo(0.12828947368421054, 0.0555921052631579).lineTo(0.12828947368421054, -0.40625).lineTo(0.18388157894736842, -0.40625).lineTo(0.18388157894736842, 0.10690789473684212).lineTo(0.0, 0.10690789473684212).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.234375) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.09375, -0.1953125, 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.10024671052631579, 0.0).threePointArc((0.05012335526315789, 0.17689279283669024), (0.0, 0.0)).close() solid1=wp_sketch1.add(loop1).extrude(0.6171875) solid=solid.union(solid1)
1,349
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00016622
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5, 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.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 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.0390625, -0.25, -0.2265625), 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.039473684210526314, 0.0).circle(0.039473684210526314) 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.0390625, -0.25, 0.6328125), 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.039473684210526314, 0.0).circle(0.039473684210526314) solid2=wp_sketch2.add(loop2).extrude(0.25) solid=solid.union(solid2)
1,480
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00016636
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.515625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.5171052631578947, 0.0).circle(0.5171052631578947) solid0=wp_sketch0.add(loop0).extrude(0.6796875) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.6171875, -0.6171875, 0.6796875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(1.2265625, 0.0).lineTo(1.2265625, 1.2265625).lineTo(0.0, 1.2265625).lineTo(0.0, 0.0).close() loop2=wp_sketch1.moveTo(0.6197368421052631, 0.6197368421052631).circle(0.5164473684210527) solid1=wp_sketch1.add(loop1).add(loop2).extrude(0.0703125) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.515625, 0.0, 0.6796875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop3=wp_sketch2.moveTo(0.5171052631578947, 0.0).circle(0.5171052631578947) loop4=wp_sketch2.moveTo(0.5171052631578947, 0.0).circle(0.38782894736842105) solid2=wp_sketch2.add(loop3).add(loop4).extrude(0.0703125) solid=solid.union(solid2)
1,414
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00010247
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(1.3736842105263158, 0.12631578947368421).lineTo(1.3736842105263158, 1.3736842105263158).lineTo(0.12631578947368421, 1.3736842105263158).lineTo(0.12631578947368421, 0.12631578947368421).close() solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0546875) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.6171875, -0.6171875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch1.moveTo(1.234375, 0.0).lineTo(1.234375, 1.234375).lineTo(0.0, 1.234375).lineTo(0.0, 0.0).close() loop3=wp_sketch1.moveTo(1.2083881578947369, 0.02598684210526316).lineTo(1.2083881578947369, 1.2083881578947369).lineTo(0.02598684210526316, 1.2083881578947369).lineTo(0.02598684210526316, 0.02598684210526316).close() solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.0234375) solid=solid.union(solid1)
1,440
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00014747
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.0234375, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.027631578947368417, 0.0).circle(0.027631578947368417) solid0=wp_sketch0.add(loop0).extrude(0.75, both=True) solid=solid0
899
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00013766
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.06315789473684211).lineTo(0.4421052631578948, 0.06315789473684211).lineTo(0.4421052631578948, 0.16578947368421054).lineTo(0.3315789473684211, 0.16578947368421054).threePointArc((0.225, 0.05921052631578948), (0.11842105263157895, 0.16578947368421054)).lineTo(0.0, 0.16578947368421054).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.4140625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.75, 0.0).lineTo(0.75, 0.16578947368421054).lineTo(0.631578947368421, 0.16578947368421054).threePointArc((0.525, 0.05921052631578948), (0.41842105263157897, 0.16578947368421054)).lineTo(0.3078947368421053, 0.16578947368421054).lineTo(0.3078947368421053, 0.06315789473684211).lineTo(0.0, 0.06315789473684211).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.4140625) solid=solid.union(solid1)
1,646
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017272
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2421875, 0.0, -0.28125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(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
919
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00011603
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.6).lineTo(0.0, 0.6).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.37105263157894736, 0.3).circle(0.18947368421052632) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.203125) solid=solid0
977
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00019249
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.0390625, 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.035526315789473684, 0.0).circle(0.035526315789473684) 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
0001/00017270
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5625, 0.0, -0.3046875), 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.125, 0.0).lineTo(1.125, 0.5684210526315789).lineTo(0.9355263157894738, 0.5684210526315789).lineTo(0.9355263157894738, 0.3078947368421053).lineTo(0.5684210526315789, 0.3078947368421053).lineTo(0.18947368421052632, 0.3078947368421053).lineTo(0.18947368421052632, 0.5684210526315789).lineTo(0.0, 0.5684210526315789).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
1,160
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00014989
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5625, -0.5546875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(1.125, 0.0).lineTo(1.125, 1.1013157894736842).lineTo(0.0, 1.1013157894736842).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
876
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017258
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.3125, -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.11348684210526315, 0.0).threePointArc((0.11736426728145309, 0.05736019736842105), (0.11348684210526315, 0.1147203947368421)).lineTo(0.0, 0.1147203947368421).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.421875, -0.0546875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.1171875, 0.0).lineTo(0.1171875, 0.11101973684210525).lineTo(0.0, 0.11101973684210525).threePointArc((0.003752346944699941, 0.05550986842105263), (0.0, 0.0)).close() solid1=wp_sketch1.add(loop1).extrude(0.75) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.3125, -0.0546875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch2.moveTo(0.109375, 0.0).threePointArc((-0.699637592389432, 0.0546875), (0.109375, 0.109375)).lineTo(0.0, 0.109375).lineTo(0.0, 0.0).close() loop3=wp_sketch2.moveTo(-0.3125, 0.0546875).circle(0.28125) solid2=wp_sketch2.add(loop2).add(loop3).extrude(0.75) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.453125, -0.0546875, 0.046875), 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.05921052631578947, 0.0).lineTo(0.05921052631578947, 0.46875).lineTo(0.0, 0.46875).lineTo(0.0, 0.0).close() solid3=wp_sketch3.add(loop4).extrude(-0.140625) solid=solid.cut(solid3) # Generating a workplane for sketch 4 wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.28125, 0.0, 0.0), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042))) loop5=wp_sketch4.moveTo(0.28421052631578947, 0.0).circle(0.28421052631578947) solid4=wp_sketch4.add(loop5).extrude(-0.0078125) solid=solid.union(solid4)
2,118
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00019507
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.0703125) solid=solid0
909
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00014792
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2109375, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.20921052631578946, 0.0).circle(0.20485197368421051) solid0=wp_sketch0.add(loop0).extrude(0.5546875) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.140625, -0.5546875, 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.14210526315789473, 0.0).circle(0.14210526315789473) solid1=wp_sketch1.add(loop1).extrude(0.0546875) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.09375, -0.609375, 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.09078947368421053, 0.0).circle(0.09078947368421053) solid2=wp_sketch2.add(loop2).extrude(0.140625) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.484375, -0.109375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop3=wp_sketch3.moveTo(0.13585526315789473, 0.0).lineTo(0.13585526315789473, 0.21874999999999997).lineTo(0.0, 0.21874999999999997).lineTo(0.0, 0.0).close() solid3=wp_sketch3.add(loop3).extrude(-0.5546875, both=True) solid=solid.cut(solid3) # Generating a workplane for sketch 4 wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.109375, -0.3046875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop4=wp_sketch4.moveTo(0.21874999999999997, 0.0).lineTo(0.21874999999999997, 0.13585526315789473).lineTo(0.0, 0.13585526315789473).lineTo(0.0, 0.0).close() solid4=wp_sketch4.add(loop4).extrude(-0.28125, both=True) solid=solid.cut(solid4)
2,048
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00013200
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, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.07894736842105263, 0.0).circle(0.07894736842105263) 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.0625, 0.0, 0.75), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.06315789473684211, 0.0).circle(0.06315789473684211) solid1=wp_sketch1.add(loop1).extrude(-0.5625) solid=solid.cut(solid1)
1,029
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017066
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.2109375, 0.3828125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.12368421052631579, 0.0).lineTo(0.3671875, 0.24350328947368421).lineTo(0.3671875, 0.3671875).lineTo(0.0, 0.3671875).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(-0.3671875) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.328125, 0.3828125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.2421875, 0.0).lineTo(0.2421875, 0.2421875).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(-0.3671875) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.328125, 0.3828125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop2=wp_sketch2.moveTo(0.2421875, 0.0).lineTo(0.2421875, 0.2421875).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(0.3671875) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.328125, 0.3828125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop3=wp_sketch3.moveTo(0.2421875, 0.0).lineTo(0.2421875, 0.2421875).lineTo(0.0, 0.0).close() solid3=wp_sketch3.add(loop3).extrude(0.3671875) solid=solid.union(solid3)
1,755
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00010709
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.296875) solid=solid0
836
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017700
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.75), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75, both=True) solid=solid0
911
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00011365
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.625, -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.2473684210526317, 0.0).lineTo(1.2473684210526317, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.2734375) solid=solid0
871
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017714
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.5052631578947369, 0.0).circle(0.5052631578947369) loop1=wp_sketch0.moveTo(0.5052631578947369, 0.0).circle(0.21052631578947367) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75) solid=solid0
967
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00018341
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.578125, 0.0, 0.15625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.671875, 0.36776315789473685).lineTo(0.4879934210526316, 0.594078947368421).lineTo(0.07072368421052631, 0.594078947368421).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.6171875) solid=solid0
999
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017072
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.4296875, 0.0, -0.1640625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.12631578947368421).lineTo(0.25263157894736843, 0.25263157894736843).lineTo(0.25263157894736843, 0.37894736842105264).lineTo(0.0, 0.37894736842105264).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
1,039
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00016422
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.25, 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).lineTo(0.09473684210526316, -0.75).lineTo(0.40263157894736845, -0.75).lineTo(0.40263157894736845, 0.0).lineTo(0.49736842105263157, 0.0).lineTo(0.49736842105263157, 0.09473684210526316).lineTo(0.25263157894736843, 0.09473684210526316).lineTo(0.0, 0.09473684210526316).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.171875) solid=solid0
1,132
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00010053
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.1015625, -0.2890625, 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.006792424975772477, -0.01639836449791173), (0.02319078947368421, -0.02319078947368421)).lineTo(0.3285361842105263, -0.02319078947368421).lineTo(0.3285361842105263, 0.10435855263157895).lineTo(0.0850328947368421, 0.038651315789473686).threePointArc((0.025921995349919763, 0.013927280569696833), (0.08116776315789473, 0.04638157894736842)).lineTo(0.3285361842105263, 0.18939144736842103).lineTo(0.3285361842105263, 0.3671875).lineTo(0.02319078947368421, 0.3671875).threePointArc((0.006792424975772477, 0.3603950750242275), (0.0, 0.34399671052631575)).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.05411184210526315, 0.17779605263157894).circle(0.030921052631578946) loop2=wp_sketch0.moveTo(0.11208881578947368, 0.31307565789473685).circle(0.030921052631578946) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.046875) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.1796875, -0.2421875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop3=wp_sketch1.moveTo(0.0, 0.0).threePointArc((0.0015331660643775797, -0.0037378481539794032), (0.002549342105263158, -0.007648026315789474)).lineTo(0.2421875, 0.056085526315789475).lineTo(0.2421875, 0.1402138157894737).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop3).extrude(0.046875) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.4296875, -0.3125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop4=wp_sketch2.moveTo(0.3001644736842105, 0.0).threePointArc((0.31760954229901023, 0.00722598401677923), (0.32483552631578944, 0.024671052631578948)).lineTo(0.32483552631578944, 0.365953947368421).threePointArc((0.31760954229901023, 0.38339901598322074), (0.3001644736842105, 0.390625)).lineTo(0.0, 0.390625).lineTo(0.0, 0.20970394736842105).lineTo(0.0, 0.12746710526315788).lineTo(0.0, 0.0).close() loop5=wp_sketch2.moveTo(0.2138157894736842, 0.3371710526315789).circle(0.028782894736842105) loop6=wp_sketch2.moveTo(0.2713815789473684, 0.05345394736842105).circle(0.028782894736842105) loop7=wp_sketch2.moveTo(0.2713815789473684, 0.20148026315789472).circle(0.028782894736842105) solid2=wp_sketch2.add(loop4).add(loop5).add(loop6).add(loop7).extrude(0.046875) solid=solid.union(solid2)
2,530
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00019063
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.546875, 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.5447368421052632, 0.0).lineTo(0.5447368421052632, 0.5625).lineTo(0.0, 0.5625).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(-0.75) solid=solid0
946
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00010084
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.015625, -0.0234375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.014802631578947368, 0.0).lineTo(0.014802631578947368, 0.019736842105263157).lineTo(0.014802631578947368, 0.0390625).lineTo(0.0, 0.0390625).lineTo(0.0, 0.036595394736842105).lineTo(0.011101973684210526, 0.03536184210526316).lineTo(0.011101973684210526, 0.019736842105263157).lineTo(0.011101973684210526, 0.003700657894736842).lineTo(0.0, 0.0024671052631578946).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
1,132
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017112
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.6015625, 0.2890625), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.25, 0.0).lineTo(0.25, 0.25).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.7265625, 0.2890625), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.12631578947368421, 0.0).lineTo(0.375, 0.24868421052631579).lineTo(0.375, 0.375).lineTo(0.0, 0.375).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.375) solid=solid.union(solid1)
1,194
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00011577
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.15625, -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.3125, 0.0).lineTo(0.3125, 0.24013157894736842).lineTo(0.0, 0.24013157894736842).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
935
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00010669
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0390625, 0.1640625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.007838234869082177, 0.004146141446136803), (0.015625, 0.008388157894736842)).threePointArc((0.007658022925103852, 0.004481830361390661), (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.6484375, -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.6771381578947369, 0.0).threePointArc((0.7004493929591719, 0.003668268490905214), (0.7212993421052631, 0.014720394736842106)).lineTo(1.3689967105263159, 0.5299342105263158).threePointArc((1.391077302631579, 0.6256167763157895), (1.2953947368421053, 0.6476973684210526)).threePointArc((0.9575982241752596, 0.4141501176517426), (0.6035361842105263, 0.20608552631578947)).threePointArc((0.5957691187122119, 0.19913219707726174), (0.5888157894736843, 0.19136513157894738)).threePointArc((0.5608390342829341, 0.17814879707878956), (0.5299342105263158, 0.17664473684210527)).lineTo(0.0, 0.17664473684210527).threePointArc((-0.023859629980933238, 0.08832236842105264), (0.0, 0.0)).close() loop2=wp_sketch1.moveTo(0.058881578947368424, 0.058881578947368424).circle(0.014720394736842106) loop3=wp_sketch1.moveTo(0.6476973684210526, 0.14720394736842107).circle(0.029440789473684212) solid1=wp_sketch1.add(loop1).add(loop2).add(loop3).extrude(0.0546875) solid=solid.union(solid1)
1,853
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017106
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.1796875, -0.1328125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.375, 0.0).lineTo(0.375, 0.375).lineTo(0.0, 0.375).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.375) solid=solid0
908
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00016230
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.3125, 0.0, -0.3359375), 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.4000822368421053, 0.0).lineTo(0.4000822368421053, 0.86875).lineTo(0.7773026315789474, 0.86875).lineTo(0.7773026315789474, 1.0859375).lineTo(0.0, 1.0859375).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(-0.0078125) solid=solid0
1,023
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00010899
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1328125, 0.0, -0.5625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.13026315789473686, 0.0).lineTo(0.26644736842105265, 0.0).lineTo(0.26644736842105265, 0.5625).lineTo(0.13026315789473686, 0.5625).lineTo(0.0, 0.5625).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.0703125, both=True) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.1875, 0.0, -0.5625), 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.19342105263157897, 0.0).circle(0.19342105263157897) solid1=wp_sketch1.add(loop1).extrude(0.1015625, both=True) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.1328125, 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.059868421052631585, -0.12401315789473685).lineTo(0.20526315789473687, -0.12401315789473685).lineTo(0.26513157894736844, 0.0).threePointArc((0.27364903392113865, 0.10147809636966913), (0.21381578947368424, 0.18388157894736842)).lineTo(0.21381578947368424, 0.325).threePointArc((0.13256578947368422, 0.40625), (0.05131578947368422, 0.325)).lineTo(0.05131578947368422, 0.18388157894736842).threePointArc((-0.008517454973770232, 0.10147809636966902), (0.0, 0.0)).close() solid2=wp_sketch2.add(loop2).extrude(0.1640625, both=True) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = 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))) loop3=wp_sketch3.moveTo(0.13421052631578947, 0.0).circle(0.13421052631578947) solid3=wp_sketch3.add(loop3).extrude(0.21875, both=True) solid=solid.union(solid3) # Generating a workplane for sketch 4 wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.1328125, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop4=wp_sketch4.moveTo(0.13421052631578947, 0.0).circle(0.13421052631578947) solid4=wp_sketch4.add(loop4).extrude(0.4140625) solid=solid.union(solid4)
2,366
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017648
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.1875, -0.09375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.022256030771680084, -0.053730811333583074), (0.07598684210526316, -0.07598684210526316)).lineTo(0.2677631578947368, -0.07598684210526316).threePointArc((0.3214939692283199, -0.053730811333583074), (0.34375, 0.0)).lineTo(0.34375, 0.19539473684210526).threePointArc((0.3214939692283199, 0.24912554817568833), (0.2677631578947368, 0.2713815789473684)).lineTo(0.07598684210526316, 0.2713815789473684).threePointArc((0.022256030771680084, 0.24912554817568833), (0.0, 0.19539473684210526)).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.1881578947368421, 0.09046052631578948).circle(0.07960526315789473) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75) solid=solid0
1,376
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017847
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0078125, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.011842105263157895, 0.0).circle(0.011842105263157895) solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
841
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00011588
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.171875, 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.3473684210526316).lineTo(0.0, 0.3473684210526316).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.2421875) solid=solid0
874
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00012081
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6484375, 0.0, -0.75), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(1.2947368421052632, 0.0).lineTo(1.2947368421052632, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.27674071475654516, 0.3108361815949774), (0.25263157894736843, 0.7263157894736842)).lineTo(1.0421052631578949, 0.7263157894736842).threePointArc((1.086764638811782, 0.7448143085566392), (1.105263157894737, 0.7894736842105263)).lineTo(1.105263157894737, 1.2473684210526317).threePointArc((1.086764638811782, 1.2920277967065188), (1.0421052631578949, 1.3105263157894738)).lineTo(0.25263157894736843, 1.3105263157894738).threePointArc((0.20797220329348132, 1.2920277967065188), (0.18947368421052632, 1.2473684210526317)).lineTo(0.18947368421052632, 0.7894736842105263).close() solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.046875) solid=solid0
1,481
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00015261
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1875, 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.01849851908295487, -0.04465937565388724), (0.06315789473684211, -0.06315789473684211)).lineTo(0.3118421052631579, -0.06315789473684211).threePointArc((0.35650148091704514, -0.04465937565388724), (0.375, 0.0)).lineTo(0.375, 0.24868421052631579).threePointArc((0.35650148091704514, 0.293343586180203), (0.3118421052631579, 0.3118421052631579)).lineTo(0.031578947368421054, 0.3118421052631579).threePointArc((0.00924925954147749, 0.30259284572168044), (0.0, 0.2802631578947368)).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.18947368421052632, 0.12631578947368421).circle(0.12631578947368421) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75, both=True) solid=solid0
1,389
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00011007
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6640625, -0.6640625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(1.3359375, 0.0).lineTo(1.3359375, 1.3359375).lineTo(0.0, 1.3359375).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.6640625, 0.6640625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(1.3359375, 0.0).lineTo(1.3359375, 0.084375).lineTo(0.0, 0.084375).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.1640625) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.6640625, -0.6640625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch2.moveTo(0.08930921052631578, 0.0).lineTo(0.08930921052631578, 1.4140625).lineTo(0.0, 1.4140625).lineTo(0.0, 1.3247532894736842).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(0.1640625) solid=solid.union(solid2)
1,371
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017476
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.0078125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 0.015789473684210527).lineTo(0.0, 0.015789473684210527).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.0390625) solid=solid0
951
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017310
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.265625), 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.015625, 0.0).lineTo(1.015625, 0.5131578947368421).lineTo(0.8445723684210527, 0.5131578947368421).lineTo(0.8445723684210527, 0.26726973684210525).lineTo(0.17105263157894737, 0.26726973684210525).lineTo(0.17105263157894737, 0.5131578947368421).lineTo(0.0, 0.5131578947368421).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.671875) solid=solid0
1,127
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017304
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.16578947368421054, 0.0).lineTo(0.0868421052631579, 0.0868421052631579).lineTo(0.6631578947368422, 0.0868421052631579).lineTo(0.5842105263157895, 0.0).lineTo(0.75, 0.0).lineTo(0.75, 0.16578947368421054).lineTo(0.0, 0.16578947368421054).lineTo(0.0, 0.0868421052631579).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.1015625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.1640625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.75, 0.0).lineTo(0.75, 0.0868421052631579).lineTo(0.6236842105263158, 0.19736842105263158).lineTo(0.12631578947368421, 0.19736842105263158).lineTo(0.0, 0.0868421052631579).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.1015625) solid=solid.union(solid1)
1,497
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00011013
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.640625), 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.6473684210526316).lineTo(0.6473684210526316, 0.6473684210526316).lineTo(0.6473684210526316, 1.2789473684210526).lineTo(0.0, 1.2789473684210526).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.15789473684210525, 1.1526315789473685).circle(0.031578947368421054) loop2=wp_sketch0.moveTo(0.48947368421052634, 1.1526315789473685).circle(0.031578947368421054) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.0390625) solid=solid0
1,192
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00018989
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0546875, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.05131578947368422, 0.0).circle(0.05131578947368422) loop1=wp_sketch0.moveTo(0.05131578947368422, 0.0).circle(0.045970394736842106) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75, both=True) solid=solid0
981
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00010443
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.296875, 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.6).lineTo(0.0, 0.6).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.2210526315789474, 0.3).circle(0.09473684210526316) loop2=wp_sketch0.moveTo(1.2, 0.3).circle(0.20526315789473684) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.2265625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.2265625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop3=wp_sketch1.moveTo(0.22105263157894733, 0.0).circle(0.22105263157894733) loop4=wp_sketch1.moveTo(0.22105263157894733, 0.0).circle(0.09671052631578947) solid1=wp_sketch1.add(loop3).add(loop4).extrude(0.296875) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.625, 0.0, 0.0), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042))) loop5=wp_sketch2.moveTo(0.09868421052631579, 0.0).circle(0.09868421052631579) solid2=wp_sketch2.add(loop5).extrude(-0.171875) solid=solid.cut(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.71875, 0.109375, 0.0), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042))) loop6=wp_sketch3.moveTo(0.19342105263157897, -0.10879934210526317).lineTo(0.38281250000000006, 0.0).lineTo(0.38281250000000006, 0.22162828947368424).lineTo(0.19342105263157897, 0.3304276315789474).lineTo(0.0, 0.22162828947368424).lineTo(0.0, 0.0).close() loop7=wp_sketch3.moveTo(0.19342105263157897, 0.10879934210526317).circle(0.09671052631578948) solid3=wp_sketch3.add(loop6).add(loop7).extrude(-0.171875) solid=solid.cut(solid3)
2,001
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00019473
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.546875, -0.2265625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.8515625, 0.0).lineTo(0.8515625, 0.5647203947368421).lineTo(0.0, 0.5647203947368421).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.265625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.2265625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.21011513157894735, 0.0).lineTo(0.21011513157894735, 0.5703125).lineTo(0.0, 0.5703125).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.078125) solid=solid.union(solid1)
1,130
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00010331
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.75, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.7578947368421053) solid0=wp_sketch0.add(loop0).extrude(0.6953125) solid=solid0
891
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00014180
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.21875, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.04736842105263158, 0.0).circle(0.04736842105263158) loop1=wp_sketch0.moveTo(0.04736842105263158, 0.0).circle(0.01875) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.015625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.0546875, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop2=wp_sketch1.moveTo(0.05921052631578947, 0.0).circle(0.05797697368421052) loop3=wp_sketch1.moveTo(0.05921052631578947, 0.0).circle(0.019736842105263157) solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.015625) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.0546875, 0.0, 0.6953125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop4=wp_sketch2.moveTo(0.05921052631578947, 0.0).circle(0.05797697368421052) loop5=wp_sketch2.moveTo(0.05921052631578947, 0.0).circle(0.019736842105263157) solid2=wp_sketch2.add(loop4).add(loop5).extrude(0.015625) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.09375, 0.0, 0.375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop6=wp_sketch3.moveTo(0.03618421052631579, -0.3799342105263158).threePointArc((0.12891412192208668, -0.32996602576672046), (0.09498355263157895, -0.4296875)).lineTo(0.3663651315789474, -0.4206414473684211).threePointArc((0.3170919265813337, -0.37314967105263164), (0.3663651315789474, -0.32565789473684215)).lineTo(0.2080592105263158, -0.32113486842105265).threePointArc((0.1736132592983376, -0.3038557269005082), (0.16282894736842107, -0.266858552631579)).lineTo(0.1899671052631579, 0.0).threePointArc((0.09498355263157895, -0.0860880740310127), (0.0, 0.0)).close() solid3=wp_sketch3.add(loop6).extrude(0.015625) solid=solid.union(solid3) # Generating a workplane for sketch 4 wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.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.09868421052631579, 0.0).circle(0.09868421052631579) loop8=wp_sketch4.moveTo(0.09868421052631579, 0.0).circle(0.020559210526315787) solid4=wp_sketch4.add(loop7).add(loop8).extrude(0.015625) solid=solid.union(solid4) # Generating a workplane for sketch 5 wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(-0.09375, 0.0, 0.3984375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop9=wp_sketch5.moveTo(0.0, 0.0).threePointArc((0.0962171052631579, 0.08507893764914959), (0.1924342105263158, 0.0)).lineTo(0.15394736842105264, 0.3046875).threePointArc((0.0962171052631579, 0.23939943975130132), (0.03848684210526316, 0.3046875)).lineTo(0.0, 0.0).close() loop10=wp_sketch5.moveTo(0.07697368421052632, 0.21167763157894737).circle(0.01924342105263158) solid5=wp_sketch5.add(loop9).add(loop10).extrude(0.015625) solid=solid.union(solid5)
3,163
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00016783
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.375) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, -0.75), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.75, 0.0).lineTo(0.75, 0.75).threePointArc((0.5303300858899107, 0.21966991411008913), (0.0, 0.0)).close() solid1=wp_sketch1.add(loop1).extrude(0.375) solid=solid.union(solid1)
1,198
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00016782
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.1953125, 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.19342105263157897, 0.0).circle(0.19342105263157897) loop1=wp_sketch0.moveTo(0.19342105263157897, 0.0).circle(0.153125) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.09375) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.2890625, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop2=wp_sketch1.moveTo(0.23289473684210527, 0.0).circle(0.23289473684210527) loop3=wp_sketch1.moveTo(0.23289473684210527, 0.0).circle(0.11644736842105263) solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.09375) 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
0001/00016966
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1328125, -0.1015625, 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.01965467652563951, -0.04745058663225515), (0.06710526315789474, -0.06710526315789474)).lineTo(0.19013157894736843, -0.06710526315789474).threePointArc((0.23758216557962364, -0.04745058663225515), (0.25723684210526315, 0.0)).lineTo(0.25723684210526315, 0.4641447368421053).threePointArc((0.23758216557962364, 0.5115953234743605), (0.19013157894736843, 0.53125)).lineTo(0.0, 0.53125).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.12861842105263158, 0.10625).circle(0.04473684210526316) loop2=wp_sketch0.moveTo(0.12861842105263158, 0.35789473684210527).circle(0.04473684210526316) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.03125) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.1328125, -0.4296875, 0.03125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop3=wp_sketch1.moveTo(0.3250822368421053, 0.0).lineTo(0.46093750000000006, 0.0).lineTo(0.46093750000000006, 0.34449013157894737).lineTo(0.0, 0.34449013157894737).lineTo(0.0, 0.0).close() loop4=wp_sketch1.moveTo(0.10674342105263158, 0.2377467105263158).circle(0.05337171052631579) solid1=wp_sketch1.add(loop3).add(loop4).extrude(-0.03125) solid=solid.union(solid1)
1,741
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00019499
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.40625, 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.2723684210526316, 0.0955738945838561), (0.5447368421052632, 0.0)).threePointArc((0.827673417612304, -0.05002993044597058), (1.078125, 0.09078947368421053)).lineTo(1.078125, 0.7490131578947369).threePointArc((0.827673417612304, 0.6081937537645558), (0.5447368421052632, 0.6582236842105263)).threePointArc((0.2723684210526316, 0.7537975787943825), (0.0, 0.6582236842105263)).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.109375) solid=solid0
1,217
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017339
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.3125, 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.0625, 0.0).lineTo(1.0625, 0.08947368421052632).lineTo(0.8388157894736842, 0.08947368421052632).lineTo(0.8388157894736842, 0.3131578947368421).lineTo(0.7493421052631579, 0.3131578947368421).threePointArc((0.53125, 0.09506578947368421), (0.3131578947368421, 0.3131578947368421)).lineTo(0.2236842105263158, 0.3131578947368421).lineTo(0.2236842105263158, 0.08947368421052632).lineTo(0.0, 0.08947368421052632).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.2578125, 0.203125, -0.0234375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.043421052631578944, 0.0).circle(0.043421052631578944) solid1=wp_sketch1.add(loop1).extrude(-0.4375) solid=solid.cut(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.5859375, 0.203125, -0.0234375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch2.moveTo(0.043421052631578944, 0.0).circle(0.043421052631578944) solid2=wp_sketch2.add(loop2).extrude(-0.4375) solid=solid.cut(solid2)
1,654
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00011990
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1796875, 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.17763157894736842, 0.0).circle(0.17393092105263158) loop1=wp_sketch0.moveTo(0.17763157894736842, 0.0).circle(0.1591282894736842) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.078125) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.328125, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch1.moveTo(0.2131578947368421, 0.0).circle(0.2131578947368421) loop3=wp_sketch1.moveTo(0.2131578947368421, 0.0).circle(0.19539473684210526) solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.078125) solid=solid.union(solid1)
1,163
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00019472
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.21875, -0.1640625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.28421052631578947, 0.0).threePointArc((-0.7216361787420418, 0.1618421052631579), (0.28421052631578947, 0.3236842105263158)).lineTo(0.0, 0.3236842105263158).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.4296875) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.21875, -0.1640625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.2866776315789474, 0.0).threePointArc((0.3130755113564729, 0.1640625), (0.2866776315789474, 0.328125)).lineTo(0.0, 0.328125).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.4296875) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.5, -0.1640625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch2.moveTo(0.24868421052631579, 0.0).lineTo(0.24868421052631579, 0.328125).lineTo(0.0, 0.328125).threePointArc((0.026397879777525536, 0.1640625), (0.0, 0.0)).close() solid2=wp_sketch2.add(loop2).extrude(0.1328125) solid=solid.union(solid2)
1,499
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017305
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.4765625, 0.0, -0.2734375), 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.125, 0.0).lineTo(1.125, 0.5684210526315789).lineTo(0.9355263157894738, 0.5684210526315789).lineTo(0.9355263157894738, 0.2723684210526316).lineTo(0.18947368421052632, 0.2723684210526316).lineTo(0.18947368421052632, 0.5684210526315789).lineTo(0.0, 0.5684210526315789).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.1953125, -0.375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.09473684210526316, 0.0).circle(0.09276315789473684) solid1=wp_sketch1.add(loop1).extrude(-0.9375) solid=solid.cut(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.1796875, -0.3671875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch2.moveTo(0.09473684210526316, 0.0).circle(0.09276315789473684) solid2=wp_sketch2.add(loop2).extrude(-0.9375) solid=solid.cut(solid2)
1,515
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00013605
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.7578947368421053) loop1=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.37894736842105264) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.34375) solid=solid0
899
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017463
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.25, -0.296875), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.02368421052631579).lineTo(0.25263157894736843, 0.25263157894736843).lineTo(0.25263157894736843, 0.37894736842105264).lineTo(0.0, 0.37894736842105264).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
1,015
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00011006
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.11842105263157895, 0.0).lineTo(0.11842105263157895, -0.06315789473684211).lineTo(0.75, -0.06315789473684211).lineTo(0.75, 0.6236842105263158).lineTo(0.0, 0.6236842105263158).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.0703125) solid=solid0
961
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00013177
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2578125, -0.2578125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.515625, 0.0).lineTo(0.515625, 0.5047697368421054).lineTo(0.0, 0.5047697368421054).lineTo(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.2578125, 0.25, 0.0), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042))) loop1=wp_sketch1.moveTo(0.0703125, 0.0).lineTo(0.0703125, 0.050328947368421056).lineTo(0.0, 0.050328947368421056).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.234375) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.171875, 0.25, 0.0), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042))) loop2=wp_sketch2.moveTo(0.09375, 0.0).lineTo(0.09375, 0.06118421052631579).lineTo(0.0, 0.06118421052631579).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(0.2734375) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.2578125, -0.203125, 0.0), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042))) loop3=wp_sketch3.moveTo(0.09375, 0.0).lineTo(0.09375, 0.053289473684210525).lineTo(0.0, 0.053289473684210525).lineTo(0.0, 0.0).close() solid3=wp_sketch3.add(loop3).extrude(0.2265625) solid=solid.union(solid3) # Generating a workplane for sketch 4 wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.15625, -0.171875, 0.0), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042))) loop4=wp_sketch4.moveTo(0.10937499999999999, 0.0).lineTo(0.10937499999999999, 0.08980263157894736).lineTo(0.0, 0.08980263157894736).lineTo(0.0, 0.0).close() solid4=wp_sketch4.add(loop4).extrude(0.3046875) solid=solid.union(solid4)
2,197
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017311
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 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.75, 0.0).lineTo(0.75, 0.12631578947368421).lineTo(0.25263157894736843, 0.25263157894736843).lineTo(0.25263157894736843, 0.37894736842105264).lineTo(0.0, 0.37894736842105264).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
1,030
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00010654
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 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.75, 0.0).lineTo(0.75, 0.19736842105263158).lineTo(0.0, 0.19736842105263158).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.203125) solid=solid0
949
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00019116
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.09375, -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.8348684210526316, 0.0).lineTo(0.8348684210526316, 0.017763157894736842).lineTo(0.84375, 0.017763157894736842).lineTo(0.84375, 0.12434210526315789).lineTo(0.6927631578947369, 0.12434210526315789).lineTo(0.6927631578947369, 0.15986842105263158).lineTo(0.0, 0.15986842105263158).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.015625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.09375, 0.09375, 0.0), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042))) loop1=wp_sketch1.moveTo(0.01726973684210526, 0.0).lineTo(0.01726973684210526, 0.1640625).lineTo(0.0, 0.1640625).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.2421875) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.078125, 0.09375, -0.2421875), 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.015049342105263158, 0.0).lineTo(0.015049342105263158, 0.0234375).lineTo(0.0, 0.0234375).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(-0.0078125) solid=solid.cut(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.7421875, 0.0546875, 0.0), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042))) loop3=wp_sketch3.moveTo(0.009210526315789473, 0.0).lineTo(0.009210526315789473, 0.10937499999999999).lineTo(0.003453947368421052, 0.10937499999999999).lineTo(0.0, 0.10937499999999999).lineTo(0.0, 0.0).close() solid3=wp_sketch3.add(loop3).extrude(0.1015625) solid=solid.union(solid3) # Generating a workplane for sketch 4 wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.6015625, 0.0546875, 0.0), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042))) loop4=wp_sketch4.moveTo(0.009210526315789473, 0.0).lineTo(0.009210526315789473, 0.10937499999999999).lineTo(0.0, 0.10937499999999999).lineTo(0.0, 0.0).close() solid4=wp_sketch4.add(loop4).extrude(0.1015625) solid=solid.union(solid4)
2,450
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00016231
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.53125, 0.0, -0.75), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(1.0736842105263158, 0.0).lineTo(1.0736842105263158, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(-0.0078125) solid=solid0
945
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017113
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.2265625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.3671875, 0.0).lineTo(0.3671875, 0.3671875).lineTo(0.0, 0.3671875).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.18552631578947368, 0.18552631578947368).circle(0.11208881578947368) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.1484375) solid=solid0
950
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00019658
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.5684210526315789).lineTo(0.0, 0.5684210526315789).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.015625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.015625, 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.75, 0.0).lineTo(0.75, 0.5684210526315789).lineTo(0.0, 0.5684210526315789).lineTo(0.0, 0.0).close() loop2=wp_sketch1.moveTo(0.7342105263157895, 0.015789473684210527).lineTo(0.7342105263157895, 0.5526315789473685).lineTo(0.015789473684210527, 0.5526315789473685).lineTo(0.015789473684210527, 0.015789473684210527).close() solid1=wp_sketch1.add(loop1).add(loop2).extrude(0.15625) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.09375, -0.0625, 0.0), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042))) loop3=wp_sketch2.moveTo(0.125, 0.0).lineTo(0.125, 0.05921052631578947).lineTo(0.0, 0.05921052631578947).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop3).extrude(-0.671875) solid=solid.cut(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.328125, -0.0625, 0.0), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042))) loop4=wp_sketch3.moveTo(0.1328125, 0.0).lineTo(0.1328125, 0.06011513157894737).lineTo(0.0, 0.06011513157894737).lineTo(0.0, 0.0).close() solid3=wp_sketch3.add(loop4).extrude(-0.671875) solid=solid.cut(solid3) # Generating a workplane for sketch 4 wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.5546875, -0.0625, 0.0), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042))) loop5=wp_sketch4.moveTo(0.125, 0.0).lineTo(0.125, 0.05789473684210526).lineTo(0.0, 0.05789473684210526).lineTo(0.0, 0.0).close() solid4=wp_sketch4.add(loop5).extrude(-0.671875) solid=solid.cut(solid4)
2,381
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017932
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.375, -0.375), (0.75, 0.0)).lineTo(0.75, 0.3157894736842105).lineTo(0.37894736842105264, 0.631578947368421).lineTo(0.0, 0.631578947368421).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.3078947368421053, 0.27631578947368424).circle(0.11842105263157895) solid0=wp_sketch0.add(loop0).add(loop1).extrude(-0.609375) solid=solid0
1,090
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017098
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1171875, 0.0, -0.1484375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.12631578947368421).lineTo(0.25263157894736843, 0.22894736842105265).lineTo(0.25263157894736843, 0.37894736842105264).lineTo(0.0, 0.37894736842105264).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
1,039
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00019923
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.625, 0.0, -0.53125), 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.2578125, 0.0).lineTo(1.2578125, 0.9930098684210525).lineTo(0.0, 0.9930098684210525).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.2890625) solid=solid0
958
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00010734
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.7421875, 0.0, 0.0390625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.4375, 0.0).threePointArc((0.7421875, 0.269416635888974), (1.046875, 0.0)).lineTo(1.484375, 0.0).lineTo(1.484375, 0.453125).lineTo(0.0, 0.453125).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
1,001
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00018368
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.0234375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.7656250000000001, 0.0).lineTo(0.7656250000000001, 0.7656250000000001).lineTo(0.0, 0.7656250000000001).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.38684210526315793, 0.38684210526315793).circle(0.2256578947368421) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.3046875) solid=solid0
985
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00016423
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.125, 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.02631578947368421, 0.0).lineTo(0.02631578947368421, -0.07236842105263158).lineTo(0.5986842105263157, -0.07236842105263158).lineTo(0.5986842105263157, 0.0).lineTo(0.625, 0.0).lineTo(0.625, 0.07236842105263158).lineTo(0.5986842105263157, 0.07236842105263158).lineTo(0.02631578947368421, 0.07236842105263158).lineTo(0.0, 0.07236842105263158).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.296875) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.07236842105263158, 0.0).lineTo(0.07236842105263158, 0.02631578947368421).lineTo(0.1513157894736842, 0.02631578947368421).lineTo(0.1513157894736842, 0.47368421052631576).lineTo(0.1513157894736842, 0.5526315789473684).lineTo(0.125, 0.5526315789473684).lineTo(0.125, 0.625).lineTo(0.0, 0.625).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.296875) solid=solid.union(solid1)
1,521
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00012645
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.2368421052631579, 0.0).lineTo(0.07105263157894737, 0.7342105263157895).threePointArc((0.056440268501764625, 0.7379498764368576), (0.04736842105263158, 0.75)).lineTo(0.0, 0.75).lineTo(0.0, 0.6868421052631579).threePointArc((0.016747265870207615, 0.6799051606070498), (0.02368421052631579, 0.6631578947368422)).lineTo(0.02368421052631579, 0.0868421052631579).threePointArc((0.016747265870207615, 0.07009483939295028), (0.0, 0.06315789473684211)).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.0234375) solid=solid0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.2368421052631579, 0.0).lineTo(0.07105263157894737, 0.7342105263157895).threePointArc((0.056440268501764625, 0.7379498764368576), (0.04736842105263158, 0.75)).lineTo(0.0, 0.75).lineTo(0.0, 0.6868421052631579).threePointArc((0.016747265870207615, 0.6799051606070498), (0.02368421052631579, 0.6631578947368422)).lineTo(0.02368421052631579, 0.0868421052631579).threePointArc((0.016747265870207615, 0.07009483939295028), (0.0, 0.06315789473684211)).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(-0.0234375) solid=solid.union(solid0)
1,825
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017073
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.1953125, -0.25), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.12631578947368421, 0.0).lineTo(0.375, 0.24868421052631579).lineTo(0.375, 0.375).lineTo(0.0, 0.375).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.0, -0.0703125, -0.25), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.25, 0.0).lineTo(0.25, 0.25).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.75) solid=solid.union(solid1)
1,184
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00016379
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.15625, -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.359375, 0.0).lineTo(0.359375, 0.2042763157894737).lineTo(0.0, 0.2042763157894737).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.0625, both=True) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.40625, -0.453125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.3359375, 0.0).lineTo(0.3359375, 0.16973684210526316).lineTo(0.0, 0.16973684210526316).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.0390625, both=True) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.15625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch2.moveTo(0.2265625, 0.0).lineTo(0.2265625, 0.09539473684210527).lineTo(0.0, 0.09539473684210527).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(0.015625, both=True) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.1953125, -0.4609375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop3=wp_sketch3.moveTo(0.234375, 0.0).lineTo(0.234375, 0.12335526315789473).lineTo(0.0, 0.12335526315789473).lineTo(0.0, 0.0).close() solid3=wp_sketch3.add(loop3).extrude(0.0546875, both=True) solid=solid.union(solid3)
1,626
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017067
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.4296875, -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.6953125, 0.0).lineTo(0.6953125, 0.6953125).lineTo(0.0, 0.6953125).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.35131578947368425, 0.35131578947368425).circle(0.2049342105263158) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.28125) solid=solid0
947
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00018354
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5859375, -0.6640625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(1.1796875, 0.0).lineTo(1.1796875, 0.6457236842105263).lineTo(0.5339638157894737, 0.6457236842105263).lineTo(0.5339638157894737, 0.5339638157894737).lineTo(0.0, 0.5339638157894737).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.5859375, -0.125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.5390625, 0.0).lineTo(0.5390625, 0.1078125).lineTo(0.5390625, 0.5390625).lineTo(0.0, 0.5390625).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.75) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.046875, -0.0234375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch2.moveTo(0.640625, 0.0).lineTo(0.640625, 0.42483552631578947).lineTo(0.0, 0.42483552631578947).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(0.3203125) solid=solid.union(solid2)
1,460
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00013201
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.03125, -0.0390625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.05921052631578948, 0.0).lineTo(0.05921052631578948, 0.0703125).lineTo(0.0, 0.0703125).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
887
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00016190
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.203125, -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.41406249999999994, 0.0).lineTo(0.41406249999999994, 0.10896381578947367).lineTo(0.0, 0.10896381578947367).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
908
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false