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/00014520
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.015625, 0.015625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.012828947368421053, -0.012828947368421053).lineTo(0.08092105263157895, -0.012828947368421053).lineTo(0.09375, 0.0).lineTo(0.06513157894736843, 0.02861842105263158).lineTo(0.02861842105263158, 0.02861842105263158).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
1,002
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00014905
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.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.0546875) solid=solid0
915
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00014939
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.546875, 0.359375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.04638157894736842, 0.0).circle(0.04736842105263158) solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
843
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00013924
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.0078125, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.011842105263157895, 0.0).circle(0.011842105263157895) loop1=wp_sketch0.moveTo(0.011842105263157895, 0.0).circle(0.009868421052631578) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75) solid=solid0
962
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017217
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.75, -0.6015625), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.6710526315789473, 0.0).lineTo(0.6710526315789473, 1.0625).lineTo(0.0, 1.0625).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.1640625, both=True) solid=solid0
939
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00016109
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.28125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 0.5684210526315789).lineTo(0.0, 0.5684210526315789).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(-0.0234375) solid=solid0
945
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00015372
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.04720394736842105, 0.0).lineTo(0.04720394736842105, 0.10937499999999999).lineTo(0.0, 0.10937499999999999).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
897
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00019560
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1640625, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.3315789473684211, 0.0).lineTo(0.3315789473684211, 0.7105263157894737).lineTo(0.29210526315789476, 0.7105263157894737).lineTo(0.29210526315789476, 0.75).lineTo(0.26842105263157895, 0.75).lineTo(0.26842105263157895, 0.7105263157894737).lineTo(0.06315789473684211, 0.7105263157894737).lineTo(0.06315789473684211, 0.75).lineTo(0.039473684210526314, 0.75).lineTo(0.039473684210526314, 0.7105263157894737).lineTo(0.0, 0.7105263157894737).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.26842105263157895, 0.04736842105263158).lineTo(0.26842105263157895, 0.3157894736842105).lineTo(0.06315789473684211, 0.3157894736842105).lineTo(0.06315789473684211, 0.04736842105263158).close() loop2=wp_sketch0.moveTo(0.26842105263157895, 0.37894736842105264).lineTo(0.26842105263157895, 0.6473684210526316).lineTo(0.06315789473684211, 0.6473684210526316).lineTo(0.06315789473684211, 0.37894736842105264).close() solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.0234375) solid=solid0
1,648
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00010222
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6875, 0.0, -0.6875), 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.375, 0.0).lineTo(1.375, 1.375).lineTo(0.0, 1.375).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.6947368421052631, 0.6947368421052631).circle(0.5789473684210527) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75) solid=solid0
997
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00014720
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.3046875, 0.0, -0.4609375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.08782894736842106, 0.07319078947368421).threePointArc((0.30374177631578947, 0.537042727062158), (0.5196546052631579, 0.07319078947368421)).lineTo(0.6001644736842106, 0.0).threePointArc((0.3000822368421053, 0.6446755742755063), (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.2890625, 0.0, 0.0546875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.0, 0.0).threePointArc((0.2890625, 0.12813259385907794), (0.578125, 0.0)).lineTo(0.578125, 0.34078947368421053).threePointArc((0.2890625, 0.4057006287211933), (0.0, 0.34078947368421053)).lineTo(0.0, 0.0).close() loop2=wp_sketch1.moveTo(0.1338815789473684, 0.15822368421052632).threePointArc((0.2890625, 0.18515012831251096), (0.4442434210526316, 0.15822368421052632)).lineTo(0.48684210526315785, 0.2799342105263158).threePointArc((0.2890625, 0.31425222751904147), (0.0912828947368421, 0.2799342105263158)).close() solid1=wp_sketch1.add(loop1).add(loop2).extrude(0.1875) solid=solid.union(solid1)
1,727
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00014734
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.734375, 0.0).lineTo(0.734375, 0.007730263157894737).lineTo(0.0, 0.007730263157894737).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.0078125) 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.0, 0.005756578947368421).threePointArc((-0.015459265232329803, 0.0028782894736842104), (0.0, 0.0)).close() loop2=wp_sketch1.moveTo(-0.007565789473684211, 0.0029605263157894738).circle(0.005756578947368421) solid1=wp_sketch1.add(loop1).add(loop2).extrude(0.0078125) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.734375, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop3=wp_sketch2.moveTo(0.0, 0.0).threePointArc((0.015459265232329803, 0.0028782894736842104), (0.0, 0.005756578947368421)).lineTo(0.0, 0.0).close() loop4=wp_sketch2.moveTo(0.007565789473684211, 0.0029605263157894738).circle(0.005756578947368421) solid2=wp_sketch2.add(loop3).add(loop4).extrude(0.0078125) solid=solid.union(solid2)
1,746
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00012423
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2890625, 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.29605263157894735, 0.0).circle(0.29605263157894735) 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/00016679
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.75, -0.109375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.30394736842105263, 0.0).circle(0.30394736842105263) solid0=wp_sketch0.add(loop0).extrude(0.296875) solid=solid0
897
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00013932
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.03125, 0.0, -0.0546875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.78125, 0.0).lineTo(0.78125, 0.6167763157894737).lineTo(0.0, 0.6167763157894737).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.0234375) solid=solid0
958
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00016692
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.65625, -0.09375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(1.3174342105263157, 0.0).threePointArc((1.4136513157894737, 0.0962171052631579), (1.3174342105263157, 0.1924342105263158)).lineTo(0.0, 0.1924342105263158).threePointArc((-0.0962171052631579, 0.0962171052631579), (0.0, 0.0)).close() loop1=wp_sketch0.moveTo(1.3026315789473684, 0.07401315789473684).lineTo(1.3026315789473684, 0.05921052631578947).lineTo(1.332236842105263, 0.05921052631578947).lineTo(1.332236842105263, 0.07401315789473684).lineTo(1.3470394736842104, 0.07401315789473684).lineTo(1.3470394736842104, 0.10361842105263157).lineTo(1.332236842105263, 0.10361842105263157).lineTo(1.332236842105263, 0.1332236842105263).lineTo(1.3026315789473684, 0.1332236842105263).lineTo(1.3026315789473684, 0.10361842105263157).lineTo(1.2730263157894737, 0.10361842105263157).lineTo(1.2730263157894737, 0.07401315789473684).close() solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.046875) solid=solid0
1,517
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00013926
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.40625, -0.40625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(1.15625, 0.0).lineTo(1.15625, 0.8032894736842106).lineTo(0.0, 0.8032894736842106).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.4016447368421053, 0.4016447368421053).circle(0.2069078947368421) loop2=wp_sketch0.moveTo(0.8763157894736842, 0.4016447368421053).circle(0.07302631578947369) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.1328125) solid=solid0
1,041
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00016447
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.375, -0.375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.1484375, -0.2890625, 0.75), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.29605263157894735, 0.0).lineTo(0.14802631578947367, 0.5859375).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(-0.046875) solid=solid.cut(solid1)
1,069
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00015600
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.4921875, 0.0, -0.484375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(1.2421875, 0.0).lineTo(1.2421875, 0.9414473684210527).lineTo(0.0, 0.9414473684210527).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.3671875) solid=solid0
963
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017017
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.26842105263157895).lineTo(0.4105263157894737, 0.26842105263157895).lineTo(0.3394736842105263, 0.26842105263157895).lineTo(0.0, 0.26842105263157895).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.2578125) 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/00011314
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1171875, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.11447368421052631, 0.0).circle(0.11447368421052631) loop1=wp_sketch0.moveTo(0.11447368421052631, 0.0).circle(0.07393092105263158) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.078125, 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.07500000000000001, 0.0).circle(0.07500000000000001) solid1=wp_sketch1.add(loop2).extrude(0.0625) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = 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))) loop3=wp_sketch2.moveTo(0.07500000000000001, 0.0).circle(0.07500000000000001) solid2=wp_sketch2.add(loop3).extrude(-0.75) solid=solid.union(solid2)
1,288
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00018456
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.46875, -0.1953125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.27861842105263157, -0.27861842105263157).lineTo(0.6666940789473684, -0.27861842105263157).lineTo(0.9453125, 0.0).lineTo(0.9453125, 0.38807565789473686).lineTo(0.6666940789473684, 0.6666940789473684).lineTo(0.27861842105263157, 0.6666940789473684).lineTo(0.0, 0.38807565789473686).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.390625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.1484375, 0.0, 0.390625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.14605263157894738, 0.0).circle(0.14605263157894738) solid1=wp_sketch1.add(loop1).extrude(-0.0546875) solid=solid.cut(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.46875, -0.109375, 0.1953125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop2=wp_sketch2.moveTo(0.11447368421052631, 0.0).circle(0.11447368421052631) solid2=wp_sketch2.add(loop2).extrude(0.28125) solid=solid.union(solid2)
1,521
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00011472
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.4609375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(1.1640625, 0.0).lineTo(1.1640625, 0.9189967105263158).lineTo(0.0, 0.9189967105263158).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.7474506578947369, 0.4533717105263158).circle(0.39210526315789473) loop2=wp_sketch0.moveTo(0.41661184210526314, 0.1225328947368421).circle(0.02450657894736842) loop3=wp_sketch0.moveTo(0.41661184210526314, 0.7842105263157895).circle(0.02450657894736842) loop4=wp_sketch0.moveTo(1.0782894736842106, 0.1225328947368421).circle(0.02450657894736842) loop5=wp_sketch0.moveTo(1.0782894736842106, 0.7842105263157895).circle(0.02450657894736842) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).add(loop5).extrude(0.046875) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.4609375, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop6=wp_sketch1.moveTo(0.9140625, 0.0).lineTo(0.9140625, 0.04810855263157895).lineTo(0.0, 0.04810855263157895).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop6).extrude(-0.046875) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.4609375, 0.046875), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop7=wp_sketch2.moveTo(0.9140625, 0.0).lineTo(0.9140625, 0.2790296052631579).lineTo(0.0, 0.2790296052631579).lineTo(0.0, 0.0).close() loop8=wp_sketch2.moveTo(0.23092105263157897, 0.11546052631578949).circle(0.04810855263157895) loop9=wp_sketch2.moveTo(0.6831414473684211, 0.11546052631578949).circle(0.04810855263157895) solid2=wp_sketch2.add(loop7).add(loop8).add(loop9).extrude(-0.046875) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.703125, -0.4609375, 0.046875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop10=wp_sketch3.moveTo(0.21463815789473684, 0.0).lineTo(0.0, 0.234375).lineTo(0.0, 0.0).close() solid3=wp_sketch3.add(loop10).extrude(-0.046875) solid=solid.union(solid3) # Generating a workplane for sketch 4 wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.484375, 0.4609375, 0.046875), cq.Vector(-1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, 1.0, 6.123233995736766e-17))) loop11=wp_sketch4.moveTo(0.21463815789473684, 0.0).lineTo(0.21463815789473684, 0.234375).lineTo(0.0, 0.0).close() solid4=wp_sketch4.add(loop11).extrude(-0.046875) solid=solid.union(solid4)
2,627
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00018495
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.5546875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.18947368421052632, 0.0).lineTo(0.18947368421052632, -0.18947368421052632).lineTo(1.3105263157894738, -0.18947368421052632).lineTo(1.3105263157894738, 0.0).lineTo(1.5, 0.0).lineTo(1.5, 1.105263157894737).lineTo(1.3105263157894738, 1.105263157894737).lineTo(1.3105263157894738, 1.3105263157894738).lineTo(0.18947368421052632, 1.3105263157894738).lineTo(0.18947368421052632, 1.105263157894737).lineTo(0.0, 1.105263157894737).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.2265625, 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.22894736842105262, 0.0).circle(0.22894736842105262) solid1=wp_sketch1.add(loop1).extrude(-0.078125) solid=solid.cut(solid1)
1,377
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00012027
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.203125, -0.21875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.40065789473684205, 0.0).lineTo(0.40065789473684205, 0.43749999999999994).lineTo(0.0, 0.43749999999999994).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
906
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00010624
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.21875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.34375, 0.0).lineTo(0.34375, 0.21710526315789475).lineTo(0.0, 0.21710526315789475).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.15625, 0.75), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.06151315789473684, 0.0).lineTo(0.06151315789473684, -0.06151315789473684).lineTo(0.1555921052631579, -0.06151315789473684).lineTo(0.1555921052631579, 0.0).lineTo(0.34375, 0.0).lineTo(0.34375, 0.1555921052631579).lineTo(0.06151315789473684, 0.1555921052631579).lineTo(0.06151315789473684, 0.09407894736842105).lineTo(0.0, 0.09407894736842105).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(-0.1875) solid=solid.cut(solid1)
1,337
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017163
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.25, -0.203125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.453125, 0.0).lineTo(0.453125, 0.453125).lineTo(0.0, 0.453125).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.453125) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.453125, -0.1015625, -0.203125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.296875, 0.0).lineTo(0.296875, 0.296875).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.296875) solid=solid.union(solid1)
1,179
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00010195
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.375, -0.359375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.5605263157894737, 0.0).lineTo(0.5605263157894737, 1.109375).lineTo(0.0, 1.109375).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.28125) solid=solid0
883
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00014481
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, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.25263157894736843, 0.0).circle(0.25263157894736843) solid0=wp_sketch0.add(loop0).extrude(0.5) solid=solid0
833
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00012231
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.515625, 0.5625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.18355263157894738, 0.0).lineTo(0.18355263157894738, -0.5625).lineTo(0.3315789473684211, -0.5625).lineTo(0.3315789473684211, 0.0).lineTo(0.5151315789473684, 0.0).lineTo(0.5151315789473684, 0.11842105263157895).lineTo(0.0, 0.11842105263157895).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.328125, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.1484375, 0.0).lineTo(0.1484375, 0.06875).lineTo(0.0, 0.06875).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.0625) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.1875, 0.6875, 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.140625, 0.0).lineTo(0.140625, 0.06513157894736843).lineTo(0.0, 0.06513157894736843).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(0.0625) solid=solid.union(solid2)
1,615
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00019402
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.49736842105263157, 0.0).lineTo(0.49736842105263157, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.296875) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.296875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.15, 0.0).lineTo(0.15, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(-0.1484375) solid=solid.cut(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.2265625, 0.375, 0.296875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch2.moveTo(0.10263157894736843, 0.0).circle(0.10263157894736843) solid2=wp_sketch2.add(loop2).extrude(-1.0) solid=solid.cut(solid2)
1,267
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017407
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5234375, 0.0, 0.671875), 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.3573190789473684, 0.0).lineTo(0.3573190789473684, -0.5976973684210527).lineTo(0.3248355263157895, -0.5976973684210527).lineTo(0.3248355263157895, -0.5392269736842106).lineTo(0.30534539473684214, -0.5392269736842106).lineTo(0.30534539473684214, -0.6171875).lineTo(0.37680921052631583, -0.6171875).lineTo(0.37680921052631583, 0.03898026315789474).lineTo(0.0, 0.03898026315789474).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
1,216
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017361
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6796875, 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.2763157894736842, 0.0).lineTo(0.17105263157894735, 0.09210526315789473).lineTo(1.0789473684210527, 0.09210526315789473).lineTo(0.9736842105263157, 0.0).lineTo(1.25, 0.0).lineTo(1.25, 0.2763157894736842).lineTo(0.0, 0.2763157894736842).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(-0.640625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.6796875, 0.46875, -0.46875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(1.25, 0.0).lineTo(1.25, 0.17105263157894735).lineTo(0.0, 0.17105263157894735).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.34375) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.359375, 0.46875, -0.125), 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.2109375, -0.2109375).lineTo(0.2109375, 0.0).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(-0.6953125) solid=solid.cut(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.6796875, 0.46875, -0.3359375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop3=wp_sketch3.moveTo(0.2109375, 0.2109375).lineTo(0.0, 0.2109375).lineTo(0.0, 0.0).close() solid3=wp_sketch3.add(loop3).extrude(-0.6953125) solid=solid.cut(solid3) # Generating a workplane for sketch 4 wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.234375, 0.234375, -0.46875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop4=wp_sketch4.moveTo(0.17368421052631577, 0.0).circle(0.17368421052631577) solid4=wp_sketch4.add(loop4).extrude(-0.6953125) solid=solid.cut(solid4)
2,092
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00012219
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.390625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.3980263157894737, 0.0).lineTo(0.3980263157894737, 0.12302631578947368).lineTo(0.14473684210526316, 0.12302631578947368).lineTo(0.14473684210526316, 0.2967105263157895).lineTo(0.3763157894736842, 0.2967105263157895).lineTo(0.3763157894736842, 0.41973684210526313).lineTo(0.14473684210526316, 0.41973684210526313).lineTo(0.14473684210526316, 0.5644736842105263).lineTo(0.3980263157894737, 0.5644736842105263).lineTo(0.3980263157894737, 0.6875).lineTo(0.0, 0.6875).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.390625, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.390625, 0.0).lineTo(0.390625, 0.06578947368421052).lineTo(0.0, 0.06578947368421052).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.0625) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.6875, 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.390625, 0.0).lineTo(0.390625, 0.06578947368421052).lineTo(0.0, 0.06578947368421052).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(0.0625) solid=solid.union(solid2)
1,833
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00016916
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.359375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(1.40625, 0.0).lineTo(1.40625, 0.444078947368421).lineTo(0.0, 0.444078947368421).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.171875) solid=solid0
879
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00018084
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.359375, 0.0, -0.21875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.8749999999999999, 0.0).lineTo(0.8749999999999999, 0.7921052631578946).lineTo(0.0, 0.7921052631578946).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
974
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017374
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1875, 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.3157894736842105, 0.0).lineTo(0.14802631578947367, 0.10855263157894736).lineTo(0.7796052631578947, 0.10855263157894736).lineTo(0.6217105263157895, 0.0).lineTo(0.9375, 0.0).lineTo(0.9375, 0.20723684210526314).lineTo(0.0, 0.20723684210526314).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(-0.4765625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.1875, 0.3515625, 0.203125), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.9375, 0.0).lineTo(0.9375, 0.1282894736842105).lineTo(0.0, 0.1282894736842105).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.2578125) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.1875, 0.3515625, 0.3046875), 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.15625, 0.15625).lineTo(0.0, 0.15625).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(-0.515625) solid=solid.cut(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.59375, 0.3515625, 0.4609375), 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.15625, -0.15625).lineTo(0.15625, 0.0).lineTo(0.0, 0.0).close() solid3=wp_sketch3.add(loop3).extrude(-0.515625) solid=solid.cut(solid3) # Generating a workplane for sketch 4 wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.15625, 0.1796875, 0.203125), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop4=wp_sketch4.moveTo(0.13026315789473686, 0.0).circle(0.13026315789473686) solid4=wp_sketch4.add(loop4).extrude(-0.515625) solid=solid.cut(solid4)
2,095
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00015563
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0078125, 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.0, 0.0).threePointArc((0.000529905494563811, -0.0012793050317519783), (0.0018092105263157895, -0.0018092105263157895)).lineTo(0.009868421052631578, -0.0018092105263157895).threePointArc((0.011065489242278294, -0.0012452414164252426), (0.011513157894736841, 0.0)).lineTo(0.011513157894736841, 0.01381578947368421).threePointArc((0.011065489242278294, 0.015061030890109453), (0.009868421052631578, 0.015625)).lineTo(0.0018092105263157895, 0.015625).threePointArc((0.000529905494563811, 0.01509509450543619), (0.0, 0.01381578947368421)).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.0007002235711974851, -0.0008681208212256626), (0.0018092105263157895, -0.000986842105263158)).lineTo(0.009868421052631578, -0.000986842105263158).threePointArc((0.010566223797223568, -0.0006978027445919886), (0.010855263157894736, 0.0)).lineTo(0.010855263157894736, 0.01381578947368421).threePointArc((0.010600287412550303, 0.014595829060381461), (0.009868421052631578, 0.014967105263157894)).lineTo(0.0018092105263157895, 0.014967105263157894).threePointArc((0.0009951073242918018, 0.014629892675708198), (0.0006578947368421052, 0.01381578947368421)).lineTo(0.0006578947368421052, 0.0).close() solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75) solid=solid0
1,897
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00013674
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.671875) solid=solid0
908
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017360
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.515625, 0.0, -0.4140625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(1.265625, 0.0).lineTo(1.265625, 0.10657894736842105).lineTo(0.9991776315789473, 0.10657894736842105).lineTo(0.9991776315789473, 0.37302631578947365).lineTo(0.8925986842105263, 0.37302631578947365).threePointArc((0.6328125, 0.08990720523036838), (0.37302631578947365, 0.37302631578947365)).lineTo(0.26644736842105265, 0.37302631578947365).lineTo(0.26644736842105265, 0.10657894736842105).lineTo(0.0, 0.10657894736842105).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.4765625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.5625, -0.234375, -0.3046875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.055263157894736833, 0.0).circle(0.055263157894736833) solid1=wp_sketch1.add(loop1).extrude(-0.53125) solid=solid.cut(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.4375, -0.234375, -0.3046875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch2.moveTo(0.055263157894736833, 0.0).circle(0.055263157894736833) solid2=wp_sketch2.add(loop2).extrude(-0.53125) solid=solid.cut(solid2)
1,666
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00019365
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.6015625, 0.2734375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.9843749999999999, -0.09325657894736841).lineTo(0.9843749999999999, 0.47664473684210523).lineTo(0.0, 0.47664473684210523).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.46875) solid=solid0
980
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00012224
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.421875, 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.42697368421052634, 0.0).lineTo(0.42697368421052634, 0.12302631578947368).lineTo(0.14473684210526316, 0.12302631578947368).lineTo(0.14473684210526316, 0.6875).lineTo(0.0, 0.6875).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.421875, 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.421875, 0.0).lineTo(0.421875, 0.06661184210526316).lineTo(0.0, 0.06661184210526316).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.0625) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.28125, 0.6875, 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.1484375, 0.0).lineTo(0.1484375, 0.06875).lineTo(0.0, 0.06875).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(0.0625) solid=solid.union(solid2)
1,561
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00019826
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5234375, 0.0, -0.484375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(1.0546875, 0.0).lineTo(1.0546875, 0.8770559210526315).lineTo(0.0, 0.8770559210526315).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.5217927631578947, 0.48848684210526316).circle(0.32195723684210525) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75) solid=solid0
1,038
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017823
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.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
838
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00013476
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.3671875, 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.37105263157894736, 0.0).circle(0.37105263157894736) solid0=wp_sketch0.add(loop0).extrude(0.015625, both=True) solid=solid0
919
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00015761
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0390625, 0.1171875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.0, 0.01850328947368421).lineTo(0.07771381578947369, 0.01850328947368421).lineTo(0.07771381578947369, 0.0).threePointArc((0.13600649717870125, -0.04261387575316288), (0.1591282894736842, -0.11101973684210525)).lineTo(0.1591282894736842, -0.18873355263157893).lineTo(0.3515625, -0.18873355263157893).lineTo(0.3515625, -0.23314144736842105).lineTo(0.04070723684210526, -0.23314144736842105).threePointArc((-0.07773200580429965, -0.13369678505689106), (0.0, 0.0)).close() loop1=wp_sketch0.moveTo(0.04070723684210526, -0.11101973684210525).circle(0.09251644736842105) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.390625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.3125, -0.1171875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch1.moveTo(0.3177631578947368, 0.0).threePointArc((0.4349963949311151, 0.10193426003144525), (0.3546052631578947, 0.23486842105263156)).lineTo(0.3546052631578947, 0.2532894736842105).lineTo(0.2763157894736842, 0.2532894736842105).lineTo(0.2763157894736842, 0.23486842105263156).threePointArc((0.21663166374450477, 0.19043309684079862), (0.19342105263157894, 0.11973684210526314)).lineTo(0.19342105263157894, 0.04144736842105263).lineTo(0.0, 0.04144736842105263).lineTo(0.0, 0.0).close() loop3=wp_sketch1.moveTo(0.3177631578947368, 0.11973684210526314).circle(0.09210526315789473) solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.390625) solid=solid.union(solid1)
1,923
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00013304
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0390625, 0.0, 0.1171875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.50625, 0.0).lineTo(0.50625, 0.6328125).lineTo(0.0, 0.6328125).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.253125, 0.31973684210526315).circle(0.1265625) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.375) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0859375, -0.375, 0.4375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop2=wp_sketch1.moveTo(0.12631578947368421, 0.0).circle(0.12631578947368421) solid1=wp_sketch1.add(loop2).extrude(-0.0625) solid=solid.cut(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0546875, -0.375, 0.4375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop3=wp_sketch2.moveTo(0.15789473684210525, 0.0).circle(0.15789473684210525) loop4=wp_sketch2.moveTo(0.15789473684210525, 0.0).circle(0.125) solid2=wp_sketch2.add(loop3).add(loop4).extrude(-0.0625) solid=solid.cut(solid2)
1,589
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00010625
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.21875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.34375, 0.0).lineTo(0.34375, 0.21710526315789475).lineTo(0.0, 0.21710526315789475).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.15625, 0.75), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.1881578947368421, 0.0).lineTo(0.1881578947368421, -0.06151315789473684).lineTo(0.2822368421052632, -0.06151315789473684).lineTo(0.2822368421052632, 0.0).lineTo(0.34375, 0.0).lineTo(0.34375, 0.09407894736842105).lineTo(0.2822368421052632, 0.09407894736842105).lineTo(0.2822368421052632, 0.1555921052631579).lineTo(0.0, 0.1555921052631579).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(-0.1875) solid=solid.cut(solid1)
1,333
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00014331
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.6394736842105263, 0.0).lineTo(0.6394736842105263, 0.37894736842105264).lineTo(0.4421052631578948, 0.7105263157894737).threePointArc((0.41585807667906777, 0.7387939753180873), (0.37894736842105264, 0.75)).lineTo(0.07894736842105263, 0.75).threePointArc((0.02475820238937693, 0.730824219567359), (0.0, 0.6789473684210526)).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.10263157894736842, 0.41842105263157897).circle(0.02368421052631579) loop2=wp_sketch0.moveTo(0.2605263157894737, 0.6).circle(0.07894736842105263) loop3=wp_sketch0.moveTo(0.41842105263157897, 0.41842105263157897).circle(0.02368421052631579) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).extrude(0.09375) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0859375, -0.046875, 0.0), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042))) loop4=wp_sketch1.moveTo(0.015789473684210527, 0.0).circle(0.015789473684210527) solid1=wp_sketch1.add(loop4).extrude(-0.1484375) solid=solid.cut(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.40625, -0.046875, 0.0), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042))) loop5=wp_sketch2.moveTo(0.015789473684210527, 0.0).circle(0.015789473684210527) solid2=wp_sketch2.add(loop5).extrude(-0.1484375) solid=solid.cut(solid2)
1,946
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00018480
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.6394736842105263).lineTo(0.0, 0.6394736842105263).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(-0.03125) solid=solid0
868
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00014292
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.65625), 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.3105263157894738).lineTo(0.0, 1.3105263157894738).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.75, -0.375, -0.46875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(1.5, 0.0).lineTo(1.5, 1.1210526315789473).lineTo(0.0, 1.1210526315789473).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(-0.1875) solid=solid.cut(solid1)
1,237
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00019749
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5, 0.0, -0.21875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.08740190769501241, -0.012603842584601845), (0.15789473684210525, -0.06578947368421052)).threePointArc((0.5, -0.22759321280492514), (0.8421052631578947, -0.06578947368421052)).threePointArc((0.9125980923049876, -0.012603842584601845), (1.0, 0.0)).threePointArc((1.2485849108555158, 0.21710526315789472), (1.0, 0.43421052631578944)).threePointArc((0.9125980923049876, 0.4468143689003913), (0.8421052631578947, 0.5)).threePointArc((0.5, 0.6618037391207146), (0.15789473684210525, 0.5)).threePointArc((0.08740190769501241, 0.4468143689003913), (0.0, 0.43421052631578944)).threePointArc((-0.24858491085551573, 0.21710526315789472), (0.0, 0.0)).close() loop1=wp_sketch0.moveTo(-0.02631578947368421, 0.22368421052631576).circle(0.09210526315789473) loop2=wp_sketch0.moveTo(0.5, 0.22368421052631576).circle(0.3026315789473684) loop3=wp_sketch0.moveTo(1.026315789473684, 0.22368421052631576).circle(0.09210526315789473) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).extrude(0.046875) solid=solid0
1,640
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00019775
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.109375, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.10657894736842105, 0.0).circle(0.10657894736842105) solid0=wp_sketch0.add(loop0).extrude(-0.75) solid=solid0
910
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00015629
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.1875, both=True) solid=solid0
913
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00016334
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 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.3555921052631579, 0.0).lineTo(0.3555921052631579, 0.734375).lineTo(0.0, 0.734375).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.0078125) solid=solid0
955
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00019588
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.5546875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.18947368421052632, 0.0).lineTo(0.18947368421052632, -0.18947368421052632).lineTo(1.3105263157894738, -0.18947368421052632).lineTo(1.3105263157894738, 0.0).lineTo(1.5, 0.0).lineTo(1.5, 1.105263157894737).lineTo(1.3105263157894738, 1.105263157894737).lineTo(1.3105263157894738, 1.3105263157894738).lineTo(0.18947368421052632, 1.3105263157894738).lineTo(0.18947368421052632, 1.105263157894737).lineTo(0.0, 1.105263157894737).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.7578947368421053, 0.5526315789473685).circle(0.2210526315789474) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.078125) solid=solid0
1,260
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00016877
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.328125, -0.625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(1.078125, 0.0).lineTo(1.078125, 0.4085526315789474).lineTo(0.0, 0.4085526315789474).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.5447368421052632, 0.22697368421052633).circle(0.1475328947368421) solid0=wp_sketch0.add(loop0).add(loop1).extrude(-0.2421875) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.328125, -0.2109375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch1.moveTo(1.078125, 0.0).lineTo(1.078125, 0.1475328947368421).lineTo(0.0, 0.1475328947368421).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop2).extrude(-0.2421875) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0625, -0.3984375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop3=wp_sketch2.moveTo(0.15000000000000002, 0.0).circle(0.15000000000000002) solid2=wp_sketch2.add(loop3).extrude(-0.2421875) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.0625, -0.3984375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop4=wp_sketch3.moveTo(0.15000000000000002, 0.0).circle(0.15000000000000002) solid3=wp_sketch3.add(loop4).extrude(-0.6015625) solid=solid.cut(solid3) # Generating a workplane for sketch 4 wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.328125, -0.2109375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop5=wp_sketch4.moveTo(1.078125, 0.0).lineTo(1.078125, 0.1475328947368421).lineTo(0.0, 0.1475328947368421).lineTo(0.0, 0.0).close() solid4=wp_sketch4.add(loop5).extrude(0.2890625) solid=solid.union(solid4)
1,844
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017599
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.484375, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.4855263157894737, 0.0).circle(0.4855263157894737) solid0=wp_sketch0.add(loop0).extrude(0.265625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.3359375, 0.0, 0.265625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.3355263157894737, 0.0).circle(0.3355263157894737) solid1=wp_sketch1.add(loop1).extrude(0.375) solid=solid.union(solid1)
1,035
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00016687
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.6631578947368422).lineTo(0.0, 0.6631578947368422).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.1328125) solid=solid0
874
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00013933
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1875, -0.109375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.9375, 0.0).lineTo(0.9375, 0.15789473684210525).lineTo(0.0, 0.15789473684210525).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.03125) solid=solid0
882
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00012422
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0078125, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.003947368421052632, 0.0).circle(0.003947368421052632) solid0=wp_sketch0.add(loop0).extrude(0.65625) solid=solid0
844
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00013710
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0859375, -0.03125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.08338815789473684, -0.08338815789473684), (0.1667763157894737, 0.0)).lineTo(0.1667763157894737, 0.029934210526315792).threePointArc((0.08338815789473684, 0.40127854075297814), (0.0, 0.029934210526315792)).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.08125, 0.20953947368421055).circle(0.07697368421052632) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.1328125) solid=solid0
1,081
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017562
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.2421875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.7471217105263158, 0.0).lineTo(0.7471217105263158, -0.1513157894736842).lineTo(0.71875, -0.1513157894736842).threePointArc((0.6761924342105263, -0.19387335526315788), (0.71875, -0.23643092105263158)).lineTo(0.7471217105263158, -0.23643092105263158).lineTo(0.8984375, -0.23643092105263158).lineTo(0.8984375, 0.1513157894736842).lineTo(0.0, 0.1513157894736842).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.1796875) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.65625, 0.390625, 0.0390625), cq.Vector(-1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, 1.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.0, 0.1015625).threePointArc((-0.05078125, 0.05078125), (0.0, 0.0)).close() solid1=wp_sketch1.add(loop1).extrude(-0.75) solid=solid.cut(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.65625, 0.390625, 0.0390625), cq.Vector(-1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, 1.0, 6.123233995736766e-17))) loop2=wp_sketch2.moveTo(0.0, 0.0).threePointArc((0.05078125, 0.05078125), (0.0, 0.1015625)).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(-0.75) solid=solid.cut(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.1484375, 0.390625, 0.0), cq.Vector(-1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, 1.0, 6.123233995736766e-17))) loop3=wp_sketch3.moveTo(0.6875, 0.0).lineTo(0.6875, 0.18092105263157895).lineTo(0.0, 0.18092105263157895).lineTo(0.0, 0.0).close() solid3=wp_sketch3.add(loop3).extrude(0.296875) solid=solid.union(solid3)
2,004
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00015375
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.37894736842105264, 0.0).lineTo(0.37894736842105264, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.0078125) solid=solid0
872
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00010543
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.018421052631578946, 0.0).lineTo(0.018421052631578946, 0.03125).lineTo(0.016118421052631577, 0.03125).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75, both=True) solid=solid0
968
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00016654
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.625), 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.2473684210526317).lineTo(0.0, 1.2473684210526317).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.3203125) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.375, -0.3203125, 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.06315789473684211, 0.0).circle(0.06184210526315789) 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.2734375, -0.3203125, 0.1171875), 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.06315789473684211, 0.0).circle(0.06184210526315789) solid2=wp_sketch2.add(loop2).extrude(0.25) solid=solid.union(solid2)
1,483
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00016898
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.640625, 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.6513157894736843, 0.0).circle(0.6377467105263158) 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.75, -0.484375, 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.4855263157894737, 0.0).circle(0.4855263157894737) solid1=wp_sketch1.add(loop1).extrude(-0.859375) solid=solid.cut(solid1)
1,137
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00013937
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.09375, 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.09868421052631579, 0.0).circle(0.09868421052631579) solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
837
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00016456
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.296875, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.29605263157894735, 0.0).circle(0.29605263157894735) solid0=wp_sketch0.add(loop0).extrude(0.25) solid=solid0
838
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00014527
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 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(0.02368421052631579, 0.0).circle(0.02368421052631579) solid0=wp_sketch0.add(loop0).extrude(0.0546875) solid=solid0
915
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00012142
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.37894736842105264, 0.0).lineTo(0.37894736842105264, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.015625) solid=solid0
943
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00012803
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.171875, -0.1953125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.5390625, 0.0).lineTo(0.5390625, 0.39152960526315794).lineTo(0.0, 0.39152960526315794).threePointArc((0.10762289200083228, 0.3617196535171213), (0.18157894736842106, 0.2780427631578948)).threePointArc((0.2650182178838573, 0.19860197368421054), (0.18157894736842106, 0.11916118421052632)).threePointArc((0.10846456291666347, 0.03264712279866817), (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.0078125, -0.078125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.0, 0.0).threePointArc((0.08464853530551504, 0.08059210526315791), (0.0, 0.16118421052631582)).threePointArc((-0.38068723201683013, 0.08059210526315791), (0.0, 0.0)).close() loop2=wp_sketch1.moveTo(-0.18133223684210528, 0.08059210526315791).circle(0.0765625) solid1=wp_sketch1.add(loop1).add(loop2).extrude(-0.75) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.25, 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.07894736842105263, 0.0).circle(0.07894736842105263) solid2=wp_sketch2.add(loop3).extrude(-0.75) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.3671875, -0.1953125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop4=wp_sketch3.moveTo(0.1953125, 0.0).threePointArc((0.05720570679950237, 0.05720570679950243), (0.0, 0.1953125)).lineTo(0.0, 0.0).close() solid3=wp_sketch3.add(loop4).extrude(-0.75) solid=solid.union(solid3) # Generating a workplane for sketch 4 wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.3671875, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop5=wp_sketch4.moveTo(0.0, 0.0).threePointArc((0.05720570679950243, 0.13810679320049762), (0.1953125, 0.1953125)).lineTo(0.0, 0.1953125).lineTo(0.0, 0.0).close() solid4=wp_sketch4.add(loop5).extrude(-0.75) solid=solid.union(solid4) # Generating a workplane for sketch 5 wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(0.0078125, -0.078125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop6=wp_sketch5.moveTo(0.0, 0.0).threePointArc((0.08464853530551504, 0.08059210526315791), (0.0, 0.16118421052631582)).threePointArc((-0.38068723201683013, 0.08059210526315791), (0.0, 0.0)).close() loop7=wp_sketch5.moveTo(-0.18133223684210528, 0.08059210526315791).circle(0.0765625) solid5=wp_sketch5.add(loop6).add(loop7).extrude(0.125) solid=solid.union(solid5) # Generating a workplane for sketch 6 wp_sketch6 = cq.Workplane(cq.Plane(cq.Vector(-0.25, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop8=wp_sketch6.moveTo(0.07894736842105263, 0.0).circle(0.07894736842105263) solid6=wp_sketch6.add(loop8).extrude(0.2265625) solid=solid.union(solid6)
2,697
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00012778
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.0546875, -0.0234375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.1015625, 0.0).lineTo(0.1015625, 0.043832236842105264).lineTo(0.0, 0.043832236842105264).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
945
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00013300
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.09375, 0.0, -0.046875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.1875, 0.0).lineTo(0.1875, 0.09473684210526316).lineTo(0.0, 0.09473684210526316).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75, both=True) solid=solid0
956
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017166
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.8749999999999999, 0.0).lineTo(0.8749999999999999, 0.44210526315789467).lineTo(0.7276315789473684, 0.44210526315789467).lineTo(0.7276315789473684, 0.29473684210526313).lineTo(0.14736842105263157, 0.29473684210526313).lineTo(0.14736842105263157, 0.44210526315789467).lineTo(0.0, 0.44210526315789467).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.578125) solid=solid0
1,146
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017172
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5390625, -0.328125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(1.078125, 0.0).lineTo(1.078125, 1.078125).lineTo(0.0, 1.078125).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.5447368421052632, 0.5333881578947368).circle(0.31776315789473686) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.4296875) solid=solid0
948
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00012744
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.27631578947368424).lineTo(0.0, 0.27631578947368424).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.718421052631579, 0.04736842105263158).lineTo(0.718421052631579, 0.25263157894736843).lineTo(0.007894736842105263, 0.25263157894736843).lineTo(0.007894736842105263, 0.04736842105263158).close() solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.1796875) solid=solid0
1,063
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00012022
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.5, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 0.9947368421052631).lineTo(0.0, 0.9947368421052631).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(1.4526315789473685, 0.14210526315789473).lineTo(1.4526315789473685, 0.9631578947368421).lineTo(0.04736842105263158, 0.9631578947368421).lineTo(0.04736842105263158, 0.14210526315789473).close() solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0234375) solid=solid0
1,058
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00013328
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.046875, -0.015625), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.0859375, 0.0).lineTo(0.0859375, 0.037088815789473685).lineTo(0.0, 0.037088815789473685).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
943
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00012963
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.34375, -0.703125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.691858552631579, 0.0).lineTo(0.691858552631579, 1.3984375).lineTo(0.0, 1.3984375).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.0234375) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.3359375, -0.703125, 0.0234375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.6796875, 0.0).lineTo(0.6796875, 0.21463815789473684).lineTo(0.0, 0.21463815789473684).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.171875) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.3359375, -0.75, 0.0234375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch2.moveTo(0.6796875, 0.0).lineTo(0.6796875, 0.05008223684210526).lineTo(0.0, 0.05008223684210526).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(0.171875) solid=solid.union(solid2)
1,383
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00019836
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.1484375, 0.0).lineTo(0.1484375, 0.07500000000000001).lineTo(0.0, 0.07500000000000001).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
949
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017827
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.49736842105263157, 0.0).lineTo(0.49736842105263157, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.296875) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.296875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.15, 0.0).lineTo(0.15, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(-0.1484375) solid=solid.cut(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.2265625, 0.375, 0.296875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch2.moveTo(0.10263157894736843, 0.0).circle(0.10263157894736843) solid2=wp_sketch2.add(loop2).extrude(-1.0) solid=solid.cut(solid2)
1,267
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00015956
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.35526315789473684, 0.0).lineTo(0.35526315789473684, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(-0.046875) solid=solid0
943
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00010184
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.375, -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.7578947368421053, 0.0).lineTo(0.7578947368421053, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(-0.0390625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.375, -0.75, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.7578947368421053, 0.0).lineTo(0.7578947368421053, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close() loop2=wp_sketch1.moveTo(0.7263157894736842, 0.015789473684210527).lineTo(0.7263157894736842, 1.4842105263157894).lineTo(0.015789473684210527, 1.4842105263157894).lineTo(0.015789473684210527, 0.015789473684210527).close() solid1=wp_sketch1.add(loop1).add(loop2).extrude(0.265625) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.375, -0.75, 0.265625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop3=wp_sketch2.moveTo(0.75, 0.0).lineTo(0.37894736842105264, 0.2605263157894737).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop3).extrude(-0.015625) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.375, 0.75, 0.265625), 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.75, 0.0).lineTo(0.37894736842105264, 0.2605263157894737).lineTo(0.0, 0.0).close() solid3=wp_sketch3.add(loop4).extrude(-0.015625) solid=solid.union(solid3)
1,864
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017364
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.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.5, 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.5, 0.0).lineTo(0.5, 0.5).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.75) solid=solid.union(solid1)
1,137
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00013102
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.6875), 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.1875, 0.0).lineTo(1.1875, 0.9375).lineTo(0.0, 0.9375).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.140625) solid=solid0
925
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00013670
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0390625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.039473684210526314, 0.0).circle(0.039473684210526314) 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/00017370
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.25, 0.0, -0.1796875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.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 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.125, -0.375, -0.1796875), 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.25, 0.0).lineTo(0.25, 0.25).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.375) solid=solid.union(solid1)
1,180
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017358
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.203125, 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(0.453125, 0.0).lineTo(0.453125, 0.453125).lineTo(0.0, 0.453125).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(-0.453125) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.1484375, -0.171875), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.296875, 0.0).lineTo(0.296875, 0.296875).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.75) solid=solid.union(solid1)
1,192
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00015229
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = 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))) loop0=wp_sketch0.moveTo(0.08980263157894737, 0.0).lineTo(0.08980263157894737, 0.17960526315789474).lineTo(0.11973684210526316, 0.17960526315789474).lineTo(0.11973684210526316, 0.0).lineTo(1.3021381578947369, 0.0).lineTo(1.3021381578947369, 0.17960526315789474).lineTo(1.3320723684210527, 0.17960526315789474).lineTo(1.3320723684210527, 0.0).lineTo(1.421875, 0.0).lineTo(1.421875, 0.284375).lineTo(1.3320723684210527, 0.37417763157894735).lineTo(0.08980263157894737, 0.37417763157894735).lineTo(0.0, 0.284375).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.0078125) solid=solid0
1,234
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00019407
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.2421875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.7471217105263158, 0.0).lineTo(0.7471217105263158, -0.1513157894736842).lineTo(0.71875, -0.1513157894736842).threePointArc((0.6761924342105263, -0.19387335526315788), (0.71875, -0.23643092105263158)).lineTo(0.7471217105263158, -0.23643092105263158).lineTo(0.8984375, -0.23643092105263158).lineTo(0.8984375, 0.1513157894736842).lineTo(0.0, 0.1513157894736842).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.1796875) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.640625, 0.390625, 0.0390625), cq.Vector(-1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, 1.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.0, 0.1015625).threePointArc((-0.05078125, 0.05078125), (0.0, 0.0)).close() solid1=wp_sketch1.add(loop1).extrude(-0.75) solid=solid.cut(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.640625, 0.390625, 0.0390625), cq.Vector(-1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, 1.0, 6.123233995736766e-17))) loop2=wp_sketch2.moveTo(0.0, 0.0).threePointArc((0.05078125, 0.05078125), (0.0, 0.1015625)).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(-0.75) solid=solid.cut(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.1484375, 0.390625, 0.0), cq.Vector(-1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, 1.0, 6.123233995736766e-17))) loop3=wp_sketch3.moveTo(0.6875, 0.0).lineTo(0.6875, 0.18092105263157895).lineTo(0.0, 0.18092105263157895).lineTo(0.0, 0.0).close() solid3=wp_sketch3.add(loop3).extrude(0.296875) solid=solid.union(solid3)
2,006
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00010386
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.3203125, 0.0, -0.3984375), 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.2780427631578947, 0.0).lineTo(0.2780427631578947, 0.09671052631578947).threePointArc((0.3203536184210526, 0.13902138157894736), (0.3626644736842105, 0.09671052631578947)).lineTo(0.3626644736842105, 0.0).lineTo(0.6407072368421052, 0.0).lineTo(0.6407072368421052, 1.1484375).lineTo(0.0, 1.1484375).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.3143092105263158, 1.0517269736842105).circle(0.048355263157894735) 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.234375, -0.0546875, -0.0859375), 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.4738486842105263, 0.0).lineTo(0.4738486842105263, 0.5234375).lineTo(0.0, 0.5234375).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop2).extrude(-0.5078125) solid=solid.cut(solid1)
1,548
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00015599
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.703125, 0.0, -0.3671875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(1.1171875, 0.0).lineTo(1.1171875, 0.2587171052631579).lineTo(1.1171875, 0.8114309210526316).lineTo(0.0, 0.8114309210526316).lineTo(0.0, 0.0).close() 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.4140625, 0.0, -0.109375), 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.3328125, 0.0).lineTo(0.3328125, 0.5546875).lineTo(0.0, 0.5546875).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.5546875) solid=solid.union(solid1)
1,293
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00019406
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.2421875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.7471217105263158, 0.0).lineTo(0.7471217105263158, -0.1513157894736842).lineTo(0.71875, -0.1513157894736842).threePointArc((0.6761924342105263, -0.19387335526315788), (0.71875, -0.23643092105263158)).lineTo(0.7471217105263158, -0.23643092105263158).lineTo(0.8984375, -0.23643092105263158).lineTo(0.8984375, 0.1513157894736842).lineTo(0.0, 0.1513157894736842).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.1796875) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.640625, 0.390625, 0.0390625), cq.Vector(-1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, 1.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.0, 0.1015625).threePointArc((-0.05078125, 0.05078125), (0.0, 0.0)).close() solid1=wp_sketch1.add(loop1).extrude(-0.75) solid=solid.cut(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.640625, 0.390625, 0.0390625), cq.Vector(-1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, 1.0, 6.123233995736766e-17))) loop2=wp_sketch2.moveTo(0.0, 0.0).threePointArc((0.05078125, 0.05078125), (0.0, 0.1015625)).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(-0.75) solid=solid.cut(solid2)
1,696
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00013895
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.1796875) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.6328125, 0.0, 0.1796875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.6355263157894737, 0.0).circle(0.6355263157894737) solid1=wp_sketch1.add(loop1).extrude(0.296875) solid=solid.union(solid1)
1,036
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017359
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.265625, 0.0, -0.375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.3).lineTo(0.0, 0.3).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.1171875, -0.375, -0.078125), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.22894736842105262, 0.0).circle(0.22894736842105262) solid1=wp_sketch1.add(loop1).extrude(-0.75) solid=solid.cut(solid1)
1,112
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00012221
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.14473684210526316, 0.0).lineTo(0.14473684210526316, 0.2967105263157895).lineTo(0.41973684210526313, 0.2967105263157895).lineTo(0.41973684210526313, 0.0).lineTo(0.5644736842105263, 0.0).lineTo(0.5644736842105263, 0.6875).lineTo(0.41973684210526313, 0.6875).lineTo(0.41973684210526313, 0.41973684210526313).lineTo(0.14473684210526316, 0.41973684210526313).lineTo(0.14473684210526316, 0.6875).lineTo(0.0, 0.6875).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.5625, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.1484375, 0.0).lineTo(0.1484375, 0.06875).lineTo(0.0, 0.06875).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.0625) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.1484375, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop2=wp_sketch2.moveTo(0.1484375, 0.0).lineTo(0.1484375, 0.06875).lineTo(0.0, 0.06875).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(0.0625) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.6875, 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.1484375, 0.0).lineTo(0.1484375, 0.06875).lineTo(0.0, 0.06875).lineTo(0.0, 0.0).close() solid3=wp_sketch3.add(loop3).extrude(0.0625) solid=solid.union(solid3) # Generating a workplane for sketch 4 wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.4140625, 0.6875, 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.1484375, 0.0).lineTo(0.1484375, 0.06875).lineTo(0.0, 0.06875).lineTo(0.0, 0.0).close() solid4=wp_sketch4.add(loop4).extrude(0.0625) solid=solid.union(solid4)
2,306
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017371
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6328125, 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.3).lineTo(0.0, 0.3).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.484375, 0.375, 0.296875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.22894736842105262, 0.0).circle(0.22894736842105262) solid1=wp_sketch1.add(loop1).extrude(-0.75) solid=solid.cut(solid1)
1,110
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00013103
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.4140625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(1.46875, 0.0).lineTo(1.46875, 0.3092105263157895).lineTo(1.46875, 0.618421052631579).lineTo(0.0, 0.618421052631579).lineTo(0.0, 0.3092105263157895).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.5256578947368421, 0.20098684210526316).lineTo(0.5256578947368421, 0.3092105263157895).lineTo(0.5256578947368421, 0.4174342105263158).lineTo(0.4328947368421052, 0.4174342105263158).lineTo(0.4328947368421052, 0.3092105263157895).lineTo(0.4328947368421052, 0.20098684210526316).close() loop2=wp_sketch0.moveTo(1.0358552631578948, 0.20098684210526316).lineTo(1.0358552631578948, 0.3092105263157895).lineTo(1.0358552631578948, 0.4174342105263158).lineTo(0.9430921052631579, 0.4174342105263158).lineTo(0.9430921052631579, 0.3092105263157895).lineTo(0.9430921052631579, 0.20098684210526316).close() solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.0390625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.46875, -0.0390625, -0.375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop3=wp_sketch1.moveTo(0.15254934210526314, 0.0).lineTo(0.15254934210526314, 0.41406249999999994).lineTo(0.0, 0.41406249999999994).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop3).extrude(0.09375) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.28125, -0.0390625, -0.3671875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop4=wp_sketch2.moveTo(0.15254934210526314, 0.0).lineTo(0.15254934210526314, 0.41406249999999994).lineTo(0.0, 0.41406249999999994).lineTo(0.0, 0.36611842105263154).lineTo(0.0, 0.26151315789473684).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop4).extrude(0.09375) solid=solid.union(solid2)
2,285
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017365
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.3).lineTo(0.0, 0.3).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.6015625, -0.375, 0.296875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.22894736842105262, 0.0).circle(0.22894736842105262) solid1=wp_sketch1.add(loop1).extrude(-0.75) solid=solid.cut(solid1)
1,106
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00010185
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0234375, -0.75, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.04736842105263158, 0.0).lineTo(0.04736842105263158, 0.4105263157894737).lineTo(0.4421052631578948, 0.4105263157894737).lineTo(0.4578947368421053, 0.39473684210526316).threePointArc((0.7526652770356421, 0.5382877887797969), (0.4736842105263158, 0.7105263157894737)).lineTo(0.48947368421052634, 0.6789473684210526).threePointArc((0.7189743268916721, 0.5526315789473685), (0.48947368421052634, 0.4263157894736842)).lineTo(0.04736842105263158, 0.7263157894736842).lineTo(0.04736842105263158, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.37894736842105264, 0.4578947368421053).lineTo(0.04736842105263158, 0.6947368421052632).lineTo(0.04736842105263158, 0.4578947368421053).close() solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.375) solid=solid0
1,402
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false