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/00021322
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5625, -0.6875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(1.1289473684210527, 0.0).lineTo(1.1289473684210527, 1.375).lineTo(0.0, 1.375).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(-0.0390625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.75, 0.1015625), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.15, -0.049342105263157895).lineTo(0.15, -0.10065789473684211).lineTo(0.1875, -0.10065789473684211).lineTo(0.1875, -0.02368421052631579).lineTo(0.0, 0.039473684210526314).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.375, both=True) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.5625, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop2=wp_sketch2.moveTo(0.037088815789473685, 0.0).lineTo(0.037088815789473685, 0.048848684210526315).lineTo(0.0859375, 0.048848684210526315).lineTo(0.0859375, 0.0859375).lineTo(0.0, 0.0859375).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(0.375, both=True) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.015625, 0.1875, -0.0390625), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042))) loop3=wp_sketch3.moveTo(0.039473684210526314, 0.0).lineTo(0.039473684210526314, 0.375).lineTo(0.0, 0.375).lineTo(0.0, 0.0).close() solid3=wp_sketch3.add(loop3).extrude(0.1015625) solid=solid.union(solid3)
1,929
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00028845
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.5, 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.9947368421052631).lineTo(0.0, 0.9947368421052631).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.1015625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.4765625, 0.296875, 0.1015625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.07894736842105263, 0.0).circle(0.07894736842105263) solid1=wp_sketch1.add(loop1).extrude(0.5) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.4765625, -0.296875, 0.1015625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch2.moveTo(0.07894736842105263, 0.0).circle(0.07894736842105263) solid2=wp_sketch2.add(loop2).extrude(0.5) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.3203125, 0.296875, 0.1015625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop3=wp_sketch3.moveTo(0.07894736842105263, 0.0).lineTo(0.07894736842105263, -0.07894736842105263).threePointArc((0.13477158798841163, 0.055824219567358994), (0.0, 0.0)).close() solid3=wp_sketch3.add(loop3).extrude(0.5) solid=solid.union(solid3) # Generating a workplane for sketch 4 wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.3203125, 0.296875, 0.1015625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop4=wp_sketch4.moveTo(0.0, 0.0).threePointArc((0.02288228271980095, -0.05524271728019903), (0.078125, -0.078125)).lineTo(0.078125, 0.0).lineTo(0.0, 0.0).close() solid4=wp_sketch4.add(loop4).extrude(0.5) solid=solid.union(solid4) # Generating a workplane for sketch 5 wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(0.3203125, -0.296875, 0.1015625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop5=wp_sketch5.moveTo(0.0, 0.0).threePointArc((0.13477158798841163, -0.055824219567358994), (0.07894736842105263, 0.07894736842105263)).lineTo(0.07894736842105263, 0.0).lineTo(0.0, 0.0).close() solid5=wp_sketch5.add(loop5).extrude(0.5) solid=solid.union(solid5) # Generating a workplane for sketch 6 wp_sketch6 = cq.Workplane(cq.Plane(cq.Vector(0.3203125, -0.296875, 0.1015625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop6=wp_sketch6.moveTo(0.078125, 0.0).lineTo(0.078125, 0.078125).threePointArc((0.022882282719800973, 0.05524271728019905), (0.0, 0.0)).close() solid6=wp_sketch6.add(loop6).extrude(0.5) solid=solid.union(solid6)
2,356
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00021685
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.703125), 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.5106907894736842, 0.0).lineTo(0.35526315789473684, 0.703125).lineTo(0.0, 0.703125).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(-0.3828125) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.2109375, 0.0, -0.703125), 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.5106907894736842, 0.0).lineTo(0.5106907894736842, 0.703125).lineTo(0.15542763157894737, 0.703125).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(-0.3828125) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch2.moveTo(0.35748355263157894, 0.0).lineTo(0.35748355263157894, 0.18651315789473683).lineTo(1.119078947368421, 0.18651315789473683).lineTo(1.119078947368421, 0.0).lineTo(1.4765625, 0.0).lineTo(1.4765625, 0.3885690789473684).lineTo(1.119078947368421, 0.3885690789473684).lineTo(0.35748355263157894, 0.3885690789473684).lineTo(0.0, 0.3885690789473684).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(-0.703125) solid=solid.union(solid2)
1,742
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00021108
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.578125, 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.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() 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.578125, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.0, 0.10361842105263157).threePointArc((-0.0703125, 0.17393092105263158), (0.0, 0.24424342105263155)).lineTo(0.0, 0.3515625).threePointArc((-0.17578125, 0.17578125), (0.0, 0.0)).close() solid1=wp_sketch1.add(loop1).extrude(0.140625) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.578125, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop2=wp_sketch2.moveTo(0.0, 0.0).threePointArc((0.17578125, 0.17578125), (0.0, 0.3515625)).lineTo(0.0, 0.24424342105263155).threePointArc((0.0703125, 0.17393092105263158), (0.0, 0.10361842105263157)).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(0.140625) solid=solid.union(solid2)
1,827
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00029540
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.390625, 0.0, -0.421875), 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.7894736842105263, 0.0).lineTo(0.7894736842105263, 1.171875).lineTo(0.0, 1.171875).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.39473684210526316, 0.39473684210526316).circle(0.2467105263157895) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.2421875) solid=solid0
1,040
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00026673
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.53125, 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.28125, 0.0).lineTo(1.28125, 0.25625).lineTo(0.0, 0.25625).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.1640625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.4921875, -0.1640625, -0.125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.05921052631578947, 0.0).circle(0.05921052631578947) solid1=wp_sketch1.add(loop1).extrude(-0.640625) solid=solid.cut(solid1)
1,206
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00024064
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.015625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.011842105263157895, 0.0).circle(0.011842105263157895) solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
840
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00022373
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.28125, -0.75, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.5605263157894737, 0.0).lineTo(0.5605263157894737, 0.75).lineTo(0.28421052631578947, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.046875) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.28125, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.lineTo(0.28421052631578947, 0.0).lineTo(0.5605263157894737, 0.0).lineTo(0.5605263157894737, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close() loop2=wp_sketch1.moveTo(0.5131578947368421, 0.3078947368421053).lineTo(0.5131578947368421, 0.6868421052631579).lineTo(0.04736842105263158, 0.6868421052631579).lineTo(0.04736842105263158, 0.3157894736842105).close() solid1=wp_sketch1.add(loop1).add(loop2).extrude(0.046875) solid=solid.union(solid1)
1,343
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00023045
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.65625, -0.4453125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(1.40625, 0.0).lineTo(1.40625, 0.8585526315789473).lineTo(0.0, 0.8585526315789473).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.1875) solid=solid0
883
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00021121
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.578125, 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.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() 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.578125, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.0, 0.10361842105263157).threePointArc((-0.0703125, 0.17393092105263158), (0.0, 0.24424342105263155)).lineTo(0.0, 0.3515625).threePointArc((-0.17578125, 0.17578125), (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.578125, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop2=wp_sketch2.moveTo(0.0, 0.0).threePointArc((0.17578125, 0.17578125), (0.0, 0.3515625)).lineTo(0.0, 0.24424342105263155).threePointArc((0.0703125, 0.17393092105263158), (0.0, 0.10361842105263157)).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(0.0703125) solid=solid.union(solid2)
1,830
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00027236
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(1.140625, 0.0).lineTo(0.0, 0.1800986842105263).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.07203947368421051, 0.02401315789473684).circle(0.01200657894736842) loop2=wp_sketch0.moveTo(0.9004934210526315, 0.02401315789473684).circle(0.01200657894736842) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.171875) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.1171875, 0.0859375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop3=wp_sketch1.moveTo(0.027631578947368417, 0.0).circle(0.027631578947368417) solid1=wp_sketch1.add(loop3).extrude(-0.34375) solid=solid.cut(solid1)
1,336
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00026128
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.0, 0.0).threePointArc((0.15261278243437804, -0.36843984914456934), (0.5210526315789474, -0.5210526315789474)).lineTo(0.9789473684210527, -0.5210526315789474).threePointArc((1.347387217565622, -0.36843984914456956), (1.5, 0.0)).lineTo(1.5, 0.4578947368421053).lineTo(0.0, 0.4578947368421053).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.5368421052631579, -0.15789473684210525).circle(0.031578947368421054) loop2=wp_sketch0.moveTo(0.7578947368421053, -0.15789473684210525).circle(0.12631578947368421) loop3=wp_sketch0.moveTo(0.7578947368421053, -0.37894736842105264).circle(0.031578947368421054) loop4=wp_sketch0.moveTo(0.7578947368421053, 0.06315789473684211).circle(0.031578947368421054) loop5=wp_sketch0.moveTo(0.9631578947368421, -0.15789473684210525).circle(0.031578947368421054) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).add(loop5).extrude(0.1328125, both=True) solid=solid0
1,537
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00028111
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6875, 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.2372532894736843, 0.0).lineTo(1.3828125, 0.0).lineTo(1.3828125, 1.2954769736842104).lineTo(1.2372532894736843, 1.2954769736842104).lineTo(0.0, 1.2954769736842104).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.3347861842105263, 0.058223684210526316).circle(0.04366776315789474) loop2=wp_sketch0.moveTo(0.3638980263157895, 1.2372532894736843).circle(0.04366776315789474) loop3=wp_sketch0.moveTo(1.2372532894736843, 0.18922697368421054).circle(0.04366776315789474) loop4=wp_sketch0.moveTo(1.2372532894736843, 0.8587993421052632).circle(0.04366776315789474) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).extrude(0.078125) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.6875, 0.0, -0.75), 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.2372532894736843, 0.0).lineTo(1.3828125, 0.0).lineTo(1.3828125, 1.2954769736842104).lineTo(1.2372532894736843, 1.2954769736842104).lineTo(0.0, 1.2954769736842104).lineTo(0.0, 0.0).close() loop6=wp_sketch1.moveTo(0.3347861842105263, 0.058223684210526316).circle(0.04366776315789474) loop7=wp_sketch1.moveTo(0.3638980263157895, 1.2372532894736843).circle(0.04366776315789474) loop8=wp_sketch1.moveTo(1.2372532894736843, 0.18922697368421054).circle(0.04366776315789474) loop9=wp_sketch1.moveTo(1.2372532894736843, 0.8587993421052632).circle(0.04366776315789474) solid1=wp_sketch1.add(loop5).add(loop6).add(loop7).add(loop8).add(loop9).extrude(0.078125) solid=solid.union(solid1)
2,038
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00026672
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.421875, 0.0, 0.1796875), 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.25509868421052634, -0.2442434210526316).lineTo(0.3310855263157895, -0.2442434210526316).lineTo(0.3310855263157895, -0.016282894736842107).lineTo(0.1574013157894737, 0.03799342105263158).lineTo(0.1574013157894737, 0.20082236842105264).lineTo(0.22253289473684212, 0.515625).lineTo(0.0, 0.15197368421052632).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.1484375) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.09375, 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.07697368421052632, 0.0).lineTo(0.2993421052631579, 0.2736842105263158).lineTo(0.2993421052631579, 0.4190789473684211).lineTo(0.09407894736842105, 0.8125).lineTo(0.14539473684210527, 0.4960526315789474).lineTo(0.14539473684210527, 0.3335526315789474).lineTo(0.0, 0.2223684210526316).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.1484375) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.1640625, 0.0, -0.140625), 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.1484375, 0.0).lineTo(0.1484375, 0.07500000000000001).lineTo(0.0, 0.07500000000000001).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(0.1484375) solid=solid.union(solid2)
1,967
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00028139
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.3203125, 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.31973684210526315, 0.0).circle(0.31973684210526315) solid0=wp_sketch0.add(loop0).extrude(0.640625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.125, 0.0, 0.640625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.12631578947368421, 0.0).circle(0.12631578947368421) solid1=wp_sketch1.add(loop1).extrude(0.109375) solid=solid.union(solid1)
1,039
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00028893
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.328125, 0.0, 0.7109375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.34827302631578944, -0.6015625).lineTo(0.43692434210526315, -0.6015625).lineTo(0.06965460526315789, 0.03799342105263158).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.3671875) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0234375, 0.0, -0.265625), 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.09276315789473684, 0.0).lineTo(0.09276315789473684, 0.3671875).lineTo(0.0, 0.3671875).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.3671875) solid=solid.union(solid1)
1,314
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00026841
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.25263157894736843).lineTo(0.0, 0.25263157894736843).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.12631578947368421, 0.12631578947368421).circle(0.06315789473684211) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0625) 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/00028688
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.296875) solid=solid0
899
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00028850
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.625, 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.631578947368421, 0.0).circle(0.631578947368421) solid0=wp_sketch0.add(loop0).extrude(0.375) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.375, 0.375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.37894736842105264, 0.0).circle(0.37894736842105264) loop2=wp_sketch1.moveTo(0.37894736842105264, 0.18947368421052632).circle(0.06315789473684211) solid1=wp_sketch1.add(loop1).add(loop2).extrude(0.3125) solid_temp=solid1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.375, 0.375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.37894736842105264, 0.0).circle(0.37894736842105264) loop2=wp_sketch1.moveTo(0.37894736842105264, 0.18947368421052632).circle(0.06315789473684211) solid1=wp_sketch1.add(loop1).add(loop2).extrude(-0.3125) solid_temp=solid_temp.union(solid1) solid=solid.union(solid_temp)
1,487
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00029596
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.03125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 0.015789473684210527).lineTo(0.0, 0.015789473684210527).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.015625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.03125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(1.5, 0.0).lineTo(1.5, 0.06315789473684211).lineTo(0.0, 0.06315789473684211).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.015625) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.046875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch2.moveTo(1.5, 0.0).lineTo(1.5, 0.015789473684210527).lineTo(0.0, 0.015789473684210527).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.75, -0.046875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop3=wp_sketch3.moveTo(1.5, 0.0).lineTo(1.5, 0.015789473684210527).lineTo(0.0, 0.015789473684210527).lineTo(0.0, 0.0).close() solid3=wp_sketch3.add(loop3).extrude(0.1640625) solid=solid.union(solid3) # Generating a workplane for sketch 4 wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.03125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop4=wp_sketch4.moveTo(1.5, 0.0).lineTo(1.5, 0.015789473684210527).lineTo(0.0, 0.015789473684210527).lineTo(0.0, 0.0).close() solid4=wp_sketch4.add(loop4).extrude(0.1640625) solid=solid.union(solid4)
1,790
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00020983
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.578125, 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.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.140625) solid=solid0
1,151
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00024529
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.328125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.7421875, 0.0).lineTo(0.7421875, 0.5390625).lineTo(0.0, 0.5390625).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.28125, 0.1875).circle(0.0078125) loop2=wp_sketch0.moveTo(0.4609375, 0.1875).circle(0.0078125) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.0703125) solid=solid0
1,034
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00022158
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.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.0, -0.2890625, 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.2935032894736842, 0.0).lineTo(0.2935032894736842, 0.3359375).lineTo(0.1096217105263158, 0.3359375).lineTo(0.0, 0.14498355263157894).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop2).extrude(0.0703125) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.2890625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop3=wp_sketch2.moveTo(0.0740953947368421, 0.0).lineTo(0.41406249999999994, 0.21792763157894735).lineTo(0.41406249999999994, 0.2876644736842105).lineTo(0.0, 0.2876644736842105).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop3).extrude(0.0703125) solid=solid.union(solid2)
1,704
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00022170
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.046875, 0.0).threePointArc((-0.042348861747967356, -0.018856704563573513), (0.031578947368421054, 0.03453947368421053)).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.0859375) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.6640625, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.0, 0.0).threePointArc((0.08289701430710057, -0.012633544888014776), (0.007236842105263158, 0.023519736842105263)).lineTo(0.04251644736842105, 0.0).lineTo(0.0, 0.0).close() 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.234375, 0.0, 0.2578125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop2=wp_sketch2.moveTo(0.030427631578947366, 0.03289473684210526).lineTo(0.06825657894736842, 0.008223684210526315).threePointArc((0.02515112850376583, 0.07862227815558577), (0.0, 0.0)).close() 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.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))) loop3=wp_sketch3.moveTo(0.046875, 0.0).threePointArc((0.04288300502015102, 0.01888883643373605), (0.031578947368421054, 0.03453947368421053)).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.6640625, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop4=wp_sketch4.moveTo(0.046875, 0.0).lineTo(0.007894736842105263, 0.025657894736842105).threePointArc((0.00204437384408042, 0.013414484161335576), (0.0, 0.0)).close() solid4=wp_sketch4.add(loop4).extrude(0.0859375) solid=solid.union(solid4) # Generating a workplane for sketch 5 wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(0.234375, 0.0, 0.2578125), 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.0, 0.0).threePointArc((0.03305802769751581, -0.010366184184280881), (0.0625, 0.007894736842105263)).lineTo(0.028289473684210524, 0.030263157894736843).lineTo(0.0, 0.0).close() solid5=wp_sketch5.add(loop5).extrude(0.0859375) solid=solid.union(solid5) # Generating a workplane for sketch 6 wp_sketch6 = cq.Workplane(cq.Plane(cq.Vector(0.03125, 0.0, 0.03125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop6=wp_sketch6.moveTo(0.0, 0.0).threePointArc((0.010312404023430715, -0.015430959443259293), (0.013486842105263158, -0.033717105263157895)).lineTo(0.6338815789473684, -0.033717105263157895).threePointArc((0.6352527054312262, -0.0197301171472802), (0.640625, -0.006743421052631579)).lineTo(0.27648026315789476, 0.23601973684210525).threePointArc((0.24430751488636493, 0.21720445639950858), (0.20904605263157894, 0.2292763157894737)).lineTo(0.0, 0.0).close() solid6=wp_sketch6.add(loop6).extrude(0.0859375) solid=solid.union(solid6)
3,350
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00020001
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/00029743
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.0234375, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.027631578947368417, 0.0).circle(0.027631578947368417) solid0=wp_sketch0.add(loop0).extrude(0.75, both=True) solid=solid0
899
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00025179
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.296875, 0.0).lineTo(0.296875, 0.296875).lineTo(0.0, 0.296875).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
925
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00023508
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.26842105263157895).lineTo(0.4105263157894737, 0.26842105263157895).lineTo(0.3394736842105263, 0.26842105263157895).lineTo(0.0, 0.26842105263157895).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.296875) solid=solid0
1,030
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00029031
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.65625, 0.0, -0.546875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.02368421052631579, 0.0).circle(0.02319078947368421) 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.75, 0.0, -0.5234375), 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.11447368421052631, 0.0).lineTo(0.2265625, 0.0).lineTo(0.2265625, 0.04292763157894737).lineTo(0.0, 0.04292763157894737).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.0078125) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.2265625, 0.0, -0.453125), 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.22894736842105262, 0.0).lineTo(0.22894736842105262, 0.453125).lineTo(0.0, 0.453125).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(0.0078125) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.3515625, 0.0, -0.546875), 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.02368421052631579, 0.0).circle(0.02319078947368421) solid3=wp_sketch3.add(loop3).extrude(0.0078125) solid=solid.union(solid3) # Generating a workplane for sketch 4 wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.3203125, 0.0, -0.5234375), 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.04917763157894737, 0.0).lineTo(0.07269736842105264, 0.0).lineTo(0.07269736842105264, -0.023519736842105263).lineTo(0.07269736842105264, -0.06735197368421053).lineTo(0.1015625, -0.06735197368421053).lineTo(0.1015625, 0.029934210526315792).lineTo(0.0, 0.029934210526315792).lineTo(0.0, 0.0).close() solid4=wp_sketch4.add(loop4).extrude(0.0078125) solid=solid.union(solid4) # Generating a workplane for sketch 5 wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(0.375, 0.0, -0.5234375), 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.0, 0.0).threePointArc((0.016572815184059717, -0.006864684815940292), (0.0234375, -0.0234375)).lineTo(0.0234375, 0.0).lineTo(0.0, 0.0).close() solid5=wp_sketch5.add(loop5).extrude(0.0078125) solid=solid.union(solid5)
2,663
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00022164
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.3984375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 0.7736842105263159).lineTo(0.0, 0.7736842105263159).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.39473684210526316, 0.631578947368421).lineTo(0.4578947368421053, 0.7263157894736842).lineTo(0.3473684210526316, 0.7263157894736842).close() solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.203125) solid=solid0
1,017
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00020940
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5390625, 0.0, -0.25), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.0961397540397028, -0.03274468610671738), (0.1763980263157895, -0.09498355263157895)).threePointArc((0.5427631578947368, -0.25469961789349577), (0.9091282894736843, -0.09498355263157895)).threePointArc((0.9893865617497709, -0.032744686106717574), (1.0855263157894737, 0.0)).threePointArc((1.2936120744892066, 0.24424342105263158), (1.0855263157894737, 0.48848684210526316)).threePointArc((0.9893865617497709, 0.5212315282119804), (0.9091282894736843, 0.5834703947368421)).threePointArc((0.5427631578947368, 0.743186459998759), (0.1763980263157895, 0.5834703947368421)).threePointArc((0.0961397540397028, 0.5212315282119804), (0.0, 0.48848684210526316)).threePointArc((-0.20808575869973295, 0.24424342105263158), (0.0, 0.0)).close() loop1=wp_sketch0.moveTo(0.04070723684210527, 0.24424342105263158).circle(0.09498355263157895) loop2=wp_sketch0.moveTo(0.5427631578947368, 0.24424342105263158).circle(0.352796052631579) loop3=wp_sketch0.moveTo(1.0448190789473684, 0.24424342105263158).circle(0.09498355263157895) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).extrude(0.203125) solid=solid0
1,742
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00029964
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
837
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00027791
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.49736842105263157).lineTo(0.4342105263157895, 0.49736842105263157).lineTo(0.24473684210526317, 0.3078947368421053).lineTo(0.0, 0.3078947368421053).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.25, both=True) solid=solid0
1,028
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00022831
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, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.6592105263157895, 0.0).circle(0.6592105263157895) loop1=wp_sketch0.moveTo(0.24720394736842105, 0.0).circle(0.09613486842105262) loop2=wp_sketch0.moveTo(0.6592105263157895, 0.0).circle(0.2060032894736842) loop3=wp_sketch0.moveTo(0.6592105263157895, -0.3982730263157895).circle(0.09613486842105262) loop4=wp_sketch0.moveTo(0.6592105263157895, 0.3982730263157895).circle(0.09613486842105262) loop5=wp_sketch0.moveTo(1.057483552631579, 0.0).circle(0.09613486842105262) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).add(loop5).extrude(0.1015625, both=True) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.203125, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop6=wp_sketch1.moveTo(0.20131578947368423, 0.0).circle(0.20131578947368423) loop7=wp_sketch1.moveTo(0.20131578947368423, 0.0).circle(0.10065789473684211) solid1=wp_sketch1.add(loop6).add(loop7).extrude(0.1484375, both=True) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop8=wp_sketch2.moveTo(0.7578947368421053, 0.0).circle(0.7578947368421053) loop9=wp_sketch2.moveTo(0.7578947368421053, 0.0).circle(0.6473684210526316) solid2=wp_sketch2.add(loop8).add(loop9).extrude(0.1484375, both=True) solid=solid.union(solid2)
1,931
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00022825
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.17763157894736842, 0.0).circle(0.17393092105263158) loop1=wp_sketch0.moveTo(0.05550986842105263, 0.0).circle(0.025904605263157892) loop2=wp_sketch0.moveTo(0.17763157894736842, 0.0).circle(0.06661184210526315) loop3=wp_sketch0.moveTo(0.17763157894736842, -0.11842105263157894).circle(0.025904605263157892) loop4=wp_sketch0.moveTo(0.17763157894736842, 0.11842105263157894).circle(0.025904605263157892) loop5=wp_sketch0.moveTo(0.29605263157894735, 0.0).circle(0.025904605263157892) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).add(loop5).extrude(0.03125, both=True) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.640625, 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.06570723684210526, 0.0).circle(0.06710526315789474) loop7=wp_sketch1.moveTo(0.06570723684210526, 0.0).circle(0.025164473684210528) solid1=wp_sketch1.add(loop6).add(loop7).extrude(0.0546875, both=True) solid=solid.union(solid1)
1,611
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00025757
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0703125, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.035526315789473684, -0.035526315789473684), (0.07105263157894737, 0.0)).lineTo(0.07105263157894737, 0.7105263157894737).threePointArc((0.035526315789473684, 0.7460526315789474), (0.0, 0.7105263157894737)).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.039473684210526314, 0.0).circle(0.007894736842105263) loop2=wp_sketch0.moveTo(0.039473684210526314, 0.7105263157894737).circle(0.007894736842105263) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.015625) solid=solid0
1,228
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00025025
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.75, -0.0859375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.8125, 0.0).lineTo(0.8125, 0.5644736842105263).lineTo(0.5644736842105263, 0.5644736842105263).lineTo(0.0, 0.1625).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.2421875) solid=solid0
965
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00027154
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2890625, 0.1796875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.5703125, 0.0).lineTo(0.5703125, 0.1740953947368421).lineTo(0.43223684210526314, 0.1740953947368421).lineTo(0.16208881578947368, 0.1740953947368421).lineTo(0.0, 0.1740953947368421).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
973
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00021525
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.171875, -0.6953125, 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.01782409390805558, -0.04303116924983916), (0.06085526315789474, -0.06085526315789474)).lineTo(0.2890625, -0.06085526315789474).threePointArc((0.3320936692498392, -0.04303116924983916), (0.34991776315789475, 0.0)).lineTo(0.34991776315789475, 1.3844572368421053).threePointArc((0.3320936692498392, 1.4274884060919444), (0.2890625, 1.4453125)).lineTo(0.06085526315789474, 1.4453125).threePointArc((0.01782409390805558, 1.4274884060919444), (0.0, 1.3844572368421053)).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.16735197368421054, 0.16735197368421054).circle(0.06085526315789474) loop2=wp_sketch0.moveTo(0.16735197368421054, 0.6998355263157895).circle(0.06085526315789474) loop3=wp_sketch0.moveTo(0.16735197368421054, 1.2171052631578947).circle(0.06085526315789474) loop4=wp_sketch0.moveTo(0.16735197368421054, 0.34991776315789475).circle(0.04564144736842105) loop5=wp_sketch0.moveTo(0.16735197368421054, 1.0497532894736843).circle(0.04564144736842105) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).add(loop5).extrude(0.2109375) solid=solid0
1,633
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00022004
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.078125, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.07500000000000001, 0.0).circle(0.07500000000000001) solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
910
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00020607
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5234375, 0.0, -0.21875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.10930601572269914, -0.01828512516693673), (0.20106907894736842, -0.08042763157894736)).threePointArc((0.5227796052631579, -0.2183337096335889), (0.8444901315789474, -0.08042763157894736)).threePointArc((0.9362531948036167, -0.01828512516693673), (1.0455592105263158, 0.0)).threePointArc((1.2750315652294881, 0.22117598684210527), (1.0455592105263158, 0.44235197368421053)).threePointArc((0.9362531948036167, 0.46063709885114745), (0.8444901315789474, 0.5227796052631579)).threePointArc((0.5227796052631579, 0.6606856833177994), (0.20106907894736842, 0.5227796052631579)).threePointArc((0.10930601572269914, 0.46063709885114745), (0.0, 0.44235197368421053)).threePointArc((-0.22947235470317232, 0.22117598684210527), (0.0, 0.0)).close() loop1=wp_sketch0.moveTo(-0.013404605263157895, 0.21447368421052632).circle(0.09383223684210526) loop2=wp_sketch0.moveTo(0.5227796052631579, 0.21447368421052632).circle(0.3083059210526316) loop3=wp_sketch0.moveTo(1.0589638157894736, 0.21447368421052632).circle(0.09383223684210526) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).extrude(0.046875) solid=solid0
1,752
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00029145
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.40625, -0.7421875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.lineTo(0.8167763157894737, 0.0).lineTo(0.8167763157894737, 1.4921875).lineTo(0.0, 1.4921875).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.047121710526315794, 0.03141447368421053).circle(0.015707236842105263) loop2=wp_sketch0.moveTo(0.047121710526315794, 1.4450657894736842).circle(0.015707236842105263) loop3=wp_sketch0.moveTo(0.7696546052631579, 0.03141447368421053).circle(0.015707236842105263) loop4=wp_sketch0.moveTo(0.7696546052631579, 1.4450657894736842).circle(0.015707236842105263) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).extrude(0.0390625) solid=solid0
1,216
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00022789
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.09473684210526316, 0.0).circle(0.09473684210526316) loop1=wp_sketch0.moveTo(0.04342105263157895, 0.0).circle(0.009868421052631578) loop2=wp_sketch0.moveTo(0.09473684210526316, 0.0).circle(0.021710526315789475) loop3=wp_sketch0.moveTo(0.09473684210526316, -0.049342105263157895).circle(0.009868421052631578) loop4=wp_sketch0.moveTo(0.09473684210526316, 0.049342105263157895).circle(0.009868421052631578) loop5=wp_sketch0.moveTo(0.14407894736842106, 0.0).circle(0.009868421052631578) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).add(loop5).extrude(0.015625, both=True) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.6796875, 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.02368421052631579, 0.0).circle(0.02319078947368421) loop7=wp_sketch1.moveTo(0.02368421052631579, 0.0).circle(0.010361842105263159) solid1=wp_sketch1.add(loop6).add(loop7).extrude(0.0390625, both=True) solid=solid.union(solid1)
1,616
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00027424
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.5052631578947369, 0.0).threePointArc((0.75, 0.24473684210526317), (0.9947368421052631, 0.0)).lineTo(1.5, 0.0).lineTo(1.5, 0.14210526315789473).lineTo(1.105263157894737, 0.14210526315789473).threePointArc((0.75, 0.3826506334983504), (0.39473684210526316, 0.14210526315789473)).lineTo(0.0, 0.14210526315789473).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.3046875) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.578125, 0.0, 0.1484375), 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.031578947368421054, 0.0).circle(0.031578947368421054) solid1=wp_sketch1.add(loop1).extrude(-0.1484375) solid=solid.cut(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.515625, 0.0, 0.1484375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop2=wp_sketch2.moveTo(0.031578947368421054, 0.0).circle(0.030921052631578946) solid2=wp_sketch2.add(loop2).extrude(-0.1484375) solid=solid.cut(solid2)
1,618
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00021733
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.03125, 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.05468749999999999, 0.0).lineTo(0.05468749999999999, 0.05468749999999999).lineTo(0.0, 0.05468749999999999).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.049506578947368415, 0.005756578947368421).lineTo(0.049506578947368415, 0.049506578947368415).lineTo(0.005756578947368421, 0.049506578947368415).lineTo(0.005756578947368421, 0.005756578947368421).close() solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75) solid=solid0
1,178
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00021041
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.7578947368421053) loop1=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.6157894736842106) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.1640625, both=True) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.6171875, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop2=wp_sketch1.moveTo(0.6276315789473684, 0.0).circle(0.6276315789473684) loop3=wp_sketch1.moveTo(0.6276315789473684, 0.0).circle(0.22228618421052632) solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.0859375, both=True) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.21875, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop4=wp_sketch2.moveTo(0.22105263157894733, 0.0).circle(0.22105263157894733) loop5=wp_sketch2.moveTo(0.22105263157894733, 0.0).circle(0.07828947368421052) solid2=wp_sketch2.add(loop4).add(loop5).extrude(0.1640625, both=True) solid=solid.union(solid2)
1,645
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00022560
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.3828125, 0.0, -0.5234375), 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.1328125, 0.0).lineTo(1.1328125, 0.751233552631579).lineTo(0.0, 0.751233552631579).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.3338815789473684, 0.4054276315789474).circle(0.023848684210526317) loop2=wp_sketch0.moveTo(0.7870065789473685, 0.39350328947368424).circle(0.023848684210526317) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.1484375) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.375, 0.0, -0.125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop3=wp_sketch1.moveTo(0.02368421052631579, 0.0).circle(0.02319078947368421) solid1=wp_sketch1.add(loop3).extrude(0.0078125) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.078125, 0.0, -0.1171875), 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.02368421052631579, 0.0).circle(0.02319078947368421) solid2=wp_sketch2.add(loop4).extrude(0.0078125) solid=solid.union(solid2)
1,662
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00020377
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5234375, -0.21875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.10930601572269914, -0.01828512516693673), (0.20106907894736842, -0.08042763157894736)).threePointArc((0.5227796052631579, -0.2183337096335889), (0.8444901315789474, -0.08042763157894736)).threePointArc((0.9362531948036167, -0.01828512516693673), (1.0455592105263158, 0.0)).threePointArc((1.2750315652294881, 0.22117598684210527), (1.0455592105263158, 0.44235197368421053)).threePointArc((0.9362531948036167, 0.46063709885114745), (0.8444901315789474, 0.5227796052631579)).threePointArc((0.5227796052631579, 0.6606856833177994), (0.20106907894736842, 0.5227796052631579)).threePointArc((0.10930601572269914, 0.46063709885114745), (0.0, 0.44235197368421053)).threePointArc((-0.22947235470317232, 0.22117598684210527), (0.0, 0.0)).close() loop1=wp_sketch0.moveTo(-0.013404605263157895, 0.21447368421052632).circle(0.09383223684210526) loop2=wp_sketch0.moveTo(0.5227796052631579, 0.21447368421052632).circle(0.3083059210526316) loop3=wp_sketch0.moveTo(1.0589638157894736, 0.21447368421052632).circle(0.09383223684210526) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).extrude(0.046875) solid=solid0
1,680
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00021069
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.75, -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.78125, 0.0).lineTo(0.78125, 0.5427631578947368).lineTo(0.5427631578947368, 0.5427631578947368).lineTo(0.0, 0.15625).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.3125) solid=solid0
963
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00020411
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.7265625, 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(1.4765625, 0.0).lineTo(1.4765625, 0.6994243421052632).lineTo(0.0, 0.6994243421052632).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.1953125) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.7265625, -0.1953125, -0.3515625), 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.5106907894736842, 0.0).lineTo(0.35526315789473684, 0.703125).lineTo(0.0, 0.703125).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.1953125) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.234375, -0.1953125, -0.3515625), 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.5106907894736842, 0.0).lineTo(0.5106907894736842, 0.703125).lineTo(0.16282894736842105, 0.703125).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(0.1953125) solid=solid.union(solid2)
1,620
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00026712
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.375, 0.0, 0.2734375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.10263157894736843, 0.0).circle(0.10049342105263158) solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
913
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00021082
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 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.12434210526315789, 0.0).lineTo(0.12434210526315789, 0.1875).lineTo(0.0, 0.1875).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.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))) loop1=wp_sketch1.moveTo(0.12434210526315789, 0.0).lineTo(0.12434210526315789, 0.1875).lineTo(0.0, 0.1875).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.1640625) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.625, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop2=wp_sketch2.moveTo(0.5195723684210526, 0.0).lineTo(0.5195723684210526, 0.24646381578947368).lineTo(0.6328125, 0.24646381578947368).lineTo(0.6328125, 0.37302631578947365).lineTo(0.0, 0.37302631578947365).lineTo(0.0, 0.18651315789473683).lineTo(0.0, 0.0).close() loop3=wp_sketch2.moveTo(0.2597861842105263, 0.18651315789473683).circle(0.07327302631578947) solid2=wp_sketch2.add(loop2).add(loop3).extrude(0.125) solid=solid.union(solid2)
1,746
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00021914
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.015625, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.019736842105263157, 0.0).circle(0.019736842105263157) solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
912
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00021910
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0390625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.5802631578947368, 0.0).circle(0.5802631578947368) solid0=wp_sketch0.add(loop0).extrude(0.140625) solid=solid0
914
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00029419
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.3515625, 0.0).lineTo(0.3515625, 0.26274671052631576).lineTo(0.17763157894736842, 0.26274671052631576).lineTo(0.0, 0.26274671052631576).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.1796875, 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.1796875, 0.0).threePointArc((0.14480988623872953, 0.10531124113647179), (0.05485197368421053, 0.17023026315789475)).threePointArc((0.014266105296216065, 0.08935553785484501), (0.0, 0.0)).close() solid1=wp_sketch1.add(loop1).extrude(0.265625) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.265625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch2.moveTo(0.1800986842105263, 0.0).threePointArc((0.1940769605593739, 0.0893110358399555), (0.234375, 0.17023026315789472)).threePointArc((0.07368752253186324, 0.14500640490464295), (0.0, 0.0)).close() solid2=wp_sketch2.add(loop2).extrude(0.1328125) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.234375, 0.4296875, 0.0), 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.08692479068508455, -0.06481027163605213), (0.11940789473684212, -0.16825657894736842)).lineTo(0.11940789473684212, -0.4287828947368421).threePointArc((0.5058924531609179, -0.09013642043886502), (0.0, 0.0)).close() solid3=wp_sketch3.add(loop3).extrude(0.1328125) solid=solid.union(solid3) # Generating a workplane for sketch 4 wp_sketch4 = 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))) loop4=wp_sketch4.moveTo(0.3515625, 0.0).lineTo(0.3515625, 0.26274671052631576).lineTo(0.17763157894736842, 0.26274671052631576).lineTo(0.0, 0.26274671052631576).lineTo(0.0, 0.0).close() solid4=wp_sketch4.add(loop4).extrude(0.1328125) solid=solid.union(solid4) # Generating a workplane for sketch 5 wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(0.1796875, 0.265625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop5=wp_sketch5.moveTo(0.1796875, 0.0).threePointArc((0.14480988623872953, 0.10531124113647179), (0.05485197368421053, 0.17023026315789475)).threePointArc((0.014266105296216065, 0.08935553785484501), (0.0, 0.0)).close() solid5=wp_sketch5.add(loop5).extrude(0.1328125) solid=solid.union(solid5)
2,490
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00025223
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.375, 0.0, 0.4609375), 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.34449013157894737, -0.46093750000000006).lineTo(0.3784539473684211, -0.46093750000000006).lineTo(0.014555921052631579, 0.019407894736842107).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.03125) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.375, 0.0, 0.4609375), 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.014802631578947368, 0.019736842105263157).lineTo(0.0, 0.0390625).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.03125) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.390625, 0.0, 0.4765625), 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.01751644736842105, -0.0234375).lineTo(0.01751644736842105, 0.0234375).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(0.03125) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop3=wp_sketch3.moveTo(0.030098684210526316, 0.0).lineTo(0.3712171052631579, 0.4564967105263158).lineTo(0.3561677631578947, 0.4765625).lineTo(0.0, 0.0).close() solid3=wp_sketch3.add(loop3).extrude(0.03125) solid=solid.union(solid3) # Generating a workplane for sketch 4 wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.390625, 0.0, 0.4765625), 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.01751644736842105, 0.0234375).lineTo(0.0, 0.0234375).lineTo(0.0, 0.0).close() solid4=wp_sketch4.add(loop4).extrude(0.03125) solid=solid.union(solid4) # Generating a workplane for sketch 5 wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(-0.375, 0.0, 0.5), 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.01751644736842105, -0.0234375).lineTo(0.01751644736842105, 0.0).lineTo(0.0, 0.0).close() solid5=wp_sketch5.add(loop5).extrude(0.03125) solid=solid.union(solid5)
2,516
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00021051
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.7578947368421053) loop1=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.09473684210526316) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75) solid=solid0
968
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00027420
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.453125, 0.390625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.2194078947368421, 0.0).threePointArc((0.453125, 0.06622477552828998), (0.6868421052631579, 0.0)).lineTo(0.90625, 0.0).lineTo(0.90625, 0.3625).lineTo(0.0, 0.3625).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.15263157894736842, 0.18125).circle(0.047697368421052634) loop2=wp_sketch0.moveTo(0.7536184210526315, 0.18125).circle(0.047697368421052634) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.0625) 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, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop3=wp_sketch1.moveTo(0.45789473684210524, 0.0).circle(0.45789473684210524) loop4=wp_sketch1.moveTo(0.2194078947368421, 0.0).circle(0.047697368421052634) loop5=wp_sketch1.moveTo(0.45789473684210524, 0.0).circle(0.12401315789473684) loop6=wp_sketch1.moveTo(0.45789473684210524, -0.2861842105263158).circle(0.047697368421052634) loop7=wp_sketch1.moveTo(0.45789473684210524, 0.2861842105263158).circle(0.047697368421052634) loop8=wp_sketch1.moveTo(0.6868421052631579, 0.0).circle(0.047697368421052634) solid1=wp_sketch1.add(loop3).add(loop4).add(loop5).add(loop6).add(loop7).add(loop8).extrude(0.0625) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.453125, -0.75, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop9=wp_sketch2.moveTo(0.90625, 0.0).lineTo(0.90625, 0.3625).lineTo(0.6868421052631579, 0.3625).threePointArc((0.453125, 0.29627522447171), (0.2194078947368421, 0.3625)).lineTo(0.0, 0.3625).lineTo(0.0, 0.0).close() loop10=wp_sketch2.moveTo(0.15263157894736842, 0.18125).circle(0.047697368421052634) loop11=wp_sketch2.moveTo(0.7536184210526315, 0.18125).circle(0.047697368421052634) solid2=wp_sketch2.add(loop9).add(loop10).add(loop11).extrude(0.0625) solid=solid.union(solid2)
2,074
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00026716
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6171875, 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(1.3671875, 0.0).lineTo(1.3671875, 0.34539473684210525).lineTo(0.0, 0.34539473684210525).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.5078125) solid=solid0
966
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00029343
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.7421052631578947) solid0=wp_sketch0.add(loop0).extrude(0.109375) solid=solid0
836
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00022216
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0390625, 0.0, -0.0390625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.004111842105263158, 0.0).lineTo(0.07401315789473684, 0.0).lineTo(0.078125, 0.0).lineTo(0.078125, 0.004111842105263158).lineTo(0.078125, 0.07401315789473684).lineTo(0.078125, 0.078125).lineTo(0.07401315789473684, 0.078125).lineTo(0.004111842105263158, 0.078125).lineTo(0.0, 0.078125).lineTo(0.0, 0.07401315789473684).lineTo(0.0, 0.004111842105263158).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.039473684210526314, 0.039473684210526314).circle(0.03289473684210526) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75) solid=solid0
1,268
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00022202
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.46875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.4578947368421053, 0.0).threePointArc((0.7105263157894737, -0.06824653938680315), (0.9631578947368421, 0.0)).lineTo(1.5, 0.0).lineTo(1.5, 0.9315789473684211).lineTo(0.9631578947368421, 0.9315789473684211).threePointArc((0.7105263157894737, 0.9998254867552242), (0.4578947368421053, 0.9315789473684211)).lineTo(0.0, 0.9315789473684211).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.078125) solid=solid0
1,095
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00020415
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6328125, 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.47664473684210523, 0.0).lineTo(0.33157894736842103, 0.65625).lineTo(0.0, 0.65625).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.359375) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.2734375, 0.0, -0.3984375), 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.47664473684210523, 0.0).lineTo(0.47664473684210523, 0.65625).lineTo(0.15197368421052632, 0.65625).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.359375) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.296875, 0.0, 0.265625), 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.1513157894736842, -0.6582236842105263).lineTo(0.5674342105263158, -0.6582236842105263).lineTo(0.71875, 0.0).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(0.1796875) solid=solid.union(solid2)
1,626
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00026702
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5859375, 0.0, 0.1015625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.734375, 0.0).lineTo(0.734375, 0.3014802631578947).lineTo(0.0, 0.3014802631578947).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
957
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00020373
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(1.359375, 0.0).lineTo(1.359375, 0.6439144736842105).lineTo(0.0, 0.6439144736842105).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.421875, -0.3515625, 0.2734375), 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.14967105263157895, -0.6510690789473684).lineTo(0.561266447368421, -0.6510690789473684).lineTo(0.7109375, 0.0).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(-0.1796875) solid=solid.cut(solid1)
1,298
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00022799
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.109375, -0.109375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.3506578947368421, 0.0).lineTo(0.640625, 0.0).lineTo(0.640625, 0.640625).lineTo(0.0, 0.640625).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.128125, 0.3236842105263158).circle(0.020230263157894737) loop2=wp_sketch0.moveTo(0.3506578947368421, 0.3236842105263158).circle(0.020230263157894737) loop3=wp_sketch0.moveTo(0.5664473684210527, 0.3236842105263158).circle(0.020230263157894737) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).extrude(0.2109375) solid=solid0
1,125
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00029814
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.328125, -0.28125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.28125, 0.0).lineTo(0.28125, 0.23388157894736844).lineTo(0.28125, 0.28125).lineTo(0.0, 0.28125).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.09375) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.046875, -0.28125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.28125, 0.0).lineTo(0.28125, 0.28125).lineTo(0.0, 0.28125).lineTo(0.0, 0.23388157894736844).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.09375) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.140625, 0.046875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch2.moveTo(0.09473684210526316, 0.0).lineTo(0.14210526315789473, 0.0).lineTo(0.18651315789473685, 0.0).lineTo(0.28125, 0.0).lineTo(0.28125, 0.28125).lineTo(0.0, 0.28125).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(0.09375) solid=solid.union(solid2)
1,432
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00027805
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.015625, 0.046875), 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.03394922189639328, -0.059864772579361625), (0.02417763157894737, -0.09671052631578948)).threePointArc((0.36266447368421056, -0.05706911232987014), (0.7011513157894738, -0.09671052631578948)).threePointArc((0.7633077745279724, -0.06370127571985043), (0.7333881578947369, 0.0)).threePointArc((0.7088454246648195, 0.01575331940166153), (0.693092105263158, 0.040296052631578955)).lineTo(0.652796052631579, 0.12894736842105264).threePointArc((0.6363151284942665, 0.14714802117465456), (0.6125, 0.153125)).lineTo(0.36266447368421056, 0.153125).lineTo(0.11282894736842106, 0.153125).threePointArc((0.09304342413731254, 0.14592565378182892), (0.08059210526315791, 0.12894736842105264)).lineTo(0.040296052631578955, 0.040296052631578955).threePointArc((0.024542733229917423, 0.01575331940166153), (0.0, 0.0)).close() loop1=wp_sketch0.moveTo(0.01611842105263158, -0.04835526315789474).circle(0.03223684210526316) loop2=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.02605858443587578, -0.028564169574507085), (0.06447368421052632, -0.02417763157894737)).threePointArc((0.2013318943100991, -0.03475911251778943), (0.3384868421052632, -0.040296052631578955)).threePointArc((0.3515534040846089, -0.03154547114412525), (0.35460526315789476, -0.01611842105263158)).lineTo(0.35460526315789476, 0.11282894736842106).threePointArc((0.3515534040846089, 0.12825599745991484), (0.3384868421052632, 0.13700657894736842)).lineTo(0.11282894736842106, 0.13700657894736842).threePointArc((0.10232500205645398, 0.13139210320670394), (0.09671052631578948, 0.12088815789473685)).lineTo(0.04835526315789474, 0.0).close() loop3=wp_sketch0.moveTo(0.04835526315789474, 0.0).threePointArc((0.2132827037186342, -0.09192006380921972), (0.39490131578947374, -0.040296052631578955)).threePointArc((0.5320562635846379, -0.03475911251778943), (0.6689144736842106, -0.02417763157894737)).threePointArc((0.683151941879914, -0.016207654235731977), (0.6850328947368421, 0.0)).lineTo(0.6366776315789474, 0.12088815789473685).threePointArc((0.627033550575125, 0.13261447059952958), (0.6125, 0.13700657894736842)).lineTo(0.39490131578947374, 0.13700657894736842).threePointArc((0.381834753810128, 0.12825599745991484), (0.3787828947368421, 0.11282894736842106)).lineTo(0.3787828947368421, -0.01611842105263158).close() loop4=wp_sketch0.moveTo(0.7172697368421054, -0.04835526315789474).circle(0.03223684210526316) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).extrude(0.0390625) solid=solid0
2,881
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00029828
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5546875, 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.105263157894737, 0.0).lineTo(1.105263157894737, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.0859375, both=True) solid=solid0
949
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00022014
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0234375, -0.75, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.02368421052631579, 0.0).lineTo(0.02368421052631579, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.0859375) solid=solid0
879
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00020603
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.4765625, 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.08418801420435283, -0.025291734749189252), (0.15493421052631579, -0.07746710526315789)).threePointArc((0.4748995147517496, -0.22463774925462193), (0.8004934210526315, -0.09037828947368422)).threePointArc((0.887470602838463, -0.02406764518016541), (0.9941611842105263, 0.0)).threePointArc((1.2218844467882426, 0.21949013157894737), (0.9941611842105263, 0.43898026315789473)).threePointArc((0.8888787028089081, 0.45659231623279717), (0.8004934210526315, 0.5164473684210527)).threePointArc((0.4777138157894737, 0.6571624203072535), (0.15493421052631579, 0.5164473684210527)).threePointArc((0.08418801420435283, 0.4642719979070838), (0.0, 0.43898026315789473)).threePointArc((-0.1893334895718122, 0.21949013157894737), (0.0, 0.0)).close() loop1=wp_sketch0.moveTo(0.025822368421052632, 0.21949013157894737).circle(0.09037828947368422) loop2=wp_sketch0.moveTo(0.4777138157894737, 0.21949013157894737).circle(0.30986842105263157) loop3=wp_sketch0.moveTo(1.0070723684210527, 0.21949013157894737).circle(0.09037828947368422) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).extrude(0.046875) solid=solid0
1,752
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00022772
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.7421052631578947) solid0=wp_sketch0.add(loop0).extrude(0.125) solid=solid0
833
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00020950
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.71875, 0.0, 0.5390625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.18552631578947368, 0.0).circle(0.18552631578947368) loop1=wp_sketch0.moveTo(0.18552631578947368, 0.0).circle(0.15074013157894736) 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.6796875, 0.0, 0.5390625), 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.15394736842105264, 0.0).circle(0.15394736842105264) loop3=wp_sketch1.moveTo(0.15394736842105264, 0.0).circle(0.022450657894736843) solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.0234375) solid=solid.union(solid1)
1,324
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00022809
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.46875, 0.0, 0.140625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.011842105263157895, 0.0).circle(0.011595394736842105) solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
916
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00020987
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1015625, 0.0, 0.4765625), 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.4453125, 0.0).lineTo(0.4453125, 0.1359375).threePointArc((0.3491901719324537, 0.17575267193245372), (0.309375, 0.271875)).lineTo(0.0, 0.271875).threePointArc((0.1359375, 0.1359375), (0.0, 0.0)).close() solid0=wp_sketch0.add(loop0).extrude(0.109375) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.1015625, 0.0, 0.4765625), 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.1328125, 0.1328125), (0.0, 0.265625)).lineTo(0.0, 0.18453947368421053).threePointArc((0.053125, 0.13141447368421053), (0.0, 0.07828947368421052)).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.109375) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.1015625, 0.0, 0.4765625), 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.1328125, 0.1328125), (0.0, 0.265625)).lineTo(0.0, 0.18453947368421053).threePointArc((0.053125, 0.13141447368421053), (0.0, 0.07828947368421052)).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(0.109375) solid=solid.union(solid2)
1,791
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00022160
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.140625, -0.1328125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.890625, 0.0).lineTo(0.890625, 0.61875).lineTo(0.0, 0.61875).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.265625) solid=solid0
866
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00021469
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.71875, -0.6875, 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.017727747454498524, -0.04279856833497516), (0.060526315789473685, -0.060526315789473685)).lineTo(1.3769736842105262, -0.060526315789473685).threePointArc((1.4197722525455014, -0.04279856833497516), (1.4375, 0.0)).lineTo(1.4375, 1.361842105263158).threePointArc((1.4229061051555612, 1.4122064630718172), (1.3769736842105262, 1.4375)).lineTo(0.060526315789473685, 1.4375).threePointArc((0.014593894844438836, 1.4122064630718172), (0.0, 1.361842105263158)).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.4453125) solid=solid0
1,217
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00026306
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5859375, 0.0, 0.4296875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.5906250000000001, -0.2109375).lineTo(0.5906250000000001, -0.421875).lineTo(1.0125, -0.421875).lineTo(1.0125, -0.2109375).lineTo(1.0828125, 0.05625).lineTo(1.3359375, 0.05625).lineTo(1.3359375, 0.1546875).lineTo(0.0, 0.1546875).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.3203125, both=True) solid=solid0
1,082
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00022174
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0390625, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.03889802631578947, 0.0).lineTo(0.03889802631578947, 0.054276315789473686).lineTo(0.0, 0.054276315789473686).threePointArc((0.08566377550990624, 0.027138157894736843), (0.0, 0.0)).close() solid0=wp_sketch0.add(loop0).extrude(0.1015625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.703125, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.041118421052631575, 0.0).threePointArc((-0.048439162434997664, 0.028371710526315787), (0.041118421052631575, 0.056743421052631575)).lineTo(0.0, 0.056743421052631575).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.1015625) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.0390625, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop2=wp_sketch2.moveTo(0.03914473684210526, 0.0).lineTo(0.03914473684210526, 0.05468749999999999).lineTo(0.0, 0.05468749999999999).threePointArc((-0.00866245972136025, 0.027343749999999997), (0.0, 0.0)).close() solid2=wp_sketch2.add(loop2).extrude(0.1015625) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.6640625, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop3=wp_sketch3.moveTo(0.6171875, 0.0).threePointArc((0.6079258325385156, 0.029235197368421055), (0.6171875, 0.05847039473684211)).lineTo(0.0, 0.05847039473684211).threePointArc((0.009261667461484376, 0.029235197368421055), (0.0, 0.0)).close() solid3=wp_sketch3.add(loop3).extrude(0.1015625) solid=solid.union(solid3) # Generating a workplane for sketch 4 wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.703125, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop4=wp_sketch4.moveTo(0.03914473684210526, 0.0).threePointArc((0.04780719656346551, 0.027343749999999997), (0.03914473684210526, 0.05468749999999999)).lineTo(0.0, 0.05468749999999999).lineTo(0.0, 0.0).close() solid4=wp_sketch4.add(loop4).extrude(0.1015625) solid=solid.union(solid4)
2,565
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00025394
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.3671875, 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.1171875, 0.0).lineTo(1.1171875, 0.11759868421052631).lineTo(0.6115131578947368, 0.11759868421052631).lineTo(0.6115131578947368, 0.27047697368421053).lineTo(1.1171875, 0.27047697368421053).lineTo(1.1171875, 0.38807565789473686).lineTo(0.0, 0.38807565789473686).threePointArc((-0.19403782894736843, 0.19403782894736843), (0.0, 0.0)).close() loop1=wp_sketch0.moveTo(0.0, 0.1881578947368421).circle(0.08231907894736842) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.3828125) solid=solid0
1,229
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00026845
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.375, 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(1.0657894736842106, 0.0).threePointArc((1.1076576383597299, 0.017342361640270212), (1.125, 0.05921052631578948)).lineTo(1.125, 0.3907894736842105).threePointArc((1.1076576383597299, 0.4326576383597298), (1.0657894736842106, 0.45)).lineTo(0.0, 0.45).threePointArc((-0.225, 0.225), (0.0, 0.0)).close() loop1=wp_sketch0.moveTo(0.0, 0.225).circle(0.16578947368421054) loop2=wp_sketch0.moveTo(0.9592105263157895, 0.225).circle(0.05921052631578948) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.109375, both=True) solid=solid0
1,232
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00022389
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6640625, 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.6710526315789473, 0.0).circle(0.6710526315789473) loop1=wp_sketch0.moveTo(0.3355263157894737, -0.30756578947368424).circle(0.09786184210526316) loop2=wp_sketch0.moveTo(0.6710526315789473, 0.0).circle(0.2236842105263158) loop3=wp_sketch0.moveTo(0.9366776315789473, 0.3495065789473684).circle(0.09786184210526316) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).extrude(0.75, both=True) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-1.0, -1.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop4=wp_sketch1.moveTo(0.7342105263157895, 0.0).circle(0.7189144736842106) solid1=wp_sketch1.add(loop4).extrude(-0.5546875) solid=solid.cut(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.65625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop5=wp_sketch2.moveTo(0.6671052631578948, 0.0).circle(0.6671052631578948) solid2=wp_sketch2.add(loop5).extrude(-0.59375, both=True) solid=solid.cut(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.6640625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop6=wp_sketch3.moveTo(0.6671052631578948, 0.0).circle(0.6671052631578948) solid3=wp_sketch3.add(loop6).extrude(-0.6640625) solid=solid.cut(solid3) # Generating a workplane for sketch 4 wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.8515625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop7=wp_sketch4.moveTo(0.8644736842105263, 0.0).circle(0.8644736842105263) solid4=wp_sketch4.add(loop7).extrude(-0.5546875) solid=solid.cut(solid4) # Generating a workplane for sketch 5 wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(-1.0, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop8=wp_sketch5.moveTo(0.8921052631578947, 0.0).circle(0.8921052631578947) solid5=wp_sketch5.add(loop8).extrude(-0.640625) solid=solid.cut(solid5) # Generating a workplane for sketch 6 wp_sketch6 = cq.Workplane(cq.Plane(cq.Vector(-0.7421875, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop9=wp_sketch6.moveTo(0.7460526315789473, 0.0).circle(0.7460526315789473) solid6=wp_sketch6.add(loop9).extrude(-0.5859375, both=True) solid=solid.cut(solid6)
2,218
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00021858
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.09375, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.09473684210526316, 0.0).circle(0.09473684210526316) solid0=wp_sketch0.add(loop0).extrude(0.6875) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.0625, -0.6875, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.06315789473684211, 0.0).circle(0.06315789473684211) solid1=wp_sketch1.add(loop1).extrude(0.0625) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0625, 0.0, 0.0), cq.Vector(-1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, 1.0, 6.123233995736766e-17))) loop2=wp_sketch2.moveTo(0.06315789473684211, 0.0).circle(0.06315789473684211) solid2=wp_sketch2.add(loop2).extrude(0.0625) solid=solid.union(solid2)
1,438
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00021680
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.125, 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.12631578947368421, 0.0).circle(0.12631578947368421) 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/00027597
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6953125, -0.75, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(1.3894736842105264, 0.0).lineTo(1.3894736842105264, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.4609375) solid=solid0
875
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00028854
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1875, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.18947368421052632, 0.0).circle(0.18947368421052632) solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1875, 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.18947368421052632, 0.0).circle(0.18947368421052632) solid0=wp_sketch0.add(loop0).extrude(-0.75) solid=solid.union(solid0)
1,157
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00024075
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.0234375) solid=solid0
842
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00026662
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1875, 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.18947368421052632, 0.0).circle(0.18947368421052632) solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
913
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00024707
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5625, -0.75, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.0375, 0.0).lineTo(0.0375, 0.009375).lineTo(0.065625, 0.009375).lineTo(0.065625, 0.0).lineTo(0.11249999999999999, 0.0).lineTo(0.11249999999999999, 0.890625).lineTo(0.0, 0.890625).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.056249999999999994, 0.065625).circle(0.009375) loop2=wp_sketch0.moveTo(0.056249999999999994, 0.7218749999999999).circle(0.009375) loop3=wp_sketch0.moveTo(0.056249999999999994, 0.778125).circle(0.009375) loop4=wp_sketch0.moveTo(0.056249999999999994, 0.834375).circle(0.009375) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).extrude(0.015625) solid=solid0
1,207
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00029222
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/00022377
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.3125, 0.1171875), 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.2242469014764387, -0.08111146020501717), (0.4236842105263158, -0.2118421052631579)).threePointArc((0.4259868421052631, -0.21263426256945622), (0.4282894736842105, -0.2118421052631579)).threePointArc((0.43514188395158127, -0.20375515250210643), (0.43749999999999994, -0.19342105263157894)).threePointArc((0.2390494725601804, -0.06556317156000921), (0.018421052631578946, 0.018421052631578946)).threePointArc((0.009154010524863851, 0.009267042106715225), (0.0, 0.0)).close() solid0=wp_sketch0.add(loop0).extrude(0.703125) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.609375, -0.0234375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.0, 0.0).threePointArc((-0.014185848897489804, -0.03304550332502018), (0.009950657894736842, -0.05970394736842105)).threePointArc((0.5050491894748872, -0.06739468278025953), (0.9453125, 0.15921052631578947)).threePointArc((0.455292673294384, 0.18270149984749062), (0.0, 0.0)).close() solid1=wp_sketch1.add(loop1).extrude(0.703125) solid=solid.union(solid1)
1,709
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00024712
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0703125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.5625, 0.0).lineTo(0.5625, 0.5388157894736842).lineTo(0.0, 0.5388157894736842).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.34375) solid=solid0
951
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00028114
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.7421875, -0.125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(1.4921875, 0.0).lineTo(1.4921875, 0.4398026315789474).lineTo(0.0, 0.4398026315789474).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.1328125) solid=solid0
888
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00026139
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.0078125, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.011842105263157895, 0.0).circle(0.011842105263157895) solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
895
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00021681
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.4375, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(1.075, 0.0).threePointArc((1.1830760226367911, 0.01932732327253746), (1.125, 0.1125)).lineTo(0.0, 0.1125).threePointArc((-0.05625, 0.05625), (0.0, 0.0)).close() loop1=wp_sketch0.moveTo(0.0, 0.05).circle(0.05) loop2=wp_sketch0.moveTo(0.275, 0.05).circle(0.0125) loop3=wp_sketch0.moveTo(1.125, 0.05).circle(0.025) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).extrude(0.046875) solid=solid0
1,098
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00022175
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.03125, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.03182565789473684, 0.0).lineTo(0.03182565789473684, 0.044407894736842105).lineTo(0.0, 0.044407894736842105).threePointArc((0.0700885435990142, 0.022203947368421052), (0.0, 0.0)).close() solid0=wp_sketch0.add(loop0).extrude(0.078125) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.7109375, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.03289473684210526, 0.0).threePointArc((-0.03875132994799813, 0.022697368421052633), (0.03289473684210526, 0.045394736842105265)).lineTo(0.0, 0.045394736842105265).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.078125) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.03125, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop2=wp_sketch2.moveTo(0.03355263157894737, 0.0).lineTo(0.03355263157894737, 0.046875).lineTo(0.0, 0.046875).threePointArc((-0.007424965475451644, 0.0234375), (0.0, 0.0)).close() solid2=wp_sketch2.add(loop2).extrude(0.078125) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.6796875, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop3=wp_sketch3.moveTo(0.640625, 0.0).threePointArc((0.633147929503668, 0.023601973684210527), (0.640625, 0.047203947368421054)).lineTo(0.0, 0.047203947368421054).threePointArc((0.007477070496332014, 0.023601973684210527), (0.0, 0.0)).close() solid3=wp_sketch3.add(loop3).extrude(0.078125) solid=solid.union(solid3) # Generating a workplane for sketch 4 wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.7109375, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop4=wp_sketch4.moveTo(0.03355263157894737, 0.0).threePointArc((0.04097759705439901, 0.0234375), (0.03355263157894737, 0.046875)).lineTo(0.0, 0.046875).lineTo(0.0, 0.0).close() solid4=wp_sketch4.add(loop4).extrude(0.078125) solid=solid.union(solid4)
2,488
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00021468
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.09375), 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.004624629770738633, -0.011164843913471894), (0.015789473684210527, -0.015789473684210527)).lineTo(1.4842105263157894, -0.015789473684210527).threePointArc((1.4953753702292614, -0.011164843913471894), (1.5, 0.0)).lineTo(1.5, 0.18947368421052632).threePointArc((1.4953753702292614, 0.2006385281239982), (1.4842105263157894, 0.20526315789473684)).lineTo(0.015789473684210527, 0.20526315789473684).threePointArc((0.004624629770738633, 0.2006385281239982), (0.0, 0.18947368421052632)).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(-0.078125) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.8125, 0.0, -0.21875), 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.9375, 0.0).lineTo(0.7993421052631579, 0.10855263157894736).lineTo(0.08881578947368421, 0.10855263157894736).threePointArc((0.07485973458184433, 0.11433341879237065), (0.06907894736842105, 0.1282894736842105)).lineTo(0.06907894736842105, 0.16776315789473684).lineTo(0.019736842105263157, 0.16776315789473684).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(-0.0234375) solid=solid.cut(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.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.006720165135604794, -0.016223913811763736), (0.022944078947368423, -0.022944078947368423)).lineTo(0.7265625, -0.022944078947368423).lineTo(0.6500822368421053, 0.03824013157894737).lineTo(0.0, 0.03824013157894737).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(-0.0234375) solid=solid.cut(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.5546875, 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_sketch3.moveTo(0.039473684210526314, 0.0).circle(0.03865131578947368) solid3=wp_sketch3.add(loop3).extrude(-0.0078125) solid=solid.cut(solid3)
2,539
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00020776
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.2605263157894737).lineTo(0.4105263157894737, 0.2605263157894737).lineTo(0.4105263157894737, 0.5131578947368421).lineTo(0.0, 0.5131578947368421).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.6875) solid=solid0
1,023
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00027757
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
837
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00026449
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.1171875, 0.0, -0.0625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.1328125, 0.1328125), (0.0, 0.265625)).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.5625, both=True) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.6171875, 0.0, -0.0625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.0, 0.0).threePointArc((0.1328125, 0.1328125), (0.0, 0.265625)).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.5625, both=True) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.6171875, 0.0, -0.0625), 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.734375, 0.0).lineTo(0.734375, 0.26282894736842105).lineTo(0.0, 0.26282894736842105).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(0.5625, both=True) solid=solid.union(solid2)
1,540
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false