image
imagewidth (px)
448
448
deepcad_id
stringlengths
13
13
cadquery
stringlengths
283
8.1k
token_count
int64
807
6.5k
prompt
stringclasses
1 value
hundred_subset
bool
1 class
0001/00011236
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.46710526315789475, 0.0).threePointArc((0.5576069078947369, 0.09050164473684211), (0.46710526315789475, 0.18100328947368421)).lineTo(0.46710526315789475, 0.32113486842105265).lineTo(0.0, 0.32113486842105265).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.015625, 0.015625, 0.75), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.43749999999999994, 0.0).lineTo(0.43749999999999994, 0.29473684210526313).lineTo(0.0, 0.29473684210526313).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(-0.7265625) solid=solid.cut(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.4609375, 0.015625, 0.75), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch2.moveTo(0.0, 0.0).threePointArc((0.07421875, 0.07421875), (0.0, 0.1484375)).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(-0.7265625) solid=solid.cut(solid2)
1,471
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017121
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.4140625, -0.0546875), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.12631578947368421).lineTo(0.25263157894736843, 0.25263157894736843).lineTo(0.25263157894736843, 0.37894736842105264).lineTo(0.0, 0.37894736842105264).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
1,021
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017135
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.34375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.5078125, 0.0).lineTo(0.5078125, 0.203125).lineTo(0.0, 0.203125).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.5078125) solid=solid0
937
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00012924
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0625, 0.0859375), 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.005319597337387375, -0.05951491537029201), (0.043421052631578944, -0.09407894736842105)).lineTo(0.6802631578947368, -0.15197368421052632).lineTo(0.6875, -0.06513157894736842).lineTo(0.2026315789473684, -0.021710526315789472).threePointArc((0.1538909289784021, 0.012853505682339573), (0.15921052631578947, 0.07236842105263158)).lineTo(0.44144736842105264, 0.47039473684210525).lineTo(0.36907894736842106, 0.5210526315789473).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.09407894736842105, -0.014473684210526316).circle(0.043421052631578944) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.1640625) solid=solid0
1,344
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00010699
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.375, -0.375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
841
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017848
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0078125, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.011842105263157895, 0.0).circle(0.011842105263157895) solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
841
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00010470
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0078125, 0.0, -0.1171875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.010526315789473684, 0.0).lineTo(0.010526315789473684, 0.11447368421052631).lineTo(0.125, 0.11447368421052631).lineTo(0.125, 0.125).lineTo(0.0, 0.125).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
1,015
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00016773
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.65625, -0.4921875), 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.007587283217618316, -0.018317322045539704), (0.025904605263157895, -0.025904605263157895)).lineTo(0.6562500000000001, -0.025904605263157895).threePointArc((0.6994243421052633, 0.017269736842105265), (0.6562500000000001, 0.060444078947368425)).threePointArc((0.2570455139633525, 0.3307748151992837), (0.3540296052631579, 0.8030427631578948)).lineTo(0.32812500000000006, 0.8203125000000001).threePointArc((0.22678430747119954, 0.3134854948479439), (0.6562500000000001, 0.025904605263157895)).threePointArc((0.669202302631579, 0.012952302631578948), (0.6562500000000001, 0.0)).lineTo(0.060444078947368425, 0.0).lineTo(0.025904605263157895, 0.025904605263157895).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
1,456
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00016983
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5078125, 0.0, -0.34375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.37894736842105264).lineTo(0.37894736842105264, 0.37894736842105264).lineTo(0.37894736842105264, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
1,007
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00018762
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6328125, 0.0, -0.2421875), 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.6259046052631579, 0.0).lineTo(1.2663651315789475, 0.0).threePointArc((1.3828125, 0.11644736842105263), (1.2663651315789475, 0.23289473684210527)).lineTo(1.2663651315789475, 0.18922697368421054).threePointArc((1.3318667763157894, 0.12372532894736843), (1.2663651315789475, 0.058223684210526316)).lineTo(0.6259046052631579, 0.058223684210526316).lineTo(0.0, 0.058223684210526316).threePointArc((-0.06550164473684211, 0.12372532894736843), (0.0, 0.18922697368421054)).lineTo(0.0, 0.23289473684210527).threePointArc((-0.11644736842105263, 0.11644736842105263), (0.0, 0.0)).close() solid0=wp_sketch0.add(loop0).extrude(0.109375) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, -0.2421875), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.13157894736842105, 0.0).threePointArc((0.25, 0.11842105263157894), (0.13157894736842105, 0.23684210526315788)).lineTo(0.13157894736842105, 0.17894736842105263).threePointArc((0.19210526315789472, 0.11842105263157894), (0.13157894736842105, 0.05789473684210526)).lineTo(0.0, 0.05789473684210526).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.109375, both=True) solid=solid.union(solid1)
1,843
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017451
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.421875, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.12631578947368421).lineTo(0.25263157894736843, 0.29210526315789476).lineTo(0.25263157894736843, 0.37894736842105264).lineTo(0.0, 0.37894736842105264).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
1,032
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017337
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.46875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(1.2109375, 0.0).lineTo(1.2109375, 1.2109375).lineTo(0.0, 1.2109375).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.6118421052631579, 0.6118421052631579).circle(0.3569078947368421) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.484375) solid=solid0
944
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00016954
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.6947368421052632) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.265625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.2109375, 0.6640625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch1.moveTo(0.4296875, 0.0).lineTo(0.4296875, 0.0859375).lineTo(0.0, 0.0859375).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop2).extrude(0.265625) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.203125, 0.671875, 0.265625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop3=wp_sketch2.moveTo(0.02138157894736842, 0.0).threePointArc((0.203125, 0.024683715127281892), (0.3848684210526316, 0.0)).lineTo(0.40625, 0.0).lineTo(0.40625, 0.05131578947368422).threePointArc((0.37619769998258146, 0.057179178866082155), (0.34638157894736843, 0.06414473684210527)).lineTo(0.059868421052631585, 0.06414473684210527).threePointArc((0.030052300017418463, 0.05717917886608228), (0.0, 0.05131578947368422)).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop3).extrude(-0.2578125) solid=solid.cut(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.203125, 0.71875, 0.265625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop4=wp_sketch3.moveTo(0.0, 0.0).threePointArc((0.03111677083055083, 0.0078121498824299945), (0.0625, 0.014473684210526316)).lineTo(0.0, 0.014473684210526316).lineTo(0.0, 0.0).close() solid3=wp_sketch3.add(loop4).extrude(-0.2578125) solid=solid.cut(solid3) # Generating a workplane for sketch 4 wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.1796875, 0.671875, 0.265625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop5=wp_sketch4.moveTo(0.3671875, 0.0).threePointArc((0.18359375, 0.024935019919301714), (0.0, 0.0)).close() solid4=wp_sketch4.add(loop5).extrude(-0.2578125) solid=solid.cut(solid4) # Generating a workplane for sketch 5 wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(0.140625, 0.734375, 0.265625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop6=wp_sketch5.moveTo(0.0, 0.0).threePointArc((0.0313832291694492, -0.00666153432809632), (0.0625, -0.014473684210526316)).lineTo(0.0625, 0.0).lineTo(0.0, 0.0).close() solid5=wp_sketch5.add(loop6).extrude(-0.2578125) solid=solid.cut(solid5)
2,419
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00015290
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.2578125, -0.2578125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.027138157894736843, -0.027138157894736843).lineTo(0.2578125, 0.20353618421052633).lineTo(0.2578125, 0.2578125).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.1171875) solid=solid0
972
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00011960
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2421875, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.24868421052631579, 0.0).circle(0.24868421052631579) loop1=wp_sketch0.moveTo(0.04144736842105263, 0.0).circle(0.025904605263157892) loop2=wp_sketch0.moveTo(0.24868421052631579, -0.20205592105263157).circle(0.025904605263157892) loop3=wp_sketch0.moveTo(0.24868421052631579, 0.20205592105263157).circle(0.025904605263157892) loop4=wp_sketch0.moveTo(0.4507401315789473, 0.0).circle(0.025904605263157892) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).extrude(0.4375) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.15625, 0.0, 0.4375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop5=wp_sketch1.moveTo(0.15789473684210525, 0.0).circle(0.15789473684210525) solid1=wp_sketch1.add(loop5).extrude(0.03125) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.0546875, 0.0, 0.46875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop6=wp_sketch2.moveTo(0.05131578947368422, 0.0).circle(0.05131578947368422) solid2=wp_sketch2.add(loop6).extrude(0.28125) solid=solid.union(solid2)
1,529
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017336
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.4375, 0.0, -0.4375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(-0.75) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.25, -0.4375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.5, -0.005263157894736842).lineTo(0.5, 0.43684210526315786).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.75) solid=solid.union(solid1)
1,179
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00019469
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.4609375, -0.390625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(1.2109375, 0.0).lineTo(1.2109375, 0.8030427631578947).lineTo(0.0, 0.8030427631578947).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.03125) solid=solid0
889
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00019441
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.0234375) solid=solid0
842
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00010471
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0078125, 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.007236842105263158, 0.0).lineTo(0.007236842105263158, 0.07870065789473685).lineTo(0.0859375, 0.07870065789473685).lineTo(0.0859375, 0.0859375).lineTo(0.0, 0.0859375).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
1,030
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00014617
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.4140625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.5546875, 0.0).lineTo(0.5546875, 0.41455592105263156).lineTo(0.0, 0.41455592105263156).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.0078125) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.4140625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.75, 0.0).lineTo(0.75, 0.41842105263157897).lineTo(0.0, 0.41842105263157897).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(-0.0078125) solid=solid.union(solid1)
1,118
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00015509
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5859375, -0.6171875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(1.3359375, 0.0).lineTo(1.3359375, 1.0265625).lineTo(0.0, 1.0265625).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.18281250000000002, 0.253125).lineTo(0.18281250000000002, 0.8718750000000001).lineTo(0.1265625, 0.8718750000000001).lineTo(0.1265625, 0.253125).close() loop2=wp_sketch0.moveTo(1.209375, 0.253125).lineTo(1.209375, 0.8718750000000001).lineTo(1.153125, 0.8718750000000001).lineTo(1.153125, 0.253125).close() solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.0546875) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.5859375, -0.6171875, 0.0546875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop3=wp_sketch1.moveTo(1.3359375, 0.0).lineTo(1.3359375, 0.0984375).lineTo(0.0, 0.0984375).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop3).extrude(0.0546875) solid=solid.union(solid1)
1,380
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00010698
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.375, -0.375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.7105263157894737, 0.039473684210526314).lineTo(0.7105263157894737, 0.7105263157894737).lineTo(0.039473684210526314, 0.7105263157894737).lineTo(0.039473684210526314, 0.039473684210526314).close() solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75) solid=solid0
1,034
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00015904
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.015625, 0.515625, 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.013322368421052631, -0.7236544153950277), (0.026644736842105263, 0.0)).lineTo(0.026644736842105263, 0.06661184210526316).threePointArc((0.0646667132648859, 0.11990131578947369), (0.026644736842105263, 0.17319078947368421)).lineTo(0.026644736842105263, 0.23980263157894738).threePointArc((0.013322368421052631, -0.8457471145937879), (0.0, 0.23980263157894738)).lineTo(0.0, 0.17319078947368421).threePointArc((-0.03802197642278046, 0.11990131578947369), (0.0, 0.06661184210526316)).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.4921875) solid=solid0
1,248
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00019680
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.75), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.75, -0.75).lineTo(0.75, 0.0).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
897
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017134
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.4921875, 0.0, -0.328125), 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.625, 0.0).lineTo(0.625, 0.625).lineTo(0.0, 0.625).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.125, -0.4140625, -0.328125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.41406249999999994, 0.0).lineTo(0.41406249999999994, 0.41406249999999994).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.625) solid=solid.union(solid1)
1,214
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00015051
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) 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.1875, both=True) solid=solid0
872
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017120
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.4609375, 0.0, -0.234375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.45, 0.0).lineTo(0.45, 0.5684210526315789).lineTo(0.5210526315789474, 0.5684210526315789).lineTo(0.5210526315789474, 0.0).lineTo(0.75, 0.2210526315789474).lineTo(0.6710526315789473, 0.2210526315789474).lineTo(0.6710526315789473, 0.45).lineTo(0.75, 0.45).lineTo(0.75, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.15, 0.6).circle(0.1105263157894737) loop2=wp_sketch0.moveTo(0.15, 0.15).circle(0.07894736842105263) loop3=wp_sketch0.moveTo(0.3, 0.37894736842105264).circle(0.1105263157894737) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).extrude(0.75) solid=solid0
1,293
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017108
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.140625), 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.390625, 0.0).lineTo(1.390625, 0.16101973684210527).lineTo(1.1564144736842106, 0.16101973684210527).threePointArc((1.0736085479926283, 0.19531907430841763), (1.0393092105263158, 0.278125)).lineTo(1.0393092105263158, 0.5269736842105264).lineTo(0.35131578947368425, 0.5269736842105264).lineTo(0.35131578947368425, 0.278125).threePointArc((0.3170164520073719, 0.19531907430841763), (0.23421052631578948, 0.16101973684210527)).lineTo(0.0, 0.16101973684210527).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.6953125) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.4765625, -0.3515625, 0.0234375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.04736842105263158, 0.0).circle(0.04736842105263158) solid1=wp_sketch1.add(loop1).extrude(-0.234375) solid=solid.cut(solid1)
1,488
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00016216
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5234375, -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.09375, 0.0).lineTo(1.09375, 1.09375).lineTo(0.0, 1.09375).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.546875) solid=solid0
860
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00012070
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0078125, 0.0, -0.015625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.005427631578947368, -0.014802631578947368).lineTo(0.010197368421052632, -0.014802631578947368).lineTo(0.015625, 0.0).lineTo(0.015625, 0.0013157894736842105).lineTo(0.0, 0.0013157894736842105).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
1,054
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00014373
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.15789473684210525, 0.0).circle(0.06315789473684211) loop2=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.4421052631578948) loop3=wp_sketch0.moveTo(0.7578947368421053, -0.5842105263157895).circle(0.06315789473684211) loop4=wp_sketch0.moveTo(0.7578947368421053, 0.5842105263157895).circle(0.06315789473684211) loop5=wp_sketch0.moveTo(1.3421052631578947, 0.0).circle(0.06315789473684211) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).add(loop5).extrude(0.25) solid=solid0
1,182
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017083
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.609375, 0.0, 0.1953125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.7578125, 0.0).lineTo(0.7578125, 0.19144736842105264).lineTo(0.6301809210526316, 0.19144736842105264).threePointArc((0.5905815434051519, 0.20175165809548432), (0.5743421052631579, 0.23930921052631582)).lineTo(0.5743421052631579, 0.5504111842105264).lineTo(0.19144736842105264, 0.5504111842105264).lineTo(0.19144736842105264, 0.23930921052631582).threePointArc((0.16728264612326127, 0.20505405955494982), (0.12763157894736843, 0.19144736842105264)).lineTo(0.0, 0.19144736842105264).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.3828125) solid=solid0
1,311
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017097
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.328125, 0.0, -0.1015625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.12631578947368421, 0.0).lineTo(0.12631578947368421, 0.12631578947368421).lineTo(0.3736842105263158, 0.12631578947368421).lineTo(0.3736842105263158, 0.0).lineTo(0.5, 0.0).lineTo(0.5, 0.3736842105263158).lineTo(0.0, 0.3736842105263158).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.328125, -0.625, 0.2734375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.5, 0.0).lineTo(0.5, 0.5).lineTo(0.0, 0.5).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(-0.125) solid=solid.cut(solid1)
1,287
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017901
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.75, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.015625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.734375, -0.75, 0.015625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(1.46875, 0.0).lineTo(1.46875, 0.015460526315789473).lineTo(0.0, 0.015460526315789473).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.296875) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.75, 0.015625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch2.moveTo(0.015789473684210527, 0.0).lineTo(0.015789473684210527, 0.015789473684210527).lineTo(0.015789473684210527, 1.4842105263157894).lineTo(0.015789473684210527, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(0.296875) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.734375, -0.75, 0.015625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop3=wp_sketch3.moveTo(0.015789473684210527, 0.0).lineTo(0.015789473684210527, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 1.4842105263157894).lineTo(0.0, 0.015789473684210527).lineTo(0.0, 0.0).close() solid3=wp_sketch3.add(loop3).extrude(0.296875) solid=solid.union(solid3) # Generating a workplane for sketch 4 wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.734375, 0.734375, 0.015625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop4=wp_sketch4.moveTo(1.46875, 0.0).lineTo(1.46875, 0.015460526315789473).lineTo(0.0, 0.015460526315789473).lineTo(0.0, 0.0).close() solid4=wp_sketch4.add(loop4).extrude(0.296875) solid=solid.union(solid4)
1,937
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00018373
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2890625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.12031249999999999, 0.0).lineTo(0.12031249999999999, 0.41562499999999997).lineTo(0.91875, 0.41562499999999997).lineTo(0.91875, 0.0).lineTo(1.0390625, 0.0).lineTo(1.0390625, 0.0546875).lineTo(0.9624999999999999, 0.0546875).lineTo(0.9624999999999999, 0.459375).lineTo(0.07656249999999999, 0.459375).lineTo(0.07656249999999999, 0.0546875).lineTo(0.0, 0.0546875).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.1875) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.2265625, 0.046875, 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.027343749999999997, -0.027343749999999997), (0.05468749999999999, 0.0)).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(-0.3125) solid=solid.cut(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.2265625, 0.046875, 0.09375), 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.027343749999999997, -0.027343749999999997), (0.05468749999999999, 0.0)).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(-0.3125) solid=solid.cut(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.7421875, 0.046875, 0.09375), cq.Vector(-1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, 1.0, 6.123233995736766e-17))) loop3=wp_sketch3.moveTo(0.0, 0.0).threePointArc((0.027343749999999997, -0.027343749999999997), (0.05468749999999999, 0.0)).lineTo(0.0, 0.0).close() solid3=wp_sketch3.add(loop3).extrude(-0.3125) solid=solid.cut(solid3) # Generating a workplane for sketch 4 wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.7421875, 0.046875, 0.09375), cq.Vector(-1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, 1.0, 6.123233995736766e-17))) loop4=wp_sketch4.moveTo(0.0, 0.0).threePointArc((0.027343749999999997, -0.027343749999999997), (0.05468749999999999, 0.0)).lineTo(0.0, 0.0).close() solid4=wp_sketch4.add(loop4).extrude(-0.3125) solid=solid.cut(solid4)
2,413
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00018415
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.11842105263157894) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.1171875) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.21875, -0.1171875, 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.21710526315789475, 0.0).circle(0.21258223684210528) loop3=wp_sketch1.moveTo(0.21710526315789475, 0.0).circle(0.11759868421052633) solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.0390625) solid=solid.union(solid1)
1,317
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00018401
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
0001/00018367
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.7109375, 0.4375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.3125, 0.0).lineTo(0.3125, 0.3125).lineTo(0.0, 0.3125).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.3125) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.3125, -0.609375, 0.4375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.2109375, 0.0).lineTo(0.2109375, 0.2109375).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.3125) solid=solid.union(solid1)
1,168
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00013232
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.671875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.035526315789473684, 0.0).circle(0.035526315789473684) loop1=wp_sketch0.moveTo(0.035526315789473684, 0.0).circle(0.024424342105263157) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.015625) solid=solid0
912
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00010713
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.1015625) solid=solid0
837
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00019723
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.21875, -0.1640625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.28421052631578947, 0.0).threePointArc((-0.7216361787420418, 0.1618421052631579), (0.28421052631578947, 0.3236842105263158)).lineTo(0.0, 0.3236842105263158).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.4296875) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.21875, -0.1640625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.2866776315789474, 0.0).threePointArc((0.3130755113564729, 0.1640625), (0.2866776315789474, 0.328125)).lineTo(0.0, 0.328125).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.4296875) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.5, -0.1640625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch2.moveTo(0.24868421052631579, 0.0).lineTo(0.24868421052631579, 0.328125).lineTo(0.0, 0.328125).threePointArc((0.026397879777525536, 0.1640625), (0.0, 0.0)).close() solid2=wp_sketch2.add(loop2).extrude(0.1328125) solid=solid.union(solid2)
1,499
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017068
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.015625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.12631578947368421).lineTo(0.6236842105263158, 0.12631578947368421).threePointArc((0.5790248348724287, 0.1448143085566392), (0.5605263157894737, 0.18947368421052632)).lineTo(0.5605263157894737, 0.5052631578947369).lineTo(0.18947368421052632, 0.49736842105263157).lineTo(0.18947368421052632, 0.18947368421052632).threePointArc((0.17097516512757133, 0.1448143085566392), (0.12631578947368421, 0.12631578947368421)).lineTo(0.0, 0.12631578947368421).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.37894736842105264, 0.3157894736842105).circle(0.12631578947368421) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.375) solid=solid0
1,371
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00010707
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, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.37894736842105264, 0.0).circle(0.37894736842105264) solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
835
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00013959
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2734375, 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.2723684210526316, 0.0).circle(0.2723684210526316) 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
0001/00014950
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6796875, -0.375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(1.4296875, 0.0).lineTo(1.4296875, 0.4665296052631579).lineTo(0.0, 0.4665296052631579).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.0390625) solid=solid0
888
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00015496
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2734375, 0.0, -0.75), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.5526315789473685, 0.0).lineTo(0.5526315789473685, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.0234375) solid=solid0
947
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017281
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.3046875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(1.15625, 0.0).lineTo(1.15625, 0.09736842105263158).lineTo(0.912828947368421, 0.09736842105263158).lineTo(0.912828947368421, 0.34078947368421053).lineTo(0.8154605263157895, 0.34078947368421053).threePointArc((0.578125, 0.10345394736842105), (0.34078947368421053, 0.34078947368421053)).lineTo(0.24342105263157893, 0.34078947368421053).lineTo(0.24342105263157893, 0.09736842105263158).lineTo(0.0, 0.09736842105263158).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.4375) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.2421875, -0.21875, 0.3984375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.04736842105263158, 0.0).circle(0.04736842105263158) solid1=wp_sketch1.add(loop1).extrude(-0.09375) solid=solid.cut(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.6796875, -0.21875, 0.3984375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch2.moveTo(0.04736842105263158, 0.0).circle(0.04736842105263158) solid2=wp_sketch2.add(loop2).extrude(-0.09375) solid=solid.cut(solid2)
1,654
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017295
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.37894736842105264).lineTo(0.6236842105263158, 0.37894736842105264).lineTo(0.6236842105263158, 0.25263157894736843).lineTo(0.12631578947368421, 0.25263157894736843).lineTo(0.12631578947368421, 0.37894736842105264).lineTo(0.0, 0.37894736842105264).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.5) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.546875, -0.2578125, 0.25), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.06315789473684211, 0.0).circle(0.06184210526315789) solid1=wp_sketch1.add(loop1).extrude(-0.625) solid=solid.cut(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.34375, -0.2578125, 0.25), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch2.moveTo(0.06315789473684211, 0.0).circle(0.06184210526315789) solid2=wp_sketch2.add(loop2).extrude(-0.625) solid=solid.cut(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.375, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop3=wp_sketch3.moveTo(0.25, 0.0).lineTo(0.25, 0.12631578947368421).lineTo(0.0, 0.12631578947368421).lineTo(0.0, 0.0).close() solid3=wp_sketch3.add(loop3).extrude(-0.75) solid=solid.cut(solid3)
1,783
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00014978
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
0001/00018171
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.484375, -0.296875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.4765625, 0.0625).lineTo(0.390625, 0.59375).lineTo(0.0, 0.7421875).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
867
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00012448
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.2368421052631579).lineTo(0.0, 0.2368421052631579).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.015625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.234375, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.23157894736842105, 0.0).lineTo(0.23157894736842105, 0.5).lineTo(0.0, 0.5).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(-0.015625) solid=solid.union(solid1)
1,222
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00012460
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.2131578947368421).lineTo(0.0, 0.2131578947368421).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.015625) solid=solid0
869
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017252
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0390625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.2644736842105263, 0.0).circle(0.2644736842105263) solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.03125, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.20131578947368423, 0.0).circle(0.20131578947368423) solid1=wp_sketch1.add(loop1).extrude(0.671875) solid=solid.cut(solid1)
1,030
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00012458
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.3631578947368421).lineTo(0.0, 0.3631578947368421).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.7342105263157895, 0.015789473684210527).lineTo(0.7342105263157895, 0.3473684210526316).lineTo(0.015789473684210527, 0.3473684210526316).lineTo(0.015789473684210527, 0.015789473684210527).close() solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.6328125) solid=solid0
1,063
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00013008
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = 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))) loop0=wp_sketch0.moveTo(0.1381578947368421, 0.0).threePointArc((0.2734375, 0.13527960526315788), (0.40871710526315785, 0.0)).lineTo(0.546875, 0.0).threePointArc((0.2734375, 0.2734375), (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.2734375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.0, 0.0).threePointArc((0.19334951048069668, -0.0800879895193034), (0.2734375, -0.2734375)).lineTo(0.2734375, 0.0).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.2734375, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch2.moveTo(0.0, 0.0).threePointArc((0.0800879895193034, 0.19334951048069668), (0.2734375, 0.2734375)).lineTo(0.0, 0.2734375).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(0.75) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.40625, 0.2734375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop3=wp_sketch3.moveTo(0.13815789473684212, 0.0).lineTo(0.4144736842105263, 0.0).lineTo(0.682154605263158, 0.0).lineTo(0.8203125000000001, 0.0).lineTo(0.8203125000000001, 0.06907894736842106).lineTo(0.0, 0.06907894736842106).lineTo(0.0, 0.0).close() solid3=wp_sketch3.add(loop3).extrude(0.75) solid=solid.union(solid3)
1,775
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00012464
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.6640625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 1.3263157894736843).lineTo(0.0, 1.3263157894736843).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.0390625) solid=solid0
875
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00014015
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5546875, -0.0859375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.016274139507018934, 0.010589322285084446), (0.03536184210526316, 0.014144736842105264)).lineTo(0.4384868421052632, 0.014144736842105264).threePointArc((0.4575745447035074, 0.010589322285084446), (0.47384868421052634, 0.0)).threePointArc((0.6668440596844852, 0.08133223684210526), (0.47384868421052634, 0.16266447368421053)).threePointArc((0.4568711539307011, 0.1556113356096524), (0.4384868421052632, 0.1555921052631579)).lineTo(0.03536184210526316, 0.1555921052631579).threePointArc((0.016977530279825258, 0.1556113356096524), (0.0, 0.16266447368421053)).threePointArc((-0.19299537547395884, 0.08133223684210526), (0.0, 0.0)).close() loop1=wp_sketch0.moveTo(-0.08486842105263158, 0.08486842105263158).circle(0.03536184210526316) loop2=wp_sketch0.moveTo(0.5587171052631579, 0.08486842105263158).circle(0.03536184210526316) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.046875) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.5546875, -0.0859375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop3=wp_sketch1.moveTo(0.0, 0.0).threePointArc((0.016274139507018934, 0.010589322285084446), (0.03536184210526316, 0.014144736842105264)).lineTo(0.4384868421052632, 0.014144736842105264).threePointArc((0.4575745447035074, 0.010589322285084446), (0.47384868421052634, 0.0)).threePointArc((0.6668440596844852, 0.08133223684210526), (0.47384868421052634, 0.16266447368421053)).threePointArc((0.4568711539307011, 0.1556113356096524), (0.4384868421052632, 0.1555921052631579)).lineTo(0.03536184210526316, 0.1555921052631579).threePointArc((0.016977530279825258, 0.1556113356096524), (0.0, 0.16266447368421053)).threePointArc((-0.19299537547395884, 0.08133223684210526), (0.0, 0.0)).close() loop4=wp_sketch1.moveTo(-0.08486842105263158, 0.08486842105263158).circle(0.03536184210526316) loop5=wp_sketch1.moveTo(0.5587171052631579, 0.08486842105263158).circle(0.03536184210526316) solid1=wp_sketch1.add(loop3).add(loop4).add(loop5).extrude(0.046875) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.5546875, -0.0859375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop6=wp_sketch2.moveTo(0.0, 0.0).threePointArc((0.016274139507018934, 0.010589322285084446), (0.03536184210526316, 0.014144736842105264)).lineTo(0.4384868421052632, 0.014144736842105264).threePointArc((0.4575745447035074, 0.010589322285084446), (0.47384868421052634, 0.0)).threePointArc((0.6668440596844852, 0.08133223684210526), (0.47384868421052634, 0.16266447368421053)).threePointArc((0.4568711539307011, 0.1556113356096524), (0.4384868421052632, 0.1555921052631579)).lineTo(0.03536184210526316, 0.1555921052631579).threePointArc((0.016977530279825258, 0.1556113356096524), (0.0, 0.16266447368421053)).threePointArc((-0.19299537547395884, 0.08133223684210526), (0.0, 0.0)).close() loop7=wp_sketch2.moveTo(-0.08486842105263158, 0.08486842105263158).circle(0.03536184210526316) loop8=wp_sketch2.moveTo(0.5587171052631579, 0.08486842105263158).circle(0.03536184210526316) solid2=wp_sketch2.add(loop6).add(loop7).add(loop8).extrude(0.046875) solid=solid.union(solid2)
3,276
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017291
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(-0.75) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.25, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.5, 0.0).lineTo(0.5, 0.5).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.75) solid=solid.union(solid1)
1,138
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00014954
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2421875, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.24868421052631579, 0.0).circle(0.24868421052631579) loop1=wp_sketch0.moveTo(0.04144736842105263, 0.0).circle(0.025904605263157892) loop2=wp_sketch0.moveTo(0.24868421052631579, -0.20205592105263157).circle(0.025904605263157892) loop3=wp_sketch0.moveTo(0.24868421052631579, 0.20205592105263157).circle(0.025904605263157892) loop4=wp_sketch0.moveTo(0.4507401315789473, 0.0).circle(0.025904605263157892) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).extrude(0.4375) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.15625, 0.0, 0.4375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop5=wp_sketch1.moveTo(0.15789473684210525, 0.0).circle(0.15789473684210525) solid1=wp_sketch1.add(loop5).extrude(0.03125) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.0546875, 0.0, 0.46875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop6=wp_sketch2.moveTo(0.05131578947368422, 0.0).circle(0.05131578947368422) solid2=wp_sketch2.add(loop6).extrude(0.28125) solid=solid.union(solid2)
1,529
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00015647
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.09473684210526316, 0.09473684210526316).circle(0.039473684210526314) loop2=wp_sketch0.moveTo(0.09473684210526316, 0.6552631578947369).circle(0.039473684210526314) loop3=wp_sketch0.moveTo(0.6552631578947369, 0.09473684210526316).circle(0.039473684210526314) loop4=wp_sketch0.moveTo(0.6552631578947369, 0.6552631578947369).circle(0.039473684210526314) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).extrude(0.375) solid=solid0
1,162
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00011421
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.734375, -0.28125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.9894736842105263, 0.0).lineTo(0.9894736842105263, -0.24736842105263157).lineTo(1.46875, -0.24736842105263157).lineTo(1.46875, 0.5565789473684211).lineTo(0.47927631578947366, 0.5565789473684211).lineTo(0.47927631578947366, 0.8039473684210526).lineTo(0.0, 0.8039473684210526).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
1,052
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00013550
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.10263157894736843, 0.0).circle(0.10049342105263158) solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
839
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00011435
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.25, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 0.18947368421052632).lineTo(0.7578947368421053, 0.18947368421052632).threePointArc((0.7026315789473685, 0.24473684210526317), (0.7578947368421053, 0.3)).lineTo(1.5, 0.3).lineTo(1.5, 0.5052631578947369).lineTo(0.0, 0.5052631578947369).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.0625, both=True) solid=solid0
1,024
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00010703
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.75, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.1484375) solid=solid0
840
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00014203
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.4296875, 0.0, -0.234375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.4342105263157895, 0.0).lineTo(0.859375, 0.0).lineTo(0.859375, 0.23519736842105265).lineTo(0.859375, 0.4613486842105263).lineTo(0.4342105263157895, 0.4613486842105263).lineTo(0.0, 0.4613486842105263).lineTo(0.0, 0.23519736842105265).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.4342105263157895, 0.2532894736842105).circle(0.11759868421052633) solid0=wp_sketch0.add(loop0).add(loop1).extrude(-0.109375) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.4296875, 0.0, -0.3359375), 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.859375, 0.0).lineTo(0.859375, 0.10855263157894737).lineTo(0.4342105263157895, 0.10855263157894737).lineTo(0.0, 0.10855263157894737).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop2).extrude(-0.75) solid=solid.union(solid1)
1,523
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00010065
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.4140625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 0.8368421052631579).lineTo(0.0, 0.8368421052631579).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.4105263157894737, 0.4105263157894737).circle(0.20526315789473684) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.3359375) solid=solid0
954
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00019733
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.37894736842105264, -0.6473684210526316).lineTo(1.1210526315789473, -0.6473684210526316).lineTo(1.5, 0.0).lineTo(1.1210526315789473, 0.6473684210526316).lineTo(0.37894736842105264, 0.6473684210526316).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.0625) solid=solid0
982
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017078
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 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.78125, 0.0).lineTo(0.78125, 0.39473684210526316).lineTo(0.6496710526315789, 0.39473684210526316).lineTo(0.6496710526315789, 0.2631578947368421).lineTo(0.13157894736842105, 0.2631578947368421).lineTo(0.13157894736842105, 0.39473684210526316).lineTo(0.0, 0.39473684210526316).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.5234375) solid=solid0
1,126
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00010717
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.0625) solid=solid0
834
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017093
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.125, -0.25), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.375, 0.0).lineTo(0.375, 0.375).lineTo(0.0, 0.375).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.375) solid=solid0
899
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00012841
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0625, 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.06710526315789474, 0.0).circle(0.06710526315789474) 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
0001/00017087
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.75, 0.421875), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.2578125, 0.0).lineTo(0.2578125, 0.2578125).lineTo(0.0, 0.2578125).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.2578125) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.2578125, -0.6640625, 0.421875), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.171875, 0.0).lineTo(0.171875, 0.171875).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.2578125) solid=solid.union(solid1)
1,186
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00010918
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, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.1381578947368421, 0.0).circle(0.1381578947368421) loop1=wp_sketch0.moveTo(0.1381578947368421, 0.0).circle(0.12952302631578946) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75) solid=solid0
901
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00010893
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.203125, 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.0, 0.0).threePointArc((0.01719784195993465, -0.041519263303223246), (0.0587171052631579, -0.0587171052631579)).lineTo(0.20131578947368423, -0.0587171052631579).lineTo(0.3397203947368421, -0.0587171052631579).threePointArc((0.3812396580400654, -0.041519263303223246), (0.3984375, 0.0)).lineTo(0.3984375, 0.1384046052631579).threePointArc((0.19921875, 0.3376233552631579), (0.0, 0.1384046052631579)).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.02501544167742026, -0.02264590804006535), (0.0587171052631579, -0.020970394736842105)).lineTo(0.20131578947368423, -0.020970394736842105).lineTo(0.3397203947368421, -0.020970394736842105).threePointArc((0.3545487030594218, -0.014828308322579739), (0.3606907894736842, 0.0)).lineTo(0.3606907894736842, 0.1384046052631579).threePointArc((0.20131578947368423, 0.2977796052631579), (0.04194078947368421, 0.1384046052631579)).lineTo(0.04194078947368421, 0.0).close() solid0=wp_sketch0.add(loop0).add(loop1).extrude(-0.75) solid=solid0
1,650
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017124
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.53125, 0.0, 0.3203125), 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.28125, 0.0).lineTo(1.28125, 0.10789473684210527).lineTo(0.0, 0.10789473684210527).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.4765625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.4375, -0.2421875, 0.4296875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.055263157894736833, 0.0).circle(0.055263157894736833) solid1=wp_sketch1.add(loop1).extrude(-0.546875) solid=solid.cut(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.5625, -0.2421875, 0.4296875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch2.moveTo(0.055263157894736833, 0.0).circle(0.05411184210526315) solid2=wp_sketch2.add(loop2).extrude(-0.546875) solid=solid.cut(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.2578125, -0.4765625, 0.4296875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop3=wp_sketch3.moveTo(0.75, 0.0).lineTo(0.0, 0.0).close() solid3=wp_sketch3.add(loop3).extrude(0.265625) solid=solid.union(solid3) # Generating a workplane for sketch 4 wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.2578125, -0.4765625, 0.4296875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop4=wp_sketch4.moveTo(0.75, 0.0).lineTo(0.75, 0.48157894736842105).lineTo(0.0, 0.48157894736842105).lineTo(0.0, 0.0).close() solid4=wp_sketch4.add(loop4).extrude(0.265625) solid=solid.union(solid4)
1,796
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00018217
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.3984375, 0.34375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.625, 0.19736842105263158).lineTo(0.0, 0.39473684210526316).threePointArc((-0.26956176457540487, 0.19736842105263158), (0.0, 0.0)).close() solid0=wp_sketch0.add(loop0).extrude(0.34375) solid=solid0
913
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00015055
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.1953125) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.171875, 0.640625, 0.0), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042))) loop1=wp_sketch1.moveTo(0.055263157894736833, 0.0).circle(0.055263157894736833) solid1=wp_sketch1.add(loop1).extrude(-0.359375) solid=solid.cut(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.1796875, 0.328125, 0.0), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042))) loop2=wp_sketch2.moveTo(0.08289473684210526, 0.0).circle(0.08116776315789473) solid2=wp_sketch2.add(loop2).extrude(-0.359375) solid=solid.cut(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.515625, 0.6484375, 0.0), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042))) loop3=wp_sketch3.moveTo(0.1328125, 0.0).lineTo(0.1328125, 0.07689144736842106).lineTo(0.0, 0.07689144736842106).lineTo(0.0, 0.0).close() solid3=wp_sketch3.add(loop3).extrude(-0.359375) solid=solid.cut(solid3)
1,731
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00015041
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.28125, -0.46875), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.5644736842105263, 0.0).threePointArc((1.0366776315789474, 0.4722039473684211), (0.5644736842105263, 0.9444078947368422)).lineTo(0.0, 0.9444078947368422).threePointArc((-0.4722039473684211, 0.4722039473684211), (0.0, 0.0)).close() loop1=wp_sketch0.moveTo(0.5644736842105263, 0.04342105263157895).threePointArc((0.9932565789473685, 0.4722039473684211), (0.5644736842105263, 0.9009868421052633)).lineTo(0.0, 0.9009868421052633).threePointArc((-0.4287828947368421, 0.4722039473684211), (0.0, 0.04342105263157895)).close() solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.109375) solid=solid0
1,286
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00013430
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.07894736842105263).lineTo(0.0, 0.07894736842105263).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.03125) solid=solid0
942
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017130
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.265625, 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(1.015625, 0.0).lineTo(1.015625, 0.08552631578947369).lineTo(0.8018092105263158, 0.08552631578947369).lineTo(0.8018092105263158, 0.2993421052631579).lineTo(0.7162828947368421, 0.2993421052631579).threePointArc((0.5078125, 0.09341445698358349), (0.2993421052631579, 0.2993421052631579)).lineTo(0.2138157894736842, 0.2993421052631579).lineTo(0.2138157894736842, 0.08552631578947369).lineTo(0.0, 0.08552631578947369).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.3828125) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.203125, -0.1796875, 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).circle(0.04251644736842105) solid1=wp_sketch1.add(loop1).extrude(-0.421875) solid=solid.cut(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.6171875, -0.1796875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch2.moveTo(0.043421052631578944, 0.0).circle(0.04251644736842105) solid2=wp_sketch2.add(loop2).extrude(-0.421875) solid=solid.cut(solid2)
1,652
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00018203
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.19736842105263158).lineTo(0.0, 0.19736842105263158).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.203125) solid=solid0
871
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00012048
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.4765625, 0.0).lineTo(0.4765625, 0.015049342105263158).lineTo(0.0, 0.015049342105263158).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(-0.75) solid=solid0
933
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00015727
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, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.13026315789473686, 0.0).circle(0.13026315789473686) solid0=wp_sketch0.add(loop0).extrude(0.6171875) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.0390625, 0.0, 0.6171875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.035526315789473684, 0.0).circle(0.035526315789473684) solid1=wp_sketch1.add(loop1).extrude(0.0234375) solid=solid.union(solid1)
1,048
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017859
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
0001/00017865
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
0001/00015257
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.265625, 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(0.24054276315789475, 0.0).lineTo(0.24054276315789475, 0.12294407894736842).threePointArc((0.09581992725462049, 0.2886513157894737), (0.24054276315789475, 0.454358552631579)).lineTo(0.24054276315789475, 0.5078125).lineTo(0.0, 0.5078125).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.0234375, 0.0, 0.1640625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.0, 0.0).threePointArc((0.021299342105263155, 0.0014397894202626707), (0.04259868421052631, 0.0)).lineTo(0.04259868421052631, 0.05468749999999999).lineTo(0.0, 0.05468749999999999).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.0234375, 0.0, -0.2890625), 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.24588815789473684, 0.0).lineTo(0.24588815789473684, 0.5078125).lineTo(0.0, 0.5078125).lineTo(0.0, 0.454358552631579).threePointArc((0.14472283590327426, 0.2886513157894737), (0.0, 0.12294407894736842)).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(0.75) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.0234375, 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_sketch3.moveTo(0.02236842105263158, 0.0).lineTo(0.043421052631578944, 0.0).lineTo(0.043421052631578944, 0.125).threePointArc((0.021710526315789472, 0.12353241541718396), (0.0, 0.125)).lineTo(0.0, 0.0).close() solid3=wp_sketch3.add(loop3).extrude(0.75) solid=solid.union(solid3)
2,271
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017332
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.3828125, 0.0, -0.25), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.2504111842105263, 0.0).lineTo(0.13116776315789475, 0.07154605263157895).lineTo(1.0135690789473686, 0.07154605263157895).lineTo(0.8824013157894738, 0.0).lineTo(1.1328125, 0.0).lineTo(1.1328125, 0.2504111842105263).lineTo(0.0, 0.2504111842105263).lineTo(0.0, 0.0).close() 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.3828125, 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(1.1328125, 0.0).lineTo(1.1328125, 0.15501644736842107).lineTo(0.9420230263157895, 0.3458059210526316).lineTo(0.2027138157894737, 0.3458059210526316).lineTo(0.0, 0.15501644736842107).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.0546875, -0.359375, 0.0), 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(-0.6328125) solid=solid.cut(solid2)
1,694
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00019451
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
0001/00012504
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5390625, -0.4921875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(1.078125, 0.0).lineTo(1.078125, 0.9873355263157895).lineTo(0.0, 0.9873355263157895).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.078125) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.375, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.37894736842105264, 0.0).circle(0.37894736842105264) solid1=wp_sketch1.add(loop1).extrude(0.75) solid=solid.union(solid1)
1,076
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00019445
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
0001/00016945
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.625, 0.0, -0.2421875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.3).lineTo(0.0, 0.3).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
915
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00012289
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2109375, 0.0, 0.71875), 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.2087171052631579, -1.46910756645388), (0.4174342105263158, 0.0)).lineTo(0.4019736842105263, -0.07730263157894737).threePointArc((0.2087171052631579, -1.4375874153325396), (0.015460526315789473, -0.07730263157894737)).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.046875) solid=solid0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2109375, 0.0, 0.71875), 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.2087171052631579, -1.46910756645388), (0.4174342105263158, 0.0)).lineTo(0.4019736842105263, -0.07730263157894737).threePointArc((0.2087171052631579, -1.4375874153325396), (0.015460526315789473, -0.07730263157894737)).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(-0.046875) solid=solid.union(solid0) # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.2109375, 0.0, 0.71875), 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.022203947368421052, -0.07549342105263157).threePointArc((0.2109375, -0.048679917623213526), (0.3996710526315789, -0.07549342105263157)).lineTo(0.421875, 0.0).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.046875) solid_temp=solid1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.2109375, 0.0, 0.71875), 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.022203947368421052, -0.07549342105263157).threePointArc((0.2109375, -0.048679917623213526), (0.3996710526315789, -0.07549342105263157)).lineTo(0.421875, 0.0).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(-0.046875) solid_temp=solid_temp.union(solid1) solid=solid.union(solid_temp) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.2109375, 0.0, 0.71875), 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.2087171052631579, -1.46910756645388), (0.4174342105263158, 0.0)).lineTo(0.4019736842105263, -0.07730263157894737).threePointArc((0.2087171052631579, -1.4375874153325396), (0.015460526315789473, -0.07730263157894737)).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(0.046875) solid_temp=solid2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.2109375, 0.0, 0.71875), 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.2087171052631579, -1.46910756645388), (0.4174342105263158, 0.0)).lineTo(0.4019736842105263, -0.07730263157894737).threePointArc((0.2087171052631579, -1.4375874153325396), (0.015460526315789473, -0.07730263157894737)).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(-0.046875) 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.2109375, 0.0, 0.71875), 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.022203947368421052, -0.07549342105263157).threePointArc((0.2109375, -0.048679917623213526), (0.3996710526315789, -0.07549342105263157)).lineTo(0.421875, 0.0).lineTo(0.0, 0.0).close() solid3=wp_sketch3.add(loop3).extrude(0.046875) solid_temp=solid3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.2109375, 0.0, 0.71875), 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.022203947368421052, -0.07549342105263157).threePointArc((0.2109375, -0.048679917623213526), (0.3996710526315789, -0.07549342105263157)).lineTo(0.421875, 0.0).lineTo(0.0, 0.0).close() solid3=wp_sketch3.add(loop3).extrude(-0.046875) solid_temp=solid_temp.union(solid3) solid=solid.union(solid_temp) # Generating a workplane for sketch 4 wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.2109375, 0.0, 0.71875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop4=wp_sketch4.moveTo(0.0, 0.0).threePointArc((0.2087171052631579, -1.46910756645388), (0.4174342105263158, 0.0)).lineTo(0.4019736842105263, -0.07730263157894737).threePointArc((0.2087171052631579, -1.4375874153325396), (0.015460526315789473, -0.07730263157894737)).lineTo(0.0, 0.0).close() solid4=wp_sketch4.add(loop4).extrude(0.046875) solid_temp=solid4 wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.2109375, 0.0, 0.71875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop4=wp_sketch4.moveTo(0.0, 0.0).threePointArc((0.2087171052631579, -1.46910756645388), (0.4174342105263158, 0.0)).lineTo(0.4019736842105263, -0.07730263157894737).threePointArc((0.2087171052631579, -1.4375874153325396), (0.015460526315789473, -0.07730263157894737)).lineTo(0.0, 0.0).close() solid4=wp_sketch4.add(loop4).extrude(-0.046875) solid_temp=solid_temp.union(solid4) solid=solid.union(solid_temp) # Generating a workplane for sketch 5 wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(-0.2109375, 0.0, 0.71875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop5=wp_sketch5.moveTo(0.022203947368421052, -0.07549342105263157).threePointArc((0.2109375, -0.048679917623213526), (0.3996710526315789, -0.07549342105263157)).lineTo(0.421875, 0.0).lineTo(0.0, 0.0).close() solid5=wp_sketch5.add(loop5).extrude(0.046875) solid_temp=solid5 wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(-0.2109375, 0.0, 0.71875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop5=wp_sketch5.moveTo(0.022203947368421052, -0.07549342105263157).threePointArc((0.2109375, -0.048679917623213526), (0.3996710526315789, -0.07549342105263157)).lineTo(0.421875, 0.0).lineTo(0.0, 0.0).close() solid5=wp_sketch5.add(loop5).extrude(-0.046875) solid_temp=solid_temp.union(solid5) solid=solid.union(solid_temp)
5,566
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017497
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.7421052631578947) loop1=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.26842105263157895) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.4765625) solid=solid0
901
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00011959
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5625, -0.5625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(1.125, 0.0).lineTo(1.125, 1.125).lineTo(0.0, 1.125).lineTo(0.0, 0.8052631578947369).threePointArc((0.24276315789473685, 0.5625), (0.0, 0.31973684210526315)).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
933
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00015295
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.20526315789473684) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.3046875) solid=solid0
973
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00016944
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1953125, 0.0, -0.3203125), 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.4765625, 0.0).lineTo(0.4765625, 0.3912828947368421).lineTo(0.0, 0.3912828947368421).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.4765625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.2734375, -0.234375, -0.3203125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.234375, 0.0).lineTo(0.234375, 0.234375).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.4765625) solid=solid.union(solid1)
1,228
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00014606
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.4140625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.5546875, 0.0).lineTo(0.5546875, 0.41455592105263156).lineTo(0.0, 0.41455592105263156).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.0078125) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.4140625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.75, 0.0).lineTo(0.75, 0.41842105263157897).lineTo(0.0, 0.41842105263157897).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(-0.0078125) solid=solid.union(solid1)
1,118
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00015518
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.078125, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.0796875, 0.0).lineTo(0.0796875, 0.0265625).lineTo(0.1328125, 0.0265625).lineTo(0.1328125, 0.06710526315789474).threePointArc((0.11356729590197794, 0.1135672959019779), (0.06710526315789474, 0.1328125)).lineTo(0.0, 0.1328125).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.2734375) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.3984375, 0.0, 0.2109375), 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.17023026315789472, -0.21463815789473684).lineTo(0.34416118421052627, 0.0).threePointArc((0.2942023026315789, 0.12397203947368421), (0.17023026315789472, 0.07401315789473684)).threePointArc((0.04810855263157895, 0.12212171052631578), (0.0, 0.0)).close() solid1=wp_sketch1.add(loop1).extrude(0.0234375) solid=solid.union(solid1)
1,515
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00019444
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.484375, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.4855263157894737, 0.0).circle(0.4855263157894737) solid0=wp_sketch0.add(loop0).extrude(0.265625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.3359375, 0.0, 0.265625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.3355263157894737, 0.0).circle(0.3355263157894737) solid1=wp_sketch1.add(loop1).extrude(0.375) solid=solid.union(solid1)
1,035
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00014160
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.671875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.08486842105263158, 0.0).lineTo(0.08486842105263158, 0.671875).lineTo(0.0, 0.671875).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.28125) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.671875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.0, 0.0).threePointArc((0.04194078947368421, -0.08332203816571677), (0.08388157894736842, 0.0)).lineTo(0.0, 0.0).close() loop2=wp_sketch1.moveTo(0.041447368421052636, -0.030592105263157896).circle(0.024671052631578948) solid1=wp_sketch1.add(loop1).add(loop2).extrude(0.28125) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.0703125, 0.265625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop3=wp_sketch2.moveTo(0.06990131578947369, -0.265625).lineTo(0.15098684210526317, -0.265625).lineTo(0.08388157894736842, 0.0).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop3).extrude(0.28125) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.078125, 0.296875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop4=wp_sketch3.moveTo(0.007894736842105263, -0.02960526315789474).lineTo(0.09375, -0.02960526315789474).lineTo(0.08092105263157895, 0.020723684210526318).lineTo(0.0, 0.0).close() solid3=wp_sketch3.add(loop4).extrude(0.28125) solid=solid.union(solid3) # Generating a workplane for sketch 4 wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.1640625, 0.265625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop5=wp_sketch4.moveTo(0.0915296052631579, 0.0).lineTo(0.08462171052631579, 0.029358552631578945).lineTo(0.1640625, 0.05008223684210526).lineTo(0.0, 0.05008223684210526).lineTo(0.0, 0.0).close() solid4=wp_sketch4.add(loop5).extrude(0.28125) solid=solid.union(solid4)
2,046
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false