image
imagewidth (px)
448
448
deepcad_id
stringlengths
13
13
cadquery
stringlengths
283
8.1k
token_count
int64
807
6.5k
prompt
stringclasses
1 value
hundred_subset
bool
1 class
0002/00027453
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2734375, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.2802631578947368, 0.0).circle(0.2802631578947368) solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
909
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00020314
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0078125, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.007894736842105263, 0.0).circle(0.007894736842105263) solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
841
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00027484
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2734375, 0.0, -0.078125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(1.0234375, 0.0).lineTo(1.0234375, 0.29087171052631583).lineTo(0.0, 0.29087171052631583).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.0430921052631579, 0.0861842105263158).circle(0.010773026315789474) loop2=wp_sketch0.moveTo(0.0430921052631579, 0.2477796052631579).circle(0.010773026315789474) loop3=wp_sketch0.moveTo(0.9803453947368421, 0.0861842105263158).circle(0.010773026315789474) loop4=wp_sketch0.moveTo(0.9803453947368421, 0.2477796052631579).circle(0.010773026315789474) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).extrude(0.0234375) solid=solid0
1,285
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00024827
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, 0.5052631578947369).lineTo(0.5052631578947369, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.0390625, both=True) solid=solid0
958
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00021963
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.578125, 0.0, 0.1640625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.015789473684210527, 0.0).circle(0.015460526315789473) solid0=wp_sketch0.add(loop0).extrude(0.375, both=True) solid=solid0
923
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00021797
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.40263157894736845).lineTo(0.0, 0.40263157894736845).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.3984375) solid=solid0
872
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00022249
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.25263157894736843).lineTo(0.20526315789473684, 0.39473684210526316).lineTo(0.0, 0.39473684210526316).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.6236842105263158, 0.12631578947368421).circle(0.05526315789473685) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0703125) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.21875, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop2=wp_sketch1.moveTo(0.2227796052631579, 0.0).lineTo(0.2227796052631579, 0.14498355263157894).lineTo(0.11315789473684211, 0.3359375).lineTo(0.0, 0.3359375).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop2).extrude(-0.0703125) solid=solid.union(solid1)
1,404
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00021026
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.515625, -0.21875), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.10274814491156319, -0.017820118013369787), (0.18651315789473683, -0.07993421052631579)).threePointArc((0.5129111842105263, -0.22701934043781946), (0.8393092105263158, -0.07993421052631579)).threePointArc((0.9230742235094894, -0.017820118013369787), (1.0258223684210526, 0.0)).threePointArc((1.2624535042958889, 0.2198190789473684), (1.0258223684210526, 0.4396381578947368)).threePointArc((0.9230742235094894, 0.45745827590810684), (0.8393092105263158, 0.5195723684210526)).threePointArc((0.5129111842105263, 0.6666574983325565), (0.18651315789473683, 0.5195723684210526)).threePointArc((0.10274814491156319, 0.45745827590810645), (0.0, 0.4396381578947368)).threePointArc((-0.23663113587483617, 0.2198190789473684), (0.0, 0.0)).close() loop1=wp_sketch0.moveTo(-0.013322368421052631, 0.22648026315789474).circle(0.09325657894736841) loop2=wp_sketch0.moveTo(0.5195723684210526, 0.22648026315789474).circle(0.30641447368421054) loop3=wp_sketch0.moveTo(1.0391447368421052, 0.22648026315789474).circle(0.09325657894736841) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).extrude(0.1796875) solid=solid0
1,734
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00021032
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.546875, 0.3046875), 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.20521181529122456, -0.21537424161169583), (0.012664473684210526, -0.41792763157894736)).threePointArc((0.11593518792528824, -0.4352031486078324), (0.2026315789473684, -0.4939144736842105)).threePointArc((0.5002467105263158, -0.6214916967107309), (0.7978618421052631, -0.4939144736842105)).threePointArc((0.8845582331273433, -0.4352031486078324), (0.987828947368421, -0.41792763157894736)).threePointArc((1.205705236343856, -0.21537424161169583), (1.0004934210526315, 0.0)).threePointArc((0.8974665994819837, 0.017885248704959122), (0.8105263157894737, 0.07598684210526316)).threePointArc((0.4939144736842105, 0.21633121944735445), (0.17730263157894735, 0.07598684210526316)).threePointArc((0.09669458472854295, 0.019225793528137334), (0.0, 0.0)).close() loop1=wp_sketch0.moveTo(0.0, -0.2026315789473684).circle(0.08865131578947368) loop2=wp_sketch0.moveTo(0.4939144736842105, -0.2026315789473684).circle(0.2912828947368421) loop3=wp_sketch0.moveTo(1.0004934210526315, -0.2026315789473684).circle(0.08865131578947368) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).extrude(0.1640625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.546875, 0.3046875), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop4=wp_sketch1.moveTo(0.0, 0.0).threePointArc((-0.20521181529122456, -0.21537424161169583), (0.012664473684210526, -0.41792763157894736)).threePointArc((0.11593518792528824, -0.4352031486078324), (0.2026315789473684, -0.4939144736842105)).threePointArc((0.5002467105263158, -0.6214916967107309), (0.7978618421052631, -0.4939144736842105)).threePointArc((0.8845582331273433, -0.4352031486078324), (0.987828947368421, -0.41792763157894736)).threePointArc((1.205705236343856, -0.21537424161169583), (1.0004934210526315, 0.0)).threePointArc((0.8974665994819837, 0.017885248704959122), (0.8105263157894737, 0.07598684210526316)).threePointArc((0.4939144736842105, 0.21633121944735445), (0.17730263157894735, 0.07598684210526316)).threePointArc((0.09669458472854295, 0.019225793528137334), (0.0, 0.0)).close() loop5=wp_sketch1.moveTo(0.0, -0.2026315789473684).circle(0.08865131578947368) loop6=wp_sketch1.moveTo(0.4939144736842105, -0.2026315789473684).circle(0.2912828947368421) loop7=wp_sketch1.moveTo(1.0004934210526315, -0.2026315789473684).circle(0.08865131578947368) solid1=wp_sketch1.add(loop4).add(loop5).add(loop6).add(loop7).extrude(0.1640625) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.546875, 0.3046875), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop8=wp_sketch2.moveTo(0.0, 0.0).threePointArc((-0.20521181529122456, -0.21537424161169583), (0.012664473684210526, -0.41792763157894736)).threePointArc((0.11593518792528824, -0.4352031486078324), (0.2026315789473684, -0.4939144736842105)).threePointArc((0.5002467105263158, -0.6214916967107309), (0.7978618421052631, -0.4939144736842105)).threePointArc((0.8845582331273433, -0.4352031486078324), (0.987828947368421, -0.41792763157894736)).threePointArc((1.205705236343856, -0.21537424161169583), (1.0004934210526315, 0.0)).threePointArc((0.8974665994819837, 0.017885248704959122), (0.8105263157894737, 0.07598684210526316)).threePointArc((0.4939144736842105, 0.21633121944735445), (0.17730263157894735, 0.07598684210526316)).threePointArc((0.09669458472854295, 0.019225793528137334), (0.0, 0.0)).close() loop9=wp_sketch2.moveTo(0.0, -0.2026315789473684).circle(0.08865131578947368) loop10=wp_sketch2.moveTo(0.4939144736842105, -0.2026315789473684).circle(0.2912828947368421) loop11=wp_sketch2.moveTo(1.0004934210526315, -0.2026315789473684).circle(0.08865131578947368) solid2=wp_sketch2.add(loop8).add(loop9).add(loop10).add(loop11).extrude(0.1640625) solid=solid.union(solid2)
3,901
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00026985
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.7109375, 0.0, 0.1875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.023519736842105263, 0.0).circle(0.023519736842105263) loop1=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.1015625, 0.01817434210526316), (0.08338815789473684, 0.11973684210526317)).lineTo(0.08338815789473684, -0.11973684210526317).close() solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.046875) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.6328125, 0.0, 0.0703125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop2=wp_sketch1.moveTo(1.1796875, 0.0).lineTo(1.1796875, 0.23593750000000002).lineTo(0.0, 0.23593750000000002).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop2).extrude(0.046875) solid=solid.union(solid1)
1,388
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00020462
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2265625, 0.0, -0.1171875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.5234375, 0.0).lineTo(0.5234375, 0.14325657894736843).lineTo(0.28651315789473686, 0.14325657894736843).lineTo(0.28651315789473686, 0.31957236842105263).lineTo(0.15427631578947368, 0.31957236842105263).lineTo(0.15427631578947368, 0.2259046052631579).lineTo(0.0, 0.2259046052631579).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.1171875), 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.5234375, 0.0).lineTo(0.5234375, 0.2259046052631579).lineTo(0.3636513157894737, 0.2259046052631579).lineTo(0.3636513157894737, 0.31957236842105263).lineTo(0.23692434210526314, 0.31957236842105263).lineTo(0.23692434210526314, 0.14325657894736843).lineTo(0.0, 0.14325657894736843).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.625) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.2890625, -0.40625, -0.1171875), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop2=wp_sketch2.moveTo(0.2109375, 0.0).lineTo(0.2109375, 0.14654605263157894).lineTo(0.0, 0.14654605263157894).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(-0.171875) solid=solid.cut(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.0703125, -0.4140625, 0.1953125), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop3=wp_sketch3.moveTo(0.13141447368421053, 0.0).lineTo(0.13141447368421053, 0.3671875).lineTo(0.0, 0.3671875).lineTo(0.0, 0.0).close() solid3=wp_sketch3.add(loop3).extrude(-0.078125) solid=solid.cut(solid3)
2,171
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00026775
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, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.28421052631578947, 0.0).circle(0.27828947368421053) solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
909
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00020304
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.22450657894736842, 0.0).lineTo(0.22450657894736842, 0.08980263157894737).lineTo(0.15197368421052632, 0.08980263157894737).lineTo(0.15197368421052632, 0.328125).lineTo(0.0, 0.328125).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(-0.75) solid=solid0
1,035
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00022513
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6171875, 0.0, 0.25), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(1.328125, 0.0).lineTo(1.328125, 0.1118421052631579).lineTo(0.0, 0.1118421052631579).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.6640625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.578125, 0.0, -0.4453125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(1.328125, 0.0).lineTo(1.328125, 0.1118421052631579).lineTo(0.0, 0.1118421052631579).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.6640625) solid=solid.union(solid1)
1,270
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00022507
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.21875, 0.2578125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.625, 0.0).lineTo(0.625, 0.07236842105263158).lineTo(0.0, 0.07236842105263158).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.25) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.1953125, -0.09375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.625, 0.0).lineTo(0.625, 0.07236842105263158).lineTo(0.0, 0.07236842105263158).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.25) solid=solid.union(solid1)
1,110
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00025917
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.5052631578947369, 0.0).lineTo(0.5052631578947369, 0.25263157894736843).lineTo(0.37894736842105264, 0.25263157894736843).lineTo(0.37894736842105264, 0.75).lineTo(0.12631578947368421, 0.75).lineTo(0.12631578947368421, 0.25263157894736843).lineTo(0.0, 0.25263157894736843).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.25) solid=solid0
1,113
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00020884
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.578125, 0.0, -0.3515625), 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.578125, 0.0).lineTo(0.578125, 0.17648026315789472).threePointArc((0.4533346091754662, 0.2281701354912557), (0.4016447368421053, 0.35296052631578945)).lineTo(0.0, 0.35296052631578945).threePointArc((-0.17648026315789472, 0.17648026315789472), (0.0, 0.0)).close() loop1=wp_sketch0.moveTo(0.0, 0.17648026315789472).circle(0.07302631578947369) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.34375) solid=solid0
1,156
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00026577
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.21957236842105263, 0.0).lineTo(0.21957236842105263, 0.08881578947368421).lineTo(0.15049342105263158, 0.08881578947368421).lineTo(0.15049342105263158, 0.234375).lineTo(0.0, 0.234375).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(-0.75) solid=solid0
1,035
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00026211
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.5078125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 1.0105263157894737).lineTo(0.0, 1.0105263157894737).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.203125) solid=solid0
874
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00022063
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.171875) solid=solid0
908
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00026205
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5390625, 0.0, 0.015625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(1.2890625, 0.0).lineTo(1.2890625, 0.21710526315789475).lineTo(0.0, 0.21710526315789475).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.2109375) solid=solid0
965
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00029917
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5546875, 0.3046875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.13322368421052633, -0.6128289473684211).lineTo(0.33305921052631576, -0.6927631578947369).lineTo(1.0657894736842106, -0.8126644736842105).lineTo(1.265625, -0.4129934210526316).lineTo(1.0924342105263158, -0.013322368421052631).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
1,013
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00022856
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.234375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(1.1953125, 0.0).lineTo(1.1953125, 0.6165296052631578).lineTo(0.0, 0.6165296052631578).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.3019736842105263, 0.28939144736842104).circle(0.012582236842105262) loop2=wp_sketch0.moveTo(0.5787828947368421, 0.28939144736842104).circle(0.012582236842105262) loop3=wp_sketch0.moveTo(0.7800986842105263, 0.28939144736842104).circle(0.012582236842105262) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).extrude(0.046875) solid=solid0
1,200
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00025122
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.359375, 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.6875, 0.0).lineTo(0.6875, 0.41973684210526313).lineTo(0.0, 0.41973684210526313).threePointArc((-0.20986842105263157, 0.20986842105263157), (0.0, 0.0)).close() solid0=wp_sketch0.add(loop0).extrude(0.53125) solid=solid0
996
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00022665
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.1484375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.12236842105263158, 0.0).circle(0.11981907894736843) loop1=wp_sketch0.moveTo(0.12236842105263158, 0.0).circle(0.096875) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0703125) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.6796875, 0.1484375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch1.moveTo(0.04736842105263158, 0.0).circle(0.04736842105263158) loop3=wp_sketch1.moveTo(0.04736842105263158, 0.0).circle(0.017763157894736842) solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.0703125) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.7265625, 0.1484375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop4=wp_sketch2.moveTo(0.09868421052631579, 0.0).circle(0.09868421052631579) loop5=wp_sketch2.moveTo(0.024671052631578948, 0.0).circle(0.01850328947368421) loop6=wp_sketch2.moveTo(0.09868421052631579, 0.0).circle(0.049342105263157895) loop7=wp_sketch2.moveTo(0.09868421052631579, -0.07401315789473684).circle(0.01850328947368421) loop8=wp_sketch2.moveTo(0.09868421052631579, 0.07401315789473684).circle(0.01850328947368421) loop9=wp_sketch2.moveTo(0.17064144736842105, 0.0).circle(0.01850328947368421) solid2=wp_sketch2.add(loop4).add(loop5).add(loop6).add(loop7).add(loop8).add(loop9).extrude(0.046875) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.7265625, 0.1484375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop10=wp_sketch3.moveTo(0.09868421052631579, 0.0).circle(0.09868421052631579) loop11=wp_sketch3.moveTo(0.024671052631578948, 0.0).circle(0.01850328947368421) loop12=wp_sketch3.moveTo(0.09868421052631579, 0.0).circle(0.049342105263157895) loop13=wp_sketch3.moveTo(0.09868421052631579, -0.07401315789473684).circle(0.01850328947368421) loop14=wp_sketch3.moveTo(0.09868421052631579, 0.07401315789473684).circle(0.01850328947368421) loop15=wp_sketch3.moveTo(0.17064144736842105, 0.0).circle(0.01850328947368421) solid3=wp_sketch3.add(loop10).add(loop11).add(loop12).add(loop13).add(loop14).add(loop15).extrude(0.0234375) solid=solid.cut(solid3)
2,300
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00020714
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.0390625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.6328125, 0.0, 0.0390625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.6394736842105263, 0.0).circle(0.6394736842105263) solid1=wp_sketch1.add(loop1).extrude(0.15625) solid=solid.union(solid1)
1,035
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00029056
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.0859375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.010234440254015825, 0.004239243956510491), (0.014473684210526316, 0.014473684210526316)).lineTo(0.014473684210526316, 0.07146381578947368).lineTo(0.07146381578947368, 0.07146381578947368).threePointArc((0.08169825604348951, 0.07570305974598418), (0.0859375, 0.0859375)).lineTo(0.0, 0.0859375).lineTo(0.0, 0.07146381578947368).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
1,110
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00027292
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.2421875, 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.24473684210526317, 0.0).circle(0.24473684210526317) solid0=wp_sketch0.add(loop0).extrude(0.2421875) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0625, -0.234375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.6328125, 0.15986842105263158).threePointArc((0.5303862750168149, 0.23980263157894738), (0.6328125, 0.31973684210526315)).lineTo(0.0, 0.4729440789473684).threePointArc((0.18454459089925276, 0.2364720394736842), (0.0, 0.0)).close() solid1=wp_sketch1.add(loop1).extrude(0.2421875) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.5859375, 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.08289473684210526, 0.0).circle(0.08289473684210526) solid2=wp_sketch2.add(loop2).extrude(0.2421875) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.2421875, -0.1484375, 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.15000000000000002, 0.0).circle(0.15000000000000002) solid3=wp_sketch3.add(loop3).extrude(-0.078125) solid=solid.cut(solid3) # Generating a workplane for sketch 4 wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.2421875, 0.625, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop4=wp_sketch4.moveTo(0.043421052631578944, 0.0).circle(0.043421052631578944) solid4=wp_sketch4.add(loop4).extrude(-0.078125) solid=solid.cut(solid4)
2,053
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00021813
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.21875, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.22499999999999998, 0.0).circle(0.22499999999999998) loop1=wp_sketch0.moveTo(0.22499999999999998, 0.0).circle(0.1359375) solid0=wp_sketch0.add(loop0).add(loop1).extrude(-0.0859375) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.015625, 0.4453125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch1.moveTo(0.06414473684210527, -0.23519736842105263).threePointArc((0.20572649427295597, -0.41998235979410437), (0.1069078947368421, -0.6307565789473685)).lineTo(0.0962171052631579, -0.8338815789473685).threePointArc((0.21145111313565712, -0.8938240952208599), (0.2565789473684211, -1.015625)).threePointArc((0.213637032013782, -0.4320135683566327), (0.08552631578947369, 0.13898026315789475)).threePointArc((0.06430925482172369, 0.056230995008494024), (0.0, 0.0)).close() solid1=wp_sketch1.add(loop2).extrude(-0.0859375) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.546875, -0.140625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop3=wp_sketch2.moveTo(0.0, 0.0).threePointArc((0.29289887603128145, -0.12865240488169133), (0.4682565789473684, -0.39621710526315784)).threePointArc((0.5034952092938622, -0.3204007270724748), (0.5703125, -0.27014802631578944)).lineTo(0.49226973684210523, -0.07203947368421051).threePointArc((0.40713583031171724, -0.027719898362781333), (0.3481907894736842, 0.04802631578947368)).lineTo(0.10805921052631579, 0.09605263157894736).threePointArc((0.06700355676116995, 0.03343062035421005), (0.0, 0.0)).close() solid2=wp_sketch2.add(loop3).extrude(-0.0859375) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.21875, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop4=wp_sketch3.moveTo(0.22499999999999998, 0.0).circle(0.22499999999999998) loop5=wp_sketch3.moveTo(0.22499999999999998, 0.0).circle(0.1359375) solid3=wp_sketch3.add(loop4).add(loop5).extrude(0.0859375) solid=solid.union(solid3)
2,247
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00029268
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.484375, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.4855263157894737, 0.0).circle(0.4855263157894737) solid0=wp_sketch0.add(loop0).extrude(0.265625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.3359375, 0.0, 0.265625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.3355263157894737, 0.0).circle(0.3355263157894737) solid1=wp_sketch1.add(loop1).extrude(0.375) solid=solid.union(solid1)
1,035
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00021634
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.1640625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.20921052631578946, 0.0).circle(0.20921052631578946) loop1=wp_sketch0.moveTo(0.20921052631578946, 0.0).circle(0.17870065789473683) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0390625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.71875, -0.1640625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch1.moveTo(0.18157894736842106, 0.0).circle(0.18157894736842106) solid1=wp_sketch1.add(loop2).extrude(-0.03125) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.1640625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop3=wp_sketch2.moveTo(0.20921052631578946, 0.0).circle(0.20921052631578946) loop4=wp_sketch2.moveTo(0.20921052631578946, 0.0).circle(0.17870065789473683) solid2=wp_sketch2.add(loop3).add(loop4).extrude(-0.03125) solid=solid.union(solid2)
1,368
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00027523
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.043421052631578944, 0.0).circle(0.043421052631578944) solid0=wp_sketch0.add(loop0).extrude(0.4140625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.0234375, 0.0, 0.4140625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.019736842105263157, 0.0).circle(0.019736842105263157) solid1=wp_sketch1.add(loop1).extrude(0.0859375) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.0234375, 0.0, 0.0), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042))) loop2=wp_sketch2.moveTo(0.019736842105263157, 0.0).circle(0.019736842105263157) solid2=wp_sketch2.add(loop2).extrude(0.0859375) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.1953125, 0.0, -0.4921875), 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.07845394736842105, 0.0).lineTo(0.07845394736842105, 1.2421875).lineTo(0.0, 1.2421875).lineTo(0.0, 0.0).close() solid3=wp_sketch3.add(loop3).extrude(0.0859375) solid=solid.union(solid3) # Generating a workplane for sketch 4 wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.1953125, -0.0859375, 0.625), 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.0859375, 0.0).lineTo(0.0859375, 0.0859375).lineTo(0.0, 0.0859375).lineTo(0.0, 0.0).close() solid4=wp_sketch4.add(loop4).extrude(-0.0390625) solid=solid.cut(solid4) # Generating a workplane for sketch 5 wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(-0.1953125, -0.0859375, -0.4453125), 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.0859375, 0.0).lineTo(0.0859375, 0.0859375).lineTo(0.0, 0.0859375).lineTo(0.0, 0.0).close() solid5=wp_sketch5.add(loop5).extrude(-0.0390625) solid=solid.cut(solid5) # Generating a workplane for sketch 6 wp_sketch6 = cq.Workplane(cq.Plane(cq.Vector(0.1328125, 0.078125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop6=wp_sketch6.moveTo(0.06315789473684211, 0.0).circle(0.06315789473684211) solid6=wp_sketch6.add(loop6).extrude(0.1640625) solid=solid.union(solid6)
2,452
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00025446
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6484375, 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.6552631578947369, 0.0).circle(0.6552631578947369) loop1=wp_sketch0.moveTo(0.6552631578947369, 0.0).circle(0.32763157894736844) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.6484375) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.6484375, 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.0, -0.3730263157894737).lineTo(0.3256578947368421, -0.5625).threePointArc((0.08685135469170656, -0.32523702733915055), (0.0, 0.0)).close() solid1=wp_sketch1.add(loop2).extrude(0.6484375) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.3203125, -0.5625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop3=wp_sketch2.moveTo(0.32763157894736844, -0.18429276315789475).lineTo(0.6484375, 0.0).threePointArc((0.32421875, -0.08758528044676801), (0.0, 0.0)).close() solid2=wp_sketch2.add(loop3).extrude(0.6484375) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.328125, -0.5625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop4=wp_sketch3.moveTo(0.3256578947368421, 0.18947368421052632).lineTo(0.31973684210526315, 0.5625).threePointArc((0.23584601372934624, 0.2380627367942886), (0.0, 0.0)).close() solid3=wp_sketch3.add(loop4).extrude(0.6484375) solid=solid.union(solid3) # Generating a workplane for sketch 4 wp_sketch4 = 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))) loop5=wp_sketch4.moveTo(0.0, -0.375).threePointArc((0.08559792454196372, -0.049042718600066086), (0.3236842105263158, 0.18947368421052632)).lineTo(0.0, 0.0).close() solid4=wp_sketch4.add(loop5).extrude(0.6484375) solid=solid.union(solid4) # Generating a workplane for sketch 5 wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(-0.328125, 0.5625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop6=wp_sketch5.moveTo(0.0, 0.0).threePointArc((0.32421875, 0.08758528044676792), (0.6484375, 0.0)).lineTo(0.3208059210526316, 0.1911184210526316).lineTo(0.0, 0.0).close() solid5=wp_sketch5.add(loop6).extrude(0.6484375) solid=solid.union(solid5) # Generating a workplane for sketch 6 wp_sketch6 = cq.Workplane(cq.Plane(cq.Vector(0.3203125, 0.5625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop7=wp_sketch6.moveTo(0.0, 0.0).threePointArc((0.23880654004513555, -0.23726297266084947), (0.3256578947368421, -0.5625)).lineTo(0.3256578947368421, -0.18947368421052632).lineTo(0.0, 0.0).close() solid6=wp_sketch6.add(loop7).extrude(0.6484375) solid=solid.union(solid6)
2,531
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00024770
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.703125, 0.0859375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.39078947368421046, 0.0).circle(0.39078947368421046) loop1=wp_sketch0.moveTo(0.39078947368421046, 0.0).circle(0.2686677631578947) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.5625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.4453125, 0.0859375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch1.moveTo(0.13026315789473686, 0.0).circle(0.13026315789473686) solid1=wp_sketch1.add(loop2).extrude(0.5625) solid=solid.union(solid1)
1,109
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00029254
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0078125, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.007894736842105263, 0.0).circle(0.007894736842105263) solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
841
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00025308
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.375, 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(1.125, 0.0).lineTo(1.125, 0.3315789473684211).lineTo(0.0, 0.3315789473684211).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.3984375) solid=solid0
952
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00026615
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.1328125, -0.2734375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.6171875, 0.0).lineTo(0.6171875, 0.27286184210526315).lineTo(0.0, 0.27286184210526315).threePointArc((0.13643092105263158, 0.13643092105263158), (0.0, 0.0)).close() solid0=wp_sketch0.add(loop0).extrude(0.0546875) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.1328125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.1381578947368421, 0.0).circle(0.1381578947368421) solid1=wp_sketch1.add(loop1).extrude(0.0546875) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.1328125, 0.0), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042))) loop2=wp_sketch2.moveTo(0.1381578947368421, 0.0).circle(0.1381578947368421) solid2=wp_sketch2.add(loop2).extrude(0.0859375) solid=solid.union(solid2)
1,407
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00020502
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.609375, 0.0, 0.015625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.47097039473684216, 0.0).lineTo(0.32763157894736844, 0.6484375).lineTo(0.0, 0.6484375).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.3515625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.2734375, 0.0, 0.015625), 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.47097039473684216, 0.0).lineTo(0.47097039473684216, 0.6484375).lineTo(0.15016447368421054, 0.6484375).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.3515625) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.609375, 0.0, 0.015625), 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.47097039473684216, 0.0).lineTo(0.32763157894736844, 0.6484375).lineTo(0.0, 0.6484375).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(0.1796875) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.2734375, 0.0, 0.015625), 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.47097039473684216, 0.0).lineTo(0.47097039473684216, 0.6484375).lineTo(0.15016447368421054, 0.6484375).lineTo(0.0, 0.0).close() solid3=wp_sketch3.add(loop3).extrude(0.1796875) solid=solid.union(solid3) # Generating a workplane for sketch 4 wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.2890625, 0.0, 0.671875), 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.14967105263157895, -0.6510690789473684).lineTo(0.561266447368421, -0.6510690789473684).lineTo(0.7109375, 0.0).lineTo(0.0, 0.0).close() solid4=wp_sketch4.add(loop4).extrude(0.1796875) solid=solid.union(solid4)
2,285
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00022314
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1796875, 0.328125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.11842105263157894, 0.0).circle(0.11842105263157894) 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.28125, -0.265625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.23289473684210527, 0.0).circle(0.23289473684210527) 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.2734375, -0.2265625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch2.moveTo(0.0, 0.0).threePointArc((0.22000261561276016, 0.19032281864557096), (0.4495888157894737, 0.011677631578947368)).lineTo(0.3269736842105263, 0.5546875).threePointArc((0.21019736842105263, 0.4407427004190809), (0.09342105263157895, 0.5546875)).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(0.015625) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.2734375, -0.2265625, 0.015625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop3=wp_sketch3.moveTo(0.0, 0.0).threePointArc((0.23220171049958702, -0.2655698675657315), (0.4473684210526316, 0.013980263157894737)).lineTo(0.3215460526315789, 0.5452302631578947).threePointArc((0.20974710362368018, 0.665486656423557), (0.09087171052631579, 0.5522203947368421)).lineTo(0.0, 0.0).close() loop4=wp_sketch3.moveTo(0.0, 0.0).threePointArc((0.19025259066232897, -0.2514022164932166), (0.40542763157894735, -0.020970394736842105)).lineTo(0.2865953947368421, 0.5522203947368421).threePointArc((0.2058477365157342, 0.6335619677064803), (0.1328125, 0.5452302631578947)).lineTo(0.03495065789473684, -0.020970394736842105).close() solid3=wp_sketch3.add(loop3).add(loop4).extrude(-0.375) solid=solid.union(solid3) # Generating a workplane for sketch 4 wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.2734375, -0.2265625, -0.359375), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042))) loop5=wp_sketch4.moveTo(0.038157894736842106, -0.22417763157894738).lineTo(0.07631578947368421, -0.22417763157894738).lineTo(0.03338815789473684, 0.019078947368421053).threePointArc((0.21702302631578949, 0.23732142351676516), (0.4006578947368421, 0.019078947368421053)).lineTo(0.3529605263157895, -0.22417763157894738).lineTo(0.39588815789473686, -0.22417763157894738).lineTo(0.44835526315789476, -0.014309210526315789).threePointArc((0.2328955433162955, 0.2660066291737519), (0.0, 0.0)).close() solid4=wp_sketch4.add(loop5).extrude(0.03125) solid=solid.union(solid4) # Generating a workplane for sketch 5 wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(-0.2421875, -0.2421875, -0.359375), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042))) loop6=wp_sketch5.moveTo(0.04342105263157895, -0.24473684210526317).lineTo(0.3236842105263158, -0.24473684210526317).lineTo(0.37105263157894736, 0.0).threePointArc((0.18552631578947368, 0.22049038342618194), (0.0, 0.0)).close() solid5=wp_sketch5.add(loop6).extrude(0.03125) solid=solid.union(solid5) # Generating a workplane for sketch 6 wp_sketch6 = cq.Workplane(cq.Plane(cq.Vector(-0.09375, -0.0546875, -0.390625), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042))) loop7=wp_sketch6.moveTo(0.039473684210526314, 0.0).circle(0.039473684210526314) solid6=wp_sketch6.add(loop7).extrude(0.359375) solid=solid.union(solid6)
3,435
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00029241
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1015625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.10657894736842105, 0.0).circle(0.10657894736842105) solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
839
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00022300
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.4765625, 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(0.75, 0.0).lineTo(0.75, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(-0.75) solid=solid0
921
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00029533
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.375, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.37894736842105264, 0.0).circle(0.37894736842105264) solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
907
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00026600
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5703125, -0.2890625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(1.3203125, 0.0).lineTo(1.3203125, 0.4864309210526316).lineTo(0.0, 0.4864309210526316).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.140625) solid=solid0
891
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00021147
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(1.2947368421052632, 0.0).lineTo(1.2947368421052632, 0.5052631578947369).lineTo(1.5, 0.5052631578947369).lineTo(1.5, 0.7578947368421053).lineTo(0.0, 0.7578947368421053).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.7578947368421053, 0.37894736842105264).circle(0.14210526315789473) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.25) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.25), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch1.moveTo(0.24868421052631579, 0.0).lineTo(0.24868421052631579, 0.375).lineTo(0.0, 0.375).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop2).extrude(0.25) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.375, 0.25), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop3=wp_sketch2.moveTo(0.24868421052631579, 0.0).lineTo(0.24868421052631579, 0.375).lineTo(0.0, 0.375).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop3).extrude(0.0859375) solid=solid.union(solid2)
1,483
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00027250
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.4421052631578948) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.203125) solid=solid0
899
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00021635
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0234375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.019736842105263157, 0.0).circle(0.019736842105263157) loop1=wp_sketch0.moveTo(0.019736842105263157, 0.0).circle(0.015625) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0078125) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0234375), 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.015789473684210527, 0.0).circle(0.015460526315789473) solid1=wp_sketch1.add(loop2).extrude(-0.0078125) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0234375), 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.019736842105263157, 0.0).circle(0.019736842105263157) loop4=wp_sketch2.moveTo(0.019736842105263157, 0.0).circle(0.015625) solid2=wp_sketch2.add(loop3).add(loop4).extrude(-0.0078125) solid=solid.union(solid2)
1,571
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00029269
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5703125, -0.2890625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(1.3203125, 0.0).lineTo(1.3203125, 0.4864309210526316).lineTo(0.0, 0.4864309210526316).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.140625) solid=solid0
891
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00023793
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.375, 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.0041118421052633, 0.0).lineTo(1.0041118421052633, 1.4453125).lineTo(0.0, 1.4453125).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.140625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.375, 0.4140625, -0.75), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042))) loop1=wp_sketch1.moveTo(1.0078125, 0.0).lineTo(1.0078125, 0.12730263157894736).lineTo(0.0, 0.12730263157894736).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(-1.0) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.375, 0.2890625, -0.75), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042))) loop2=wp_sketch2.moveTo(1.0078125, 0.0).lineTo(1.0078125, 0.28643092105263157).lineTo(0.0, 0.28643092105263157).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(-0.140625) solid=solid.union(solid2)
1,595
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00029043
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2109375, 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.20921052631578946, 0.0).circle(0.20921052631578946) solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
839
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00020067
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.734375, -0.15625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.23314144736842105, -0.40411184210526313).lineTo(0.6683388157894736, -0.590625).lineTo(0.8859374999999999, -0.5439967105263158).lineTo(1.119078947368421, -0.49736842105263157).lineTo(1.4299342105263158, -0.13988486842105263).lineTo(1.4765625, 0.32639802631578946).lineTo(1.243421052631579, 0.7305098684210526).lineTo(0.8082236842105263, 0.9170230263157895).lineTo(0.35748355263157894, 0.8082236842105263).lineTo(0.046628289473684206, 0.4662828947368421).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.0234375) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.71875, 0.0, 0.0234375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.7263157894736842, 0.0).circle(0.7263157894736842) solid1=wp_sketch1.add(loop1).extrude(0.21875) solid=solid.union(solid1)
1,414
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00029731
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.1171875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.1171875, 0.0).lineTo(0.1171875, 0.1171875).lineTo(0.0, 0.1171875).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.05797697368421052, 0.04317434210526316).circle(0.011101973684210526) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.015625) solid=solid0
1,022
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00022664
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.1640625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.21710526315789475, 0.0).circle(0.21710526315789475) loop1=wp_sketch0.moveTo(0.21710526315789475, 0.0).circle(0.16282894736842107) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0859375) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.59375, 0.1640625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch1.moveTo(0.05921052631578947, 0.0).circle(0.05921052631578947) loop3=wp_sketch1.moveTo(0.05921052631578947, 0.0).circle(0.022203947368421052) solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.0859375) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.703125, 0.1640625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop4=wp_sketch2.moveTo(0.16578947368421051, 0.0).circle(0.16233552631578946) loop5=wp_sketch2.moveTo(0.048355263157894735, 0.0).circle(0.020723684210526314) loop6=wp_sketch2.moveTo(0.16578947368421051, 0.0).circle(0.05871710526315789) loop7=wp_sketch2.moveTo(0.16578947368421051, -0.11398026315789474).circle(0.020723684210526314) loop8=wp_sketch2.moveTo(0.16578947368421051, 0.11398026315789474).circle(0.020723684210526314) loop9=wp_sketch2.moveTo(0.27976973684210527, 0.0).circle(0.020723684210526314) solid2=wp_sketch2.add(loop4).add(loop5).add(loop6).add(loop7).add(loop8).add(loop9).extrude(0.0546875) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.703125, 0.1640625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop10=wp_sketch3.moveTo(0.16578947368421051, 0.0).circle(0.16233552631578946) loop11=wp_sketch3.moveTo(0.048355263157894735, 0.0).circle(0.020723684210526314) loop12=wp_sketch3.moveTo(0.16578947368421051, 0.0).circle(0.05871710526315789) loop13=wp_sketch3.moveTo(0.16578947368421051, -0.11398026315789474).circle(0.020723684210526314) loop14=wp_sketch3.moveTo(0.16578947368421051, 0.11398026315789474).circle(0.020723684210526314) loop15=wp_sketch3.moveTo(0.27976973684210527, 0.0).circle(0.020723684210526314) solid3=wp_sketch3.add(loop10).add(loop11).add(loop12).add(loop13).add(loop14).add(loop15).extrude(0.03125) solid=solid.cut(solid3)
2,312
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00022102
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.3984375, 0.0, 0.078125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.8984375, 0.0).lineTo(0.8984375, 0.6714638157894737).lineTo(0.0, 0.6714638157894737).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.26480263157894735, 0.2837171052631579).circle(0.009457236842105263) loop2=wp_sketch0.moveTo(0.5296052631578947, 0.2837171052631579).circle(0.009457236842105263) loop3=wp_sketch0.moveTo(0.6714638157894737, 0.2837171052631579).circle(0.009457236842105263) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).extrude(0.0546875) solid=solid0
1,204
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00027052
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1484375, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.15000000000000002, 0.0).circle(0.15000000000000002) solid0=wp_sketch0.add(loop0).extrude(-0.75) solid=solid0
911
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00021345
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.4765625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.23832236842105264, 0.0).lineTo(0.23832236842105264, 0.359375).lineTo(0.0, 0.359375).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.3203125) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.1171875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.23832236842105264, 0.0).lineTo(0.23832236842105264, 0.359375).lineTo(0.0, 0.359375).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.4765625) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.515625, -0.4765625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch2.moveTo(0.9875, 0.0).lineTo(0.9875, 0.47500000000000003).lineTo(1.1875, 0.47500000000000003).lineTo(1.1875, 0.7125).lineTo(0.9875, 0.7125).lineTo(0.0, 0.7125).lineTo(0.0, 0.35000000000000003).lineTo(0.0, 0.0).close() loop3=wp_sketch2.moveTo(0.47500000000000003, 0.35000000000000003).circle(0.1375) solid2=wp_sketch2.add(loop2).add(loop3).extrude(0.234375) solid=solid.union(solid2)
1,514
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00022843
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 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.8671875000000001, 0.0).lineTo(0.8671875000000001, 0.2738486842105263).lineTo(0.0, 0.2738486842105263).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.12779605263157895, 0.1643092105263158).circle(0.009128289473684211) loop2=wp_sketch0.moveTo(0.35600328947368426, 0.1643092105263158).circle(0.009128289473684211) loop3=wp_sketch0.moveTo(0.5842105263157895, 0.1643092105263158).circle(0.009128289473684211) loop4=wp_sketch0.moveTo(0.8032894736842106, 0.1643092105263158).circle(0.009128289473684211) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).extrude(0.046875) solid=solid0
1,298
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00024407
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.015625, -0.0390625), 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.36669407894736844, -0.059001576906258874), (0.7333881578947369, 0.0)).threePointArc((0.7615953947368421, 0.05238486842105264), (0.7092105263157895, 0.08059210526315791)).threePointArc((0.36669407894736844, 0.025480742218849994), (0.02417763157894737, 0.08059210526315791)).threePointArc((-0.028207236842105264, 0.05238486842105264), (0.0, 0.0)).close() loop1=wp_sketch0.moveTo(0.01611842105263158, 0.040296052631578955).circle(0.00805921052631579) loop2=wp_sketch0.moveTo(0.7253289473684211, 0.040296052631578955).circle(0.00805921052631579) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.0390625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.109375, 0.125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop3=wp_sketch1.moveTo(0.007894736842105263, 0.0).circle(0.007730263157894737) solid1=wp_sketch1.add(loop3).extrude(0.171875) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.1171875, 0.1875), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop4=wp_sketch2.moveTo(0.0, 0.0).threePointArc((0.2394736842105263, -0.05842582484637584), (0.4789473684210526, 0.0)).threePointArc((0.49473684210526314, 0.05789473684210526), (0.43684210526315786, 0.07368421052631578)).threePointArc((0.23684210526315788, 0.024889016149122773), (0.03684210526315789, 0.07368421052631578)).threePointArc((-0.018421052631578946, 0.05526315789473684), (0.0, 0.0)).close() loop5=wp_sketch2.moveTo(0.021052631578947368, 0.03684210526315789).circle(0.005263157894736842) loop6=wp_sketch2.moveTo(0.45789473684210524, 0.03684210526315789).circle(0.005263157894736842) solid2=wp_sketch2.add(loop4).add(loop5).add(loop6).extrude(0.0390625) solid=solid.union(solid2)
2,274
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00028215
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.34375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.09514802631578947, 0.0).lineTo(0.09514802631578947, -0.10978618421052631).lineTo(0.4611019736842105, -0.10978618421052631).lineTo(0.4611019736842105, -0.08050986842105264).lineTo(0.6953125, 0.15370065789473686).lineTo(0.6953125, 0.38791118421052634).lineTo(0.5123355263157895, 0.38791118421052634).lineTo(0.5123355263157895, 0.3439967105263158).lineTo(0.09514802631578947, 0.3439967105263158).lineTo(0.0, 0.3439967105263158).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.0078125) solid=solid0
1,188
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00020891
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.4609375, 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.2890625, 0.0).lineTo(0.2890625, 0.08824013157894736).threePointArc((0.2266673045877331, 0.11408506774562785), (0.20082236842105264, 0.17648026315789472)).lineTo(0.0, 0.17648026315789472).threePointArc((0.08824013157894736, 0.08824013157894736), (0.0, 0.0)).close() solid0=wp_sketch0.add(loop0).extrude(0.0703125) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.4609375, 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.0, 0.0).threePointArc((0.0859375, 0.0859375), (0.0, 0.171875)).lineTo(0.0, 0.1194078947368421).threePointArc((0.034375, 0.0850328947368421), (0.0, 0.0506578947368421)).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.0703125) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.4609375, 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.0859375, 0.0859375), (0.0, 0.171875)).lineTo(0.0, 0.1194078947368421).threePointArc((0.034375, 0.0850328947368421), (0.0, 0.0506578947368421)).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(0.0703125) solid=solid.union(solid2)
1,851
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00028201
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.140625) solid=solid0
836
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00027132
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.0625, 0.0).lineTo(0.0625, 0.031578947368421054).lineTo(0.0, 0.031578947368421054).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.0625, 0.0, -0.0625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.0625, 0.0).lineTo(0.0625, 0.0625).lineTo(0.0, 0.0625).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(-0.6875) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0625, 0.0, -0.03125), 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.03125, 0.0).lineTo(0.03125, 0.03125).lineTo(0.0, 0.03125).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(-0.4296875) solid=solid.union(solid2)
1,507
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00020885
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5859375, 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.10526315789473684, 0.0).circle(0.10526315789473684) loop1=wp_sketch0.moveTo(1.0, -0.2736842105263158).lineTo(1.0, 0.0).threePointArc((0.8064760388331553, 0.08016024935947114), (0.7263157894736842, 0.2736842105263158)).lineTo(0.10526315789473684, 0.2736842105263158).threePointArc((0.37894736842105264, 0.0), (0.10526315789473684, -0.2736842105263158)).close() solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.21875) solid=solid0
1,174
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00023397
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.06315789473684211).lineTo(0.0, 0.06315789473684211).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.125) solid=solid0
941
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00022089
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.671875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(1.4921875, 0.0).lineTo(1.4921875, 1.3508223684210527).lineTo(0.0, 1.3508223684210527).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.2513157894736842, 0.7068256578947368).circle(0.015707236842105263) loop2=wp_sketch0.moveTo(0.5183388157894737, 0.7068256578947368).circle(0.015707236842105263) loop3=wp_sketch0.moveTo(0.8167763157894737, 0.7068256578947368).circle(0.015707236842105263) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).extrude(0.1015625) solid=solid0
1,198
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00023618
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.703125, 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.7342105263157895, 0.0).circle(0.7342105263157895) loop1=wp_sketch0.moveTo(0.7342105263157895, 0.0).circle(0.58125) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.2421875, both=True) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.3046875, 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_sketch1.moveTo(0.32763157894736844, 0.0).circle(0.32763157894736844) loop3=wp_sketch1.moveTo(0.32763157894736844, 0.0).circle(0.11603618421052632) solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.2421875, both=True) 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))) loop4=wp_sketch2.moveTo(0.5802631578947368, 0.0).circle(0.5802631578947368) loop5=wp_sketch2.moveTo(0.5802631578947368, 0.0).circle(0.32639802631578946) solid2=wp_sketch2.add(loop4).add(loop5).extrude(0.125, both=True) solid=solid.union(solid2)
1,654
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00026006
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.7263157894736842) 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
0002/00028981
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.26842105263157895, 0.0).lineTo(0.26842105263157895, 0.6710526315789473).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.15625) solid=solid0
938
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00026774
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.34375, 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.6447368421052632, 0.0).threePointArc((0.8422650123413057, -0.15550027135020403), (1.082236842105263, -0.0805921052631579)).threePointArc((0.8509842373171334, -0.06398579833267007), (0.6907894736842105, 0.10361842105263157)).lineTo(0.7023026315789473, 0.26480263157894735).threePointArc((0.8913771269728379, 0.33880001026891254), (1.09375, 0.3223684210526316)).threePointArc((0.8822209527072797, 0.43041360208242296), (0.6447368421052632, 0.4259868421052631)).lineTo(0.0, 0.4259868421052631).threePointArc((-0.21299342105263155, 0.21299342105263155), (0.0, 0.0)).close() loop1=wp_sketch0.moveTo(0.0, 0.21875).circle(0.1611842105263158) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.2109375) solid=solid0
1,407
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00022248
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.25263157894736843).lineTo(0.20526315789473684, 0.39473684210526316).lineTo(0.0, 0.39473684210526316).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.6236842105263158, 0.12631578947368421).circle(0.05526315789473685) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0703125) solid=solid0
1,069
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00027456
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.4296875, -0.5390625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.8625, 0.0).lineTo(0.8625, 1.078125).lineTo(0.0, 1.078125).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.4140625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.1953125, 0.5390625, 0.2421875), 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.0234375, 0.0).lineTo(0.0234375, 0.0234375).lineTo(0.0, 0.0234375).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.2109375) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.109375, 0.5390625, 0.2421875), 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.0234375, 0.0).lineTo(0.0234375, 0.0234375).lineTo(0.0, 0.0234375).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(0.2109375) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.0625, 0.5390625, 0.2421875), 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.0234375, 0.0).lineTo(0.0234375, 0.0234375).lineTo(0.0, 0.0234375).lineTo(0.0, 0.0).close() solid3=wp_sketch3.add(loop3).extrude(0.2109375) solid=solid.union(solid3) # Generating a workplane for sketch 4 wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.1484375, 0.5390625, 0.2421875), 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.0234375, 0.0).lineTo(0.0234375, 0.0234375).lineTo(0.0, 0.0234375).lineTo(0.0, 0.0).close() solid4=wp_sketch4.add(loop4).extrude(0.2109375) solid=solid.union(solid4) # Generating a workplane for sketch 5 wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(0.0234375, 0.5390625, 0.2421875), 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.0234375, 0.0).lineTo(0.0234375, 0.0234375).lineTo(0.0, 0.0234375).lineTo(0.0, 0.0).close() solid5=wp_sketch5.add(loop5).extrude(0.2109375) solid=solid.union(solid5)
2,382
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00021796
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.49736842105263157).lineTo(0.0, 0.49736842105263157).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.6328125) solid=solid0
872
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00024822
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.4296875) solid=solid0
837
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00025294
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2890625, 0.0, -0.109375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(1.0390625, 0.0).lineTo(1.0390625, 0.24062499999999998).lineTo(0.0, 0.24062499999999998).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.140625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.2890625, -0.1015625, 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.035526315789473684, 0.0).circle(0.035526315789473684) solid1=wp_sketch1.add(loop1).extrude(-0.2578125) solid=solid.cut(solid1)
1,228
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00026945
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.3984375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.19342105263157897, 0.0).circle(0.19342105263157897) loop1=wp_sketch0.moveTo(0.19342105263157897, 0.0).circle(0.04835526315789474) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.1953125) solid=solid0
982
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00025280
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.4765625, 0.0, -0.2421875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(1.2265625, 0.0).lineTo(1.2265625, 0.12911184210526316).lineTo(0.6713815789473684, 0.12911184210526316).lineTo(0.6713815789473684, 0.2969572368421053).lineTo(1.2265625, 0.2969572368421053).lineTo(1.2265625, 0.42606907894736845).lineTo(0.0, 0.42606907894736845).threePointArc((-0.21303453947368423, 0.21303453947368423), (0.0, 0.0)).close() loop1=wp_sketch0.moveTo(0.0, 0.20657894736842106).circle(0.09037828947368422) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.421875) solid=solid0
1,227
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00021970
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.1171875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 0.2368421052631579).lineTo(0.0, 0.2368421052631579).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.15789473684210525, 0.1105263157894737).circle(0.031578947368421054) loop2=wp_sketch0.moveTo(0.5526315789473685, 0.1105263157894737).circle(0.031578947368421054) loop3=wp_sketch0.moveTo(0.9473684210526316, 0.1105263157894737).circle(0.031578947368421054) loop4=wp_sketch0.moveTo(1.3421052631578947, 0.1105263157894737).circle(0.031578947368421054) 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.75, 0.0, -0.1171875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop5=wp_sketch1.moveTo(1.5, 0.0).lineTo(1.5, 0.2368421052631579).lineTo(0.0, 0.2368421052631579).lineTo(0.0, 0.0).close() loop6=wp_sketch1.moveTo(0.15789473684210525, 0.1105263157894737).circle(0.031578947368421054) loop7=wp_sketch1.moveTo(0.5526315789473685, 0.1105263157894737).circle(0.031578947368421054) loop8=wp_sketch1.moveTo(0.9473684210526316, 0.1105263157894737).circle(0.031578947368421054) loop9=wp_sketch1.moveTo(1.3421052631578947, 0.1105263157894737).circle(0.031578947368421054) solid1=wp_sketch1.add(loop5).add(loop6).add(loop7).add(loop8).add(loop9).extrude(0.03125) solid=solid.union(solid1)
1,884
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00027454
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5625, -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.3125, 0.0).lineTo(1.3125, 0.37302631578947365).lineTo(0.0, 0.37302631578947365).threePointArc((-0.18651315789473683, 0.18651315789473683), (0.0, 0.0)).close() solid0=wp_sketch0.add(loop0).extrude(0.46875) solid=solid0
925
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00020313
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0078125, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.007894736842105263, 0.0).circle(0.007894736842105263) solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
841
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00026776
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.3828125), 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.03844223496926551, -0.09280776503073433), (0.13124999999999998, -0.13124999999999998)).lineTo(0.18593749999999998, -0.13124999999999998).threePointArc((0.27327651503073447, -0.09054253461150656), (0.30624999999999997, 0.0)).lineTo(0.30624999999999997, 0.9078124999999999).threePointArc((0.27327651503073447, 0.9983550346115065), (0.18593749999999998, 1.0390625)).lineTo(0.13124999999999998, 1.0390625).threePointArc((0.03844223496926551, 1.0006202650307345), (0.0, 0.9078124999999999)).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.15312499999999998, 0.0).circle(0.0875) loop2=wp_sketch0.moveTo(0.15312499999999998, 0.9078124999999999).circle(0.0875) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.078125, both=True) solid=solid0
1,443
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00028983
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.4296875, 0.265625), 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.43285361842105263, -0.7751455163475862), (0.8657072368421053, 0.0)).lineTo(0.7662006578947368, 0.0).threePointArc((0.43285361842105263, -0.6937572336900214), (0.09950657894736842, 0.0)).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
1,042
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00020307
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.21957236842105263, 0.0).lineTo(0.21957236842105263, 0.08881578947368421).lineTo(0.15049342105263158, 0.08881578947368421).lineTo(0.15049342105263158, 0.234375).lineTo(0.0, 0.234375).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(-0.75) solid=solid0
1,035
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00022510
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.5), 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.11447368421052631, 0.0).circle(0.11447368421052631) loop1=wp_sketch0.moveTo(0.11447368421052631, 0.0).circle(0.019078947368421053) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0546875) solid=solid0
977
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00022276
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.3984375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 0.5052631578947369).lineTo(0.4105263157894737, 0.7894736842105263).lineTo(0.0, 0.7894736842105263).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(1.2789473684210526, 0.25263157894736843).circle(0.1105263157894737) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.140625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.140625, -0.3984375), 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.13980263157894737, 0.0).lineTo(0.13980263157894737, 0.6640625).lineTo(0.0, 0.6640625).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop2).extrude(0.4375) solid=solid.union(solid1)
1,382
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00020461
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.2131578947368421) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.1640625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.2109375, 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.21710526315789475, 0.0).circle(0.21710526315789475) loop3=wp_sketch1.moveTo(0.21710526315789475, 0.0).circle(0.16282894736842107) solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.640625) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.1640625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop4=wp_sketch2.moveTo(0.1618421052631579, 0.0).circle(0.1584703947368421) loop5=wp_sketch2.moveTo(0.1618421052631579, 0.0).circle(0.08092105263157895) solid2=wp_sketch2.add(loop4).add(loop5).extrude(0.75) solid=solid.union(solid2)
1,417
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00025900
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.1328125, 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.26842105263157895).lineTo(0.0, 0.26842105263157895).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.0078125) solid=solid0
877
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00020887
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.4765625, 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.9140625, 0.0).lineTo(0.9140625, 0.2790296052631579).threePointArc((0.7167587739666156, 0.3607554844929313), (0.6350328947368421, 0.5580592105263158)).lineTo(0.0, 0.5580592105263158).threePointArc((0.2790296052631579, 0.2790296052631579), (0.0, 0.0)).close() solid0=wp_sketch0.add(loop0).extrude(0.21875) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.4765625, 0.0, -0.2265625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.0, 0.0).threePointArc((0.27734375, 0.27734375), (0.0, 0.5546875)).lineTo(0.0, 0.38536184210526314).threePointArc((0.1109375, 0.2744243421052632), (0.0, 0.16348684210526315)).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.21875) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.4765625, 0.0, -0.2265625), 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.27734375, 0.27734375), (0.0, 0.5546875)).lineTo(0.0, 0.38536184210526314).threePointArc((0.1109375, 0.2744243421052632), (0.0, 0.16348684210526315)).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(0.21875) solid=solid.union(solid2)
1,850
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00026548
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2890625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.12031249999999999, 0.0).lineTo(0.12031249999999999, 0.41562499999999997).lineTo(0.91875, 0.41562499999999997).lineTo(0.91875, 0.0).lineTo(1.0390625, 0.0).lineTo(1.0390625, 0.0546875).lineTo(0.9624999999999999, 0.0546875).lineTo(0.9624999999999999, 0.459375).lineTo(0.07656249999999999, 0.459375).lineTo(0.07656249999999999, 0.0546875).lineTo(0.0, 0.0546875).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.1875) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.2265625, 0.046875, 0.09375), cq.Vector(-1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, 1.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.0, 0.0).threePointArc((0.027343749999999997, -0.027343749999999997), (0.05468749999999999, 0.0)).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(-0.3125) solid=solid.cut(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.2265625, 0.046875, 0.09375), cq.Vector(-1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, 1.0, 6.123233995736766e-17))) loop2=wp_sketch2.moveTo(0.0, 0.0).threePointArc((0.027343749999999997, -0.027343749999999997), (0.05468749999999999, 0.0)).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(-0.3125) solid=solid.cut(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.7421875, 0.046875, 0.09375), cq.Vector(-1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, 1.0, 6.123233995736766e-17))) loop3=wp_sketch3.moveTo(0.0, 0.0).threePointArc((0.027343749999999997, -0.027343749999999997), (0.05468749999999999, 0.0)).lineTo(0.0, 0.0).close() solid3=wp_sketch3.add(loop3).extrude(-0.3125) solid=solid.cut(solid3) # Generating a workplane for sketch 4 wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.7421875, 0.046875, 0.09375), cq.Vector(-1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, 1.0, 6.123233995736766e-17))) loop4=wp_sketch4.moveTo(0.0, 0.0).threePointArc((0.027343749999999997, -0.027343749999999997), (0.05468749999999999, 0.0)).lineTo(0.0, 0.0).close() solid4=wp_sketch4.add(loop4).extrude(-0.3125) solid=solid.cut(solid4)
2,413
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00026560
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.7421052631578947) loop1=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.26842105263157895) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.4765625) solid=solid0
901
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00025069
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0234375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.006936944656108174, -0.01674726587020773), (0.02368421052631579, -0.02368421052631579)).lineTo(0.7263157894736842, -0.02368421052631579).threePointArc((0.7430630553438918, -0.01674726587020773), (0.75, 0.0)).lineTo(0.75, 0.4263157894736842).threePointArc((0.7430630553438918, 0.44306305534389184), (0.7263157894736842, 0.45)).lineTo(0.02368421052631579, 0.45).threePointArc((0.006936944656108174, 0.44306305534389184), (0.0, 0.4263157894736842)).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.7109375, 0.03125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.007894736842105263, 0.0).circle(0.007894736842105263) solid1=wp_sketch1.add(loop1).extrude(-0.21875) solid=solid.cut(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0234375, 0.4375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch2.moveTo(0.007894736842105263, 0.0).circle(0.007894736842105263) solid2=wp_sketch2.add(loop2).extrude(-0.21875) solid=solid.cut(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.0234375, 0.03125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop3=wp_sketch3.moveTo(0.007894736842105263, 0.0).circle(0.007894736842105263) solid3=wp_sketch3.add(loop3).extrude(-0.21875) solid=solid.cut(solid3) # Generating a workplane for sketch 4 wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.7109375, 0.4375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop4=wp_sketch4.moveTo(0.007894736842105263, 0.0).circle(0.007894736842105263) solid4=wp_sketch4.add(loop4).extrude(-0.21875) solid=solid.cut(solid4)
2,006
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00029121
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.2578125, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.2590460526315789, 0.0).lineTo(0.2590460526315789, 0.5859375).lineTo(0.0, 0.5859375).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.03700657894736842, 0.03700657894736842).circle(0.012335526315789474) loop2=wp_sketch0.moveTo(0.03700657894736842, 0.5489309210526316).circle(0.012335526315789474) loop3=wp_sketch0.moveTo(0.20353618421052633, 0.29605263157894735).circle(0.012335526315789474) loop4=wp_sketch0.moveTo(0.22203947368421054, 0.03700657894736842).circle(0.012335526315789474) loop5=wp_sketch0.moveTo(0.22203947368421054, 0.5489309210526316).circle(0.012335526315789474) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).add(loop5).extrude(0.046875) solid=solid0
1,347
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00026574
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.22450657894736842, 0.0).lineTo(0.22450657894736842, 0.08980263157894737).lineTo(0.15197368421052632, 0.08980263157894737).lineTo(0.15197368421052632, 0.328125).lineTo(0.0, 0.328125).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(-0.75) solid=solid0
1,035
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00021384
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6484375, 0.0, -0.0234375), 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.296875, 0.0).lineTo(1.296875, 0.05460526315789474).lineTo(0.0, 0.05460526315789474).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
959
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00020924
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.53125, 0.0, -0.21875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.11728418576282261, -0.02574234983535276), (0.21578947368421053, -0.09440789473684211)).threePointArc((0.5327302631578947, -0.22568906820607817), (0.8496710526315789, -0.09440789473684211)).threePointArc((0.9481763405529668, -0.02574234983535276), (1.0654605263157895, 0.0)).threePointArc((1.2879934210526316, 0.22253289473684212), (1.0654605263157895, 0.44506578947368425)).threePointArc((0.9495176903987836, 0.4640647182564056), (0.8496710526315789, 0.5259868421052631)).threePointArc((0.5327302631578947, 0.6572680155744992), (0.21578947368421053, 0.5259868421052631)).threePointArc((0.1159428359170059, 0.4640647182564056), (0.0, 0.44506578947368425)).threePointArc((-0.22253289473684212, 0.22253289473684212), (0.0, 0.0)).close() loop1=wp_sketch0.moveTo(0.0, 0.21578947368421053).circle(0.09440789473684211) loop2=wp_sketch0.moveTo(0.5259868421052631, 0.21578947368421053).circle(0.3101973684210526) loop3=wp_sketch0.moveTo(1.0654605263157895, 0.21578947368421053).circle(0.09440789473684211) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).extrude(0.046875) solid=solid0
1,731
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00022869
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.421875, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.5723684210526316, 0.0).circle(0.5723684210526316) loop1=wp_sketch0.moveTo(0.2027138157894737, -0.2504111842105263).circle(0.09539473684210527) loop2=wp_sketch0.moveTo(0.32195723684210525, 0.3696546052631579).circle(0.09539473684210527) loop3=wp_sketch0.moveTo(0.5723684210526316, 0.0).circle(0.2623355263157895) loop4=wp_sketch0.moveTo(0.8108552631578948, -0.3696546052631579).circle(0.09539473684210527) loop5=wp_sketch0.moveTo(0.9300986842105263, 0.2504111842105263).circle(0.09539473684210527) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).add(loop5).extrude(0.1328125, both=True) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.453125, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop6=wp_sketch1.moveTo(0.6078947368421053, 0.0).circle(0.6078947368421053) loop7=wp_sketch1.moveTo(0.6078947368421053, 0.0).circle(0.5699013157894737) solid1=wp_sketch1.add(loop6).add(loop7).extrude(0.203125, both=True) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.1171875, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop8=wp_sketch2.moveTo(0.26842105263157895, 0.0).circle(0.26842105263157895) loop9=wp_sketch2.moveTo(0.26842105263157895, 0.0).circle(0.10065789473684211) solid2=wp_sketch2.add(loop8).add(loop9).extrude(0.203125, both=True) solid=solid.union(solid2)
1,964
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00025121
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.015625, 0.0, -0.03125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.05572269903292785, 0.0329358552631579), (0.0, 0.0658717105263158)).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.027384868421052633, 0.032565789473684215).circle(0.021463815789473685) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0390625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.015625, 0.0, -0.03125), 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.0, 0.0).threePointArc((0.05572269903292785, 0.0329358552631579), (0.0, 0.0658717105263158)).lineTo(0.0, 0.0).close() loop3=wp_sketch1.moveTo(0.027384868421052633, 0.032565789473684215).circle(0.021463815789473685) solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.0390625) solid=solid.union(solid1)
1,450
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00025653
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2421875, -0.4140625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.4839638157894737, 0.0).lineTo(0.4839638157894737, 0.8359375).lineTo(0.0, 0.8359375).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.2463815789473684, 0.42236842105263156).circle(0.17598684210526316) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.078125) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.4296875, -0.75, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch1.moveTo(0.868421052631579, 0.0).lineTo(0.868421052631579, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close() loop3=wp_sketch1.moveTo(0.4263157894736842, 0.7578947368421053).circle(0.1736842105263158) solid1=wp_sketch1.add(loop2).add(loop3).extrude(-0.078125) solid=solid.union(solid1)
1,273
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00029069
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.546875, -0.2734375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.8749999999999999, 0.0).lineTo(0.8749999999999999, 0.6171052631578947).lineTo(0.0, 0.6171052631578947).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.75, -0.2734375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.20789473684210527, 0.0).lineTo(0.20789473684210527, 0.6171875).lineTo(0.0, 0.6171875).lineTo(0.0, 0.05197368421052632).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.078125) solid=solid.union(solid1)
1,176
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00021409
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2734375, 0.0, -0.4375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.5434210526315789, 0.0).lineTo(0.5434210526315789, 0.8749999999999999).lineTo(0.0, 0.8749999999999999).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
974
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00021804
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.5595394736842105, 0.0).lineTo(0.5595394736842105, 0.65625).lineTo(0.0, 0.65625).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
871
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00026819
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.703125, 0.046875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.1667763157894737, 0.0).circle(0.1667763157894737) loop1=wp_sketch0.moveTo(1.111842105263158, -0.2084703947368421).threePointArc((1.3203125, 0.0), (1.111842105263158, 0.2084703947368421)).lineTo(0.1667763157894737, 0.2084703947368421).threePointArc((0.3752467105263158, 0.0), (0.1667763157894737, -0.2084703947368421)).close() loop2=wp_sketch0.moveTo(1.111842105263158, 0.0).circle(0.1667763157894737) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.4140625) solid=solid0
1,136
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false