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/00016298
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.7421052631578947) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.296875) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop2=wp_sketch1.moveTo(0.84375, 0.0).lineTo(0.84375, 0.2131578947368421).lineTo(0.0, 0.2131578947368421).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop2).extrude(-0.75, both=True) solid=solid.cut(solid1)
1,198
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00015791
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.03125, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.031578947368421054, 0.0).circle(0.031578947368421054) loop1=wp_sketch0.moveTo(0.031578947368421054, 0.0).circle(0.02236842105263158) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75) solid=solid0
905
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00012940
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2578125, 0.0, 0.6875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.2544407894736842, -1.4147865645903537), (0.5088815789473684, 0.0)).lineTo(0.49391447368421054, -0.05986842105263158).threePointArc((0.2544407894736842, -1.391432246549435), (0.014967105263157894, -0.05986842105263158)).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.03125) solid=solid0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2578125, 0.0, 0.6875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.2544407894736842, -1.4147865645903537), (0.5088815789473684, 0.0)).lineTo(0.49391447368421054, -0.05986842105263158).threePointArc((0.2544407894736842, -1.391432246549435), (0.014967105263157894, -0.05986842105263158)).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(-0.03125) solid=solid.union(solid0) # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.2578125, 0.0, 0.6875), 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.02138157894736842, -0.05345394736842105).threePointArc((0.25390625, -0.011635794471364898), (0.4864309210526316, -0.05345394736842105)).lineTo(0.5078125, 0.0).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.03125) solid_temp=solid1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.2578125, 0.0, 0.6875), 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.02138157894736842, -0.05345394736842105).threePointArc((0.25390625, -0.011635794471364898), (0.4864309210526316, -0.05345394736842105)).lineTo(0.5078125, 0.0).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(-0.03125) 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.25, -0.25, 0.6875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch2.moveTo(0.5078125, 0.0).lineTo(0.5078125, 0.22450657894736842).lineTo(0.0, 0.22450657894736842).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(0.0625) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.25, 0.03125, 0.6875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop3=wp_sketch3.moveTo(0.5078125, 0.0).lineTo(0.5078125, 0.22450657894736842).lineTo(0.0, 0.22450657894736842).lineTo(0.0, 0.0).close() solid3=wp_sketch3.add(loop3).extrude(0.0625) solid=solid.union(solid3) # Generating a workplane for sketch 4 wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.25, -0.03125, 0.6875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop4=wp_sketch4.moveTo(0.5078125, 0.0).lineTo(0.5078125, 0.05879934210526316).lineTo(0.0, 0.05879934210526316).lineTo(0.0, 0.0).close() solid4=wp_sketch4.add(loop4).extrude(0.0625) solid=solid.union(solid4)
2,990
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00019801
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6015625, -0.3671875, 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.558795969725353, 0.0783254127443978), (0.060032894736842105, 0.3421875)).threePointArc((-0.14532896420884436, 0.20185610290829226), (0.0, 0.0)).close() solid0=wp_sketch0.add(loop0).extrude(0.25) solid=solid0
942
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00015785
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.75, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.6552631578947369, 0.0).lineTo(0.6552631578947369, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.28125) solid=solid0
869
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00010616
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.2578125, 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.2644736842105263, 0.0).circle(0.2644736842105263) loop1=wp_sketch0.moveTo(0.2644736842105263, 0.0).circle(0.13223684210526315) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.1015625, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop2=wp_sketch1.moveTo(0.09868421052631579, 0.0).circle(0.09868421052631579) solid1=wp_sketch1.add(loop2).extrude(0.0625) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.1328125, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop3=wp_sketch2.moveTo(0.13026315789473686, 0.0).circle(0.13026315789473686) loop4=wp_sketch2.moveTo(0.13026315789473686, 0.0).circle(0.09769736842105264) solid2=wp_sketch2.add(loop3).add(loop4).extrude(0.0625) solid=solid.union(solid2)
1,516
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00019154
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.1171875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.4016447368421053, 0.0).lineTo(0.4016447368421053, 0.8671875000000001).lineTo(0.29210526315789476, 0.8671875000000001).lineTo(0.29210526315789476, 0.11866776315789475).lineTo(0.0, 0.11866776315789475).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.34375) solid=solid0
990
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00012773
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.05921052631578947, 0.0).circle(0.05921052631578947) solid0=wp_sketch0.add(loop0).extrude(0.1015625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.0703125, 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.07500000000000001, 0.0).circle(0.07500000000000001) 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.09375, 0.109375, -0.75), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042))) loop2=wp_sketch2.moveTo(0.09325657894736841, 0.0).lineTo(0.18996710526315788, 0.0).lineTo(0.18996710526315788, 0.328125).lineTo(0.0, 0.328125).lineTo(0.0, 0.0).close() loop3=wp_sketch2.moveTo(0.09325657894736841, 0.10707236842105262).circle(0.0725328947368421) solid2=wp_sketch2.add(loop2).add(loop3).extrude(-0.375) solid=solid.union(solid2)
1,459
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00019140
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0703125, 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.028782894736842105, 0.0).lineTo(0.028782894736842105, 0.028782894736842105).lineTo(0.0390625, 0.028782894736842105).lineTo(0.03495065789473684, 0.0390625).lineTo(0.0, 0.0390625).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
1,037
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00013323
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.0390625, -0.015625), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.0703125, 0.0).lineTo(0.0703125, 0.030345394736842106).lineTo(0.0, 0.030345394736842106).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
944
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00011534
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.21875, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.22105263157894733, 0.0).circle(0.22105263157894733) loop1=wp_sketch0.moveTo(0.22105263157894733, 0.0).circle(0.1796052631578947) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.640625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.21875, 0.0, 0.640625), 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.1796052631578947) 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.1796875, 0.0, 0.640625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop4=wp_sketch2.moveTo(0.18157894736842106, 0.0).circle(0.18157894736842106) solid2=wp_sketch2.add(loop4).extrude(-0.0546875) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.078125, 0.0, 0.640625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop5=wp_sketch3.moveTo(0.07894736842105263, 0.0).circle(0.07894736842105263) solid3=wp_sketch3.add(loop5).extrude(0.03125) solid=solid.union(solid3)
1,567
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00013445
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.40625, -0.171875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.46578947368421053, 0.0).lineTo(0.46578947368421053, 0.9218750000000001).lineTo(0.0, 0.9218750000000001).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.03125) solid=solid0
907
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00010158
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.7265625, -0.484375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(1.453125, 0.0).lineTo(1.453125, 0.9636513157894737).lineTo(0.0, 0.9636513157894737).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.390625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.484375, -0.1328125, 0.390625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.96875, 0.0).lineTo(0.96875, 0.27532894736842106).lineTo(0.0, 0.27532894736842106).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.359375) solid=solid.union(solid1)
1,133
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017151
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.4296875, -0.09375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.3246710526315789, 0.0).lineTo(0.3246710526315789, 0.328125).lineTo(0.0, 0.3246710526315789).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.3203125) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.4296875, -0.09375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.3246710526315789, 0.0).lineTo(0.3246710526315789, 0.328125).lineTo(0.0, 0.3246710526315789).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.3203125) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.4296875, -0.0859375, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop2=wp_sketch2.moveTo(0.23264802631578949, 0.0).lineTo(0.0, 0.3203125).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(0.3203125) solid=solid.union(solid2)
1,414
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00019791
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.296875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.3157894736842105).lineTo(0.0, 0.3157894736842105).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.53125) solid=solid0
873
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00015815
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0390625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.039473684210526314, 0.0).circle(0.039473684210526314) loop1=wp_sketch0.moveTo(0.039473684210526314, 0.0).circle(0.02796052631578947) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75) solid=solid0
907
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00014504
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, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.039473684210526314, 0.0).circle(0.039473684210526314) solid0=wp_sketch0.add(loop0).extrude(0.75, both=True) solid=solid0
917
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00010010
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.7265625, -0.015625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.7381578947368421, 0.0).circle(0.7381578947368421) solid0=wp_sketch0.add(loop0).extrude(0.09375) solid=solid0
845
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00019752
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.46875, 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.9218750000000001, 0.0).lineTo(0.9218750000000001, 0.2814144736842105).threePointArc((0.7228849173338516, 0.3638388647022726), (0.6404605263157895, 0.562828947368421)).lineTo(0.0, 0.562828947368421).lineTo(0.0, 0.4172697368421053).threePointArc((0.14070723684210526, 0.27656250000000004), (0.0, 0.13585526315789476)).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.2265625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.46875, 0.0, -0.25), 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.28125, 0.28125), (0.0, 0.5625)).lineTo(0.0, 0.42039473684210527).threePointArc((0.13914473684210527, 0.28125), (0.0, 0.14210526315789473)).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.2265625) solid=solid.union(solid1)
1,522
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017019
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, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.29605263157894735, 0.0).circle(0.29605263157894735) solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
911
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017031
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.75, -0.0078125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.75, -0.7408521310886467), (1.5, 0.0)).lineTo(1.2, 0.0).threePointArc((0.75, -0.43908869246956933), (0.3, 0.0)).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.296875) solid=solid0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.75, -0.0078125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.75, -0.7408521310886467), (1.5, 0.0)).lineTo(1.2, 0.0).threePointArc((0.75, -0.43908869246956933), (0.3, 0.0)).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(-0.296875) solid=solid.union(solid0) # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.75, 0.0078125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.3, 0.0).threePointArc((0.75, 0.43908869246956933), (1.2, 0.0)).lineTo(1.5, 0.0).threePointArc((0.75, 0.7408521310886469), (0.0, 0.0)).close() solid1=wp_sketch1.add(loop1).extrude(0.296875) solid_temp=solid1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.75, 0.0078125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.3, 0.0).threePointArc((0.75, 0.43908869246956933), (1.2, 0.0)).lineTo(1.5, 0.0).threePointArc((0.75, 0.7408521310886469), (0.0, 0.0)).close() solid1=wp_sketch1.add(loop1).extrude(-0.296875) 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.078125, 0.6484375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch2.moveTo(0.07500000000000001, 0.0).circle(0.07500000000000001) solid2=wp_sketch2.add(loop2).extrude(0.9921875, both=True) solid=solid.cut(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.296875, -0.65625, 0.15625), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop3=wp_sketch3.moveTo(0.05921052631578947, 0.0).circle(0.05921052631578947) solid3=wp_sketch3.add(loop3).extrude(-0.8671875, both=True) solid=solid.cut(solid3) # Generating a workplane for sketch 4 wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.296875, -0.65625, -0.15625), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop4=wp_sketch4.moveTo(0.05921052631578947, 0.0).circle(0.05921052631578947) solid4=wp_sketch4.add(loop4).extrude(-0.8671875, both=True) solid=solid.cut(solid4) # Generating a workplane for sketch 5 wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(0.296875, -0.65625, -0.15625), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop5=wp_sketch5.moveTo(0.055263157894736833, 0.0).circle(0.055263157894736833) solid5=wp_sketch5.add(loop5).extrude(-0.6015625) solid=solid.cut(solid5) # Generating a workplane for sketch 6 wp_sketch6 = cq.Workplane(cq.Plane(cq.Vector(-0.296875, 0.71875, -0.359375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop6=wp_sketch6.moveTo(0.05460526315789474, 0.0).lineTo(0.05460526315789474, 0.6074835526315789).lineTo(0.0, 0.6484375).lineTo(0.0, 0.5801809210526316).threePointArc((0.024215840061814795, 0.4755367229301739), (0.03412828947368421, 0.3685855263157895)).lineTo(0.0, 0.3685855263157895).lineTo(0.0, 0.0).close() solid6=wp_sketch6.add(loop6).extrude(-0.6015625) solid=solid.cut(solid6) # Generating a workplane for sketch 7 wp_sketch7 = cq.Workplane(cq.Plane(cq.Vector(-0.296875, 0.71875, 0.0078125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop7=wp_sketch7.moveTo(0.03330592105263158, 0.0).threePointArc((0.02378241972124581, 0.10659445408341), (0.0, 0.2109375)).lineTo(0.0, 0.0).close() solid7=wp_sketch7.add(loop7).extrude(-0.6015625) solid=solid.cut(solid7)
3,640
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00016449
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.75, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(1.2473684210526317, 0.25263157894736843).lineTo(1.2473684210526317, 1.2473684210526317).lineTo(0.25263157894736843, 1.2473684210526317).lineTo(0.25263157894736843, 0.25263157894736843).close() solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.5) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.1015625, 0.5703125, 0.5), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch1.moveTo(0.1953125, 0.0).lineTo(0.09868421052631579, 0.16858552631578946).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop2).extrude(-0.1015625) solid=solid.cut(solid1)
1,251
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00013531
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.3515625, 0.0).lineTo(0.3515625, 0.3515625).lineTo(0.0, 0.3515625).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.3515625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0234375, -0.3515625, 0.171875), 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.15394736842105264, 0.0).circle(0.15394736842105264) solid1=wp_sketch1.add(loop1).extrude(0.046875) solid=solid.union(solid1)
1,212
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017025
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.453125, 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.45394736842105265, 0.0).circle(0.45394736842105265) loop1=wp_sketch0.moveTo(0.45394736842105265, 0.0).circle(0.3026315789473684) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75) solid=solid0
974
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00019587
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) loop1=wp_sketch0.moveTo(0.06710526315789474, 0.0).circle(0.04753289473684211) 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/00016878
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6796875, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(1.3515625, 0.0).lineTo(1.3515625, 0.24185855263157896).lineTo(0.0, 0.24185855263157896).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
883
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017596
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/00014935
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.625, -0.359375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(1.375, 0.0).lineTo(1.375, 0.4631578947368421).lineTo(0.0, 0.4631578947368421).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.046875) solid=solid0
878
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00016111
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.8359375, 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.8407894736842105, 0.0).circle(0.8407894736842105) loop1=wp_sketch0.moveTo(0.8407894736842105, 0.0).circle(0.7707236842105263) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.28125) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.640625, 0.3984375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch1.moveTo(0.05855263157894737, -0.8782894736842105).lineTo(0.922203947368421, -1.0978618421052633).lineTo(1.390625, -0.35131578947368425).lineTo(0.8197368421052632, 0.33667763157894737).lineTo(0.0, 0.0).close() loop3=wp_sketch1.moveTo(0.2634868421052632, -0.7465460526315789).lineTo(0.5123355263157895, -0.8929276315789474).lineTo(0.8050986842105263, -0.8782894736842105).lineTo(1.0393092105263158, -0.7172697368421053).lineTo(1.1417763157894738, -0.45378289473684214).lineTo(1.0978618421052633, -0.17565789473684212).lineTo(0.8929276315789474, 0.04391447368421053).lineTo(0.6148026315789474, 0.11710526315789474).lineTo(0.35131578947368425, 0.014638157894736843).lineTo(0.16101973684210527, -0.2049342105263158).lineTo(0.1317434210526316, -0.4830592105263158).close() solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.28125) solid=solid.union(solid1)
1,713
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00016105
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.75, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.7578947368421053) loop1=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.5210526315789474) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.640625) solid=solid0
953
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00015342
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2109375, -0.5390625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.2131578947368421, 0.0).circle(0.2131578947368421) loop1=wp_sketch0.moveTo(0.2131578947368421, 0.0).circle(0.14210526315789473) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0703125) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.234375, -0.328125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch1.moveTo(0.2368421052631579, 0.0).lineTo(0.4677631578947369, 0.0).lineTo(0.4677631578947369, 0.3256578947368421).threePointArc((0.23388157894736844, 0.5595394736842105), (0.0, 0.3256578947368421)).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop2).extrude(0.0703125) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.328125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop3=wp_sketch2.moveTo(0.0, 0.0).threePointArc((0.15002759008727737, -0.06214346254430157), (0.21217105263157893, -0.21217105263157893)).lineTo(0.234375, 0.0).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop3).extrude(0.0703125) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.234375, -0.328125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop4=wp_sketch3.moveTo(0.024671052631578948, -0.21217105263157893).threePointArc((0.08558096254430157, -0.06265441677420261), (0.234375, 0.0)).lineTo(0.0, 0.0).close() solid3=wp_sketch3.add(loop4).extrude(0.0703125) solid=solid.union(solid3) # Generating a workplane for sketch 4 wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.2109375, -0.5390625, 0.0703125), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop5=wp_sketch4.moveTo(0.2131578947368421, 0.0).circle(0.2131578947368421) loop6=wp_sketch4.moveTo(0.2131578947368421, 0.0).circle(0.14210526315789473) solid4=wp_sketch4.add(loop5).add(loop6).extrude(0.5625) solid=solid.union(solid4)
2,055
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00016893
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.5526315789473685) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.3828125) solid=solid0
972
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00019575
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.75, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.1736842105263158, 0.0).lineTo(0.1736842105263158, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.015625) solid=solid0
870
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00019561
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.25723684210526315, 0.0).lineTo(0.25723684210526315, 0.71875).lineTo(0.0, 0.71875).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.22697368421052633, 0.030263157894736843).lineTo(0.22697368421052633, 0.31776315789473686).lineTo(0.030263157894736843, 0.31776315789473686).lineTo(0.030263157894736843, 0.030263157894736843).close() loop2=wp_sketch0.moveTo(0.22697368421052633, 0.40098684210526314).lineTo(0.22697368421052633, 0.6884868421052631).lineTo(0.030263157894736843, 0.6884868421052631).lineTo(0.030263157894736843, 0.40098684210526314).close() 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.03125, -0.046875, 0.71875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop3=wp_sketch1.moveTo(0.203125, 0.0).lineTo(0.203125, 0.04703947368421053).lineTo(0.0, 0.04703947368421053).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop3).extrude(0.03125) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.046875, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop4=wp_sketch2.moveTo(0.046875, 0.0).lineTo(0.046875, 0.046875).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop4).extrude(-0.34375) solid=solid.cut(solid2)
1,832
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017564
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/00015373
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.023601973684210523, 0.0).lineTo(0.023601973684210523, 0.05468749999999999).lineTo(0.0, 0.05468749999999999).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
971
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00013702
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.0078125, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.007894736842105263, 0.0).circle(0.007894736842105263) solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
895
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00015401
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.3984375, 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.8052631578947369).lineTo(0.0, 0.8052631578947369).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.0546875) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.5625, -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.0, 0.0).threePointArc((0.1640625, 0.1640625), (0.0, 0.328125)).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(-0.140625) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.5625, -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.0, 0.328125).threePointArc((-0.1640625, 0.1640625), (0.0, 0.0)).close() solid2=wp_sketch2.add(loop2).extrude(-0.140625) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0546875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop3=wp_sketch3.moveTo(0.045394736842105265, 0.0).lineTo(0.045394736842105265, 0.1796875).lineTo(0.0, 0.1796875).lineTo(0.0, 0.0).close() solid3=wp_sketch3.add(loop3).extrude(0.3125) solid=solid.union(solid3) # Generating a workplane for sketch 4 wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.703125, 0.0, 0.0546875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop4=wp_sketch4.moveTo(0.045394736842105265, 0.0).lineTo(0.045394736842105265, 0.1796875).lineTo(0.0, 0.1796875).lineTo(0.0, 0.0).close() solid4=wp_sketch4.add(loop4).extrude(0.3125) solid=solid.union(solid4) # Generating a workplane for sketch 5 wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.265625, 0.0546875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop5=wp_sketch5.moveTo(0.04753289473684211, 0.0).lineTo(0.04753289473684211, 0.265625).lineTo(0.0, 0.265625).lineTo(0.0, 0.0).close() solid5=wp_sketch5.add(loop5).extrude(0.3125) solid=solid.union(solid5) # Generating a workplane for sketch 6 wp_sketch6 = cq.Workplane(cq.Plane(cq.Vector(-0.703125, -0.265625, 0.0546875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop6=wp_sketch6.moveTo(0.04753289473684211, 0.0).lineTo(0.04753289473684211, 0.265625).lineTo(0.0, 0.265625).lineTo(0.0, 0.0).close() solid6=wp_sketch6.add(loop6).extrude(0.3125) solid=solid.union(solid6)
2,264
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00015367
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.7109375, 0.0).lineTo(0.7109375, 0.7109375).lineTo(0.0, 0.7109375).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
857
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00013925
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.03355263157894737, 0.0).lineTo(0.03355263157894737, 0.1875).lineTo(0.0, 0.1875).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.02960526315789474, 0.003947368421052632).lineTo(0.02960526315789474, 0.18355263157894738).lineTo(0.003947368421052632, 0.18355263157894738).lineTo(0.003947368421052632, 0.003947368421052632).close() solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75) solid=solid0
1,122
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00014938
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.671875, 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.6789473684210526, 0.0).circle(0.6789473684210526) loop1=wp_sketch0.moveTo(0.6789473684210526, 0.0).circle(0.6365131578947368) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75) solid=solid0
899
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00014086
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.3671875, -0.4140625), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((1.1231197823643058, 0.41747532894736844), (0.0, 0.8349506578947369)).threePointArc((-0.003336817153684096, 0.8038825782652633), (0.023519736842105263, 0.7879111842105263)).lineTo(0.11759868421052631, 0.7879111842105263).threePointArc((0.8106354244165546, 0.41747532894736844), (0.11759868421052631, 0.04703947368421053)).lineTo(0.023519736842105263, 0.04703947368421053).threePointArc((-0.003336817153684096, 0.031068079629473545), (0.0, 0.0)).close() loop1=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.5703536184210526, -0.4292351973684211), (0.9995888157894737, 0.1411184210526316)).lineTo(0.9995888157894737, 0.6938322368421053).threePointArc((0.9290296052631579, 0.764391447368421), (0.8584703947368422, 0.6938322368421053)).lineTo(0.8584703947368422, 0.1411184210526316).close() solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.03125) solid=solid0
1,539
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00013931
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.2890625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(1.15625, 0.0).lineTo(1.15625, 0.23124999999999998).lineTo(0.0, 0.23124999999999998).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.0390625) solid=solid0
957
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00014904
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.3203125) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.3203125, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.75, 0.0).lineTo(0.75, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close() loop2=wp_sketch1.moveTo(0.37894736842105264, 0.40263157894736845).circle(0.24473684210526317) solid1=wp_sketch1.add(loop1).add(loop2).extrude(-0.015625) solid=solid.cut(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.59375, -0.3203125, 0.3984375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop3=wp_sketch2.moveTo(0.22499999999999998, 0.0).circle(0.22499999999999998) solid2=wp_sketch2.add(loop3).extrude(-0.0234375) solid=solid.cut(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.546875, -0.3203125, 0.3984375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop4=wp_sketch3.moveTo(0.17763157894736842, 0.0).circle(0.17763157894736842) solid3=wp_sketch3.add(loop4).extrude(-0.1953125) solid=solid.cut(solid3) # Generating a workplane for sketch 4 wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.3984375, -0.125, 0.3984375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop5=wp_sketch4.moveTo(0.027631578947368417, 0.0).circle(0.027631578947368417) solid4=wp_sketch4.add(loop5).extrude(0.0703125) solid=solid.union(solid4)
2,103
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00016875
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.3046875, -0.5078125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(1.0546875, 0.0).lineTo(1.0546875, 1.0546875).lineTo(0.0, 1.0546875).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.5328947368421053, 0.5217927631578947).circle(0.31085526315789475) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.421875) solid=solid0
952
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00014247
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.75, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.7578947368421053, 0.0).lineTo(1.5, 0.0).lineTo(1.5, 0.1736842105263158).threePointArc((0.75, 0.2708634333168392), (0.0, 0.1736842105263158)).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75, both=True) solid=solid0
977
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00016450
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.75, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(1.4210526315789473, 0.07894736842105263).lineTo(1.4210526315789473, 1.4210526315789473).lineTo(0.07894736842105263, 1.4210526315789473).lineTo(0.07894736842105263, 0.07894736842105263).close() solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.1484375) solid=solid0
1,029
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017028
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0859375, 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.08684210526315789, 0.0).circle(0.08684210526315789) solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
911
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00011471
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.546875, 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.0894736842105264).lineTo(0.0, 1.0894736842105264).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.0859375) solid=solid0
874
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00018455
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5078125, 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(0.38782894736842105, 0.0).lineTo(0.38782894736842105, 0.0861842105263158).lineTo(0.0861842105263158, 0.0861842105263158).lineTo(0.0861842105263158, 0.19391447368421053).lineTo(0.9372532894736842, 0.19391447368421053).lineTo(0.9372532894736842, 0.0861842105263158).lineTo(0.635608552631579, 0.0861842105263158).lineTo(0.635608552631579, 0.0).lineTo(1.0234375, 0.0).lineTo(1.0234375, 0.2800986842105263).lineTo(0.0, 0.2800986842105263).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
1,266
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00019987
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/00013299
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.03125), 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.07894736842105263, -0.031578947368421054).lineTo(0.7578947368421053, -0.031578947368421054).lineTo(1.4210526315789473, -0.031578947368421054).lineTo(1.5, 0.0).lineTo(1.3263157894736843, 0.4263157894736842).lineTo(0.1736842105263158, 0.4263157894736842).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.2265625, both=True) solid=solid0
1,112
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00012811
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.4140625, 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.42236842105263156, 0.0).circle(0.42236842105263156) loop1=wp_sketch0.moveTo(0.42236842105263156, 0.0).circle(0.1231907894736842) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.34375) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.125, 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.12631578947368421, 0.0).circle(0.12631578947368421) loop3=wp_sketch1.moveTo(0.12631578947368421, 0.0).circle(0.03684210526315789) solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.34375) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = 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))) loop4=wp_sketch2.moveTo(0.039473684210526314, 0.0).circle(0.039473684210526314) solid2=wp_sketch2.add(loop4).extrude(0.34375) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.125, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop5=wp_sketch3.moveTo(0.12631578947368421, 0.0).circle(0.12631578947368421) loop6=wp_sketch3.moveTo(0.12631578947368421, 0.0).circle(0.03684210526315789) solid3=wp_sketch3.add(loop5).add(loop6).extrude(-0.71875) solid=solid.union(solid3) # Generating a workplane for sketch 4 wp_sketch4 = 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))) loop7=wp_sketch4.moveTo(0.039473684210526314, 0.0).circle(0.039473684210526314) solid4=wp_sketch4.add(loop7).extrude(-0.71875) solid=solid.union(solid4) # Generating a workplane for sketch 5 wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(-0.0390625, 0.0, 0.34375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop8=wp_sketch5.moveTo(0.039473684210526314, 0.0).circle(0.039473684210526314) solid5=wp_sketch5.add(loop8).extrude(0.40625) solid=solid.union(solid5) # Generating a workplane for sketch 6 wp_sketch6 = cq.Workplane(cq.Plane(cq.Vector(-0.078125, 0.0, 0.34375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop9=wp_sketch6.moveTo(0.07500000000000001, 0.0).circle(0.07500000000000001) loop10=wp_sketch6.moveTo(0.07500000000000001, 0.0).circle(0.037500000000000006) solid6=wp_sketch6.add(loop9).add(loop10).extrude(0.046875) solid=solid.union(solid6)
2,274
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00015818
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.328125, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.33157894736842103, 0.0).circle(0.33157894736842103) loop1=wp_sketch0.moveTo(0.33157894736842103, 0.0).circle(0.23486842105263156) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75) solid=solid0
903
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00015987
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(0.0, 0.0).threePointArc((0.023123148853693615, -0.05582421956735902), (0.07894736842105263, -0.07894736842105263)).lineTo(1.4210526315789473, -0.07894736842105263).threePointArc((1.4768768511463064, -0.05582421956735902), (1.5, 0.0)).lineTo(1.5, 0.7578947368421053).threePointArc((1.4736067440749399, 0.8058242195673591), (1.4210526315789473, 0.8210526315789474)).lineTo(0.07894736842105263, 0.8210526315789474).threePointArc((0.026393255925060245, 0.8058242195673591), (0.0, 0.7578947368421053)).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.296875) solid=solid0
1,228
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00016256
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0390625, -0.0234375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.0036852518485574115, -0.008896984993547841), (0.012582236842105264, -0.012582236842105264)).lineTo(0.057730263157894736, -0.012582236842105264).threePointArc((0.0666272481514426, -0.008896984993547841), (0.0703125, 0.0)).lineTo(0.0703125, 0.04514802631578947).threePointArc((0.0666272481514426, 0.05404501130933733), (0.057730263157894736, 0.057730263157894736)).lineTo(0.012582236842105264, 0.057730263157894736).threePointArc((0.0036852518485574115, 0.05404501130933733), (0.0, 0.04514802631578947)).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.005064828269290188, -0.0055663928882846835), (0.012582236842105264, -0.0059210526315789476)).lineTo(0.057730263157894736, -0.0059210526315789476).threePointArc((0.06228714541492034, -0.004340102736522229), (0.06439144736842105, 0.0)).lineTo(0.06439144736842105, 0.04514802631578947).threePointArc((0.06244043168389065, 0.049858194841785386), (0.057730263157894736, 0.05180921052631579)).lineTo(0.012582236842105264, 0.05180921052631579).threePointArc((0.00787206831610935, 0.049858194841785386), (0.0059210526315789476, 0.04514802631578947)).lineTo(0.0059210526315789476, 0.0).close() solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75) solid=solid0
1,808
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017148
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.421875, 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.9140625, 0.0).lineTo(0.9140625, 0.15394736842105264).lineTo(0.7601151315789474, 0.15394736842105264).threePointArc((0.7024357402085906, 0.18018502199827935), (0.6831414473684211, 0.24054276315789475)).lineTo(0.6831414473684211, 0.6157894736842106).lineTo(0.23092105263157897, 0.6157894736842106).lineTo(0.23092105263157897, 0.22129934210526317).threePointArc((0.2059015137575414, 0.17223215157032865), (0.15394736842105264, 0.15394736842105264)).lineTo(0.0, 0.15394736842105264).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.453125) solid=solid0
1,304
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00013448
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.6953125, 0.0).lineTo(0.6953125, 0.4171875).lineTo(0.0, 0.4171875).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.078125) solid=solid0
862
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00010155
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.6789473684210526) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.6015625) solid=solid0
900
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00016242
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.7109375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.609375, 0.0).lineTo(0.609375, 0.20526315789473684).threePointArc((0.33618190917238544, 0.3177704688502639), (0.2886513157894737, 0.609375)).lineTo(0.0, 0.609375).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.3046875) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.4609375, 0.0, -0.1015625), 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.3207236842105263, 0.0).lineTo(0.3207236842105263, -0.4009046052631579).threePointArc((0.5193277765779982, 0.08672044494660905), (0.0, 0.0)).close() solid1=wp_sketch1.add(loop1).extrude(0.3046875) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.4609375, 0.0, -0.1015625), 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.04693360264893092, -0.29267361009710446), (0.3207236842105263, -0.40625)).lineTo(0.3207236842105263, 0.0).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(0.3046875) solid=solid.union(solid2)
1,725
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00010633
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.2734375, 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.5526315789473685).lineTo(0.0, 0.5526315789473685).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.7578947368421053, 0.26842105263157895).circle(0.12631578947368421) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.4140625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = 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))) loop2=wp_sketch1.moveTo(0.13421052631578947, 0.0).circle(0.13421052631578947) solid1=wp_sketch1.add(loop2).extrude(-0.0859375) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.2734375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop3=wp_sketch2.moveTo(1.5, 0.0).lineTo(1.5, 0.5526315789473685).lineTo(0.0, 0.5526315789473685).lineTo(0.0, 0.0).close() loop4=wp_sketch2.moveTo(0.7578947368421053, 0.26842105263157895).circle(0.12631578947368421) solid2=wp_sketch2.add(loop3).add(loop4).extrude(-0.0859375) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.5546875, 0.4140625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop5=wp_sketch3.moveTo(0.3, 0.0).lineTo(1.1526315789473685, 0.0).lineTo(1.5, 0.0).lineTo(1.5, 0.28421052631578947).lineTo(0.0, 0.28421052631578947).lineTo(0.0, 0.0).close() solid3=wp_sketch3.add(loop5).extrude(-0.1015625) solid=solid.union(solid3) # Generating a workplane for sketch 4 wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.2734375, 0.4140625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop6=wp_sketch4.moveTo(1.5, 0.0).lineTo(1.5, 0.28421052631578947).lineTo(1.1526315789473685, 0.28421052631578947).lineTo(0.3, 0.28421052631578947).lineTo(0.0, 0.28421052631578947).lineTo(0.0, 0.0).close() solid4=wp_sketch4.add(loop6).extrude(-0.1015625) solid=solid.union(solid4)
2,038
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017174
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0859375, 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.6640625, 0.0).lineTo(0.6640625, 0.3355263157894737).lineTo(0.0, 0.3355263157894737).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.203125, -0.4375, 0.328125), 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.43749999999999994).lineTo(0.0, 0.43749999999999994).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(-0.109375) solid=solid.cut(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.2578125, -0.21875, 0.21875), 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.4765625, -0.21875, 0.21875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop3=wp_sketch3.moveTo(0.055263157894736833, 0.0).circle(0.05411184210526315) solid3=wp_sketch3.add(loop3).extrude(-0.546875) solid=solid.cut(solid3)
1,629
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00015763
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.234375, -0.140625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.46875, 0.0).lineTo(0.46875, 0.06414473684210525).lineTo(0.375, 0.06414473684210525).lineTo(0.375, 0.1381578947368421).threePointArc((0.3492275334565468, 0.2196196677930086), (0.28125, 0.2713815789473684)).lineTo(0.28125, 0.29605263157894735).lineTo(0.1875, 0.29605263157894735).lineTo(0.1875, 0.2713815789473684).threePointArc((0.11952246654345318, 0.2196196677930086), (0.09375, 0.1381578947368421)).lineTo(0.09375, 0.06414473684210525).lineTo(0.0, 0.06414473684210525).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.23684210526315788, 0.1381578947368421).circle(0.10855263157894736) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75) solid=solid0
1,294
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017606
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.234375, -0.75, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.6393092105263157, 0.0).lineTo(0.6393092105263157, 1.3203125).lineTo(0.0, 1.3203125).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.0546875) solid=solid0
886
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00014496
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.4921875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 0.9789473684210527).lineTo(0.0, 0.9789473684210527).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.6631578947368422, 0.4736842105263158).lineTo(0.6631578947368422, 0.9).lineTo(0.1105263157894737, 0.9).lineTo(0.1105263157894737, 0.4736842105263158).close() loop2=wp_sketch0.moveTo(0.6789473684210526, 0.06315789473684211).lineTo(0.6789473684210526, 0.4105263157894737).lineTo(0.1105263157894737, 0.4105263157894737).lineTo(0.1105263157894737, 0.06315789473684211).close() loop3=wp_sketch0.moveTo(1.0421052631578949, 0.04736842105263158).lineTo(1.0421052631578949, 0.9).lineTo(0.8210526315789474, 0.9).lineTo(0.8210526315789474, 0.04736842105263158).close() loop4=wp_sketch0.moveTo(1.2947368421052632, 0.5210526315789474).circle(0.14210526315789473) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).extrude(0.3671875) solid=solid0
1,525
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00019824
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5234375, -0.21875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.10930601572269914, -0.01828512516693673), (0.20106907894736842, -0.08042763157894736)).threePointArc((0.5227796052631579, -0.2183337096335889), (0.8444901315789474, -0.08042763157894736)).threePointArc((0.9362531948036167, -0.01828512516693673), (1.0455592105263158, 0.0)).threePointArc((1.2750315652294881, 0.22117598684210527), (1.0455592105263158, 0.44235197368421053)).threePointArc((0.9362531948036167, 0.46063709885114745), (0.8444901315789474, 0.5227796052631579)).threePointArc((0.5227796052631579, 0.6606856833177994), (0.20106907894736842, 0.5227796052631579)).threePointArc((0.10930601572269914, 0.46063709885114745), (0.0, 0.44235197368421053)).threePointArc((-0.22947235470317232, 0.22117598684210527), (0.0, 0.0)).close() loop1=wp_sketch0.moveTo(-0.013404605263157895, 0.21447368421052632).circle(0.09383223684210526) loop2=wp_sketch0.moveTo(0.5227796052631579, 0.21447368421052632).circle(0.3083059210526316) loop3=wp_sketch0.moveTo(1.0589638157894736, 0.21447368421052632).circle(0.09383223684210526) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).extrude(0.046875) solid=solid0
1,680
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00019401
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/00012232
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5703125, 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.5138157894736842, 0.0).lineTo(0.5138157894736842, 0.12302631578947368).lineTo(0.17368421052631577, 0.12302631578947368).lineTo(0.49934210526315786, 0.593421052631579).lineTo(0.49934210526315786, 0.6875).lineTo(0.007236842105263158, 0.6875).lineTo(0.007236842105263158, 0.5644736842105263).lineTo(0.33289473684210524, 0.5644736842105263).lineTo(0.0, 0.09407894736842105).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.1015625) solid=solid0
1,142
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00015549
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.0703125, 0.0).lineTo(0.0703125, 0.011101973684210526).lineTo(0.0, 0.011101973684210526).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/00013676
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.49736842105263157).lineTo(0.0, 0.49736842105263157).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.453125) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.1796875, -0.453125, 0.1953125), 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.11052631578947367, 0.0).circle(0.11052631578947367) solid1=wp_sketch1.add(loop1).extrude(-0.8984375) solid=solid.cut(solid1)
1,222
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00012568
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) solid0=wp_sketch0.add(loop0).extrude(0.03125) solid=solid0
835
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00018045
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0234375, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.02368421052631579, 0.0).circle(0.02368421052631579) solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
839
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017362
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5, 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(1.015625, 0.0).lineTo(1.015625, 0.16036184210526316).lineTo(0.0, 0.16036184210526316).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.25, -0.75, 0.0859375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.2694078947368421, 0.0).lineTo(0.2694078947368421, 0.28125).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(-0.5390625) solid=solid.cut(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.25, 0.0, 0.0859375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch2.moveTo(0.2694078947368421, -0.28125).lineTo(0.2694078947368421, 0.0).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(-0.5390625) solid=solid.cut(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.5, -0.75, 0.0859375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop3=wp_sketch3.moveTo(0.2131578947368421, 0.0).lineTo(0.2131578947368421, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close() solid3=wp_sketch3.add(loop3).extrude(0.2109375) solid=solid.union(solid3)
1,620
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00013104
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5859375, 0.0, -0.1484375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.576891447368421, 0.0).lineTo(0.576891447368421, 0.8984375).lineTo(0.0, 0.8984375).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.203125) solid=solid0
961
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00019429
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/00017404
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.4921875, 0.0, -0.2890625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(1.2421875, 0.0).lineTo(1.2421875, 0.7453125).lineTo(0.0, 0.7453125).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.7421875) solid=solid0
946
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00016097
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.234375, 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.04736842105263158, 0.04736842105263158).lineTo(0.04736842105263158, 1.4526315789473685).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.0546875, both=True) solid=solid0
983
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00016928
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.03125, -0.75, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.06315789473684211, 0.031578947368421054).lineTo(0.06315789473684211, 1.5).lineTo(0.0, 1.468421052631579).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.1171875) solid=solid0
906
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00011921
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.75, -0.1875), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.02368421052631579, 0.0).threePointArc((0.006082447208633637, 0.09302246424574433), (0.0, 0.1875)).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.078125, both=True) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.7265625, -0.1875), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.02368421052631579, 0.0).lineTo(0.02368421052631579, 0.1875).threePointArc((0.017601763317682265, 0.09302246424574433), (0.0, 0.0)).close() solid1=wp_sketch1.add(loop1).extrude(0.078125, both=True) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.75, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop2=wp_sketch2.moveTo(0.0, 0.0).threePointArc((0.006082447208633637, -0.0944775357542557), (0.02368421052631579, -0.1875)).lineTo(0.049342105263157895, -0.1875).threePointArc((0.07487176745239026, -0.17610774091057474), (0.08486842105263158, -0.15)).lineTo(0.08486842105263158, 0.0).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(0.078125, both=True) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.6640625, -0.15625), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop3=wp_sketch3.moveTo(0.0, 0.0).threePointArc((0.011079842159061494, -0.026749105209359532), (0.03782894736842105, -0.03782894736842105)).lineTo(0.06414473684210525, -0.03782894736842105).threePointArc((0.08244201447749015, 0.0584526765717731), (0.08881578947368421, 0.15625)).lineTo(0.0, 0.15625).lineTo(0.0, 0.0).close() solid3=wp_sketch3.add(loop3).extrude(0.078125, both=True) solid=solid.union(solid3) # Generating a workplane for sketch 4 wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.6640625), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop4=wp_sketch4.moveTo(0.0, 0.0).threePointArc((0.46892344436581573, -0.1942344503710264), (0.6631578947368422, -0.6631578947368422)).lineTo(0.75, -0.6631578947368422).threePointArc((0.5303300858899109, -0.13282780884693143), (0.0, 0.0868421052631579)).lineTo(0.0, 0.0).close() solid4=wp_sketch4.add(loop4).extrude(0.078125, both=True) solid=solid.union(solid4) # Generating a workplane for sketch 5 wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.75, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop5=wp_sketch5.moveTo(0.0868421052631579, 0.0).threePointArc((0.2810765556341843, 0.46892344436581573), (0.75, 0.6631578947368422)).lineTo(0.75, 0.75).threePointArc((0.21966991411008935, 0.5303300858899109), (0.0, 0.0)).close() solid5=wp_sketch5.add(loop5).extrude(0.078125, both=True) solid=solid.union(solid5)
2,944
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017388
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.25, 0.0, -0.1875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.07894736842105263).lineTo(0.25263157894736843, 0.26842105263157895).lineTo(0.25263157894736843, 0.3631578947368421).lineTo(0.25263157894736843, 0.37105263157894736).lineTo(0.0, 0.37105263157894736).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
1,074
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00013105
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.421875, 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.328125, 0.0).lineTo(0.328125, 0.2175986842105263).lineTo(0.0, 0.2175986842105263).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.044901315789473685, 0.10361842105263158).circle(0.01726973684210526) loop2=wp_sketch0.moveTo(0.044901315789473685, 0.15888157894736843).circle(0.01726973684210526) loop3=wp_sketch0.moveTo(0.044901315789473685, 0.05180921052631579).circle(0.01726973684210526) loop4=wp_sketch0.moveTo(0.18996710526315788, 0.048355263157894735).circle(0.01381578947368421) loop5=wp_sketch0.moveTo(0.18996710526315788, 0.15888157894736843).circle(0.01381578947368421) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).add(loop5).extrude(0.0078125) solid=solid0
1,370
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00015574
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.75) solid=solid0
832
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00014130
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.109375, -0.6953125), 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.05152138157894737, -0.050892967119192715), (0.10304276315789473, 0.0)).lineTo(0.10304276315789473, 1.3395559210526315).threePointArc((0.05152138157894737, 1.391077302631579), (0.0, 1.3395559210526315)).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.0234375) solid=solid0
1,064
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00011048
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.5859375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(1.4526315789473685, 0.0).lineTo(1.4526315789473685, 0.06315789473684211).lineTo(1.5, 0.1105263157894737).lineTo(1.5, 0.8368421052631579).lineTo(1.4526315789473685, 0.9).lineTo(1.4526315789473685, 1.168421052631579).lineTo(0.0, 1.168421052631579).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(1.4526315789473685, 0.15789473684210525).circle(0.031578947368421054) loop2=wp_sketch0.moveTo(1.4526315789473685, 0.7736842105263159).circle(0.031578947368421054) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.0390625) solid=solid0
1,188
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00012233
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.7421875, 0.46875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.59375, 0.0).lineTo(0.59375, 0.275).lineTo(0.0, 0.275).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.2421875) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.7421875, 0.46875, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.59375, 0.0).lineTo(0.59375, 0.15625).lineTo(0.0, 0.15625).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.15625) solid=solid.union(solid1)
1,146
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00018078
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, -0.46875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.6640625, 0.0).lineTo(0.6640625, 0.4683388157894737).lineTo(0.0, 0.4683388157894737).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
951
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017834
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/00017607
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/00013307
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6484375, -0.3046875, 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.04027281758684964, -0.09722718241315037), (0.1375, -0.1375)).lineTo(1.05, -0.1375).threePointArc((1.1472271824131504, -0.09722718241315037), (1.1875, 0.0)).lineTo(1.1875, 0.925).threePointArc((1.1446383476483184, 1.0159771824131505), (1.05, 1.05)).lineTo(0.1375, 1.05).threePointArc((0.04286165235168156, 1.0159771824131505), (0.0, 0.925)).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.3375, 0.0125).lineTo(0.8500000000000001, 0.0125).lineTo(1.1125, 0.4625).lineTo(0.8500000000000001, 0.9).lineTo(0.3375, 0.9).lineTo(0.07500000000000001, 0.4625).close() solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.1171875) solid=solid0
1,264
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00015762
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.234375, -0.140625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.46875, 0.0).lineTo(0.46875, 0.06414473684210525).lineTo(0.375, 0.06414473684210525).lineTo(0.375, 0.1381578947368421).threePointArc((0.3492275334565468, 0.2196196677930086), (0.28125, 0.2713815789473684)).lineTo(0.28125, 0.29605263157894735).lineTo(0.1875, 0.29605263157894735).lineTo(0.1875, 0.2713815789473684).threePointArc((0.11952246654345318, 0.2196196677930086), (0.09375, 0.1381578947368421)).lineTo(0.09375, 0.06414473684210525).lineTo(0.0, 0.06414473684210525).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.23684210526315788, 0.1381578947368421).circle(0.10855263157894736) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75) solid=solid0
1,294
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00013313
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5390625, -0.5390625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(1.0703125, 0.0).lineTo(1.0703125, 1.0703125).lineTo(0.0, 1.0703125).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.9689144736842106, 0.11266447368421054).lineTo(0.9689144736842106, 0.9689144736842106).lineTo(0.11266447368421054, 0.9689144736842106).lineTo(0.11266447368421054, 0.11266447368421054).close() solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.2109375) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.5390625, -0.5390625, 0.2109375), 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.31546052631578947, 0.0).lineTo(0.5407894736842105, 0.21406250000000002).lineTo(0.7435855263157894, 0.0).lineTo(1.0703125, 0.0).lineTo(0.5407894736842105, 0.5407894736842105).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop2).extrude(-1.0) solid=solid.union(solid1)
1,459
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00012025
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6640625, -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.4140625, 0.0).lineTo(1.4140625, 0.9377467105263158).lineTo(0.0, 0.9377467105263158).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(1.369407894736842, 0.13396381578947367).lineTo(1.369407894736842, 0.9079769736842105).lineTo(0.04465460526315789, 0.9079769736842105).lineTo(0.04465460526315789, 0.13396381578947367).close() solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0078125) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.625, -0.34375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch1.moveTo(1.3359375, 0.0).lineTo(1.3359375, 0.7734375).lineTo(0.0, 0.7734375).lineTo(0.0, 0.0).close() loop3=wp_sketch1.moveTo(1.3078125, 0.028125).lineTo(1.3078125, 0.759375).lineTo(0.028125, 0.759375).lineTo(0.028125, 0.028125).close() solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.0078125) solid=solid.union(solid1)
1,404
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017149
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.2890625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.9765625000000001, 0.0).lineTo(0.9765625000000001, 0.08223684210526316).lineTo(0.7504111842105263, 0.08223684210526316).lineTo(0.7504111842105263, 0.2878289473684211).lineTo(0.6681743421052632, 0.2878289473684211).threePointArc((0.47800164473684215, 0.09530804199324378), (0.2878289473684211, 0.2878289473684211)).lineTo(0.2055921052631579, 0.2878289473684211).lineTo(0.2055921052631579, 0.08223684210526316).lineTo(0.0, 0.08223684210526316).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.3671875) solid=solid0
1,277
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00015986
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.0234375, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.027631578947368417, 0.0).circle(0.027631578947368417) solid0=wp_sketch0.add(loop0).extrude(0.75, both=True) solid=solid0
899
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00015038
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.2125, 0.0).lineTo(0.2125, 0.14259868421052632).lineTo(0.0, 0.265625).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
860
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00018483
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).lineTo(0.9609375, 0.0).lineTo(0.9609375, 0.05057565789473684).lineTo(0.5057565789473685, 0.05057565789473684).lineTo(0.5057565789473685, 0.4855263157894737).lineTo(0.4855263157894737, 0.4855263157894737).lineTo(0.4551809210526316, 0.4855263157894737).lineTo(0.4551809210526316, 0.05057565789473684).lineTo(0.0, 0.05057565789473684).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.0546875) 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/00018497
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.265625, 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.5210526315789474).lineTo(0.0, 0.5210526315789474).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.2421875) solid=solid0
874
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00010785
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.0234375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(1.125, 0.0).lineTo(1.125, 0.04736842105263158).lineTo(0.0, 0.04736842105263158).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.7460526315789474, 0.02368421052631579).circle(0.011842105263157895) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.015625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.71875, 0.0234375, -0.0078125), 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.03125, 0.0).lineTo(0.03125, 0.010526315789473684).lineTo(0.0, 0.010526315789473684).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop2).extrude(0.0078125) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.71875, 0.0234375, 0.0), cq.Vector(-1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, 1.0, 6.123233995736766e-17))) loop3=wp_sketch2.moveTo(0.03125, 0.0).lineTo(0.03125, 0.020723684210526314).lineTo(0.0, 0.020723684210526314).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop3).extrude(0.0078125) solid=solid.union(solid2)
1,595
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0001/00017940
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.3125, 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.3118421052631579, 0.0).circle(0.30534539473684214) 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/00014246
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.6484375, 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.053227695260811385, -0.0572986205286623), (0.1105263157894737, -0.1105263157894737)).lineTo(1.3894736842105264, -0.1105263157894737).threePointArc((1.4467723047391887, -0.0572986205286623), (1.5, 0.0)).lineTo(1.5, 1.2947368421052632).threePointArc((1.4464815243629134, 1.3441407257918203), (1.3894736842105264, 1.3894736842105264)).lineTo(0.1105263157894737, 1.3894736842105264).threePointArc((0.05351847563708652, 1.3441407257918203), (0.0, 1.2947368421052632)).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.75, -0.140625, 0.25), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.14210526315789473, 0.0).circle(0.14210526315789473) solid1=wp_sketch1.add(loop1).extrude(-0.5) solid=solid.cut(solid1)
1,465
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false