image
imagewidth (px)
448
448
deepcad_id
stringlengths
13
13
cadquery
stringlengths
283
8.1k
token_count
int64
807
6.5k
prompt
stringclasses
1 value
hundred_subset
bool
1 class
0000/00002505
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.171875, -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.3315789473684211, 0.0).lineTo(0.3315789473684211, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.26842105263157895, 0.06315789473684211).lineTo(0.26842105263157895, 1.436842105263158).lineTo(0.06315789473684211, 1.436842105263158).lineTo(0.06315789473684211, 0.06315789473684211).close() solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0390625) solid=solid0
1,063
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00004955
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0078125, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.011842105263157895, 0.0).circle(0.011842105263157895) solid0=wp_sketch0.add(loop0).extrude(0.75, both=True) solid=solid0
845
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00008835
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.03125, 0.0).lineTo(0.03125, 0.03125).lineTo(0.0, 0.03125).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
849
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00007253
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.6328125, 0.0).lineTo(0.6328125, 0.019983552631578947).lineTo(0.0, 0.019983552631578947).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.3203125, -0.6328125, 0.015625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.003947368421052632, 0.0).circle(0.003947368421052632) solid1=wp_sketch1.add(loop1).extrude(-0.015625) solid=solid.cut(solid1)
1,159
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00005322
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0078125, 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.5390625, 0.046875).lineTo(0.6953125, 0.046875).threePointArc((0.7284581303681195, 0.06060436963188054), (0.7421875, 0.09375)).threePointArc((0.7284581303681195, 0.12689563036811946), (0.6953125, 0.140625)).lineTo(0.5390625, 0.140625).lineTo(0.0, 0.1875).threePointArc((-0.10217023932807223, 0.09375), (0.0, 0.0)).close() loop1=wp_sketch0.moveTo(-0.0078125, 0.09375).circle(0.03125) loop2=wp_sketch0.moveTo(0.65625, 0.09375).circle(0.015625) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.046875) solid=solid0
1,224
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00000272
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.46875, 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.47368421052631576, 0.0).circle(0.47368421052631576) 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.375, -0.09375, 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.37894736842105264, 0.0).circle(0.37894736842105264) solid1=wp_sketch1.add(loop1).extrude(0.65625) solid=solid.union(solid1)
1,178
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00009256
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.71875, -0.75), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(1.436842105263158, 0.0).lineTo(1.436842105263158, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.03125) solid=solid0
923
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00007092
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.4296875, 0.0, -0.453125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.856578947368421, 0.0).lineTo(0.856578947368421, 0.8749999999999999).lineTo(0.0, 0.8749999999999999).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.12894736842105262, 0.14736842105263157).circle(0.055263157894736833) loop2=wp_sketch0.moveTo(0.12894736842105262, 0.7460526315789473).circle(0.055263157894736833) loop3=wp_sketch0.moveTo(0.4236842105263158, 0.45131578947368417).circle(0.2763157894736842) loop4=wp_sketch0.moveTo(0.7276315789473684, 0.14736842105263157).circle(0.055263157894736833) loop5=wp_sketch0.moveTo(0.7276315789473684, 0.7460526315789473).circle(0.055263157894736833) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).add(loop5).extrude(0.4296875) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.6640625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop6=wp_sketch1.moveTo(1.5, 0.0).lineTo(1.5, 0.2210526315789474).lineTo(1.1842105263157896, 0.2210526315789474).lineTo(0.3157894736842105, 0.2210526315789474).lineTo(0.0, 0.2210526315789474).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop6).extrude(0.4296875) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.3203125, -0.4296875, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop7=wp_sketch2.moveTo(0.3236842105263158, 0.0).circle(0.3236842105263158) loop8=wp_sketch2.moveTo(0.3236842105263158, 0.0).circle(0.27648026315789476) solid2=wp_sketch2.add(loop7).add(loop8).extrude(-0.296875) solid=solid.cut(solid2)
2,100
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00000931
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.159375, 0.0).lineTo(0.159375, 0.3984375).lineTo(0.0, 0.3984375).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.3984375) solid=solid0
860
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00002698
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.8842105263157896, -0.14210526315789473).lineTo(0.8842105263157896, 0.14210526315789473).lineTo(0.6157894736842106, 0.14210526315789473).lineTo(0.6157894736842106, -0.14210526315789473).close() solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.1328125) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.140625, -0.140625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch1.moveTo(0.28125, 0.0).lineTo(0.28125, 0.28125).lineTo(0.0, 0.28125).lineTo(0.0, 0.0).close() loop3=wp_sketch1.moveTo(0.14210526315789473, 0.14210526315789473).circle(0.09473684210526316) solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.1328125) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.09375, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop4=wp_sketch2.moveTo(0.09473684210526316, 0.0).circle(0.09473684210526316) loop5=wp_sketch2.moveTo(0.09473684210526316, 0.0).circle(0.04736842105263158) solid2=wp_sketch2.add(loop4).add(loop5).extrude(0.1328125) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.140625, -0.140625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop6=wp_sketch3.moveTo(0.28125, 0.0).lineTo(0.28125, 0.28125).lineTo(0.0, 0.28125).lineTo(0.0, 0.0).close() loop7=wp_sketch3.moveTo(0.14210526315789473, 0.14210526315789473).circle(0.09473684210526316) solid3=wp_sketch3.add(loop6).add(loop7).extrude(0.5078125) solid=solid.union(solid3)
1,879
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00002840
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1953125, -0.203125, 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.010032894736842105, -0.010032894736842105), (0.02006578947368421, 0.0)).lineTo(0.02006578947368421, 0.2006578947368421).threePointArc((0.19564144736842104, 0.3762335526315789), (0.3712171052631579, 0.2006578947368421)).lineTo(0.3712171052631579, 0.0).threePointArc((0.38125, -0.010032894736842105), (0.3912828947368421, 0.0)).lineTo(0.3912828947368421, 0.2006578947368421).threePointArc((0.3686119849766625, 0.2978371499412051), (0.30098684210526316, 0.3712171052631579)).threePointArc((0.22966743519224342, 0.438258429889889), (0.2006578947368421, 0.5317434210526316)).lineTo(0.2006578947368421, 0.9430921052631579).threePointArc((0.190625, 0.953125), (0.1805921052631579, 0.9430921052631579)).lineTo(0.1805921052631579, 0.5317434210526316).threePointArc((0.15659901217617764, 0.4395806132166896), (0.09029605263157894, 0.3712171052631579)).threePointArc((0.02267090976017962, 0.2978371499412051), (0.0, 0.2006578947368421)).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.0390625) solid=solid0
1,629
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00007051
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.7109375, 0.40625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.234375, 0.0).lineTo(0.234375, 0.1800986842105263).lineTo(0.0, 0.1800986842105263).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.13075657894736842, 0.039473684210526314).lineTo(0.13075657894736842, 0.140625).lineTo(0.10361842105263157, 0.140625).lineTo(0.10361842105263157, 0.039473684210526314).close() solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.015625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.4296875, 0.390625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch1.moveTo(0.045394736842105265, 0.0).lineTo(0.1361842105263158, 0.0).lineTo(0.18157894736842106, 0.0).lineTo(0.18157894736842106, 0.045394736842105265).lineTo(0.26858552631578947, 0.24210526315789474).lineTo(0.26858552631578947, 0.31398026315789473).threePointArc((0.23843508879335837, 0.355930266380075), (0.18914473684210525, 0.3404605263157895)).lineTo(0.0, 0.09078947368421053).lineTo(0.0, 0.0).close() loop3=wp_sketch1.moveTo(0.2231907894736842, 0.2231907894736842).circle(0.015131578947368421) loop4=wp_sketch1.moveTo(0.2231907894736842, 0.26858552631578947).circle(0.015131578947368421) loop5=wp_sketch1.moveTo(0.2231907894736842, 0.31398026315789473).circle(0.015131578947368421) solid1=wp_sketch1.add(loop2).add(loop3).add(loop4).add(loop5).extrude(0.015625) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.390625, 0.3359375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop6=wp_sketch2.moveTo(0.0859375, 0.0).lineTo(0.0859375, 0.0515625).lineTo(0.0, 0.0515625).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop6).extrude(0.015625) solid=solid.union(solid2)
2,020
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00006415
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.015625, 0.0, -0.0078125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.03125, 0.0).lineTo(0.03125, 0.013486842105263158).lineTo(0.0, 0.013486842105263158).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
958
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00001408
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0859375, 0.0, -0.0859375), 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.171875, 0.0).lineTo(0.171875, 0.171875).lineTo(0.0, 0.171875).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75, both=True) solid=solid0
941
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00005108
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 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(1.484375, 0.0).lineTo(1.484375, 1.109375).lineTo(0.0, 1.109375).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.0234375) solid=solid0
937
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00000070
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.140625, 0.0, -0.640625), 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.19203272740908614, -0.10137330629603919), (0.2740953947368421, 0.09967105263157894)).lineTo(0.033223684210526315, 0.5897203947368421).threePointArc((0.0995327600538318, 0.7549663175914962), (0.25748355263157896, 0.6727796052631578)).lineTo(0.2824013157894737, 0.6810855263157894).threePointArc((0.09036858838038753, 0.7824588326118288), (0.008305921052631579, 0.5814144736842105)).lineTo(0.24917763157894737, 0.09136513157894736).threePointArc((0.1828685557356419, -0.07388079127570676), (0.024917763157894735, 0.008305921052631579)).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.1171875, 0.0, 0.03125), 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.125).lineTo(0.05657894736842105, -0.11842105263157894).lineTo(0.02368421052631579, 0.006578947368421052).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.171875, 0.0, -0.515625), 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.125).lineTo(0.05657894736842105, -0.11842105263157894).lineTo(0.02368421052631579, 0.006578947368421052).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(0.078125) solid=solid.union(solid2)
2,083
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00006439
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5078125, 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.5171052631578947, 0.0).circle(0.5171052631578947) 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
0000/00007055
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.2109375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.12664473684210525, 0.0).lineTo(0.12664473684210525, 0.2734375).lineTo(0.0, 0.2734375).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.09210526315789473, 0.03453947368421052).lineTo(0.09210526315789473, 0.23889802631578946).lineTo(0.03453947368421052, 0.23889802631578946).lineTo(0.03453947368421052, 0.03453947368421052).close() solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.203125) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.625, 0.2109375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch1.moveTo(0.20148026315789472, 0.0).lineTo(0.20148026315789472, 0.2734375).lineTo(0.0, 0.2734375).lineTo(0.0, 0.0).close() loop3=wp_sketch1.moveTo(0.14967105263157893, 0.03453947368421052).lineTo(0.14967105263157893, 0.23889802631578946).lineTo(0.09210526315789473, 0.23889802631578946).lineTo(0.09210526315789473, 0.03453947368421052).close() solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.046875) solid=solid.union(solid1)
1,515
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00008400
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.0390625, 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.07894736842105263).lineTo(0.0, 0.07894736842105263).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.078125) solid=solid0
876
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00000712
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.3125, 0.0, -0.75), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.08955592105263158, 0.0).threePointArc((0.30937499999999996, 0.0832477253151817), (0.5291940789473684, 0.0)).lineTo(0.626891447368421, 0.0).lineTo(0.626891447368421, 0.09769736842105262).threePointArc((0.560034226679632, 0.4233552631578947), (0.626891447368421, 0.7490131578947368)).lineTo(0.5617598684210526, 0.7490131578947368).lineTo(0.5617598684210526, 0.7734374999999999).lineTo(0.06513157894736842, 0.7734374999999999).lineTo(0.06513157894736842, 0.7490131578947368).lineTo(0.0, 0.7490131578947368).threePointArc((0.06685722068878905, 0.4233552631578947), (0.0, 0.09769736842105262)).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.3256578947368421, 0.2523848684210526).lineTo(0.3256578947368421, 0.626891447368421).lineTo(0.2930921052631579, 0.626891447368421).lineTo(0.2930921052631579, 0.2523848684210526).close() solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.03125) solid=solid0
1,575
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00009044
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.12631578947368421) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.375) solid=solid0
969
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00006411
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.3125), 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.030592105263157896, -0.045888157894736846).lineTo(1.453125, 0.7648026315789475).lineTo(1.422532894736842, 0.8259868421052632).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.0234375) solid=solid0
997
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00009722
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.046875, 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.796875, 0.0).lineTo(0.796875, 0.0587171052631579).lineTo(0.7800986842105263, 0.0587171052631579).lineTo(0.7800986842105263, 0.016776315789473684).lineTo(0.050328947368421056, 0.016776315789473684).lineTo(0.016776315789473684, 0.050328947368421056).lineTo(0.0, 0.050328947368421056).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.5703125, both=True) solid=solid0
1,144
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00009905
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1015625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.10657894736842105, 0.0).circle(0.10657894736842105) solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
839
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00008399
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.203125, 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.20131578947368423, 0.0).circle(0.20131578947368423) solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
838
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00007257
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.22894736842105265, 0.0).lineTo(0.22894736842105265, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.1015625) solid=solid0
944
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00009252
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.75), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.7578947368421053, 0.7578947368421053).circle(0.015789473684210527) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.03125) solid=solid0
990
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00007280
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.375, -0.5, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.37894736842105264, 0.0).lineTo(0.37894736842105264, 0.29473684210526313).threePointArc((0.5842105263157895, 0.5), (0.37894736842105264, 0.7052631578947368)).lineTo(0.37894736842105264, 1.0).lineTo(0.0, 1.0).lineTo(0.0, 0.5052631578947369).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
1,008
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00005497
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.3046875, 0.34375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.09300986842105263, 0.0).lineTo(0.5866776315789474, 0.0).lineTo(0.6796875, 0.0).lineTo(0.6796875, 0.4006578947368421).lineTo(0.5866776315789474, 0.4006578947368421).lineTo(0.09300986842105263, 0.4006578947368421).lineTo(0.0, 0.4006578947368421).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.34342105263157896, 0.20032894736842105).circle(0.057236842105263155) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.078125) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.3046875, 0.34375, 0.078125), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch1.moveTo(0.09407894736842105, 0.0).lineTo(0.09407894736842105, 0.40625).lineTo(0.0, 0.40625).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop2).extrude(0.1171875) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.28125, 0.34375, 0.078125), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop3=wp_sketch2.moveTo(0.09407894736842105, 0.0).lineTo(0.09407894736842105, 0.40625).lineTo(0.0, 0.40625).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop3).extrude(0.1171875) solid=solid.union(solid2)
1,599
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00001020
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6171875, -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.3171052631578948, 0.0).lineTo(1.3171052631578948, 1.375).lineTo(0.0, 1.375).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.578125, 0.3984375, 0.1640625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.05921052631578947, 0.0).circle(0.05921052631578947) solid1=wp_sketch1.add(loop1).extrude(-0.3203125) solid=solid.cut(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.3515625, 0.3984375, 0.1640625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch2.moveTo(0.05921052631578947, 0.0).circle(0.05797697368421052) solid2=wp_sketch2.add(loop2).extrude(-0.3203125) solid=solid.cut(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.125, 0.3984375, 0.1640625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop3=wp_sketch3.moveTo(0.05921052631578947, 0.0).circle(0.05921052631578947) solid3=wp_sketch3.add(loop3).extrude(-0.3203125) solid=solid.cut(solid3) # Generating a workplane for sketch 4 wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.09375, 0.3984375, 0.1640625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop4=wp_sketch4.moveTo(0.05921052631578947, 0.0).circle(0.05797697368421052) solid4=wp_sketch4.add(loop4).extrude(-0.3203125) solid=solid.cut(solid4) # Generating a workplane for sketch 5 wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(0.3203125, 0.3984375, 0.1640625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop5=wp_sketch5.moveTo(0.05921052631578947, 0.0).circle(0.05797697368421052) solid5=wp_sketch5.add(loop5).extrude(-0.3203125) solid=solid.cut(solid5) # Generating a workplane for sketch 6 wp_sketch6 = cq.Workplane(cq.Plane(cq.Vector(0.546875, 0.3984375, 0.1640625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop6=wp_sketch6.moveTo(0.05921052631578947, 0.0).circle(0.05921052631578947) solid6=wp_sketch6.add(loop6).extrude(-0.3203125) solid=solid.cut(solid6)
2,119
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00001034
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.375, 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(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
913
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00000470
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1796875, 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.18157894736842106, 0.0).circle(0.18157894736842106) solid0=wp_sketch0.add(loop0).extrude(-0.75, both=True) solid=solid0
915
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00002298
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.28421052631578947).lineTo(0.0, 0.28421052631578947).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.0234375) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.21875, -0.0234375, 0.0859375), 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.3203125, 0.0).lineTo(0.3203125, 0.1584703947368421).lineTo(0.0, 0.1584703947368421).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(-0.0234375) solid=solid.cut(solid1)
1,264
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00003810
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.039473684210526314, 0.0).threePointArc((0.07105263157894737, 0.031578947368421054), (0.10263157894736842, 0.0)).lineTo(0.14210526315789473, 0.0).lineTo(0.10263157894736842, 0.718421052631579).threePointArc((0.07105263157894737, 0.7484867098958187), (0.039473684210526314, 0.718421052631579)).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.0234375) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.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))) loop1=wp_sketch1.moveTo(0.0, 0.0).threePointArc((0.03125, -0.03125), (0.0625, 0.0)).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.0234375) 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.0625, 0.0).threePointArc((0.03125, 0.03125), (0.0, 0.0)).close() solid2=wp_sketch2.add(loop2).extrude(0.0234375) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.0234375, 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.0234375, 0.0234375), (0.0, 0.0)).close() solid3=wp_sketch3.add(loop3).extrude(0.9375) solid=solid.cut(solid3) # Generating a workplane for sketch 4 wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.0234375, 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.0, 0.0).threePointArc((0.0234375, -0.0234375), (0.046875, 0.0)).lineTo(0.0, 0.0).close() solid4=wp_sketch4.add(loop4).extrude(0.9375) solid=solid.cut(solid4)
2,232
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00005044
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5859375, -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.168421052631579, 0.0).lineTo(1.168421052631579, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.328125) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.5859375, -0.546875, 0.1640625), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.07500000000000001, 0.0).circle(0.07500000000000001) solid1=wp_sketch1.add(loop1).extrude(-0.625) solid=solid.cut(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.5859375, 0.3984375, 0.1640625), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop2=wp_sketch2.moveTo(0.07500000000000001, 0.0).circle(0.07500000000000001) solid2=wp_sketch2.add(loop2).extrude(-0.625) solid=solid.cut(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.5859375, 0.0, 0.1640625), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop3=wp_sketch3.moveTo(0.078125, 0.0).threePointArc((0.05524271728019905, 0.05524271728019903), (0.0, 0.078125)).lineTo(0.0, 0.0).close() solid3=wp_sketch3.add(loop3).extrude(-0.625) solid=solid.cut(solid3) # Generating a workplane for sketch 4 wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.5859375, -0.078125, 0.1640625), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop4=wp_sketch4.moveTo(0.078125, 0.0).lineTo(0.078125, 0.078125).threePointArc((0.022882282719800973, 0.05524271728019905), (0.0, 0.0)).close() solid4=wp_sketch4.add(loop4).extrude(-0.625) solid=solid.cut(solid4) # Generating a workplane for sketch 5 wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(-0.5859375, 0.0, 0.0859375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop5=wp_sketch5.moveTo(0.0, 0.0).threePointArc((0.05524271728019903, 0.02288228271980095), (0.078125, 0.078125)).lineTo(0.0, 0.078125).lineTo(0.0, 0.0).close() solid5=wp_sketch5.add(loop5).extrude(-0.625) solid=solid.cut(solid5) # Generating a workplane for sketch 6 wp_sketch6 = cq.Workplane(cq.Plane(cq.Vector(-0.5859375, -0.078125, 0.1640625), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop6=wp_sketch6.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() solid6=wp_sketch6.add(loop6).extrude(-0.625) solid=solid.cut(solid6)
2,613
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00002059
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.328125, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.33157894736842103, 0.0).circle(0.33157894736842103) loop1=wp_sketch0.moveTo(0.33157894736842103, 0.0).circle(0.31776315789473686) solid0=wp_sketch0.add(loop0).add(loop1).extrude(-0.0078125) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.3203125, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch1.moveTo(0.3236842105263158, 0.0).circle(0.3236842105263158) solid1=wp_sketch1.add(loop2).extrude(-0.0078125) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.328125, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop3=wp_sketch2.moveTo(0.33157894736842103, 0.0).circle(0.33157894736842103) loop4=wp_sketch2.moveTo(0.33157894736842103, 0.0).circle(0.31776315789473686) solid2=wp_sketch2.add(loop3).add(loop4).extrude(0.75) solid=solid.union(solid2)
1,357
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00002065
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.671875, 0.4140625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.4243421052631579, -0.41019736842105264).lineTo(0.9194078947368421, -0.41019736842105264).lineTo(1.34375, 0.0).lineTo(1.34375, 0.3394736842105263).lineTo(0.0, 0.3394736842105263).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.1328125) solid=solid0
973
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00009865
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.6078947368421053).lineTo(0.0, 0.6078947368421053).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.2890625) solid=solid0
870
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00007848
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.453125, 0.0, -0.296875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.8991776315789474, 0.0).threePointArc((1.203125, 0.30394736842105263), (0.8991776315789474, 0.6078947368421053)).lineTo(0.0, 0.6078947368421053).threePointArc((-0.30394736842105263, 0.30394736842105263), (0.0, 0.0)).close() loop1=wp_sketch0.moveTo(0.0, 0.30394736842105263).circle(0.22796052631578947) loop2=wp_sketch0.moveTo(0.45592105263157895, 0.30394736842105263).circle(0.1013157894736842) loop3=wp_sketch0.moveTo(0.8991776315789474, 0.30394736842105263).circle(0.22796052631578947) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).extrude(0.09375) solid=solid0
1,281
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00005087
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.4375, -0.2578125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.44605263157894737, -0.2509046052631579).lineTo(0.8828124999999999, 0.0).lineTo(0.8828124999999999, 0.5111019736842105).lineTo(0.44605263157894737, 0.7620065789473683).lineTo(0.0, 0.5111019736842105).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.53125) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.3125, 0.0, 0.53125), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.3157894736842105, 0.0).circle(0.3157894736842105) solid1=wp_sketch1.add(loop1).extrude(0.21875) solid=solid.union(solid1)
1,184
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00009695
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1015625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.10657894736842105, 0.0).circle(0.10657894736842105) loop1=wp_sketch0.moveTo(0.10657894736842105, 0.0).circle(0.015542763157894737) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.6015625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.015625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch1.moveTo(0.015789473684210527, 0.0).circle(0.015789473684210527) solid1=wp_sketch1.add(loop2).extrude(0.75) solid=solid.union(solid1)
1,102
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00002919
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.015625) solid=solid0
836
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00005904
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.1105263157894737).lineTo(0.0, 0.1105263157894737).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.015625, -0.015625, 0.015625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.71875, 0.0).lineTo(0.71875, 0.08322368421052631).lineTo(0.0, 0.08322368421052631).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(-0.0078125) solid=solid.cut(solid1)
1,258
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00007849
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) loop1=wp_sketch0.moveTo(0.09473684210526316, 0.0).circle(0.05723684210526316) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.4453125, both=True) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = 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))) loop2=wp_sketch1.moveTo(0.09473684210526316, 0.0).circle(0.09276315789473684) loop3=wp_sketch1.moveTo(0.09473684210526316, 0.0).circle(0.05723684210526316) solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.4453125, both=True) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.0546875, 0.0, 0.09375), 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.05592105263157894, 0.0).lineTo(0.14802631578947367, 0.0).lineTo(0.14802631578947367, 0.3125).lineTo(0.11513157894736842, 0.3125).lineTo(0.0, 0.3125).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop4).extrude(0.40625, both=True) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.4375, 0.0, 0.09375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop5=wp_sketch3.moveTo(0.09210526315789473, 0.0).lineTo(0.14802631578947367, 0.0).lineTo(0.14802631578947367, 0.3125).lineTo(0.03289473684210526, 0.3125).lineTo(0.0, 0.3125).lineTo(0.0, 0.0).close() solid3=wp_sketch3.add(loop5).extrude(0.40625, both=True) solid=solid.union(solid3) # Generating a workplane for sketch 4 wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.484375, 0.0, 0.3984375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop6=wp_sketch4.moveTo(0.04070723684210526, 0.0).lineTo(0.07401315789473684, 0.0).lineTo(0.07401315789473684, 0.3515625).lineTo(0.0, 0.3515625).lineTo(0.0, 0.0).close() solid4=wp_sketch4.add(loop6).extrude(0.40625, both=True) solid=solid.union(solid4) # Generating a workplane for sketch 5 wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(0.0546875, 0.0, 0.3984375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop7=wp_sketch5.moveTo(0.033305921052631575, 0.0).lineTo(0.07401315789473684, 0.0).lineTo(0.07401315789473684, 0.3515625).lineTo(0.0, 0.3515625).lineTo(0.0, 0.0).close() solid5=wp_sketch5.add(loop7).extrude(0.40625, both=True) solid=solid.union(solid5)
2,752
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00008549
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.265625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.24473684210526317, 0.0).circle(0.23963815789473686) loop1=wp_sketch0.moveTo(0.24473684210526317, 0.0).circle(0.14276315789473684) 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.1953125, 0.328125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch1.moveTo(0.19736842105263158, 0.0).circle(0.19736842105263158) loop3=wp_sketch1.moveTo(0.19736842105263158, 0.0).circle(0.09868421052631579) solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.046875) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.2890625, -0.15625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop4=wp_sketch2.moveTo(0.22105263157894733, 0.0).circle(0.22105263157894733) loop5=wp_sketch2.moveTo(0.22105263157894733, 0.0).circle(0.11973684210526314) solid2=wp_sketch2.add(loop4).add(loop5).extrude(0.046875) solid=solid.union(solid2)
1,437
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00003408
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.4765625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.296875, 0.0).lineTo(0.296875, 0.23125).lineTo(0.0, 0.23125).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.0703125) solid=solid0
863
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00001579
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.28125), 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.01849851908295498, -0.044659375653887126), (0.06315789473684211, -0.06315789473684211)).lineTo(1.436842105263158, -0.06315789473684211).threePointArc((1.481501480917045, -0.044659375653887126), (1.5, 0.0)).lineTo(1.5, 0.5526315789473685).threePointArc((1.481501480917045, 0.5972909546012556), (1.436842105263158, 0.6157894736842106)).lineTo(0.06315789473684211, 0.6157894736842106).threePointArc((0.01849851908295498, 0.5972909546012556), (0.0, 0.5526315789473685)).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.3631578947368421, 0.06315789473684211).circle(0.04736842105263158) loop2=wp_sketch0.moveTo(1.1368421052631579, 0.48947368421052634).circle(0.04736842105263158) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.0625) solid=solid0
1,456
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00006216
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.015625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.015131578947368421, 0.0).threePointArc((0.020136386585843755, 0.0015035426177861927), (0.024342105263157894, 0.004605263157894736)).threePointArc((0.02894736842105263, 0.0030524842370911603), (0.03355263157894737, 0.004605263157894736)).threePointArc((0.03965574820403975, 0.0036245819531159603), (0.045394736842105265, 0.0059210526315789476)).threePointArc((0.0480808008982467, 0.005236933698241847), (0.049999999999999996, 0.007236842105263158)).threePointArc((0.05355606172869023, 0.007335057395593985), (0.05657894736842105, 0.009210526315789473)).threePointArc((0.06062577774119197, 0.009554754440843619), (0.0625, 0.013157894736842105)).lineTo(0.0, 0.013157894736842105).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0625, 0.0, 0.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.0625, 0.0).lineTo(0.0, 0.0625).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(-0.015625) solid=solid.cut(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0625, 0.0, 0.6875), 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.0625, 0.0625).lineTo(0.0, 0.0625).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(-0.015625) solid=solid.cut(solid2)
1,916
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00002058
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.640625, 0.4765625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(1.234375, 0.0).lineTo(1.234375, 0.27286184210526315).lineTo(0.0, 0.27286184210526315).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.140625) solid=solid0
890
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00001237
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0546875, 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.055263157894736833, 0.0).circle(0.05411184210526315) solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.0859375, -0.75, 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.08684210526315789, 0.0).circle(0.08684210526315789) loop2=wp_sketch1.moveTo(0.08684210526315789, 0.0).circle(0.05789473684210526) solid1=wp_sketch1.add(loop1).add(loop2).extrude(-0.078125) solid=solid.union(solid1)
1,245
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00007652
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0703125, 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.1328125, 0.0).lineTo(0.1328125, 0.1328125).lineTo(0.0, 0.1328125).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.2734375) solid=solid0
946
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00005723
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.3984375, 0.0, -0.75), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.7894736842105263, 0.0).lineTo(0.7894736842105263, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.0625) solid=solid0
944
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00008950
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.359375, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.3631578947368421, 0.0).circle(0.3555921052631579) 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.25, -0.0859375, 0.0703125), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.0669407894736842, 0.0).lineTo(0.0669407894736842, 0.171875).lineTo(0.0, 0.171875).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.6796875) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.1875, -0.0859375, 0.0703125), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch2.moveTo(0.0669407894736842, 0.0).lineTo(0.0669407894736842, 0.171875).lineTo(0.0, 0.171875).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(0.53125) solid=solid.union(solid2)
1,327
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00003805
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.49736842105263157, 0.0).lineTo(0.49736842105263157, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(-0.0625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.49736842105263157, 0.0).lineTo(0.49736842105263157, 0.75).threePointArc((0.36243921687906927, 0.2995624694713317), (0.0, 0.0)).close() solid1=wp_sketch1.add(loop1).extrude(-0.5) solid=solid.cut(solid1)
1,261
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00003811
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0234375, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.027631578947368417, 0.0).circle(0.027631578947368417) solid0=wp_sketch0.add(loop0).extrude(0.0234375) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.0234375, 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.027631578947368424, 0.026961586379710405), (0.05526315789473685, 0.0)).lineTo(0.039473684210526314, 0.7342105263157895).threePointArc((0.027631578947368424, 0.745765491907094), (0.015789473684210527, 0.7342105263157895)).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.0234375) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.0234375, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop2=wp_sketch2.moveTo(0.019736842105263157, 0.0).circle(0.019736842105263157) solid2=wp_sketch2.add(loop2).extrude(0.8359375) solid=solid.cut(solid2)
1,637
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00003187
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.296875, -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.6, 0.0).lineTo(0.6, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(-0.078125) solid=solid0
843
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00003178
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.5605263157894737, 0.0).threePointArc((0.75, 0.18947368421052632), (0.5605263157894737, 0.37894736842105264)).lineTo(0.0, 0.37894736842105264).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.09375) solid=solid0
928
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00006014
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.6157894736842106, 0.0).lineTo(0.6157894736842106, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.0234375) solid=solid0
942
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00003144
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 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(1.5, 0.0).lineTo(1.5, 0.06315789473684211).lineTo(1.405263157894737, 0.06315789473684211).threePointArc((1.3350039873425394, 0.09880041020337962), (1.3105263157894738, 0.1736842105263158)).lineTo(1.3105263157894738, 0.3157894736842105).lineTo(0.18947368421052632, 0.3157894736842105).lineTo(0.18947368421052632, 0.1736842105263158).threePointArc((0.1649960126574607, 0.09880041020337962), (0.09473684210526316, 0.06315789473684211)).lineTo(0.0, 0.06315789473684211).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.3671875) solid=solid0
1,291
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00001021
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = 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))) loop0=wp_sketch0.moveTo(0.6947368421052631, 0.0).circle(0.6947368421052631) loop1=wp_sketch0.moveTo(0.6947368421052631, 0.0).circle(0.6802631578947368) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.6796875) solid=solid0
905
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00008830
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.015625, -0.015625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.6484375, 0.0).lineTo(0.6484375, 0.5392269736842106).lineTo(0.0, 0.5392269736842106).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.6347861842105263, 0.013651315789473685).lineTo(0.6347861842105263, 0.5255756578947369).lineTo(0.013651315789473685, 0.5255756578947369).lineTo(0.013651315789473685, 0.013651315789473685).close() solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.28125) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch1.moveTo(0.04802631578947368, 0.0).lineTo(0.04802631578947368, 0.0625).lineTo(0.0, 0.0625).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop2).extrude(0.0703125) solid_temp=solid1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch1.moveTo(0.04802631578947368, 0.0).lineTo(0.04802631578947368, 0.0625).lineTo(0.0, 0.0625).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop2).extrude(-0.0390625) solid_temp=solid_temp.union(solid1) solid=solid.union(solid_temp) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.1640625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop3=wp_sketch2.moveTo(0.1015625, 0.0).lineTo(0.1015625, 0.06307565789473685).lineTo(0.0, 0.06307565789473685).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop3).extrude(0.015625) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.1640625, 0.0, 0.015625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop4=wp_sketch3.moveTo(0.1015625, 0.0).lineTo(0.1015625, 0.031003289473684213).lineTo(0.0, 0.031003289473684213).lineTo(0.0, 0.0).close() solid3=wp_sketch3.add(loop4).extrude(0.015625) solid=solid.union(solid3)
2,025
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00005496
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.578125, -0.4140625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(1.0292763157894738, 0.0).lineTo(1.0292763157894738, 1.1640625).lineTo(0.0, 1.1640625).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.1015625) solid=solid0
891
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00009253
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.75, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.03125) solid=solid0
838
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00009535
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.171875, -0.75), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.3515625, 0.0).lineTo(0.3515625, 0.051809210526315784).lineTo(0.0, 0.051809210526315784).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.546875) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.171875, -0.75), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.3515625, 0.0).lineTo(0.3515625, 0.051809210526315784).lineTo(0.0, 0.051809210526315784).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.0546875) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.171875, -0.6953125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop2=wp_sketch2.moveTo(0.3453947368421053, 0.0).lineTo(0.3453947368421053, 0.7339638157894738).threePointArc((0.3201037927833779, 0.7950215559412727), (0.259046052631579, 0.8203125000000001)).lineTo(0.08634868421052633, 0.8203125000000001).threePointArc((0.025290944058727394, 0.7950215559412727), (0.0, 0.7339638157894738)).lineTo(0.0, 0.0).close() loop3=wp_sketch2.moveTo(0.17269736842105265, 0.6994243421052633).circle(0.060444078947368425) loop4=wp_sketch2.moveTo(0.18133223684210528, 0.3799342105263158).circle(0.06907894736842106) solid2=wp_sketch2.add(loop2).add(loop3).add(loop4).extrude(0.0546875) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.4296875, 0.0859375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop5=wp_sketch3.moveTo(0.035526315789473684, 0.0).circle(0.035526315789473684) solid3=wp_sketch3.add(loop5).extrude(-0.9765625) solid=solid.cut(solid3) # Generating a workplane for sketch 4 wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.1171875, -0.0859375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop6=wp_sketch4.moveTo(0.035526315789473684, 0.0).circle(0.035526315789473684) solid4=wp_sketch4.add(loop6).extrude(-0.9765625) solid=solid.cut(solid4)
2,293
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00001169
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.1736842105263158).lineTo(0.0, 0.1736842105263158).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.03125) solid=solid0
868
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00007256
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.031578947368421054, 0.0).lineTo(0.031578947368421054, 0.3394736842105263).lineTo(0.18947368421052632, 0.3394736842105263).lineTo(0.18947368421052632, 0.0).lineTo(0.6789473684210526, 0.0).lineTo(0.6789473684210526, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.015625) solid=solid0
1,085
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00001633
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.3984375, 0.0, 0.46875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.23848684210526316, 0.0).lineTo(0.8943256578947368, 0.0).lineTo(1.1328125, 0.0).lineTo(1.1328125, 0.09539473684210527).lineTo(0.5604440789473685, 0.27425986842105265).threePointArc((0.2658322177904466, 0.22991541057239043), (0.0, 0.09539473684210527)).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.109375, both=True) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.1640625, 0.0, 0.46875), 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.07178210280665051, -0.0768221151620326), (0.16077302631578946, -0.1328125)).lineTo(0.16077302631578946, -0.4683388157894737).lineTo(0.5032894736842105, -0.4683388157894737).lineTo(0.5032894736842105, -0.1328125).threePointArc((0.5922803971933495, -0.0768221151620326), (0.6640625, 0.0)).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.078125, both=True) solid=solid.union(solid1)
1,614
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00008398
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.296875, 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.6).lineTo(0.0, 0.6).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.203125, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.12236842105263158, 0.0).circle(0.12236842105263158) solid1=wp_sketch1.add(loop1).extrude(0.75) solid=solid.cut(solid1)
1,034
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00000908
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0234375, 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.7109375, 0.0).lineTo(0.7109375, 0.3966282894736842).lineTo(0.0, 0.3966282894736842).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.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))) loop1=wp_sketch1.moveTo(0.75, 0.0).lineTo(0.75, 0.4578947368421053).lineTo(0.0, 0.4578947368421053).lineTo(0.0, 0.0).close() loop2=wp_sketch1.moveTo(0.7263157894736842, 0.031578947368421054).lineTo(0.7263157894736842, 0.4263157894736842).lineTo(0.015789473684210527, 0.4263157894736842).lineTo(0.015789473684210527, 0.031578947368421054).close() solid1=wp_sketch1.add(loop1).add(loop2).extrude(-0.3125) solid=solid.union(solid1)
1,444
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00009045
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.5390625, -0.75), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.1105263157894737, 0.0).lineTo(0.11842105263157895, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.578125) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.4609375, -0.75), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.11842105263157895, 0.0).lineTo(0.11842105263157895, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.578125) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.421875, -0.75), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop2=wp_sketch2.moveTo(0.8828124999999999, 0.0).lineTo(0.8828124999999999, 0.7434210526315789).threePointArc((0.44140624999999994, 0.3020148026315789), (0.0, 0.7434210526315789)).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(0.578125) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.421875, -0.75), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop3=wp_sketch3.lineTo(0.0, 0.75).lineTo(0.0, 0.0).close() solid3=wp_sketch3.add(loop3).extrude(0.578125) solid=solid.union(solid3)
1,793
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00000061
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.75, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.75).lineTo(0.07894736842105263, 0.75).threePointArc((0.0541891660316757, 0.6981231488536936), (0.0, 0.6789473684210526)).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.0390625) solid=solid0
928
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00002104
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.34375) solid=solid0
835
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00002886
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.46875, -0.28125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(1.0234375, 0.0).lineTo(1.0234375, 0.5601973684210526).lineTo(0.0, 0.5601973684210526).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.5546875, -0.28125, 0.5390625), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.5546875, 0.0).lineTo(0.5546875, 0.08174342105263158).lineTo(0.0, 0.08174342105263158).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.46875, -0.28125, 0.5390625), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop2=wp_sketch2.moveTo(0.5546875, 0.0).lineTo(0.5546875, 0.08174342105263158).lineTo(0.0, 0.08174342105263158).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(0.1953125) solid=solid.union(solid2)
1,489
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00001341
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.65625, 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.6552631578947369).lineTo(0.0, 0.6552631578947369).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.1875, 0.2734375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.0, 0.0).threePointArc((0.006888771429329544, -0.01663096541277572), (0.023519736842105263, -0.023519736842105263)).lineTo(0.17960526315789474, -0.023519736842105263).threePointArc((0.19623622857067047, -0.01663096541277572), (0.203125, 0.0)).lineTo(0.203125, 0.15608552631578948).threePointArc((0.19623622857067047, 0.1727164917285652), (0.17960526315789474, 0.17960526315789474)).lineTo(0.023519736842105263, 0.17960526315789474).threePointArc((0.006888771429329544, 0.1727164917285652), (0.0, 0.15608552631578948)).lineTo(0.0, 0.0).close() loop2=wp_sketch1.moveTo(0.023519736842105263, 0.0).circle(0.012828947368421054) loop3=wp_sketch1.moveTo(0.023519736842105263, 0.15608552631578948).circle(0.012828947368421054) loop4=wp_sketch1.moveTo(0.17960526315789474, 0.0).circle(0.012828947368421054) loop5=wp_sketch1.moveTo(0.17960526315789474, 0.15608552631578948).circle(0.012828947368421054) solid1=wp_sketch1.add(loop1).add(loop2).add(loop3).add(loop4).add(loop5).extrude(0.015625) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.171875, -0.203125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop6=wp_sketch2.moveTo(0.17195723684210526, -0.06710526315789474).lineTo(0.20131578947368423, -0.06710526315789474).lineTo(0.37327302631578946, 0.0).threePointArc((0.3984375, 0.025164473684210528), (0.37327302631578946, 0.050328947368421056)).lineTo(0.20131578947368423, 0.1174342105263158).lineTo(0.17195723684210526, 0.1174342105263158).lineTo(0.0, 0.050328947368421056).threePointArc((0.025164473684210528, 0.025164473684210528), (0.0, 0.0)).close() solid2=wp_sketch2.add(loop6).extrude(0.015625) solid=solid.union(solid2)
2,300
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00005899
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.125) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.375, 0.125), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.125, 0.0).lineTo(0.125, 0.125).lineTo(0.0, 0.125).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.375) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.625, 0.375, 0.125), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch2.moveTo(0.125, 0.0).lineTo(0.125, 0.125).lineTo(0.0, 0.125).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(0.375) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.625, -0.5, 0.125), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop3=wp_sketch3.moveTo(0.125, 0.0).lineTo(0.125, 0.125).lineTo(0.0, 0.125).lineTo(0.0, 0.0).close() solid3=wp_sketch3.add(loop3).extrude(0.375) solid=solid.union(solid3) # Generating a workplane for sketch 4 wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.5, 0.125), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop4=wp_sketch4.moveTo(0.125, 0.0).lineTo(0.125, 0.125).lineTo(0.0, 0.125).lineTo(0.0, 0.0).close() solid4=wp_sketch4.add(loop4).extrude(0.375) solid=solid.union(solid4)
1,659
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00001427
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.7578947368421053) loop1=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.4736842105263158) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0234375, both=True) solid=solid0
976
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00002112
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.3125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.6640625, 0.0).lineTo(0.6640625, 0.30756578947368424).lineTo(0.0, 0.30756578947368424).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.015625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042))) loop1=wp_sketch1.moveTo(0.009868421052631578, 0.0).lineTo(0.009868421052631578, 0.3125).lineTo(0.0, 0.3125).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.5078125) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.65625, 0.0, 0.0), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042))) loop2=wp_sketch2.moveTo(0.009868421052631578, 0.0).lineTo(0.009868421052631578, 0.3125).lineTo(0.0, 0.3125).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(0.5078125) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.1875, 0.015625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop3=wp_sketch3.moveTo(0.011842105263157895, 0.0).lineTo(0.011842105263157895, 0.1875).lineTo(0.0, 0.1875).lineTo(0.0, 0.0).close() solid3=wp_sketch3.add(loop3).extrude(0.734375) solid=solid.union(solid3) # Generating a workplane for sketch 4 wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.65625, -0.1875, 0.015625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop4=wp_sketch4.moveTo(0.011842105263157895, 0.0).lineTo(0.011842105263157895, 0.1875).lineTo(0.0, 0.1875).lineTo(0.0, 0.0).close() solid4=wp_sketch4.add(loop4).extrude(0.734375) solid=solid.union(solid4)
1,988
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00000711
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.203125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 0.39473684210526316).lineTo(0.0, 0.39473684210526316).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.06315789473684211, 0.09473684210526316).lineTo(0.06315789473684211, 0.04736842105263158).lineTo(0.09473684210526316, 0.04736842105263158).lineTo(0.09473684210526316, 0.3473684210526316).lineTo(0.06315789473684211, 0.3473684210526316).lineTo(0.06315789473684211, 0.3157894736842105).lineTo(0.04736842105263158, 0.3157894736842105).lineTo(0.04736842105263158, 0.09473684210526316).close() loop2=wp_sketch0.moveTo(1.2473684210526317, 0.18947368421052632).lineTo(1.2473684210526317, 0.20526315789473684).lineTo(0.25263157894736843, 0.20526315789473684).lineTo(0.25263157894736843, 0.18947368421052632).close() loop3=wp_sketch0.moveTo(1.436842105263158, 0.04736842105263158).lineTo(1.436842105263158, 0.09473684210526316).lineTo(1.4526315789473685, 0.09473684210526316).lineTo(1.4526315789473685, 0.3157894736842105).lineTo(1.436842105263158, 0.3157894736842105).lineTo(1.436842105263158, 0.3473684210526316).lineTo(1.405263157894737, 0.3473684210526316).lineTo(1.405263157894737, 0.04736842105263158).close() solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).extrude(0.015625) solid=solid0
1,854
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00001382
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.40625, 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.0390625, 0.0).lineTo(0.0390625, 0.0390625).lineTo(0.0, 0.0390625).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.15625, 0.0, 0.09375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.703125, 0.0).lineTo(0.703125, 0.1850328947368421).lineTo(0.0, 0.1850328947368421).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.0078125) solid=solid.union(solid1)
1,246
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00008167
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.37894736842105264) solid0=wp_sketch0.add(loop0).add(loop1).extrude(-0.09375) solid=solid0
899
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00007254
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.15789473684210525, 0.0).lineTo(0.15789473684210525, 0.3394736842105263).lineTo(0.27631578947368424, 0.3394736842105263).lineTo(0.27631578947368424, 0.0).lineTo(0.28421052631578947, 0.0).lineTo(0.28421052631578947, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.015625) solid=solid0
1,085
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00001625
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1953125, 0.0, -0.1171875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.40625, 0.0).lineTo(0.40625, 0.23519736842105265).lineTo(0.0, 0.23519736842105265).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.015625) solid=solid0
961
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00007532
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.421875, -0.75), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.3078947368421053, 0.03848684210526316).lineTo(0.3078947368421053, 0.9140625).lineTo(0.21167763157894737, 0.9140625).lineTo(0.21167763157894737, 0.25978618421052635).threePointArc((0.15398485154104136, 0.1635315958273797), (0.05773026315789474, 0.10583881578947368)).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.08659539473684211, 0.05773026315789474).circle(0.01924342105263158) solid0=wp_sketch0.add(loop0).add(loop1).extrude(-0.2265625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.1171875, -0.7109375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop2=wp_sketch1.moveTo(0.0, 0.0).threePointArc((0.08364545547597894, 0.18040932216087147), (0.23947368421052628, 0.3039473684210526)).lineTo(0.23947368421052628, 0.8749999999999999).lineTo(0.19342105263157894, 0.8749999999999999).lineTo(0.19342105263157894, 0.6355263157894736).lineTo(0.046052631578947366, 0.6355263157894736).lineTo(0.046052631578947366, 0.8749999999999999).lineTo(0.0, 0.8749999999999999).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop2).extrude(-0.2265625) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.1171875, -0.40625), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop3=wp_sketch2.moveTo(0.0, 0.0).threePointArc((0.04419502374865938, 0.01749716559612746), (0.09004934210526315, 0.030016447368421052)).lineTo(0.09004934210526315, 0.5703125).lineTo(0.0, 0.5703125).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop3).extrude(-0.2265625) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.1171875, -0.7109375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop4=wp_sketch3.moveTo(0.0, 0.0).threePointArc((0.08364545547597894, 0.18040932216087147), (0.23947368421052628, 0.3039473684210526)).lineTo(0.23947368421052628, 0.8749999999999999).lineTo(0.19342105263157894, 0.8749999999999999).lineTo(0.19342105263157894, 0.6355263157894736).lineTo(0.046052631578947366, 0.6355263157894736).lineTo(0.046052631578947366, 0.8749999999999999).lineTo(0.0, 0.8749999999999999).lineTo(0.0, 0.0).close() solid3=wp_sketch3.add(loop4).extrude(-0.1171875) solid=solid.cut(solid3)
2,681
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00002338
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1484375, -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.22542327544145357, -0.41424592973158286), (0.24473684210526317, -0.3773026315789474)).lineTo(0.4486842105263158, 0.08157894736842106).threePointArc((0.47871171817631714, 0.2192434210526316), (0.4486842105263158, 0.35690789473684215)).lineTo(0.24473684210526317, 0.8157894736842106).threePointArc((-0.22542327544145374, 0.8527327718368461), (0.0, 0.4384868421052632)).lineTo(0.1529605263157895, 0.4384868421052632).threePointArc((0.37220394736842105, 0.2192434210526316), (0.1529605263157895, 0.0)).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.0, -0.26513157894736844).circle(0.1529605263157895) loop2=wp_sketch0.moveTo(0.0, 0.7036184210526316).circle(0.1529605263157895) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.0859375) solid=solid0
1,394
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00005319
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.031578947368421054, 0.0).circle(0.031578947368421054) solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
911
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00008629
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, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.3394736842105263, 0.0).lineTo(0.3394736842105263, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.18157894736842106, 0.007894736842105263), (0.1736842105263158, 0.18947368421052632)).lineTo(0.1736842105263158, 0.5605263157894737).threePointArc((0.13815789473684212, 0.5960526315789474), (0.10263157894736842, 0.5605263157894737)).lineTo(0.10263157894736842, 0.18947368421052632).close() solid0=wp_sketch0.add(loop0).add(loop1).extrude(-0.078125) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch1.moveTo(0.07894736842105263, 0.0).lineTo(0.07894736842105263, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop2).extrude(-0.625) solid=solid.union(solid1)
1,383
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00009251
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.71875, 0.0, -0.75), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.6631578947368422, 0.0).threePointArc((0.718421052631579, 0.05526315789473685), (0.7736842105263159, 0.0)).lineTo(1.436842105263158, 0.0).lineTo(1.436842105263158, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.03125) solid=solid0
1,037
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00001989
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.6947368421052632).lineTo(0.0, 0.6947368421052632).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.4296875) solid=solid0
870
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00004629
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.5859375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 1.168421052631579).lineTo(0.0, 1.168421052631579).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.6640625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.7421875, -0.578125, 0.6640625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(1.4765625, 0.0).lineTo(1.4765625, 1.1501644736842105).lineTo(0.0, 1.1501644736842105).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(-0.640625) solid=solid.cut(solid1)
1,121
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00000329
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.15789473684210525).lineTo(0.0, 0.15789473684210525).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.039473684210526314, 0.07894736842105263).circle(0.015789473684210527) loop2=wp_sketch0.moveTo(0.49736842105263157, 0.031578947368421054).threePointArc((0.5447368421052632, 0.07894736842105263), (0.49736842105263157, 0.12631578947368421)).lineTo(0.25263157894736843, 0.12631578947368421).threePointArc((0.20526315789473684, 0.07894736842105263), (0.25263157894736843, 0.031578947368421054)).close() loop3=wp_sketch0.moveTo(0.7105263157894737, 0.07894736842105263).circle(0.015789473684210527) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).extrude(0.015625) solid=solid0
1,317
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00009319
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5390625, 0.5234375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.07500000000000001, 0.0).circle(0.07500000000000001) 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.1953125, 0.5234375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.07500000000000001, 0.0).circle(0.07500000000000001) 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.1875, 0.546875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch2.moveTo(0.07500000000000001, 0.0).circle(0.07500000000000001) solid2=wp_sketch2.add(loop2).extrude(0.03125) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.5703125, 0.421875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop3=wp_sketch3.moveTo(0.203125, 0.0).lineTo(0.203125, 0.203125).lineTo(0.0, 0.203125).lineTo(0.0, 0.0).close() loop4=wp_sketch3.moveTo(0.10263157894736843, 0.10263157894736843).circle(0.07697368421052632) solid3=wp_sketch3.add(loop3).add(loop4).extrude(0.046875) solid=solid.union(solid3) # Generating a workplane for sketch 4 wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.21875, 0.3203125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop5=wp_sketch4.moveTo(0.20526315789473687, 0.0).lineTo(0.20526315789473687, 0.40625).lineTo(0.0, 0.40625).lineTo(0.0, 0.0).close() loop6=wp_sketch4.moveTo(0.10263157894736843, 0.20526315789473687).circle(0.07697368421052632) solid4=wp_sketch4.add(loop5).add(loop6).extrude(0.046875) solid=solid.union(solid4) # Generating a workplane for sketch 5 wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(0.0625, 0.34375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop7=wp_sketch5.moveTo(0.40625, 0.0).lineTo(0.40625, 0.40625).lineTo(0.0, 0.40625).lineTo(0.0, 0.0).close() loop8=wp_sketch5.moveTo(0.20526315789473687, 0.20526315789473687).circle(0.07697368421052632) solid5=wp_sketch5.add(loop7).add(loop8).extrude(0.046875) solid=solid.union(solid5)
2,158
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00001976
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.75, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.09473684210526316).lineTo(0.0, 0.09473684210526316).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.015625) solid=solid0
926
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00003813
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0625, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.00041118421052631577, 0.0078125).threePointArc((0.00010969905015016934, 0.003911297002900685), (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.0625, 0.0, 0.0078125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.00041118421052631577, -0.0078125).threePointArc((0.00030148516037614644, -0.003901202997099316), (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.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.0, 0.0).threePointArc((0.06315789473684211, -0.06315789473684211), (0.12631578947368421, 0.0)).lineTo(0.12631578947368421, 0.007894736842105263).lineTo(0.0868421052631579, 0.7263157894736842).threePointArc((0.06315789473684211, 0.748865032421864), (0.039473684210526314, 0.7263157894736842)).lineTo(0.0, 0.007894736842105263).lineTo(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.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))) loop3=wp_sketch3.moveTo(0.0006578947368421052, 0.0078125).threePointArc((0.00042353724272060927, 0.0062537849195866265), (0.0002467105263157895, 0.0046875)).lineTo(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.0625, 0.0, 0.0078125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop4=wp_sketch4.moveTo(0.0006578947368421052, -0.0078125).lineTo(0.00041118421052631577, -0.0031249999999999997).threePointArc((0.000234357494121496, -0.0015587150804133758), (0.0, 0.0)).close() solid4=wp_sketch4.add(loop4).extrude(0.078125) solid=solid.union(solid4)
2,509
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00007136
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.671875, 0.0, -0.3125), 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.004142897502953359, -0.010001839339151905), (0.014144736842105264, -0.014144736842105264)).lineTo(1.3296052631578947, -0.014144736842105264).threePointArc((1.3396071024970466, -0.010001839339151905), (1.34375, 0.0)).lineTo(1.34375, 0.6365131578947368).threePointArc((1.3396071024970466, 0.6465149972338887), (1.3296052631578947, 0.6506578947368421)).lineTo(0.014144736842105264, 0.6506578947368421).threePointArc((0.004142897502953359, 0.6465149972338887), (0.0, 0.6365131578947368)).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(-0.09375) solid=solid0
1,318
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00005721
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.3671875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(1.5, 0.7263157894736842).lineTo(0.0, 0.7263157894736842).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.0078125) solid=solid0
935
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00009127
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.16578947368421051, 0.0).circle(0.16233552631578946) solid0=wp_sketch0.add(loop0).extrude(0.1171875) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.6171875, 0.1640625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.0, 0.0).threePointArc((0.18921816147699141, -0.1509078410310539), (0.016282894736842107, -0.32023026315789477)).lineTo(0.515625, -0.41250000000000003).threePointArc((0.3401823228459626, -0.1601151315789473), (0.515625, 0.09226973684210527)).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.1171875) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.09375, -0.2578125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch2.moveTo(0.09506578947368421, -0.016776315789473684).threePointArc((0.36907894736842106, 0.25723684210526315), (0.09506578947368421, 0.53125)).lineTo(0.0, 0.5144736842105263).threePointArc((-0.17881547544406282, 0.25723684210526315), (0.0, 0.0)).close() solid2=wp_sketch2.add(loop2).extrude(0.1171875) solid=solid.union(solid2)
1,570
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00007687
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.125, 0.0).lineTo(0.125, 0.125).lineTo(0.0, 0.125).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.11710526315789474, 0.007894736842105263).lineTo(0.11710526315789474, 0.11710526315789474).lineTo(0.007894736842105263, 0.11710526315789474).lineTo(0.007894736842105263, 0.007894736842105263).close() solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.0859375, -0.0625, 0.125), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch1.moveTo(0.02368421052631579, 0.0).circle(0.02319078947368421) solid1=wp_sketch1.add(loop2).extrude(-0.125) solid=solid.cut(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.0859375, -0.6875, 0.125), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop3=wp_sketch2.moveTo(0.02368421052631579, 0.0).circle(0.02319078947368421) solid2=wp_sketch2.add(loop3).extrude(-0.125) solid=solid.cut(solid2)
1,506
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00001590
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, -0.015625), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.171875, 0.014473684210526316).lineTo(0.0, 0.02894736842105263).threePointArc((-0.015773650983983083, 0.014473684210526316), (0.0, 0.0)).close() solid0=wp_sketch0.add(loop0).extrude(0.75, both=True) solid=solid0
969
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00000842
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 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.04514802631578947, -1.3845394736842105).threePointArc((0.05516954396631439, -1.4021197936463186), (0.07524671052631579, -1.3995888157894736)).lineTo(1.4296875, 0.030098684210526316).threePointArc((1.4322184778568445, 0.05017585077052771), (1.414638157894737, 0.06019736842105263)).lineTo(0.015049342105263158, 0.015049342105263158).threePointArc((0.00440785025023526, 0.010641491855027899), (0.0, 0.0)).close() solid0=wp_sketch0.add(loop0).extrude(-0.125) solid=solid0
1,142
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0000/00005084
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.375, 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(0.75, 0.0).lineTo(0.75, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.37894736842105264, 0.37894736842105264).circle(0.13421052631578947) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75) solid=solid0
994
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false