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
0000/00006371
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.015625, -0.0078125, 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.0007948582418457166, -0.0019189575476279677), (0.0027138157894736844, -0.0027138157894736844)).lineTo(0.021217105263157895, -0.0027138157894736844).threePointArc((0.022787161438489866, -0.00206347722796355), (0.0234375, -0.000493421052631579)).lineTo(0.0234375, 0.018256578947368422).threePointArc((0.02283825686147997, 0.019949990385858287), (0.021217105263157895, 0.020723684210526318)).lineTo(0.0022203947368421052, 0.020723684210526318).threePointArc((0.0005992431385200307, 0.019949990385858287), (0.0, 0.018256578947368422)).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
1,292
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00001378
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.1953125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.17730263157894738, 0.0).lineTo(0.17730263157894738, 0.38281250000000006).lineTo(0.0, 0.38281250000000006).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.1796875, -0.109375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.3782072368421052, 0.0).lineTo(0.5703125, 0.1140625).lineTo(0.3782072368421052, 0.22212171052631577).lineTo(0.0, 0.22212171052631577).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.1796875) solid=solid.union(solid1)
1,195
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00000714
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1015625, 0.0, -0.046875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.0019490941863378162, -0.04433658679437616), (0.03355263157894737, -0.07549342105263158)).threePointArc((0.09646381578947369, -0.08720656501962193), (0.159375, -0.07549342105263158)).threePointArc((0.19097853739260956, -0.044336586794376284), (0.19292763157894738, 0.0)).lineTo(0.14259868421052632, 0.18453947368421053).lineTo(0.14259868421052632, 0.796875).lineTo(0.10904605263157895, 0.796875).lineTo(0.10904605263157895, 0.7381578947368421).lineTo(0.08388157894736842, 0.7381578947368421).lineTo(0.08388157894736842, 0.796875).lineTo(0.0587171052631579, 0.796875).lineTo(0.0587171052631579, 0.18453947368421053).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.0725867756556451, -0.03002210922402418), (0.15098684210526317, -0.025164473684210528)).lineTo(0.10904605263157895, 0.10904605263157895).lineTo(0.08388157894736842, 0.10904605263157895).lineTo(0.04194078947368421, -0.025164473684210528).close() solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0234375) solid=solid0
1,691
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00000927
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.296875, 0.0).lineTo(0.296875, 0.296875).lineTo(0.0, 0.296875).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
925
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00009526
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, -0.3515625), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.19736842105263158, 0.0).lineTo(0.2368421052631579, 0.0).lineTo(0.35526315789473684, 0.0).lineTo(0.39473684210526316, 0.0).lineTo(0.5131578947368421, 0.0).lineTo(0.5526315789473685, 0.0).lineTo(0.75, 0.0).lineTo(0.75, 0.35526315789473684).lineTo(0.5131578947368421, 0.35526315789473684).lineTo(0.2368421052631579, 0.35526315789473684).lineTo(0.0, 0.35526315789473684).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.125, both=True) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.234375, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.28125, 0.0).lineTo(0.28125, 0.12434210526315789).lineTo(0.0, 0.12434210526315789).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.0625, both=True) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.203125, -0.6484375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop2=wp_sketch2.moveTo(0.037500000000000006, 0.0).lineTo(0.037500000000000006, 0.296875).lineTo(0.0, 0.296875).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(0.015625, both=True) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.359375, -0.6484375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop3=wp_sketch3.moveTo(0.037500000000000006, 0.0).lineTo(0.037500000000000006, 0.296875).lineTo(0.0, 0.296875).lineTo(0.0, 0.0).close() solid3=wp_sketch3.add(loop3).extrude(0.015625, both=True) solid=solid.union(solid3) # Generating a workplane for sketch 4 wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.515625, -0.6484375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop4=wp_sketch4.moveTo(0.037500000000000006, 0.0).lineTo(0.037500000000000006, 0.296875).lineTo(0.0, 0.296875).lineTo(0.0, 0.0).close() solid4=wp_sketch4.add(loop4).extrude(0.015625, both=True) solid=solid.union(solid4)
2,379
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00006629
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.0390625, -0.15625), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.0352796052631579, 0.0).threePointArc((0.03754746418308187, 0.0009393779221812848), (0.03848684210526316, 0.003207236842105263)).lineTo(0.03848684210526316, 0.3014802631578947).threePointArc((0.03754746418308187, 0.3037481220778187), (0.0352796052631579, 0.3046875)).lineTo(0.0, 0.3046875).lineTo(0.0, 0.29827302631578945).lineTo(0.032072368421052634, 0.29827302631578945).lineTo(0.032072368421052634, 0.006414473684210526).lineTo(0.0, 0.006414473684210526).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75, both=True) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.75, 0.0, 0.125), cq.Vector(-1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, 1.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.011842105263157895, 0.0).circle(0.011842105263157895) solid1=wp_sketch1.add(loop1).extrude(-0.0234375) solid=solid.cut(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.75, 0.0, -0.125), cq.Vector(-1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, 1.0, 6.123233995736766e-17))) loop2=wp_sketch2.moveTo(0.011842105263157895, 0.0).circle(0.011842105263157895) solid2=wp_sketch2.add(loop2).extrude(-0.0234375) solid=solid.cut(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.7265625, 0.0, 0.125), 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.011842105263157895, 0.0).circle(0.011842105263157895) solid3=wp_sketch3.add(loop3).extrude(-0.0234375) solid=solid.cut(solid3) # Generating a workplane for sketch 4 wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.7265625, 0.0, -0.125), 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.011842105263157895, 0.0).circle(0.011842105263157895) solid4=wp_sketch4.add(loop4).extrude(-0.0234375) solid=solid.cut(solid4)
2,346
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00007523
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6640625, -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.3263157894736843, 0.0).lineTo(1.3263157894736843, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.0234375) solid=solid0
875
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00008994
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.6789473684210526, 0.0).lineTo(0.6789473684210526, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.0390625) solid=solid0
871
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00002507
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.3359375, -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.6631578947368422, 0.0).lineTo(0.6631578947368422, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.6157894736842106, 0.06315789473684211).lineTo(0.6157894736842106, 1.436842105263158).lineTo(0.06315789473684211, 1.436842105263158).lineTo(0.06315789473684211, 0.06315789473684211).close() solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0390625) solid=solid0
1,062
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00004610
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.7109375, 0.0, -0.296875), 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.4296875, 0.0).lineTo(1.4296875, 0.6019736842105263).lineTo(0.0, 0.6019736842105263).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(-0.0546875) solid=solid0
963
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00006007
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5, -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.9947368421052631, 0.0).lineTo(0.9947368421052631, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.7894736842105263, 0.2210526315789474).lineTo(0.7894736842105263, 1.2789473684210526).lineTo(0.2210526315789474, 1.2789473684210526).lineTo(0.2210526315789474, 0.2210526315789474).close() solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.21875) solid=solid0
1,052
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00006013
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.41842105263157897).lineTo(0.0, 0.41842105263157897).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.015625) solid=solid0
925
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00009308
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.375, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.18947368421052632, -0.3236842105263158).lineTo(0.5605263157894737, -0.3236842105263158).lineTo(0.75, 0.0).lineTo(0.5605263157894737, 0.3236842105263158).lineTo(0.18947368421052632, 0.3236842105263158).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.20526315789473684, -0.3).lineTo(0.5447368421052632, -0.3).lineTo(0.718421052631579, 0.0).lineTo(0.5447368421052632, 0.3).lineTo(0.20526315789473684, 0.3).lineTo(0.031578947368421054, 0.0).close() solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75) solid=solid0
1,164
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00003143
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.3046875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 0.06315789473684211).lineTo(1.405263157894737, 0.06315789473684211).threePointArc((1.3350039873425394, 0.09880041020337962), (1.3105263157894738, 0.1736842105263158)).lineTo(1.3105263157894738, 0.3157894736842105).lineTo(0.18947368421052632, 0.3157894736842105).lineTo(0.18947368421052632, 0.1736842105263158).threePointArc((0.1649960126574607, 0.09880041020337962), (0.09473684210526316, 0.06315789473684211)).lineTo(0.0, 0.06315789473684211).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.3359375) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.203125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.19802631578947366, -0.19802631578947366).lineTo(0.19802631578947366, 0.21874999999999997).lineTo(0.1796052631578947, 0.21874999999999997).lineTo(0.0, 0.03914473684210526).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.3359375) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.5546875, 0.0, 0.0078125), 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.19613486842105263, 0.19613486842105263).lineTo(0.19613486842105263, 0.23536184210526315).lineTo(0.017434210526315788, 0.41406249999999994).lineTo(0.0, 0.41406249999999994).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(0.3359375) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.5546875, 0.0, 0.0078125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop3=wp_sketch3.moveTo(1.109375, 0.0).lineTo(1.109375, 0.4087171052631579).lineTo(0.0, 0.4087171052631579).lineTo(0.0, 0.0).close() solid3=wp_sketch3.add(loop3).extrude(0.3359375) solid=solid.union(solid3)
2,395
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00003802
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.1484375) solid=solid0
837
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00009485
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.28125, 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.28421052631578947, 0.0).circle(0.28421052631578947) 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.109375, 0.0, 0.75), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.11052631578947367, 0.0).circle(0.11052631578947367) solid1=wp_sketch1.add(loop1).extrude(-0.328125) solid=solid.cut(solid1)
1,032
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00008228
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0078125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.0029605263157894738, 0.0).lineTo(0.0029605263157894738, 0.01644736842105263).lineTo(0.028289473684210524, 0.01644736842105263).lineTo(0.028289473684210524, 0.0).lineTo(0.03125, 0.0).lineTo(0.03125, 0.019407894736842103).lineTo(0.0, 0.019407894736842103).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(-0.75) solid=solid0
1,103
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00006577
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.515625, 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.0263157894736843).lineTo(0.0, 1.0263157894736843).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.3157894736842105, 0.26842105263157895).circle(0.04736842105263158) loop2=wp_sketch0.moveTo(0.3157894736842105, 0.7578947368421053).circle(0.04736842105263158) loop3=wp_sketch0.moveTo(1.1842105263157896, 0.26842105263157895).circle(0.04736842105263158) loop4=wp_sketch0.moveTo(1.1842105263157896, 0.7578947368421053).circle(0.04736842105263158) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).extrude(0.0859375) solid=solid0
1,192
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00002711
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0390625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.039473684210526314, 0.0).circle(0.039473684210526314) solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
841
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00002077
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.4578947368421053) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.375) solid=solid0
896
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00004406
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.7421052631578947) loop1=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.09473684210526316) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.3515625) solid=solid0
973
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00000660
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.453125) solid=solid0
836
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00006211
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0234375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.0008558886926831073, -0.009999895744201938), (0.003289473684210526, -0.019736842105263157)).lineTo(0.003289473684210526, -0.0390625).lineTo(0.005756578947368421, -0.0390625).lineTo(0.005756578947368421, -0.018914473684210526).threePointArc((0.0032974335618645503, -0.009598873110522415), (0.0024671052631578946, 0.0)).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.75, 0.0, 0.0234375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.0, 0.0).threePointArc((0.000643017198702741, -0.007925809014733722), (0.002631578947368421, -0.015625)).lineTo(0.002631578947368421, 0.0).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(-0.75) solid=solid.union(solid1)
1,486
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00008572
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.4296875, 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.868421052631579).threePointArc((1.4768768511463064, 0.924245272198938), (1.4210526315789473, 0.9473684210526316)).lineTo(0.07894736842105263, 0.9473684210526316).threePointArc((0.023123148853693615, 0.924245272198938), (0.0, 0.868421052631579)).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.234375) solid=solid0
1,228
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00004348
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.035526315789473684, 0.0).circle(0.034786184210526316) loop1=wp_sketch0.moveTo(0.035526315789473684, 0.0).circle(0.011842105263157895) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.015625, 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.011842105263157895, 0.0).circle(0.011842105263157895) solid1=wp_sketch1.add(loop2).extrude(0.75) solid=solid.union(solid1)
1,098
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00005042
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.375, -0.703125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.7549342105263157, 0.0).lineTo(0.7549342105263157, 1.40625).lineTo(0.0, 1.40625).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.3700657894736842, 0.7105263157894737).circle(0.11842105263157894) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75) solid=solid0
957
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00005724
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.7578947368421053) solid0=wp_sketch0.add(loop0).extrude(0.0234375) solid=solid0
909
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00009687
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.4296875, 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.8526315789473684).lineTo(0.0, 0.8526315789473684).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.0390625) solid=solid0
875
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00009877
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0390625, 0.03125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.024917763157894735, -0.024917763157894735).lineTo(0.7641447368421053, -0.024917763157894735).lineTo(0.7890625, 0.0).lineTo(0.7890625, 0.6146381578947369).lineTo(0.7641447368421053, 0.6395559210526316).lineTo(0.024917763157894735, 0.6395559210526316).lineTo(0.0, 0.6146381578947369).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.0078125) solid=solid0
1,066
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00009863
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.421875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 0.8368421052631579).lineTo(0.0, 0.8368421052631579).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.078125) solid=solid0
873
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00005081
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5, -0.6015625, 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.04583682527976966, -0.11065988524654614), (0.1564967105263158, -0.1564967105263158)).lineTo(0.8536184210526316, -0.1564967105263158).threePointArc((0.9571648194570725, -0.1077133825207835), (0.995888157894737, 0.0)).lineTo(0.995888157894737, 1.1950657894736842).threePointArc((0.9571648194570725, 1.3027791719944677), (0.8536184210526316, 1.3515625)).lineTo(0.1564967105263158, 1.3515625).threePointArc((0.04583682527976966, 1.3057256747202304), (0.0, 1.1950657894736842)).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.4979440789473685, 0.5975328947368421).circle(0.2560855263157895) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.15625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.34375, 0.0, 0.15625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch1.moveTo(0.34736842105263155, 0.0).circle(0.34736842105263155) loop3=wp_sketch1.moveTo(0.34736842105263155, 0.0).circle(0.24605263157894736) solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.140625) solid=solid.union(solid1)
1,573
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00000846
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.375, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.015789473684210527).lineTo(0.0, 0.015789473684210527).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(-0.75) solid=solid0
943
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00005916
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.5052631578947369, 0.0).circle(0.5052631578947369) solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.078125, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.1475328947368421, 0.0).lineTo(0.1475328947368421, 0.359375).lineTo(0.0, 0.359375).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(-1.0, both=True) solid=solid.cut(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.140625, 0.0, 0.1484375), 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.1381578947368421, 0.0).circle(0.1381578947368421) solid2=wp_sketch2.add(loop2).extrude(-0.2734375, both=True) solid=solid.cut(solid2)
1,393
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00007867
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.4736842105263158).circle(0.15789473684210525) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.1015625) solid=solid0
916
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00009679
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0546875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.5210526315789474, 0.0).circle(0.5210526315789474) loop1=wp_sketch0.moveTo(0.5101973684210527, 0.36907894736842106).circle(0.0868421052631579) loop2=wp_sketch0.moveTo(0.8901315789473685, 0.010855263157894738).circle(0.0868421052631579) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.0859375, both=True) solid=solid0
1,078
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00005725
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.046875, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.04736842105263158, 0.0).circle(0.04736842105263158) solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
910
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00007126
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.4736842105263158) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.09375) solid=solid0
970
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00005057
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.375, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.37894736842105264, 0.0).circle(0.37894736842105264) loop1=wp_sketch0.moveTo(0.37894736842105264, 0.0).circle(0.3157894736842105) 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.5, 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.5052631578947369, 0.0).circle(0.5052631578947369) loop3=wp_sketch1.moveTo(0.5052631578947369, 0.0).circle(0.37894736842105264) solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.625) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.625, -0.4140625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop4=wp_sketch2.moveTo(0.0, 0.0).threePointArc((0.625, -0.33406945996924503), (1.25, 0.0)).lineTo(1.25, 0.8289473684210525).threePointArc((0.625, 1.1630168283902975), (0.0, 0.8289473684210525)).lineTo(0.0, 0.0).close() loop5=wp_sketch2.moveTo(0.631578947368421, 0.42105263157894735).circle(0.5) solid2=wp_sketch2.add(loop4).add(loop5).extrude(0.25) solid=solid.union(solid2)
1,505
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00004349
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.015625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.011842105263157895, 0.0).circle(0.011842105263157895) solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
840
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00003803
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.0625) solid=solid0
941
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00001972
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0859375, 0.0, 0.2265625), 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.5103618421052631, 0.0).lineTo(0.5103618421052631, -0.2287828947368421).lineTo(0.5983552631578947, -0.2287828947368421).lineTo(0.5983552631578947, 0.0).lineTo(0.7215460526315789, -0.1231907894736842).lineTo(0.7215460526315789, -0.2287828947368421).lineTo(0.8359375, -0.2287828947368421).lineTo(0.8359375, -0.1231907894736842).lineTo(0.5983552631578947, 0.11439144736842105).lineTo(0.0, 0.11439144736842105).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.2578125) solid=solid0
1,245
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00009321
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5546875, 0.5234375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.08684210526315789, 0.0).circle(0.08684210526315789) solid0=wp_sketch0.add(loop0).extrude(0.03125) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.2109375, 0.5234375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.08684210526315789, 0.0).circle(0.08684210526315789) solid1=wp_sketch1.add(loop1).extrude(0.03125) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.171875, 0.546875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch2.moveTo(0.08684210526315789, 0.0).circle(0.08684210526315789) solid2=wp_sketch2.add(loop2).extrude(0.03125) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.5703125, 0.421875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop3=wp_sketch3.moveTo(0.203125, 0.0).lineTo(0.203125, 0.203125).lineTo(0.0, 0.203125).lineTo(0.0, 0.0).close() loop4=wp_sketch3.moveTo(0.10263157894736843, 0.10263157894736843).circle(0.08552631578947369) solid3=wp_sketch3.add(loop3).add(loop4).extrude(0.046875) solid=solid.union(solid3) # Generating a workplane for sketch 4 wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.21875, 0.3203125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop5=wp_sketch4.moveTo(0.20526315789473687, 0.0).lineTo(0.20526315789473687, 0.40625).lineTo(0.0, 0.40625).lineTo(0.0, 0.0).close() loop6=wp_sketch4.moveTo(0.10263157894736843, 0.20526315789473687).circle(0.08552631578947369) solid4=wp_sketch4.add(loop5).add(loop6).extrude(0.046875) solid=solid.union(solid4) # Generating a workplane for sketch 5 wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(0.0625, 0.34375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop7=wp_sketch5.moveTo(0.40625, 0.0).lineTo(0.40625, 0.40625).lineTo(0.0, 0.40625).lineTo(0.0, 0.0).close() loop8=wp_sketch5.moveTo(0.20526315789473687, 0.20526315789473687).circle(0.08552631578947369) solid5=wp_sketch5.add(loop7).add(loop8).extrude(0.046875) solid=solid.union(solid5)
2,160
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00002512
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.1875, 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.37894736842105264).lineTo(0.0, 0.37894736842105264).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.2890625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.0859375, 0.0, 0.2890625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.08289473684210526, 0.0).circle(0.08289473684210526) solid1=wp_sketch1.add(loop1).extrude(0.2890625) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.2578125, 0.0, 0.2890625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch2.moveTo(0.11842105263157894, 0.0).circle(0.11595394736842105) solid2=wp_sketch2.add(loop2).extrude(0.2890625) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.4765625, 0.0, 0.2890625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop3=wp_sketch3.moveTo(0.07894736842105263, 0.0).circle(0.07894736842105263) solid3=wp_sketch3.add(loop3).extrude(0.2890625) solid=solid.union(solid3)
1,480
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00002506
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.3359375, -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.6631578947368422, 0.0).lineTo(0.6631578947368422, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.6157894736842106, 0.06315789473684211).lineTo(0.6157894736842106, 1.436842105263158).lineTo(0.06315789473684211, 1.436842105263158).lineTo(0.06315789473684211, 0.06315789473684211).close() solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0390625) solid=solid0
1,062
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00004956
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.4375, 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.43815789473684214, 0.0).circle(0.43815789473684214) loop1=wp_sketch0.moveTo(0.43815789473684214, 0.0).circle(0.3194901315789474) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0859375, both=True) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.3984375, -0.0859375, -0.375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop2=wp_sketch1.moveTo(0.31973684210526315, -0.3315789473684211).threePointArc((0.40263157894736845, -0.3677167237509154), (0.4855263157894737, -0.3315789473684211)).lineTo(0.8052631578947369, 0.0).threePointArc((0.9517909949139609, 0.3730263157894737), (0.8052631578947369, 0.7460526315789474)).lineTo(0.4855263157894737, 1.0894736842105264).threePointArc((0.40263157894736845, 1.1256114605930208), (0.31973684210526315, 1.0894736842105264)).lineTo(0.0, 0.7460526315789474).threePointArc((-0.1465278370192242, 0.3730263157894737), (0.0, 0.0)).close() loop3=wp_sketch1.moveTo(0.40263157894736845, 0.37894736842105264).circle(0.43815789473684214) loop4=wp_sketch1.moveTo(0.40263157894736845, -0.2605263157894737).circle(0.04736842105263158) loop5=wp_sketch1.moveTo(0.40263157894736845, 1.006578947368421).circle(0.04736842105263158) solid1=wp_sketch1.add(loop2).add(loop3).add(loop4).add(loop5).extrude(-0.046875) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.7109375, 0.0859375, -0.0859375), cq.Vector(-1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, 1.0, 6.123233995736766e-17))) loop6=wp_sketch2.moveTo(0.3383223684210526, -0.32294407894736843).threePointArc((0.7150904605263158, -0.4709417168008901), (1.091858552631579, -0.32294407894736843)).lineTo(1.4301809210526315, 0.0).threePointArc((1.4670536422921112, 0.08458059210526316), (1.4301809210526315, 0.1691611842105263)).lineTo(1.091858552631579, 0.4921052631578947).threePointArc((0.7150904605263158, 0.6401029010114164), (0.3383223684210526, 0.4921052631578947)).lineTo(0.0, 0.1691611842105263).threePointArc((-0.036872721239479676, 0.08458059210526316), (0.0, 0.0)).close() loop7=wp_sketch2.moveTo(0.07689144736842105, 0.07689144736842105).circle(0.04613486842105263) loop8=wp_sketch2.moveTo(0.7074013157894736, 0.07689144736842105).circle(0.4305921052631579) loop9=wp_sketch2.moveTo(1.3379111842105262, 0.07689144736842105).circle(0.04613486842105263) solid2=wp_sketch2.add(loop6).add(loop7).add(loop8).add(loop9).extrude(-0.046875) solid=solid.union(solid2)
2,817
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00007536
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5546875, -0.421875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(1.2890625, 0.0).lineTo(1.2890625, 0.8005756578947368).lineTo(0.0, 0.8005756578947368).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(1.2619243421052633, 0.027138157894736843).lineTo(1.2619243421052633, 0.7734375).lineTo(0.027138157894736843, 0.7734375).lineTo(0.027138157894736843, 0.027138157894736843).close() solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.09375) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.578125, -0.4375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch1.moveTo(1.328125, 0.0).lineTo(1.328125, 0.852796052631579).lineTo(0.0, 0.852796052631579).lineTo(0.0, 0.0).close() loop3=wp_sketch1.moveTo(1.3141447368421053, 0.013980263157894737).lineTo(1.3141447368421053, 0.8248355263157895).lineTo(0.013980263157894737, 0.8248355263157895).lineTo(0.013980263157894737, 0.013980263157894737).close() solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.125) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.5234375, -0.390625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop4=wp_sketch2.moveTo(1.2265625, 0.0).lineTo(1.2265625, 0.7488486842105263).lineTo(0.0, 0.7488486842105263).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop4).extrude(0.03125) solid=solid.union(solid2)
1,730
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00003988
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5390625, 0.0, -0.2109375), 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.10855263157894737).threePointArc((-0.10629111842105264, 0.21484375), (0.0, 0.32113486842105265)).lineTo(0.0, 0.4296875).threePointArc((-0.21484375, 0.21484375), (0.0, 0.0)).close() solid0=wp_sketch0.add(loop0).extrude(0.1640625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.5390625, 0.0, -0.2109375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.5390625, 0.0).lineTo(0.5390625, 0.14185855263157895).threePointArc((0.46529605263157897, 0.215625), (0.5390625, 0.28939144736842104)).lineTo(0.5390625, 0.43125).lineTo(0.0, 0.43125).lineTo(0.0, 0.32343750000000004).threePointArc((0.1078125, 0.215625), (0.0, 0.1078125)).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.1640625) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, -0.2109375), 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.21484375, 0.21484375), (0.0, 0.4296875)).lineTo(0.0, 0.2894736842105263).threePointArc((0.07462993421052631, 0.21484375), (0.0, 0.1402138157894737)).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(0.1640625) solid=solid.union(solid2)
1,864
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00005321
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.34375, 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.34342105263157896, 0.0).circle(0.34342105263157896) loop1=wp_sketch0.moveTo(0.34342105263157896, 0.0).circle(0.19317434210526316) loop2=wp_sketch0.moveTo(0.20748355263157894, -0.22894736842105262).circle(0.028618421052631578) loop3=wp_sketch0.moveTo(0.20748355263157894, 0.22894736842105262).circle(0.028618421052631578) loop4=wp_sketch0.moveTo(0.6009868421052631, 0.0).circle(0.028618421052631578) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).extrude(0.1015625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.1953125, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop5=wp_sketch1.moveTo(0.19736842105263158, 0.0).circle(0.19736842105263158) loop6=wp_sketch1.moveTo(0.19736842105263158, 0.0).circle(0.16036184210526314) solid1=wp_sketch1.add(loop5).add(loop6).extrude(0.75) solid=solid.union(solid1)
1,392
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00004981
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.625, -0.625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(1.25, 0.0).lineTo(1.25, 1.25).lineTo(0.0, 1.25).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(1.0, 0.25).lineTo(1.0, 1.0).lineTo(0.25, 1.0).lineTo(0.25, 0.25).close() solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75) solid=solid0
910
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00008163
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.3515625, -0.3515625, 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() loop1=wp_sketch0.moveTo(0.4415296052631579, 0.3592105263157895).circle(0.08980263157894737) solid0=wp_sketch0.add(loop0).add(loop1).extrude(-0.75) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.3515625, -0.2734375, -0.1484375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop2=wp_sketch1.moveTo(0.04736842105263158, 0.0).circle(0.04736842105263158) solid1=wp_sketch1.add(loop2).extrude(-0.421875) solid=solid.cut(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.3515625, 0.171875, -0.1484375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop3=wp_sketch2.moveTo(0.04736842105263158, 0.0).circle(0.04736842105263158) solid2=wp_sketch2.add(loop3).extrude(-0.421875) solid=solid.cut(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.3515625, -0.2734375, -0.6015625), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop4=wp_sketch3.moveTo(0.04736842105263158, 0.0).circle(0.04736842105263158) solid3=wp_sketch3.add(loop4).extrude(-0.421875) solid=solid.cut(solid3)
1,730
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00009255
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0859375, -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.031578947368421054, 0.0).lineTo(0.16578947368421054, 0.0).lineTo(0.16578947368421054, 0.18947368421052632).lineTo(0.16578947368421054, 0.75).lineTo(0.12631578947368421, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.5605263157894737).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.07894736842105263, 0.18947368421052632).circle(0.031578947368421054) loop2=wp_sketch0.moveTo(0.07894736842105263, 0.5605263157894737).circle(0.031578947368421054) 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.078125, -0.328125, 0.0), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042))) loop3=wp_sketch1.moveTo(0.1640625, 0.0).lineTo(0.1640625, 0.046628289473684206).lineTo(0.0, 0.046628289473684206).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop3).extrude(0.75) solid=solid.union(solid1)
1,493
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00009527
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.4609375, 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.4578947368421053).lineTo(0.0, 0.4578947368421053).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.09375) solid=solid0
874
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00004598
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.5234375, 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.0421052631578949).lineTo(0.0, 1.0421052631578949).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.078125) solid=solid0
874
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00005686
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.046875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 0.09473684210526316).lineTo(0.0, 0.09473684210526316).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.046875) solid=solid0
947
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00005651
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.02368421052631579, 0.0).lineTo(0.02368421052631579, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.046875) solid=solid0
871
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00008375
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.140625, 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.07500000000000001, 0.0).circle(0.07500000000000001) solid0=wp_sketch0.add(loop0).extrude(0.15625) solid=solid0
841
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00000729
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5546875, -0.546875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.021677952050337693, -0.05233520584439915), (0.07401315789473684, -0.07401315789473684)).lineTo(1.0361842105263157, -0.07401315789473684).threePointArc((1.088519416370715, -0.05233520584439915), (1.1101973684210527, 0.0)).lineTo(1.1101973684210527, 1.171875).lineTo(0.0, 1.171875).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.0078125) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.578125, -0.546875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.024671052631578948, 0.0).lineTo(0.024671052631578948, 1.171875).lineTo(0.0, 1.171875).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.03125) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.5546875, -0.546875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch2.moveTo(0.024671052631578948, 0.0).lineTo(0.024671052631578948, 1.171875).lineTo(0.0, 1.171875).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(0.03125) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.4765625, -0.6484375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop3=wp_sketch3.moveTo(0.953125, 0.0).lineTo(0.953125, 0.030098684210526316).lineTo(0.0, 0.030098684210526316).lineTo(0.0, 0.0).close() solid3=wp_sketch3.add(loop3).extrude(0.03125) solid=solid.union(solid3) # Generating a workplane for sketch 4 wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.546875, -0.546875, 0.03125), 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.0078125, -0.0062499999999999995).lineTo(0.0078125, 0.0).lineTo(0.0, 0.0).close() solid4=wp_sketch4.add(loop4).extrude(-1.0) solid=solid.union(solid4) # Generating a workplane for sketch 5 wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(-0.5546875, -0.546875, 0.0234375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop5=wp_sketch5.moveTo(0.0078125, 0.0062499999999999995).lineTo(0.0, 0.0062499999999999995).lineTo(0.0, 0.0).close() solid5=wp_sketch5.add(loop5).extrude(-1.0) solid=solid.union(solid5)
2,395
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00000073
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(0.037088815789473685, 0.0).lineTo(0.037088815789473685, 0.0859375).lineTo(0.0, 0.0859375).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(-0.6484375) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.7109375, -0.3984375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.037088815789473685, 0.0).lineTo(0.037088815789473685, 0.0859375).lineTo(0.0, 0.0859375).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(-0.6484375) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.21875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch2.moveTo(1.5, 0.0).lineTo(1.5, 0.18947368421052632).lineTo(0.0, 0.18947368421052632).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(-0.6484375) solid=solid.union(solid2)
1,366
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00006416
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.453125), 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.4607730263157894, -0.8481907894736842).lineTo(1.4921875, -0.7853618421052632).lineTo(0.03141447368421053, 0.047121710526315794).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.0234375) solid=solid0
1,000
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00001409
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.1875, 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.37894736842105264).lineTo(0.0, 0.37894736842105264).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.03125, both=True) solid=solid0
876
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00008377
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5, -0.25, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(1.0, 0.0).threePointArc((1.25, 0.25), (1.0, 0.5)).lineTo(0.0, 0.5).threePointArc((-0.25, 0.25), (0.0, 0.0)).close() loop1=wp_sketch0.moveTo(0.0, 0.25).circle(0.13157894736842105) loop2=wp_sketch0.moveTo(1.0, 0.25).circle(0.13157894736842105) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.25) solid=solid0
963
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00005653
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.03125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.031578947368421054).lineTo(0.0, 0.031578947368421054).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.015625) solid=solid0
878
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00003544
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5625, -0.5234375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(1.3125, 0.0).lineTo(1.3125, 0.9118421052631579).lineTo(0.0, 0.9118421052631579).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.3359375) solid=solid0
883
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00003550
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.0625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 0.12631578947368421).lineTo(0.0, 0.12631578947368421).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.015625) solid=solid0
873
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00007050
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.125, 0.2109375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.009539473684210526, -0.0029605263157894738).threePointArc((-0.028402686009605948, 0.014567333072791122), (0.011842105263157895, 0.003289473684210526)).lineTo(0.001973684210526316, 0.0062499999999999995).threePointArc((-0.02008019666165868, 0.009777749084291102), (0.0, 0.0)).close() solid0=wp_sketch0.add(loop0).extrude(0.1171875) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.2109375, 0.1171875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.02368421052631579, 0.0).circle(0.02319078947368421) loop2=wp_sketch1.moveTo(0.02368421052631579, 0.0).circle(0.013322368421052631) solid1=wp_sketch1.add(loop1).add(loop2).extrude(0.0234375) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.2109375, 0.09375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop3=wp_sketch2.moveTo(0.0234375, 0.0).threePointArc((0.006864684815940285, 0.006864684815940292), (0.0, 0.0234375)).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop3).extrude(0.0234375) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.1875, 0.09375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop4=wp_sketch3.moveTo(0.0234375, 0.0).lineTo(0.0234375, 0.0234375).threePointArc((0.01657281518405971, 0.006864684815940285), (0.0, 0.0)).close() solid3=wp_sketch3.add(loop4).extrude(0.0234375) solid=solid.union(solid3)
1,805
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00005690
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.421875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(1.296875, 0.0).lineTo(1.296875, 1.0648026315789474).lineTo(0.0, 1.0648026315789474).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.24572368421052632, 0.08190789473684211).circle(0.05460526315789474) loop2=wp_sketch0.moveTo(0.24572368421052632, 0.9692434210526316).circle(0.05460526315789474) loop3=wp_sketch0.moveTo(0.6962171052631579, 0.5324013157894737).circle(0.32763157894736844) loop4=wp_sketch0.moveTo(1.1330592105263158, 0.08190789473684211).circle(0.05460526315789474) loop5=wp_sketch0.moveTo(1.1330592105263158, 0.9692434210526316).circle(0.05460526315789474) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).add(loop5).extrude(0.140625) solid=solid0
1,282
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00001390
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1640625, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.015789473684210527, 0.0).lineTo(0.015789473684210527, 0.7342105263157895).lineTo(0.3157894736842105, 0.7342105263157895).lineTo(0.3157894736842105, 0.0).lineTo(0.3315789473684211, 0.0).lineTo(0.3315789473684211, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.1640625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.1640625, 0.0, 0.59375), 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.3359375, 0.0).lineTo(0.3359375, 0.014144736842105264).lineTo(0.0, 0.014144736842105264).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.3359375) solid=solid.union(solid1)
1,408
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00003587
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.4765625, 0.0, -0.2734375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.9609375, 0.0).lineTo(0.9609375, 0.5361019736842105).lineTo(0.0, 0.5361019736842105).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.10115131578947369, -0.040460526315789475), (0.14161184210526317, 0.06069078947368421)).lineTo(0.14161184210526317, 0.18207236842105262).threePointArc((0.11632401315789474, 0.20736019736842107), (0.09103618421052631, 0.18207236842105262)).lineTo(0.09103618421052631, 0.06069078947368421).close() loop2=wp_sketch0.moveTo(0.09103618421052631, 0.06069078947368421).threePointArc((0.26805098684210527, 0.18712993421052632), (0.14161184210526317, 0.36414473684210524)).lineTo(0.14161184210526317, 0.4855263157894737).threePointArc((0.11632401315789474, 0.5108141447368422), (0.09103618421052631, 0.4855263157894737)).lineTo(0.09103618421052631, 0.36414473684210524).close() loop3=wp_sketch0.moveTo(0.09103618421052631, 0.36414473684210524).threePointArc((0.3287417763157895, -0.17701480263157895), (0.8699013157894737, 0.06069078947368421)).lineTo(0.8699013157894737, 0.18207236842105262).threePointArc((0.8446134868421052, 0.20736019736842107), (0.8193256578947369, 0.18207236842105262)).lineTo(0.8193256578947369, 0.06069078947368421).close() loop4=wp_sketch0.moveTo(0.8193256578947369, 0.06069078947368421).threePointArc((0.9963404605263159, 0.18712993421052632), (0.8699013157894737, 0.36414473684210524)).lineTo(0.8699013157894737, 0.4855263157894737).threePointArc((0.8446134868421052, 0.5108141447368422), (0.8193256578947369, 0.4855263157894737)).lineTo(0.8193256578947369, 0.36414473684210524).close() solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).extrude(0.03125) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.015625, -0.03125, -0.2734375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop5=wp_sketch1.moveTo(0.02837171052631579, 0.0).lineTo(0.02837171052631579, 0.5390625).lineTo(0.0, 0.5390625).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop5).extrude(0.2421875) solid=solid.union(solid1)
2,533
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00003593
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.25, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 0.5052631578947369).lineTo(0.0, 0.5052631578947369).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.296875) solid=solid0
869
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00002855
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.625, -0.75, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(1.09375, 0.0).lineTo(1.09375, 1.09375).lineTo(0.0, 1.09375).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(1.09375, 0.0).lineTo(1.09375, 1.09375).lineTo(0.0, 1.09375).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0078125) solid=solid0
938
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00007093
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.75), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75, both=True) solid=solid0
911
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00002316
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6484375, -0.375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(1.296875, 0.0).lineTo(0.6552631578947369, 1.1194078947368422).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.09375) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.03125, 0.5625, 0.0), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042))) loop1=wp_sketch1.moveTo(0.0, 0.0).threePointArc((0.008767527273692115, -0.021166683252623615), (0.029934210526315792, -0.029934210526315792)).lineTo(0.029934210526315792, 0.40625).threePointArc((0.008767527273692115, 0.39748247272630793), (0.0, 0.3763157894736842)).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(-0.1953125) solid=solid.cut(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.59375, 0.0), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042))) loop2=wp_sketch2.moveTo(0.0, 0.0).threePointArc((0.02279488965667165, 0.009441952448591506), (0.032236842105263154, 0.032236842105263154)).lineTo(0.032236842105263154, 0.4052631578947368).threePointArc((0.02279488965667165, 0.42805804755140847), (0.0, 0.43749999999999994)).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(-0.1953125) solid=solid.cut(solid2)
1,776
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00008161
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.0546875, 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.05131578947368422, 0.0).circle(0.05131578947368422) solid0=wp_sketch0.add(loop0).extrude(-0.75) solid=solid0
893
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00001623
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.5210526315789474).lineTo(0.0, 0.5210526315789474).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.453125) solid=solid0
869
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00004983
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.3203125, 0.0, -0.3203125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.640625, 0.0).lineTo(0.640625, 0.640625).lineTo(0.0, 0.640625).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.515625) solid=solid0
941
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00003961
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.5625, -0.75), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(1.125, 0.0).lineTo(1.125, 0.7460526315789474).lineTo(0.0, 0.7460526315789474).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.203125, both=True) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.5625, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(1.125, 0.0).lineTo(1.125, 0.4736842105263158).lineTo(0.0, 0.4736842105263158).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.203125, both=True) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.203125, -0.375, 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.7578125, 0.0).threePointArc((0.37890625, 0.37890625), (0.0, 0.0)).close() solid2=wp_sketch2.add(loop2).extrude(-0.0234375) solid=solid.cut(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.203125, -0.375, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop3=wp_sketch3.moveTo(0.0, 0.0).threePointArc((0.37890625, -0.37890625), (0.7578125, 0.0)).lineTo(0.0, 0.0).close() solid3=wp_sketch3.add(loop3).extrude(-0.0234375) solid=solid.cut(solid3)
1,747
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00006010
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.296875) solid=solid0
841
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00004607
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.140625, -0.75), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.28421052631578947, 0.0).lineTo(0.28421052631578947, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75, both=True) solid=solid0
929
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00007454
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.109375, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.04523026315789474, 0.0).lineTo(0.10855263157894737, 0.0).lineTo(0.10855263157894737, -0.09046052631578948).lineTo(0.859375, 0.30756578947368424).lineTo(0.859375, 0.352796052631579).lineTo(0.8412828947368421, 0.352796052631579).lineTo(0.8412828947368421, 0.32565789473684215).lineTo(0.18092105263157895, 0.2080592105263158).lineTo(0.10855263157894737, 0.2713815789473684).lineTo(0.04523026315789474, 0.2713815789473684).lineTo(0.04523026315789474, 0.32565789473684215).lineTo(0.0, 0.32565789473684215).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.0625) solid=solid0
1,253
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00001970
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.20526315789473684, 0.0).lineTo(0.20526315789473684, 0.27631578947368424).lineTo(0.5763157894736842, 0.27631578947368424).lineTo(0.5763157894736842, 0.0).lineTo(0.75, 0.0).lineTo(0.75, 0.5447368421052632).lineTo(0.0, 0.5447368421052632).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.2734375) solid=solid0
1,084
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00003801
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.4578947368421053) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.09375) solid=solid0
898
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00006212
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 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.00017117773853662146, -0.0019999791488403878), (0.0006578947368421052, -0.003947368421052632)).lineTo(0.0006578947368421052, -0.0078125).lineTo(0.001151315789473684, -0.0078125).lineTo(0.001151315789473684, -0.0037828947368421053).threePointArc((0.0006594867123729102, -0.001919774622104483), (0.000493421052631579, 0.0)).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.75, 0.0, 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.0, 0.0).threePointArc((0.0003215085993513705, -0.003962904507366861), (0.0013157894736842105, -0.0078125)).lineTo(0.0013157894736842105, 0.0).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(-0.75) solid=solid.union(solid1)
1,494
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00001541
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.7421875, 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.0, 0.0).threePointArc((0.06809180213739241, -0.2972857060394486), (0.3203125, -0.46875)).lineTo(0.4140625, -0.46875).lineTo(0.7421875, 0.0).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.05974366283282917, -0.2329825005355376), (0.2265625, -0.40625)).threePointArc((0.23828125, -0.40234375), (0.234375, -0.390625)).threePointArc((0.10047180962462177, -0.26299090561561733), (0.046875, -0.0859375)).threePointArc((0.0390625, -0.078125), (0.03125, -0.0859375)).close() loop2=wp_sketch0.moveTo(0.4140625, -0.0625).circle(0.03125) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.03125) solid=solid0
1,223
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00005727
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.75, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.140625) solid=solid0
839
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00005041
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.75, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.328125) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.546875, -0.75, 0.1640625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.07500000000000001, 0.0).circle(0.07500000000000001) solid1=wp_sketch1.add(loop1).extrude(-0.625) solid=solid.cut(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.3984375, -0.75, 0.1640625), 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.07500000000000001, 0.0).circle(0.07500000000000001) solid2=wp_sketch2.add(loop2).extrude(-0.625) solid=solid.cut(solid2)
1,380
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00001227
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2265625, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.22894736842105262, 0.0).circle(0.22417763157894738) solid0=wp_sketch0.add(loop0).extrude(0.6015625) solid=solid0
916
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00007656
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.035526315789473684, 0.0).circle(0.035526315789473684) solid0=wp_sketch0.add(loop0).extrude(0.3046875) solid=solid0
918
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00007642
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.75, 0.0).lineTo(0.75, 0.22894736842105265).lineTo(0.631578947368421, 0.22894736842105265).lineTo(0.631578947368421, 0.07894736842105263).lineTo(0.1105263157894737, 0.07894736842105263).lineTo(0.1105263157894737, 0.22894736842105265).lineTo(0.06315789473684211, 0.22894736842105265).lineTo(0.0, 0.11842105263157895).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.1171875, both=True) solid=solid0
1,145
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00005733
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.06315789473684211) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.1875) solid=solid0
970
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00000850
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.015625, 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.031578947368421054, 0.0).lineTo(0.031578947368421054, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(-0.015625) solid=solid0
932
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00009875
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.46875, 0.25, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.5, 0.0).lineTo(0.5, 0.17368421052631577).lineTo(0.4052631578947368, 0.17368421052631577).lineTo(0.4052631578947368, 0.3263157894736842).lineTo(0.5, 0.3263157894736842).lineTo(0.5, 0.5).lineTo(0.0, 0.5).lineTo(0.0, 0.3263157894736842).lineTo(0.09473684210526316, 0.3263157894736842).lineTo(0.09473684210526316, 0.17368421052631577).lineTo(0.0, 0.17368421052631577).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.25263157894736843, 0.25263157894736843).circle(0.05789473684210526) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.125) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.46875, 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.5, 0.0).lineTo(0.5, 0.25263157894736843).lineTo(0.0, 0.25263157894736843).lineTo(0.0, 0.0).close() loop3=wp_sketch1.moveTo(0.25263157894736843, 0.12631578947368421).circle(0.06315789473684211) solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.125) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.46875, 0.4296875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop4=wp_sketch2.moveTo(0.09375, 0.0).lineTo(0.09375, 0.1484375).lineTo(0.0, 0.1484375).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop4).extrude(0.25) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.0625, 0.4296875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop5=wp_sketch3.moveTo(0.09375, 0.0).lineTo(0.09375, 0.1484375).lineTo(0.0, 0.1484375).lineTo(0.0, 0.0).close() solid3=wp_sketch3.add(loop5).extrude(0.25) solid=solid.union(solid3)
1,934
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00005929
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5859375, -0.3359375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(1.3359375, 0.0).lineTo(1.3359375, 0.84375).lineTo(0.0, 0.84375).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.265625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.5234375, -0.1875, 0.265625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.06710526315789474, 0.0).circle(0.06710526315789474) solid1=wp_sketch1.add(loop1).extrude(-0.5546875) solid=solid.cut(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.5078125, 0.359375, 0.265625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch2.moveTo(0.06710526315789474, 0.0).circle(0.06710526315789474) solid2=wp_sketch2.add(loop2).extrude(-0.5546875) solid=solid.cut(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.4375, 0.390625, 0.265625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop3=wp_sketch3.moveTo(0.06710526315789474, 0.0).circle(0.06710526315789474) solid3=wp_sketch3.add(loop3).extrude(-0.5546875) solid=solid.cut(solid3) # Generating a workplane for sketch 4 wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.3984375, -0.15625, 0.265625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop4=wp_sketch4.moveTo(0.06710526315789474, 0.0).circle(0.06710526315789474) solid4=wp_sketch4.add(loop4).extrude(-0.5546875) solid=solid.cut(solid4)
1,687
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00009849
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.03125, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((-0.06218772266090014, 0.0026726973684210527), (0.0, 0.005345394736842105)).lineTo(0.034210526315789476, 0.008552631578947369).threePointArc((-0.10260246353819084, 0.0026726973684210527), (0.034210526315789476, -0.0032072368421052636)).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.015625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0703125, 0.0, -0.0078125), 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.5580592105263158, -0.04292763157894737).lineTo(0.6796875, 0.007154605263157894).lineTo(0.5580592105263158, 0.057236842105263155).lineTo(0.0, 0.014309210526315789).threePointArc((-0.00030748986842947567, 0.007154605263157894), (0.0, 0.0)).close() solid1=wp_sketch1.add(loop1).extrude(0.015625) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.03125, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop2=wp_sketch2.moveTo(0.030921052631578946, -0.002631578947368421).threePointArc((0.031147252075021375, 0.002631578947368421), (0.030921052631578946, 0.007894736842105263)).lineTo(0.0, 0.005263157894736842).threePointArc((-0.0001130997217212145, 0.002631578947368421), (0.0, 0.0)).close() solid2=wp_sketch2.add(loop2).extrude(0.015625) solid=solid.union(solid2)
1,986
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00005915
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.015625, 0.0, 0.0625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.01644736842105263, -0.0023366887520189254), (0.03289473684210526, 0.0)).lineTo(0.03289473684210526, 0.625).threePointArc((0.01644736842105263, 0.6205568659253382), (0.0, 0.625)).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.015625, both=True) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.0625, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.06315789473684211, 0.0).circle(0.06315789473684211) loop2=wp_sketch1.moveTo(0.06315789473684211, 0.0).circle(0.034210526315789476) solid1=wp_sketch1.add(loop1).add(loop2).extrude(0.03125, both=True) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.0390625, 0.0, 0.7109375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop3=wp_sketch2.moveTo(0.035526315789473684, 0.0).circle(0.035526315789473684) solid2=wp_sketch2.add(loop3).extrude(0.0703125, both=True) solid=solid.union(solid2)
1,671
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00002707
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.20526315789473684, 0.0).circle(0.015789473684210527) loop2=wp_sketch0.moveTo(1.2947368421052632, 0.0).circle(0.015789473684210527) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.109375) solid=solid0
967
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00003419
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.3355263157894737, 0.0).lineTo(0.3355263157894737, 0.6640625).lineTo(0.0, 0.6640625).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.25164473684210525, 0.16776315789473684).circle(0.04194078947368421) loop2=wp_sketch0.moveTo(0.25164473684210525, 0.5801809210526316).circle(0.04194078947368421) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.0859375) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.4140625, 0.6640625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop3=wp_sketch1.moveTo(0.3355263157894737, 0.0).lineTo(0.3355263157894737, -0.6640625).lineTo(0.41241776315789475, -0.6640625).lineTo(0.41241776315789475, 0.08388157894736842).lineTo(0.0, 0.08388157894736842).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop3).extrude(0.4140625) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.3359375, 0.6640625, 0.25), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop4=wp_sketch2.moveTo(0.08289473684210526, 0.0).circle(0.08289473684210526) solid2=wp_sketch2.add(loop4).extrude(-0.125) solid=solid.cut(solid2)
1,650
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00006950
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1640625, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.3203125, 0.0).lineTo(0.3203125, 0.17870065789473685).lineTo(0.0, 0.17870065789473685).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.0703125) solid=solid0
960
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00001971
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.13322368421052633, 0.0).lineTo(0.13322368421052633, 0.24646381578947368).lineTo(0.4995888157894737, 0.24646381578947368).lineTo(0.4995888157894737, 0.0).lineTo(0.6328125, 0.0).lineTo(0.6328125, 0.24646381578947368).lineTo(0.6328125, 0.3796875).lineTo(0.4995888157894737, 0.3796875).lineTo(0.0, 0.3796875).lineTo(0.0, 0.24646381578947368).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.6328125, -0.2734375, 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.09473684210526316, 0.0).circle(0.09473684210526316) solid1=wp_sketch1.add(loop1).extrude(-1.0) solid=solid.cut(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.6328125, -0.671875, 0.1875), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop2=wp_sketch2.moveTo(0.09473684210526316, 0.0).circle(0.09473684210526316) solid2=wp_sketch2.add(loop2).extrude(-1.0) solid=solid.cut(solid2)
1,671
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00001965
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5625, -0.375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(1.125, 0.0).lineTo(1.125, 0.7460526315789474).lineTo(0.0, 0.7460526315789474).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.5684210526315789, 0.37894736842105264).circle(0.18947368421052632) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.1875) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.5234375, -0.375, 0.1875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch1.moveTo(0.09473684210526316, 0.0).lineTo(0.09473684210526316, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop2).extrude(-0.0390625) solid=solid.cut(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.09375, 0.1640625, 0.1875), 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.09325657894736841, 0.025192570203331616), (0.18651315789473683, 0.0)).lineTo(0.18651315789473683, 0.2109375).lineTo(0.0, 0.2109375).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop3).extrude(-0.0390625) solid=solid.cut(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.09375, -0.375, 0.1875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop4=wp_sketch3.moveTo(0.18651315789473683, 0.0).lineTo(0.18651315789473683, 0.2109375).threePointArc((0.09325657894736841, 0.18574492979666832), (0.0, 0.2109375)).lineTo(0.0, 0.0).close() solid3=wp_sketch3.add(loop4).extrude(-0.0390625) solid=solid.cut(solid3)
1,780
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00007441
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.03848684210526316, 0.0).lineTo(0.09177631578947369, 0.0).lineTo(0.09177631578947369, -0.07697368421052632).lineTo(0.22203947368421054, -0.008881578947368421).lineTo(0.09177631578947369, 0.23388157894736844).lineTo(0.03848684210526316, 0.23388157894736844).lineTo(0.03848684210526316, 0.28125).lineTo(0.0, 0.28125).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.0390625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.09375, 0.234375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.13125, -0.24868421052631579).lineTo(0.65625, 0.02763157894736842).lineTo(0.65625, 0.06907894736842105).lineTo(0.6424342105263158, 0.06907894736842105).lineTo(0.6424342105263158, 0.048355263157894735).lineTo(0.06907894736842105, -0.05526315789473684).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.0390625) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch2.moveTo(0.03848684210526316, 0.0).lineTo(0.09177631578947369, 0.0).lineTo(0.09177631578947369, -0.07697368421052632).lineTo(0.22203947368421054, -0.008881578947368421).lineTo(0.09177631578947369, 0.23388157894736844).lineTo(0.03848684210526316, 0.23388157894736844).lineTo(0.03848684210526316, 0.28125).lineTo(0.0, 0.28125).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(0.234375) solid=solid.union(solid2)
1,907
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false