image
imagewidth (px)
448
448
deepcad_id
stringlengths
13
13
cadquery
stringlengths
283
8.1k
token_count
int64
807
6.5k
prompt
stringclasses
1 value
hundred_subset
bool
1 class
0002/00021810
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1015625, -0.0625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.04144736842105263, 0.0).threePointArc((-0.14662355690296877, 0.059580592105263154), (0.04144736842105263, 0.11916118421052631)).lineTo(0.0, 0.11916118421052631).threePointArc((-0.11836630715894472, 0.059580592105263154), (0.0, 0.0)).close() solid0=wp_sketch0.add(loop0).extrude(0.1484375) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.5546875, -0.0625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.043421052631578944, 0.0).threePointArc((0.01196119639412305, 0.0625), (0.043421052631578944, 0.125)).lineTo(0.0, 0.125).threePointArc((-0.019799907934537717, 0.0625), (0.0, 0.0)).close() solid1=wp_sketch1.add(loop1).extrude(0.1484375) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.0546875, -0.0625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch2.moveTo(0.6171875, 0.0).threePointArc((0.597635090914644, 0.06171875), (0.6171875, 0.1234375)).lineTo(0.0, 0.1234375).threePointArc((0.01955240908535607, 0.06171875), (0.0, 0.0)).close() solid2=wp_sketch2.add(loop2).extrude(0.1484375) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.1015625, -0.0625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop3=wp_sketch3.moveTo(0.043421052631578944, 0.0).threePointArc((0.06322096056611666, 0.0625), (0.043421052631578944, 0.125)).lineTo(0.0, 0.125).threePointArc((0.0314598562374559, 0.0625), (0.0, 0.0)).close() solid3=wp_sketch3.add(loop3).extrude(0.1484375) solid=solid.union(solid3) # Generating a workplane for sketch 4 wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.5546875, -0.0625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop4=wp_sketch4.moveTo(0.041118421052631575, 0.0).threePointArc((0.16365083011986212, 0.061677631578947366), (0.041118421052631575, 0.12335526315789473)).lineTo(0.0, 0.12335526315789473).threePointArc((0.19469039888615053, 0.061677631578947366), (0.0, 0.0)).close() solid4=wp_sketch4.add(loop4).extrude(0.1484375) solid=solid.union(solid4)
2,248
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00025445
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1875, -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.37894736842105264, 0.0).lineTo(0.37894736842105264, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.1875) solid=solid0
871
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00027520
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.0703125, -0.4140625), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.05674342105263158, 0.0).lineTo(0.05674342105263158, 0.8511513157894737).lineTo(0.09457236842105263, 0.8511513157894737).lineTo(0.09457236842105263, 0.8984375).lineTo(0.0, 0.8984375).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.1875, -0.2578125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.05674342105263158, 0.0).lineTo(0.05674342105263158, 0.047286184210526314).lineTo(0.02837171052631579, 0.047286184210526314).lineTo(0.02837171052631579, 0.8700657894736842).lineTo(0.02837171052631579, 0.8984375).lineTo(0.0, 0.8984375).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.75) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.03125, 0.0234375, 0.46875), cq.Vector(-1.0, 6.273505680525407e-17, -6.121389792138483e-17), cq.Vector(6.121389792138483e-17, 0.9996988186962042, 0.024541228522912264))) loop2=wp_sketch2.moveTo(0.007894736842105263, 0.0).circle(0.007730263157894737) solid2=wp_sketch2.add(loop2).extrude(0.078125) solid=solid.union(solid2)
1,745
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00022316
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6796875, -0.609375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(1.015953947368421, 0.0).lineTo(1.015953947368421, 1.359375).lineTo(0.0, 1.359375).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.421875) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.6484375, -0.609375, 0.03125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.9453125, 0.0).lineTo(0.9453125, 0.3482730263157895).lineTo(0.0, 0.3482730263157895).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(-1.0) solid=solid.cut(solid1)
1,199
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00022470
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.28421052631578947).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.296875) solid=solid0
915
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00029525
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.6171875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(1.4453125, 0.0).lineTo(1.4453125, 1.1714638157894737).lineTo(0.0, 1.1714638157894737).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.3359375) solid=solid0
959
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00026616
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.140625, 0.3203125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.14605263157894738, 0.0).lineTo(0.14605263157894738, -0.20131578947368423).threePointArc((0.2605263157894737, -0.0868421052631579), (0.375, -0.20131578947368423)).lineTo(0.375, 0.22894736842105265).lineTo(0.0, 0.22894736842105265).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.046875) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.1171875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.11842105263157894, 0.0).circle(0.11842105263157894) solid1=wp_sketch1.add(loop1).extrude(0.046875) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.1015625, 0.546875, 0.046875), 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.04342105263157895, 0.0).lineTo(0.04342105263157895, 0.1875).lineTo(0.0, 0.1875).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(0.203125) solid_temp=solid2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.1015625, 0.546875, 0.046875), 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.04342105263157895, 0.0).lineTo(0.04342105263157895, 0.1875).lineTo(0.0, 0.1875).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(-0.234375) solid_temp=solid_temp.union(solid2) solid=solid.union(solid_temp) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.1015625, 0.546875, 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.046875, 0.0).lineTo(0.046875, 0.046875).lineTo(0.0, 0.046875).lineTo(0.0, 0.0).close() solid3=wp_sketch3.add(loop3).extrude(0.203125) solid_temp=solid3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.1015625, 0.546875, 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.046875, 0.0).lineTo(0.046875, 0.046875).lineTo(0.0, 0.046875).lineTo(0.0, 0.0).close() solid3=wp_sketch3.add(loop3).extrude(-0.234375) solid_temp=solid_temp.union(solid3) solid=solid.union(solid_temp)
2,429
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00022302
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.7578947368421053) loop1=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.6157894736842106) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.09375) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop2=wp_sketch1.moveTo(0.7578947368421053, 0.0).circle(0.7578947368421053) loop3=wp_sketch1.moveTo(0.7578947368421053, 0.0).circle(0.7105263157894737) solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.09375) solid=solid.union(solid1)
1,292
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00028149
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.1484375, 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.15000000000000002, 0.0).circle(0.15000000000000002) loop1=wp_sketch0.moveTo(0.15000000000000002, 0.0).circle(0.07500000000000001) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.296875) solid=solid0
962
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00026165
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1875, -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.37894736842105264, 0.0).lineTo(0.37894736842105264, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.078125) solid=solid0
873
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00022303
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.7578947368421053) loop1=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.6157894736842106) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.1875) solid=solid0
969
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00025450
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.2265625, 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.020979440262049166, -0.05064884921163512), (0.07162828947368421, -0.07162828947368421)).lineTo(0.4518092105263158, -0.07162828947368421).threePointArc((0.5024580597379508, -0.05064884921163512), (0.5234375, 0.0)).lineTo(0.5234375, 0.10468749999999999).threePointArc((0.5024580597379508, 0.15533634921163503), (0.4518092105263158, 0.1763157894736842)).lineTo(0.07162828947368421, 0.1763157894736842).threePointArc((0.020979440262049166, 0.15533634921163503), (0.0, 0.10468749999999999)).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.140625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.2265625, -0.0859375, 0.0078125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.015789473684210527, 0.0).circle(0.015789473684210527) solid1=wp_sketch1.add(loop1).extrude(-0.2265625) solid=solid.cut(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.390625, -0.140625, 0.1640625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch2.moveTo(0.1953125, 0.0).lineTo(0.1953125, 0.1377467105263158).lineTo(0.0, 0.1377467105263158).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(0.1015625) solid=solid.union(solid2)
1,837
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00025444
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.09473684210526316, 0.0).circle(0.09473684210526316) 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
0002/00021144
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5234375, 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.11173807350688135, -0.016203953104457176), (0.20657894736842106, -0.07746710526315789)).threePointArc((0.5351767348931326, -0.2100104775914704), (0.8521381578947369, -0.051644736842105264)).threePointArc((0.9394054241446401, 0.014044297885545776), (1.0458059210526316, 0.038733552631578946)).threePointArc((1.2200274074648005, 0.21949013157894737), (1.0458059210526316, 0.4002467105263158)).threePointArc((0.9380387648119194, 0.43139155737761176), (0.8521381578947369, 0.5035361842105264)).threePointArc((0.5351767348931326, 0.6619019249598914), (0.20657894736842106, 0.5293585526315789)).threePointArc((0.11314617347732643, 0.46163980836761487), (0.0, 0.43898026315789473)).threePointArc((-0.2277232625777158, 0.21949013157894737), (0.0, 0.0)).close() loop1=wp_sketch0.moveTo(-0.012911184210526316, 0.21949013157894737).circle(0.09037828947368422) loop2=wp_sketch0.moveTo(0.5164473684210527, 0.21949013157894737).circle(0.30986842105263157) loop3=wp_sketch0.moveTo(1.0458059210526316, 0.21949013157894737).circle(0.09037828947368422) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).extrude(0.046875) solid=solid0
1,771
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00026818
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.03125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(1.4967105263157894, 0.0).threePointArc((1.5542763157894737, 0.05756578947368421), (1.4967105263157894, 0.11513157894736842)).lineTo(0.0, 0.11513157894736842).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.1015625) solid=solid0
948
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00021805
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.015625) solid=solid0
871
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00022667
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.28125, 0.2890625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.027631578947368417, 0.0).circle(0.027631578947368417) solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
845
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00028376
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2578125, 0.0, 0.0703125), 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.13421052631578947, 0.0).circle(0.13421052631578947) solid0=wp_sketch0.add(loop0).extrude(0.3671875) solid=solid0
922
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00021352
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.65625, 0.0, 0.078125), 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.2664473684210526, -0.29605263157894735).lineTo(0.4292763157894737, -0.10361842105263157).lineTo(0.6217105263157895, -0.3256578947368421).lineTo(0.444078947368421, -0.5180921052631579).lineTo(0.6513157894736842, -0.7697368421052632).lineTo(0.8585526315789473, -0.5328947368421052).lineTo(0.6957236842105263, -0.31085526315789475).lineTo(0.8733552631578947, -0.10361842105263157).lineTo(1.050986842105263, -0.31085526315789475).lineTo(1.3026315789473684, -0.014802631578947368).lineTo(1.332236842105263, 0.014802631578947368).threePointArc((1.1901839622256742, 0.592483930586696), (0.6513157894736842, 0.34046052631578944)).threePointArc((0.11026603498206562, 0.5822842557322491), (0.0, 0.0)).close() solid0=wp_sketch0.add(loop0).extrude(0.1484375) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.640625, 0.0, 0.0625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.0, 0.0).threePointArc((0.017252359842687623, 0.01902018321446192), (0.033305921052631575, 0.0390625)).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.1484375) solid=solid.union(solid1)
1,804
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00029929
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.375, 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).circle(0.37894736842105264) solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
907
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00025861
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.7578947368421053) loop1=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.25263157894736843) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.5) solid=solid0
895
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00021391
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.203125, -0.125, 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.023797574028593036, -0.05745242597140697), (0.08125, -0.08125)).lineTo(0.325, -0.08125).threePointArc((0.382452425971407, -0.057452425971407026), (0.40625, 0.0)).lineTo(0.40625, 0.24375000000000002).threePointArc((0.382452425971407, 0.301202425971407), (0.325, 0.325)).lineTo(0.08125, 0.325).threePointArc((0.023797574028593036, 0.301202425971407), (0.0, 0.24375000000000002)).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.20526315789473687, 0.11973684210526317).circle(0.08125) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.03125) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.59375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch1.moveTo(0.0, 0.0).threePointArc((0.0143074483532229, -0.034541235857303385), (0.048848684210526315, -0.048848684210526315)).lineTo(0.16208881578947368, -0.048848684210526315).threePointArc((0.1966300516467771, -0.034541235857303385), (0.2109375, 0.0)).lineTo(0.2109375, 0.11324013157894737).threePointArc((0.1966300516467771, 0.14778136743625078), (0.16208881578947368, 0.16208881578947368)).lineTo(0.048848684210526315, 0.16208881578947368).threePointArc((0.0143074483532229, 0.14778136743625078), (0.0, 0.11324013157894737)).lineTo(0.0, 0.0).close() loop3=wp_sketch1.moveTo(0.10657894736842105, 0.057730263157894736).circle(0.03330592105263158) solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.078125) solid=solid.union(solid1)
1,893
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00022854
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.234375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(1.1953125, 0.0).lineTo(1.1953125, 0.6165296052631578).lineTo(0.0, 0.6165296052631578).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.3019736842105263, 0.28939144736842104).circle(0.012582236842105262) loop2=wp_sketch0.moveTo(0.5787828947368421, 0.28939144736842104).circle(0.012582236842105262) loop3=wp_sketch0.moveTo(0.7800986842105263, 0.28939144736842104).circle(0.012582236842105262) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).extrude(0.046875) solid=solid0
1,200
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00029652
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1015625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.10657894736842105, 0.0).circle(0.10657894736842105) 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
0002/00024410
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.06200657894736842, 0.0).lineTo(0.06200657894736842, 0.2265625).lineTo(0.0, 0.2265625).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.6875, 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.06200657894736842, 0.0).lineTo(0.06200657894736842, 0.2265625).lineTo(0.0, 0.2265625).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.0390625) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0625, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop2=wp_sketch2.moveTo(0.0, 0.0).threePointArc((0.3125, 0.05225076251232982), (0.625, 0.0)).lineTo(0.625, 0.22368421052631576).threePointArc((0.3125, 0.17143344801398616), (0.0, 0.22368421052631576)).lineTo(0.0, 0.0).close() loop3=wp_sketch2.moveTo(0.2894736842105263, 0.07894736842105263).circle(0.006578947368421052) loop4=wp_sketch2.moveTo(0.2894736842105263, 0.1513157894736842).circle(0.006578947368421052) loop5=wp_sketch2.moveTo(0.3355263157894737, 0.07894736842105263).circle(0.006578947368421052) loop6=wp_sketch2.moveTo(0.3355263157894737, 0.1513157894736842).circle(0.006578947368421052) solid2=wp_sketch2.add(loop2).add(loop3).add(loop4).add(loop5).add(loop6).extrude(0.0390625) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.75, -0.03125, 0.1953125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop7=wp_sketch3.moveTo(0.007894736842105263, 0.0).circle(0.007894736842105263) solid3=wp_sketch3.add(loop7).extrude(-0.09375) solid=solid.cut(solid3) # Generating a workplane for sketch 4 wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.75, -0.03125, 0.03125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop8=wp_sketch4.moveTo(0.007894736842105263, 0.0).circle(0.007894736842105263) solid4=wp_sketch4.add(loop8).extrude(-0.09375) solid=solid.cut(solid4) # Generating a workplane for sketch 5 wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.03125, 0.1953125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop9=wp_sketch5.moveTo(0.007894736842105263, 0.0).circle(0.007894736842105263) solid5=wp_sketch5.add(loop9).extrude(-0.09375) solid=solid.cut(solid5) # Generating a workplane for sketch 6 wp_sketch6 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.03125, 0.03125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop10=wp_sketch6.moveTo(0.007894736842105263, 0.0).circle(0.007894736842105263) solid6=wp_sketch6.add(loop10).extrude(-0.09375) solid=solid.cut(solid6)
2,976
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00020886
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.28125, 0.0, -0.46875), 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.2822368421052632, 0.0).threePointArc((0.36490209925721767, 0.19957158495330862), (0.5644736842105263, 0.2822368421052632)).lineTo(0.5644736842105263, 0.9365131578947369).threePointArc((0.2822368421052632, 1.21875), (0.0, 0.9365131578947369)).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.2822368421052632, 0.9365131578947369).circle(0.11546052631578947) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.2265625) solid=solid0
1,174
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00020892
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5546875, 0.0, -0.2578125), 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.1953125, 0.1953125), (0.0, 0.390625)).lineTo(0.0, 0.2713815789473684).threePointArc((0.078125, 0.19325657894736842), (0.0, 0.11513157894736842)).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.15625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.5546875, 0.0, -0.2578125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.0, 0.0).threePointArc((0.1953125, 0.1953125), (0.0, 0.390625)).lineTo(0.0, 0.2713815789473684).threePointArc((0.078125, 0.19325657894736842), (0.0, 0.11513157894736842)).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.15625) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.5546875, 0.0, -0.2578125), 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.6484375, 0.0).lineTo(0.6484375, 0.19794407894736843).threePointArc((0.5084698994805905, 0.2559205573753274), (0.4504934210526316, 0.39588815789473686)).lineTo(0.0, 0.39588815789473686).threePointArc((0.19794407894736843, 0.19794407894736843), (0.0, 0.0)).close() solid2=wp_sketch2.add(loop2).extrude(0.15625) solid=solid.union(solid2)
1,847
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00029685
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.7578947368421053) loop1=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.28421052631578947) 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.21875, 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.22105263157894733, 0.0).circle(0.22105263157894733) loop3=wp_sketch1.moveTo(0.22105263157894733, 0.0).circle(0.04144736842105263) solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.0546875) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.2734375, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop4=wp_sketch2.moveTo(0.2802631578947368, 0.0).circle(0.2802631578947368) loop5=wp_sketch2.moveTo(0.2802631578947368, 0.0).circle(0.221875) solid2=wp_sketch2.add(loop4).add(loop5).extrude(0.0546875) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.2734375, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop6=wp_sketch3.moveTo(0.2802631578947368, 0.0).circle(0.2802631578947368) loop7=wp_sketch3.moveTo(0.2802631578947368, 0.0).circle(0.221875) solid3=wp_sketch3.add(loop6).add(loop7).extrude(0.5625) solid=solid.union(solid3) # Generating a workplane for sketch 4 wp_sketch4 = 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))) loop8=wp_sketch4.moveTo(0.7578947368421053, 0.0).circle(0.7578947368421053) loop9=wp_sketch4.moveTo(0.7578947368421053, 0.0).circle(0.28421052631578947) solid4=wp_sketch4.add(loop8).add(loop9).extrude(0.0546875) solid=solid.union(solid4)
1,904
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00029849
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.7578947368421053) loop1=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.631578947368421) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.5703125) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.1640625, -0.2734375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch1.moveTo(0.1618421052631579, 0.0).circle(0.1618421052631579) solid1=wp_sketch1.add(loop2).extrude(-1.0, both=True) solid=solid.cut(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.4375, 0.40625), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop3=wp_sketch2.moveTo(0.16578947368421051, 0.0).circle(0.16233552631578946) solid2=wp_sketch2.add(loop3).extrude(-1.0, both=True) solid=solid.cut(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.46875, -0.3125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop4=wp_sketch3.moveTo(0.16973684210526316, 0.0).circle(0.16620065789473684) solid3=wp_sketch3.add(loop4).extrude(-1.0, both=True) solid=solid.cut(solid3)
1,667
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00020845
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.65625, 0.0, -0.0390625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.3314144736842105, -0.3100328947368421).lineTo(0.7804276315789473, -0.24588815789473684).lineTo(1.015625, 0.13898026315789475).lineTo(0.8552631578947368, 0.5666118421052632).lineTo(0.41694078947368424, 0.705592105263158).lineTo(0.04276315789473684, 0.4597039473684211).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.7697368421052632, -0.16036184210526316).lineTo(0.7697368421052632, 0.2779605263157895).lineTo(0.555921052631579, 0.2779605263157895).lineTo(0.555921052631579, -0.16036184210526316).close() solid0=wp_sketch0.add(loop0).add(loop1).extrude(-0.75) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.1015625, 0.0, -0.203125), 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.21562499999999998, 0.0).lineTo(0.21562499999999998, 0.4453125).lineTo(0.0, 0.4453125).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop2).extrude(-0.75) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.1796875, 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.18157894736842106, 0.0).circle(0.18157894736842106) solid2=wp_sketch2.add(loop3).extrude(-0.46875) solid=solid.union(solid2)
1,887
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00029875
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.3515625, 0.0, -0.1484375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(1.1015625, 0.0).lineTo(1.1015625, 0.8116776315789473).lineTo(0.0, 0.8116776315789473).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.265625) solid=solid0
963
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00022511
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(0.0, 0.0).threePointArc((0.28515625, -0.28515625), (0.5703125, 0.0)).lineTo(0.3301809210526316, 0.0).threePointArc((0.28515625, -0.04393294209193886), (0.24013157894736842, 0.0)).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.16208881578947368, -0.07203947368421051).circle(0.02401315789473684) loop2=wp_sketch0.moveTo(0.2821546052631579, -0.14407894736842103).circle(0.02401315789473684) loop3=wp_sketch0.moveTo(0.4082236842105263, -0.07203947368421051).circle(0.02401315789473684) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).extrude(0.046875) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = 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))) loop4=wp_sketch1.moveTo(0.24013157894736842, 0.0).threePointArc((0.28515625, 0.046143529362438165), (0.3301809210526316, 0.0)).lineTo(0.5703125, 0.0).threePointArc((0.28515625, 0.28515625), (0.0, 0.0)).close() loop5=wp_sketch1.moveTo(0.16208881578947368, 0.07203947368421051).circle(0.02401315789473684) loop6=wp_sketch1.moveTo(0.2821546052631579, 0.14407894736842103).circle(0.02401315789473684) loop7=wp_sketch1.moveTo(0.4082236842105263, 0.07203947368421051).circle(0.02401315789473684) solid1=wp_sketch1.add(loop4).add(loop5).add(loop6).add(loop7).extrude(0.046875) solid=solid.union(solid1)
1,871
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00021018
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6875, 0.0, -0.109375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.5144736842105263, 0.0).threePointArc((0.5743048318694585, 0.14444516813054153), (0.71875, 0.2042763157894737)).lineTo(0.71875, 0.5976973684210526).lineTo(0.0, 0.5976973684210526).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.4140625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.03125, 0.0, 0.09375), 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.14444516813054153, -0.05983114765893225), (0.2042763157894737, -0.2042763157894737)).lineTo(0.71875, -0.2042763157894737).lineTo(0.71875, 0.39342105263157895).lineTo(0.0, 0.39342105263157895).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.4140625) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.6875, 0.0, -0.7109375), 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.71875, 0.0).lineTo(0.71875, 0.39342105263157895).threePointArc((0.5743048318694585, 0.4532522002905111), (0.5144736842105263, 0.5976973684210526)).lineTo(0.0, 0.5976973684210526).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(0.4140625) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.03125, 0.0, -0.7109375), 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.71875, 0.0).lineTo(0.71875, 0.5976973684210526).lineTo(0.2042763157894737, 0.5976973684210526).threePointArc((0.14444516813054153, 0.4532522002905111), (0.0, 0.39342105263157895)).lineTo(0.0, 0.0).close() solid3=wp_sketch3.add(loop3).extrude(0.4140625) solid=solid.union(solid3)
2,254
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00028982
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.2368421052631579, 0.0).lineTo(0.2368421052631579, 0.6868421052631579).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.109375) solid=solid0
937
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00026777
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, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.09473684210526316, 0.0).circle(0.09473684210526316) solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
909
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00022277
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.25263157894736843).lineTo(0.20526315789473684, 0.39473684210526316).lineTo(0.0, 0.39473684210526316).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.6236842105263158, 0.12631578947368421).circle(0.05526315789473685) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0703125) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop2=wp_sketch1.moveTo(0.2227796052631579, 0.0).lineTo(0.2227796052631579, 0.14498355263157894).lineTo(0.11315789473684211, 0.3359375).lineTo(0.0, 0.3359375).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop2).extrude(-0.0703125) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.6796875, -0.0703125, 0.0), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042))) loop3=wp_sketch2.moveTo(0.34375, 0.0).lineTo(0.0, 0.22072368421052632).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop3).extrude(-0.0703125) solid=solid.union(solid2)
1,691
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00027455
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.578125, -0.171875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(1.328125, 0.0).lineTo(1.328125, 0.3495065789473684).lineTo(0.0, 0.3495065789473684).threePointArc((-0.1747532894736842, 0.1747532894736842), (0.0, 0.0)).close() solid0=wp_sketch0.add(loop0).extrude(0.5859375) solid=solid0
931
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00028014
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
0002/00028772
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.734375, -0.75, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(1.468421052631579, 0.0).lineTo(1.468421052631579, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.7263157894736842, 0.7578947368421053).circle(0.3157894736842105) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.5078125) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.734375, -0.75, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch1.moveTo(1.468421052631579, 0.0).lineTo(1.468421052631579, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close() loop3=wp_sketch1.moveTo(0.7263157894736842, 0.7578947368421053).circle(0.3157894736842105) solid1=wp_sketch1.add(loop2).add(loop3).extrude(-0.5078125) solid=solid.union(solid1)
1,252
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00021030
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.5234375, -0.21875), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.10930601572269914, -0.01828512516693673), (0.20106907894736842, -0.08042763157894736)).threePointArc((0.5227796052631579, -0.2183337096335889), (0.8444901315789474, -0.08042763157894736)).threePointArc((0.9362531948036167, -0.01828512516693673), (1.0455592105263158, 0.0)).threePointArc((1.2750315652294881, 0.22117598684210527), (1.0455592105263158, 0.44235197368421053)).threePointArc((0.9362531948036167, 0.46063709885114745), (0.8444901315789474, 0.5227796052631579)).threePointArc((0.5227796052631579, 0.6606856833177994), (0.20106907894736842, 0.5227796052631579)).threePointArc((0.10930601572269914, 0.46063709885114745), (0.0, 0.44235197368421053)).threePointArc((-0.22947235470317232, 0.22117598684210527), (0.0, 0.0)).close() loop1=wp_sketch0.moveTo(-0.013404605263157895, 0.21447368421052632).circle(0.09383223684210526) loop2=wp_sketch0.moveTo(0.5227796052631579, 0.21447368421052632).circle(0.3083059210526316) loop3=wp_sketch0.moveTo(1.0589638157894736, 0.21447368421052632).circle(0.09383223684210526) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).extrude(0.265625) solid=solid0
1,734
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00021965
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.7265625, 0.0, -0.40625), 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.2087171052631579, 0.0).lineTo(0.2087171052631579, 0.734375).lineTo(0.0, 0.734375).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.125) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.515625, 0.0, -0.40625), 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.265625, 0.0).lineTo(1.265625, 0.7327302631578947).lineTo(0.0, 0.7327302631578947).lineTo(0.0, 0.0).close() loop2=wp_sketch1.moveTo(0.15986842105263158, 0.4129934210526316).circle(0.013322368421052631) loop3=wp_sketch1.moveTo(0.5328947368421053, 0.4129934210526316).circle(0.013322368421052631) loop4=wp_sketch1.moveTo(0.8393092105263158, 0.4129934210526316).circle(0.013322368421052631) solid1=wp_sketch1.add(loop1).add(loop2).add(loop3).add(loop4).extrude(0.125) solid=solid.union(solid1)
1,504
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00021971
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.7578947368421053) loop1=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.15789473684210525) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.453125, both=True) solid=solid0
904
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00028955
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.0234375, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.027631578947368417, 0.0).circle(0.027631578947368417) solid0=wp_sketch0.add(loop0).extrude(0.75, both=True) solid=solid0
899
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00021795
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.3).lineTo(0.0, 0.3).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.296875) solid=solid0
839
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00026944
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.3125, 0.0, 0.0703125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.04736842105263158, 0.0).circle(0.04638157894736842) solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
914
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00023825
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.46875, 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.4776315789473684, 0.0).circle(0.4776315789473684) solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
907
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00021954
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.4296875, 0.0, 0.4296875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.1618421052631579, 0.0).circle(0.1584703947368421) loop1=wp_sketch0.moveTo(0.0640625, 0.0).circle(0.023601973684210527) loop2=wp_sketch0.moveTo(0.1618421052631579, 0.0).circle(0.06069078947368421) loop3=wp_sketch0.moveTo(0.1618421052631579, -0.09440789473684211).circle(0.023601973684210527) loop4=wp_sketch0.moveTo(0.1618421052631579, 0.09440789473684211).circle(0.023601973684210527) loop5=wp_sketch0.moveTo(0.25625, 0.0).circle(0.023601973684210527) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).add(loop5).extrude(0.1015625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.4296875, 0.0, 0.4296875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop6=wp_sketch1.moveTo(0.1618421052631579, 0.0).circle(0.1584703947368421) loop7=wp_sketch1.moveTo(0.0640625, 0.0).circle(0.023601973684210527) loop8=wp_sketch1.moveTo(0.1618421052631579, 0.0).circle(0.06069078947368421) loop9=wp_sketch1.moveTo(0.1618421052631579, -0.09440789473684211).circle(0.023601973684210527) loop10=wp_sketch1.moveTo(0.1618421052631579, 0.09440789473684211).circle(0.023601973684210527) loop11=wp_sketch1.moveTo(0.25625, 0.0).circle(0.023601973684210527) solid1=wp_sketch1.add(loop6).add(loop7).add(loop8).add(loop9).add(loop10).add(loop11).extrude(0.1015625) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.53125, 0.0, 0.4296875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop12=wp_sketch2.moveTo(0.05921052631578947, 0.0).circle(0.05921052631578947) loop13=wp_sketch2.moveTo(0.05921052631578947, 0.0).circle(0.0234375) solid2=wp_sketch2.add(loop12).add(loop13).extrude(0.203125) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.53125, 0.0, 0.4296875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop14=wp_sketch3.moveTo(0.05921052631578947, 0.0).circle(0.05921052631578947) loop15=wp_sketch3.moveTo(0.05921052631578947, 0.0).circle(0.0234375) solid3=wp_sketch3.add(loop14).add(loop15).extrude(-0.09375) solid=solid.union(solid3)
2,527
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00021798
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.359375, 0.0).lineTo(0.359375, 0.17023026315789475).lineTo(0.0, 0.17023026315789475).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
875
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00026791
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.28125, 0.2890625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.15789473684210525, 0.0).circle(0.15789473684210525) solid0=wp_sketch0.add(loop0).extrude(0.4921875, both=True) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.5859375, 0.2890625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.4697368421052631, 0.0).circle(0.4599506578947368) loop2=wp_sketch1.moveTo(0.4697368421052631, 0.0).circle(0.15657894736842104) solid1=wp_sketch1.add(loop1).add(loop2).extrude(0.4921875, both=True) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.5859375, 0.2890625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop3=wp_sketch2.moveTo(0.4697368421052631, 0.0).circle(0.4599506578947368) loop4=wp_sketch2.moveTo(0.4697368421052631, 0.0).circle(0.15657894736842104) solid2=wp_sketch2.add(loop3).add(loop4).extrude(-0.34375, both=True) solid=solid.cut(solid2)
1,386
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00026961
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.109375, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.11052631578947367, 0.0).circle(0.11052631578947367) 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
0002/00021968
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.296875, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.30394736842105263, 0.0).circle(0.30394736842105263) loop1=wp_sketch0.moveTo(0.30394736842105263, 0.0).circle(0.11398026315789474) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.2265625, both=True) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch1.moveTo(0.7578947368421053, 0.0).circle(0.7578947368421053) loop3=wp_sketch1.moveTo(0.7578947368421053, 0.0).circle(0.5210526315789474) solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.2265625, both=True) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.5234375, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop4=wp_sketch2.moveTo(0.0, 0.0).threePointArc((0.11295230263157895, 0.11295230263157895), (0.2259046052631579, 0.0)).threePointArc((0.31304997250551575, 0.21038752749448442), (0.5234375, 0.2975328947368421)).threePointArc((0.41048519736842104, 0.41048519736842104), (0.5234375, 0.5234375)).threePointArc((0.1533112942226665, 0.37012620577733363), (0.0, 0.0)).close() solid2=wp_sketch2.add(loop4).extrude(0.1484375, both=True) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.296875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop5=wp_sketch3.moveTo(0.0, 0.0).threePointArc((0.21038752749448442, -0.08714536724235784), (0.2975328947368421, -0.2975328947368421)).threePointArc((0.41048519736842104, -0.18458059210526315), (0.5234375, -0.2975328947368421)).threePointArc((0.37012620577733363, 0.07259331104049138), (0.0, 0.2259046052631579)).threePointArc((0.11295230263157895, 0.11295230263157895), (0.0, 0.0)).close() solid3=wp_sketch3.add(loop5).extrude(0.1484375, both=True) solid=solid.union(solid3) # Generating a workplane for sketch 4 wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.5234375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop6=wp_sketch4.moveTo(0.0, 0.0).threePointArc((0.37012620577733346, 0.15331129422266634), (0.5234375, 0.5234375)).threePointArc((0.41048519736842104, 0.41048519736842104), (0.2975328947368421, 0.5234375)).threePointArc((0.21038752749448425, 0.3130499725055156), (0.0, 0.2259046052631579)).threePointArc((0.11295230263157895, 0.11295230263157895), (0.0, 0.0)).close() solid4=wp_sketch4.add(loop6).extrude(0.1484375, both=True) solid=solid.union(solid4) # Generating a workplane for sketch 5 wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(-0.5234375, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop7=wp_sketch5.moveTo(0.0, 0.0).threePointArc((0.15331129422266634, -0.37012620577733346), (0.5234375, -0.5234375)).threePointArc((0.41048519736842104, -0.41048519736842104), (0.5234375, -0.2975328947368421)).threePointArc((0.3130499725055156, -0.21038752749448425), (0.2259046052631579, 0.0)).threePointArc((0.11295230263157895, -0.11295230263157895), (0.0, 0.0)).close() solid5=wp_sketch5.add(loop7).extrude(0.1484375, both=True) solid=solid.union(solid5)
2,926
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00028958
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2421875, -0.25, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.6015625, 0.0).lineTo(0.6015625, 0.30394736842105263).lineTo(0.0, 0.30394736842105263).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
884
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00020451
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5234375, 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.10930601572269914, -0.01828512516693673), (0.20106907894736842, -0.08042763157894736)).threePointArc((0.5227796052631579, -0.2183337096335889), (0.8444901315789474, -0.08042763157894736)).threePointArc((0.9362531948036167, -0.01828512516693673), (1.0455592105263158, 0.0)).threePointArc((1.2750315652294881, 0.22117598684210527), (1.0455592105263158, 0.44235197368421053)).threePointArc((0.9362531948036167, 0.46063709885114745), (0.8444901315789474, 0.5227796052631579)).threePointArc((0.5227796052631579, 0.6606856833177994), (0.20106907894736842, 0.5227796052631579)).threePointArc((0.10930601572269914, 0.46063709885114745), (0.0, 0.44235197368421053)).threePointArc((-0.22947235470317232, 0.22117598684210527), (0.0, 0.0)).close() loop1=wp_sketch0.moveTo(-0.013404605263157895, 0.21447368421052632).circle(0.09383223684210526) loop2=wp_sketch0.moveTo(0.5227796052631579, 0.21447368421052632).circle(0.3083059210526316) loop3=wp_sketch0.moveTo(1.0589638157894736, 0.21447368421052632).circle(0.09383223684210526) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).extrude(-0.046875) solid=solid0
1,752
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00028031
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1015625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.10657894736842105, 0.0).circle(0.10657894736842105) 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
0002/00021767
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1875, 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.18947368421052632, 0.0).circle(0.18947368421052632) solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
836
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00028743
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.15625, -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.1640625, 0.0).lineTo(0.1640625, 0.1640625).lineTo(0.0, 0.1640625).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
865
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00022508
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.4296875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.18552631578947368, 0.0).circle(0.18552631578947368) loop1=wp_sketch0.moveTo(0.06570723684210526, -0.034786184210526316).circle(0.027055921052631576) loop2=wp_sketch0.moveTo(0.15074013157894736, 0.11981907894736842).circle(0.027055921052631576) loop3=wp_sketch0.moveTo(0.18552631578947368, 0.0).circle(0.027055921052631576) loop4=wp_sketch0.moveTo(0.2164473684210526, -0.11981907894736842).circle(0.027055921052631576) loop5=wp_sketch0.moveTo(0.3014802631578947, 0.034786184210526316).circle(0.027055921052631576) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).add(loop5).extrude(0.0546875) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.0546875, 0.4296875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop6=wp_sketch1.moveTo(0.18552631578947368, 0.0).circle(0.18552631578947368) loop7=wp_sketch1.moveTo(0.06570723684210526, -0.034786184210526316).circle(0.027055921052631576) loop8=wp_sketch1.moveTo(0.15074013157894736, 0.11981907894736842).circle(0.027055921052631576) loop9=wp_sketch1.moveTo(0.18552631578947368, 0.0).circle(0.027055921052631576) loop10=wp_sketch1.moveTo(0.2164473684210526, -0.11981907894736842).circle(0.027055921052631576) loop11=wp_sketch1.moveTo(0.3014802631578947, 0.034786184210526316).circle(0.027055921052631576) solid1=wp_sketch1.add(loop6).add(loop7).add(loop8).add(loop9).add(loop10).add(loop11).extrude(-0.09375) solid=solid.union(solid1)
1,982
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00022087
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.703125, 0.0, -0.546875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(1.453125, 0.0).lineTo(1.453125, 1.0248355263157896).lineTo(0.0, 1.0248355263157896).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.58125, 0.5353618421052632).circle(0.015296052631578948) loop2=wp_sketch0.moveTo(0.8718750000000001, 0.5353618421052632).circle(0.015296052631578948) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.1015625) solid=solid0
1,109
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00025924
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.07105263157894737).lineTo(0.0, 0.07105263157894737).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.0546875) solid=solid0
944
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00025918
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.7578947368421053) loop1=wp_sketch0.moveTo(0.5842105263157895, 0.0).threePointArc((0.6035511330961812, 0.08223767459568876), (0.6631578947368422, 0.14210526315789473)).lineTo(0.6631578947368422, 0.5842105263157895).threePointArc((0.23769804552737392, 0.29332133840497127), (0.20526315789473684, -0.2210526315789474)).close() loop2=wp_sketch0.moveTo(0.20526315789473684, -0.2210526315789474).threePointArc((0.6758476427091648, -0.5387091606178677), (1.2157894736842105, -0.3631578947368421)).lineTo(0.8368421052631579, -0.14210526315789473).threePointArc((0.75, -0.16671235779472593), (0.6631578947368422, -0.14210526315789473)).lineTo(0.28421052631578947, -0.3631578947368421).close() loop3=wp_sketch0.moveTo(0.8368421052631579, -0.07894736842105263).lineTo(0.8368421052631579, 0.07894736842105263).lineTo(0.6631578947368422, 0.07894736842105263).lineTo(0.6631578947368422, -0.07894736842105263).close() loop4=wp_sketch0.moveTo(0.6631578947368422, -0.07894736842105263).threePointArc((0.7782886411937849, -0.003681546556953507), (0.9157894736842106, 0.0)).lineTo(1.2947368421052632, -0.2210526315789474).threePointArc((1.2623019544726266, 0.29332133840497127), (0.8368421052631579, 0.5842105263157895)).lineTo(0.8368421052631579, 0.14210526315789473).close() solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).extrude(0.15625) solid=solid0
1,958
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00026222
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.3359375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 0.7578947368421053).lineTo(0.0, 0.7578947368421053).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.0078125) solid=solid0
947
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00029677
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.484375, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.4855263157894737, 0.0).circle(0.4855263157894737) solid0=wp_sketch0.add(loop0).extrude(0.265625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.3359375, 0.0, 0.265625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.3355263157894737, 0.0).circle(0.3355263157894737) solid1=wp_sketch1.add(loop1).extrude(0.375) solid=solid.union(solid1)
1,035
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00029663
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.007894736842105263, 0.0).circle(0.007894736842105263) 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
0002/00022050
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1328125, 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.13421052631578947, 0.0).circle(0.13421052631578947) loop1=wp_sketch0.moveTo(0.13421052631578947, 0.0).circle(0.03075657894736842) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0859375, both=True) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.03125, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop2=wp_sketch1.moveTo(0.031578947368421054, 0.0).circle(0.031578947368421054) solid1=wp_sketch1.add(loop2).extrude(0.75, both=True) solid=solid.union(solid1)
1,252
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00026395
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.078125, 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.11870435504249943, -0.3302278733683293), (0.15789473684210525, -0.6789473684210526)).lineTo(0.3315789473684211, -0.6789473684210526).threePointArc((0.75, -0.42465277044851274), (1.168421052631579, -0.6789473684210526)).lineTo(1.3421052631578947, -0.6789473684210526).threePointArc((1.3812956449575002, -0.3302278733683293), (1.5, 0.0)).lineTo(1.4526315789473685, 0.14210526315789473).lineTo(1.3421052631578947, 0.1105263157894737).threePointArc((0.75, -0.2695301042738286), (0.15789473684210525, 0.1105263157894737)).lineTo(0.04736842105263158, 0.14210526315789473).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.3, -0.3315789473684211).circle(0.031578947368421054) loop2=wp_sketch0.moveTo(1.2, -0.3315789473684211).circle(0.031578947368421054) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.1171875) solid=solid0
1,444
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00022681
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.26842105263157895, 0.0).lineTo(0.26842105263157895, 0.6710526315789473).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.15625) solid=solid0
938
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00022871
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.09375, 0.0, 0.1640625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.02368421052631579, 0.0).circle(0.02368421052631579) solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
915
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00029924
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.6796875), 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.7465460526315789, 0.0).lineTo(0.7465460526315789, 1.390625).lineTo(0.0, 1.390625).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.140625) solid=solid0
956
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00022865
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.015625, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.019736842105263157, 0.0).circle(0.019736842105263157) solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
912
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00026356
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.734375, 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.484375, 0.0).threePointArc((0.7887338498818961, 0.3881844762118787), (0.0, 0.5)).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.3515625) solid=solid0
954
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00028347
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5703125, -0.2890625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(1.3203125, 0.0).lineTo(1.3203125, 0.4864309210526316).lineTo(0.0, 0.4864309210526316).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.140625) solid=solid0
891
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00024569
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.03125, both=True) solid=solid0
839
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00022497
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0078125, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.007894736842105263, 0.0).circle(0.007894736842105263) solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
913
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00024780
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.421875, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.421875, 0.0).lineTo(0.421875, 0.3996710526315789).lineTo(0.0, 0.3996710526315789).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.390625, -0.2265625, 0.3984375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.359375, 0.0).lineTo(0.359375, 0.22697368421052633).lineTo(0.0, 0.22697368421052633).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.1484375) solid=solid.union(solid1)
1,181
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00024794
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.296875, 0.0).lineTo(0.296875, 0.296875).lineTo(0.0, 0.296875).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
925
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00028838
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.578125) solid=solid0
908
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00024970
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.4921875, 0.0, -0.265625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(1.2421875, 0.0).lineTo(1.2421875, 0.7191611842105263).lineTo(0.0, 0.7191611842105263).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.3661184210526316, 0.5230263157894737).circle(0.026151315789473686) loop2=wp_sketch0.moveTo(0.9806743421052632, 0.5230263157894737).circle(0.026151315789473686) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.125) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.4921875, 0.0, -0.4765625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop3=wp_sketch1.moveTo(1.2421875, 0.0).lineTo(1.2421875, 0.20921052631578949).lineTo(0.0, 0.20921052631578949).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop3).extrude(0.375) solid=solid.union(solid1)
1,433
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00023979
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.046875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.013873889312216349, -0.03349453174041546), (0.04736842105263158, -0.04736842105263158)).lineTo(1.4526315789473685, -0.04736842105263158).threePointArc((1.4861261106877837, -0.03349453174041546), (1.5, 0.0)).lineTo(1.5, 0.09473684210526316).threePointArc((1.4861261106877837, 0.1282313738456784), (1.4526315789473685, 0.14210526315789473)).lineTo(0.04736842105263158, 0.14210526315789473).threePointArc((0.013873889312216349, 0.1282313738456784), (0.0, 0.09473684210526316)).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.04736842105263158, 0.04736842105263158).circle(0.015789473684210527) loop2=wp_sketch0.moveTo(1.4526315789473685, 0.04736842105263158).circle(0.015789473684210527) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(-0.0234375) solid=solid0
1,399
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00026632
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6484375, 0.0, -0.1875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.11315789473684211, 0.0).circle(0.11315789473684211) loop1=wp_sketch0.moveTo(1.131578947368421, -0.21217105263157895).threePointArc((1.34375, 0.0), (1.131578947368421, 0.21217105263157895)).lineTo(0.11315789473684211, 0.21217105263157895).threePointArc((0.32532894736842105, 0.0), (0.11315789473684211, -0.21217105263157895)).close() loop2=wp_sketch0.moveTo(1.131578947368421, 0.0).circle(0.11315789473684211) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.375) solid=solid0
1,211
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00021149
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.4296875, 0.0, -0.2890625), 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.0182565789473685, 0.0).lineTo(1.0182565789473685, 0.3973684210526316).lineTo(1.1796875, 0.3973684210526316).lineTo(1.1796875, 0.5960526315789474).lineTo(1.0182565789473685, 0.5960526315789474).lineTo(0.0, 0.5960526315789474).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.5960526315789474, 0.2980263157894737).circle(0.11175986842105264) solid0=wp_sketch0.add(loop0).add(loop1).extrude(-0.1796875) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.4296875, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop2=wp_sketch1.moveTo(0.19687500000000002, 0.0).lineTo(0.19687500000000002, 0.296875).lineTo(0.0, 0.296875).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop2).extrude(0.1953125) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.4296875, 0.0, -0.2890625), 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.19687500000000002, 0.0).lineTo(0.19687500000000002, 0.296875).lineTo(0.0, 0.296875).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop3).extrude(0.0625) solid=solid.union(solid2)
1,792
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00023004
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.7578947368421053) loop1=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.7105263157894737) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.046875) solid=solid0
899
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00025475
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.53125, -0.484375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(1.0234375, 0.0).lineTo(1.0234375, 0.8295230263157896).lineTo(0.0, 0.8295230263157896).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
884
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00021160
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5, 0.0, -0.375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(1.0394736842105263, 0.0).lineTo(1.0394736842105263, 0.5).lineTo(1.25, 0.5).lineTo(1.25, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.3684210526315789).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.5, 0.3684210526315789).circle(0.14473684210526316) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.25) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.375), 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.24868421052631579, 0.0).lineTo(0.24868421052631579, 0.375).lineTo(0.0, 0.375).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop2).extrude(0.25) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop3=wp_sketch2.moveTo(0.24868421052631579, 0.0).lineTo(0.24868421052631579, 0.375).lineTo(0.0, 0.375).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop3).extrude(0.25) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = 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))) loop4=wp_sketch3.moveTo(0.24868421052631579, 0.0).lineTo(0.24868421052631579, 0.375).lineTo(0.0, 0.375).lineTo(0.0, 0.0).close() solid3=wp_sketch3.add(loop4).extrude(0.5) solid=solid.union(solid3) # Generating a workplane for sketch 4 wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop5=wp_sketch4.moveTo(0.24868421052631579, 0.0).lineTo(0.24868421052631579, 0.375).lineTo(0.0, 0.375).lineTo(0.0, 0.0).close() solid4=wp_sketch4.add(loop5).extrude(0.3359375) solid=solid.union(solid4)
2,240
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00023011
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0546875, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.055263157894736833, 0.0).circle(0.05411184210526315) solid0=wp_sketch0.add(loop0).extrude(0.578125) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.09375, 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.041611842105263155, -0.07944078947368421).lineTo(0.13240131578947367, -0.08322368421052631).lineTo(0.1796875, -0.007565789473684211).lineTo(0.13807565789473683, 0.07376644736842106).lineTo(0.047286184210526314, 0.0756578947368421).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.0390625) solid=solid.union(solid1)
1,358
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00027539
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1875, 0.0, -0.59375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.09539473684210527, 0.0).lineTo(0.09539473684210527, 0.028618421052631578).lineTo(0.028618421052631578, 0.028618421052631578).lineTo(0.028618421052631578, 0.8776315789473684).lineTo(0.09539473684210527, 0.8776315789473684).lineTo(0.09539473684210527, 0.90625).lineTo(0.0, 0.90625).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.1875, -0.3984375, -0.140625), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.02368421052631579, 0.0).circle(0.02368421052631579) solid1=wp_sketch1.add(loop1).extrude(-0.0390625) solid=solid.cut(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.1875, -0.59375, -0.4296875), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop2=wp_sketch2.moveTo(0.41406249999999994, 0.0).lineTo(0.41406249999999994, 0.026151315789473682).lineTo(0.0, 0.026151315789473682).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(-0.0390625) solid=solid.cut(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.125, -0.140625, 0.3046875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop3=wp_sketch3.moveTo(0.011842105263157895, 0.0).circle(0.011842105263157895) solid3=wp_sketch3.add(loop3).extrude(-1.0) solid=solid.cut(solid3) # Generating a workplane for sketch 4 wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.125, -0.609375, 0.3046875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop4=wp_sketch4.moveTo(0.011842105263157895, 0.0).circle(0.011842105263157895) solid4=wp_sketch4.add(loop4).extrude(-1.0) solid=solid.cut(solid4)
2,109
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00026633
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.21875, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.22499999999999998, 0.0).circle(0.22499999999999998) solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
909
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00026155
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.25, -0.0625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(1.0, 0.0).lineTo(1.0, 0.25263157894736843).lineTo(0.0, 0.25263157894736843).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.046875) solid=solid0
873
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00029266
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.234375, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.23684210526315788, 0.0).circle(0.23684210526315788) loop1=wp_sketch0.moveTo(0.23684210526315788, 0.0).circle(0.12335526315789473) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.1015625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.21875, -0.1015625, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop2=wp_sketch1.moveTo(0.22105263157894733, 0.0).circle(0.22105263157894733) loop3=wp_sketch1.moveTo(0.22105263157894733, 0.0).circle(0.12434210526315788) solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.03125) solid=solid.union(solid1)
1,315
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00026800
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1015625, -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.5728618421052631).threePointArc((-0.6461778039695115, 0.28643092105263157), (0.0, 0.0)).close() solid0=wp_sketch0.add(loop0).extrude(0.2890625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.40625, 0.171875, 0.2890625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.039473684210526314, 0.0).circle(0.03865131578947368) solid1=wp_sketch1.add(loop1).extrude(-0.40625) solid=solid.cut(solid1)
1,089
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00026814
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5625, 0.0, -0.109375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(1.3125, 0.11052631578947368).lineTo(1.3125, 0.525).lineTo(0.0, 0.6217105263157895).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.21875) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.5625, -0.21875, -0.0703125), 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.2734375, 0.2734375), (0.0, 0.546875)).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(-0.21875) solid=solid.cut(solid1)
1,245
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00026182
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0390625, 0.0, 0.0078125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.0022203947368421052, 0.0).threePointArc((0.03515625, 0.020016703319182823), (0.0680921052631579, 0.0)).lineTo(0.0703125, 0.0).threePointArc((0.03515625, 0.02196139827856319), (0.0, 0.0)).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
1,027
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00028352
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.234375, -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.6393092105263157, 0.0).lineTo(0.6393092105263157, 1.3203125).lineTo(0.0, 1.3203125).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.0546875) solid=solid0
886
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00028346
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.484375, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.4855263157894737, 0.0).circle(0.4855263157894737) solid0=wp_sketch0.add(loop0).extrude(0.265625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.3359375, 0.0, 0.265625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.3355263157894737, 0.0).circle(0.3355263157894737) solid1=wp_sketch1.add(loop1).extrude(0.375) solid=solid.union(solid1)
1,035
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00022643
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.7578947368421053) loop1=wp_sketch0.moveTo(0.3473684210526316, 0.0).circle(0.07894736842105263) loop2=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.20526315789473684) loop3=wp_sketch0.moveTo(0.7578947368421053, -0.39473684210526316).circle(0.07894736842105263) loop4=wp_sketch0.moveTo(0.7578947368421053, 0.39473684210526316).circle(0.07894736842105263) loop5=wp_sketch0.moveTo(1.1526315789473685, 0.0).circle(0.07894736842105263) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).add(loop5).extrude(0.1484375, both=True) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.203125, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop6=wp_sketch1.moveTo(0.20131578947368423, 0.0).circle(0.20131578947368423) loop7=wp_sketch1.moveTo(0.20131578947368423, 0.0).circle(0.07549342105263158) solid1=wp_sketch1.add(loop6).add(loop7).extrude(0.25, both=True) solid=solid.union(solid1)
1,596
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00026357
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.03125, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.02368421052631579, 0.0).circle(0.02368421052631579) solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
909
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00029931
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.1328125, 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.246875, -0.246875).lineTo(0.6171875, -0.246875).lineTo(0.6171875, 0.0).lineTo(0.246875, 0.0).lineTo(0.246875, 0.3703125).lineTo(0.0, 0.3703125).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.49375, -0.14292763157894736).circle(0.0649671052631579) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.125) solid=solid0
1,070
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00027908
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1796875, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.17763157894736842, 0.0).circle(0.17763157894736842) 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
0002/00020929
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.4375, -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.6015625, 0.0).lineTo(0.6015625, 0.6015625).lineTo(0.0, 0.6015625).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.1171875) solid=solid0
866
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00021558
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5546875, 0.0, -0.0625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.05838815789473684, 0.0).lineTo(0.05838815789473684, -0.08174342105263158).lineTo(0.1401315789473684, -0.08174342105263158).lineTo(0.1401315789473684, 0.0).lineTo(1.109375, 0.0).lineTo(1.109375, 0.12845394736842106).lineTo(0.1401315789473684, 0.12845394736842106).lineTo(0.1401315789473684, 0.33865131578947366).lineTo(0.05838815789473684, 0.33865131578947366).lineTo(0.05838815789473684, 0.12845394736842106).lineTo(0.0, 0.12845394736842106).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.578125, -0.4609375, 0.0), cq.Vector(-0.049067674327418015, 0.9987954562051724, -6.123233995736766e-17), cq.Vector(0.9987954562051724, 0.049067674327418015, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.06315789473684211, 0.0).circle(0.06315789473684211) solid1=wp_sketch1.add(loop1).extrude(-1.0) solid=solid.cut(solid1)
1,567
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00022723
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.5859375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(1.4609375, 0.0).lineTo(1.4609375, 0.9688322368421052).lineTo(0.0, 0.9688322368421052).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.3671875) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.4609375, -0.078125, 0.3671875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.4697368421052631, 0.0).circle(0.4697368421052631) solid1=wp_sketch1.add(loop1).extrude(0.3671875) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.3046875, -0.078125, 0.7421875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch2.moveTo(0.30394736842105263, 0.0).circle(0.30394736842105263) solid2=wp_sketch2.add(loop2).extrude(-0.3671875) solid=solid.cut(solid2)
1,299
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false