image
imagewidth (px)
448
448
deepcad_id
stringlengths
13
13
cadquery
stringlengths
283
8.1k
token_count
int64
807
6.5k
prompt
stringclasses
1 value
hundred_subset
bool
1 class
0002/00024962
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.3236842105263158).lineTo(0.0, 0.3236842105263158).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.48947368421052634, 0.06315789473684211).circle(0.007894736842105263) loop2=wp_sketch0.moveTo(0.48947368421052634, 0.2605263157894737).circle(0.007894736842105263) loop3=wp_sketch0.moveTo(0.5921052631578948, 0.15789473684210525).circle(0.06315789473684211) loop4=wp_sketch0.moveTo(0.6868421052631579, 0.06315789473684211).circle(0.007894736842105263) loop5=wp_sketch0.moveTo(0.6868421052631579, 0.2605263157894737).circle(0.007894736842105263) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).add(loop5).extrude(0.015625) solid=solid0
1,345
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00021832
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.4375, -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.1875, 0.0).lineTo(1.1875, 0.8250000000000001).lineTo(0.0, 0.8250000000000001).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.359375) solid=solid0
880
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00024751
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.5684210526315789) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.2421875, both=True) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.296875, 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.30394736842105263, 0.0).circle(0.30394736842105263) loop3=wp_sketch1.moveTo(0.30394736842105263, 0.0).circle(0.11398026315789474) solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.2421875, both=True) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.5625, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop4=wp_sketch2.moveTo(0.0, 0.0).threePointArc((0.16475243558256683, -0.39774756441743303), (0.5625, -0.5625)).threePointArc((0.4322368421052632, -0.4322368421052632), (0.5625, -0.30197368421052634)).threePointArc((0.3489723601548517, -0.21352763984514828), (0.2605263157894737, 0.0)).threePointArc((0.13026315789473686, -0.13026315789473686), (0.0, 0.0)).close() solid2=wp_sketch2.add(loop4).extrude(0.1484375) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.5625, 0.0, 0.0), 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.0, 0.0).threePointArc((0.13026315789473686, 0.13026315789473686), (0.2605263157894737, 0.0)).threePointArc((0.3489723601548517, 0.21352763984514828), (0.5625, 0.30197368421052634)).threePointArc((0.4322368421052632, 0.4322368421052632), (0.5625, 0.5625)).threePointArc((0.164752435582567, 0.3977475644174332), (0.0, 0.0)).close() solid3=wp_sketch3.add(loop5).extrude(0.1484375) solid=solid.union(solid3) # Generating a workplane for sketch 4 wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.296875), 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.0, 0.0).threePointArc((0.21352763984514828, -0.08844604436537805), (0.30197368421052634, -0.30197368421052634)).threePointArc((0.4322368421052632, -0.17171052631578948), (0.5625, -0.30197368421052634)).threePointArc((0.3977475644174332, 0.09577388020690668), (0.0, 0.2605263157894737)).threePointArc((0.13026315789473686, 0.13026315789473686), (0.0, 0.0)).close() solid4=wp_sketch4.add(loop6).extrude(0.1484375) solid=solid.union(solid4) # Generating a workplane for sketch 5 wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, -0.5625), 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.0, 0.0).threePointArc((0.39774756441743303, 0.16475243558256683), (0.5625, 0.5625)).threePointArc((0.4322368421052632, 0.4322368421052632), (0.30197368421052634, 0.5625)).threePointArc((0.21352763984514828, 0.3489723601548517), (0.0, 0.2605263157894737)).threePointArc((0.13026315789473686, 0.13026315789473686), (0.0, 0.0)).close() solid5=wp_sketch5.add(loop7).extrude(0.1484375) solid=solid.union(solid5)
3,298
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00022334
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5625, -0.53125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.8703947368421052, 0.0).threePointArc((1.3055921052631578, 0.4351973684210526), (0.8703947368421052, 0.8703947368421052)).lineTo(0.0, 0.8703947368421052).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.0390625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.3125, -0.53125, 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.43749999999999994, 0.43749999999999994), (0.0, 0.8749999999999999)).lineTo(0.0, 0.5802631578947368).threePointArc((0.14276315789473684, 0.43749999999999994), (0.0, 0.29473684210526313)).lineTo(0.0, 0.0).close() loop2=wp_sketch1.moveTo(0.2302631578947368, 0.2026315789473684).circle(0.03684210526315789) loop3=wp_sketch1.moveTo(0.2302631578947368, 0.6723684210526315).circle(0.03684210526315789) solid1=wp_sketch1.add(loop1).add(loop2).add(loop3).extrude(0.0390625) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0390625, -0.328125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop4=wp_sketch2.moveTo(0.03741776315789474, 0.0).circle(0.03741776315789474) loop5=wp_sketch2.moveTo(0.03741776315789474, 0.4639802631578947).circle(0.03741776315789474) loop6=wp_sketch2.moveTo(0.0, 0.0).threePointArc((0.47146381578947366, 0.20205592105263157), (0.2694078947368421, 0.6735197368421052)).lineTo(0.2694078947368421, 0.3816611842105263).threePointArc((0.41907894736842105, 0.23199013157894735), (0.2694078947368421, 0.08231907894736842)).lineTo(0.2694078947368421, -0.20953947368421053).close() solid2=wp_sketch2.add(loop4).add(loop5).add(loop6).extrude(0.0390625) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.5625, -0.53125, 0.0390625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop7=wp_sketch3.moveTo(0.03684210526315789, 0.0).lineTo(0.03684210526315789, 0.8749999999999999).lineTo(0.0, 0.8749999999999999).lineTo(0.0, 0.0).close() solid3=wp_sketch3.add(loop7).extrude(0.6171875) solid=solid.union(solid3)
2,281
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00026635
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0625, 0.0, -0.1484375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.17434210526315788, 0.0).lineTo(0.40970394736842103, 0.39226973684210525).lineTo(0.20049342105263157, 0.8281249999999999).lineTo(0.06973684210526315, 0.48815789473684207).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(-0.2109375) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.46875, 0.0, 0.25), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.23519736842105265, -0.39350328947368424).lineTo(0.40707236842105265, -0.39350328947368424).lineTo(0.33922697368421056, 0.09046052631578948).lineTo(0.2080592105263158, 0.4296875).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(-0.2109375) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.234375, 0.0, -0.75), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop2=wp_sketch2.moveTo(0.4685855263157895, 0.0).lineTo(0.4685855263157895, 0.6015625).lineTo(0.29761513157894737, 0.31661184210526316).threePointArc((0.23429276315789474, 0.08779420439089476), (0.17097039473684209, 0.31661184210526316)).lineTo(0.0, 0.6015625).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(-0.2109375) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.234375, 0.0, -0.1484375), 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.17039473684210527, -0.2890625).threePointArc((0.19246624549255448, -0.27920794700397916), (0.2160361842105263, -0.2738486842105263)).lineTo(0.17648026315789472, 0.0).lineTo(0.0, 0.0).close() solid3=wp_sketch3.add(loop3).extrude(-0.2109375) solid=solid.union(solid3) # Generating a workplane for sketch 4 wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.015625, 0.0, -0.421875), 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.02387677609806761, -0.006366974264802108), (0.046052631578947366, -0.01726973684210526)).lineTo(0.2158717105263158, 0.2734375).lineTo(0.04029605263157895, 0.2734375).lineTo(0.0, 0.0).close() solid4=wp_sketch4.add(loop4).extrude(-0.2109375) solid=solid.union(solid4) # Generating a workplane for sketch 5 wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(-0.0625, 0.0, -0.1484375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop5=wp_sketch5.moveTo(0.04029605263157895, -0.2734375).threePointArc((0.059004934210526314, -0.2748175500140919), (0.07771381578947369, -0.2734375)).lineTo(0.11800986842105263, 0.0).lineTo(0.0, 0.0).close() solid5=wp_sketch5.add(loop5).extrude(-0.2109375) solid=solid.union(solid5)
3,045
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00026153
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.375, -0.3828125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.047697368421052634, 0.0).lineTo(0.047697368421052634, 0.2265625).lineTo(0.0, 0.2265625).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.140625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.3203125, -0.3828125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.047697368421052634, 0.0).lineTo(0.047697368421052634, 0.2265625).lineTo(0.0, 0.2265625).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.140625) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.375, -0.1640625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch2.moveTo(0.046875, 0.0).lineTo(0.6953125, 0.0).lineTo(0.7421875, 0.0).lineTo(0.7421875, 0.3203125).lineTo(0.0, 0.3203125).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(0.140625) solid=solid.union(solid2)
1,394
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00026147
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.09375, 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.1875, 0.0).lineTo(0.1875, 0.18355263157894738).lineTo(0.0, 0.18355263157894738).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.09375, both=True) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.09375, -0.0625, -0.09375), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042))) loop1=wp_sketch1.moveTo(0.0, 0.0).threePointArc((0.02209708691207961, 0.00915291308792038), (0.03125, 0.03125)).lineTo(0.0, 0.03125).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(-0.1640625) solid=solid.cut(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.09375, 0.09375, -0.09375), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042))) loop2=wp_sketch2.moveTo(0.03125, 0.0).threePointArc((0.02209708691207962, 0.02209708691207961), (0.0, 0.03125)).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(-0.1640625) solid=solid.cut(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.0625, 0.09375, -0.09375), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042))) loop3=wp_sketch3.moveTo(0.03125, 0.0).lineTo(0.03125, 0.03125).threePointArc((0.009152913087920388, 0.02209708691207962), (0.0, 0.0)).close() solid3=wp_sketch3.add(loop3).extrude(-0.1640625) solid=solid.cut(solid3) # Generating a workplane for sketch 4 wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.0625, -0.09375, -0.09375), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042))) loop4=wp_sketch4.moveTo(0.0, 0.0).threePointArc((0.00915291308792038, -0.02209708691207961), (0.03125, -0.03125)).lineTo(0.03125, 0.0).lineTo(0.0, 0.0).close() solid4=wp_sketch4.add(loop4).extrude(-0.1640625) solid=solid.cut(solid4) # Generating a workplane for sketch 5 wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(-0.015625, 0.0, 0.09375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop5=wp_sketch5.moveTo(0.015789473684210527, 0.0).circle(0.015789473684210527) solid5=wp_sketch5.add(loop5).extrude(0.65625) solid=solid.union(solid5)
2,483
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00024036
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.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.296875) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.296875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.15, 0.0).lineTo(0.15, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(-0.1484375) solid=solid.cut(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.2265625, 0.375, 0.296875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch2.moveTo(0.10263157894736843, 0.0).circle(0.10263157894736843) solid2=wp_sketch2.add(loop2).extrude(-1.0) solid=solid.cut(solid2)
1,267
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00023017
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 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0234375, 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.02368421052631579, 0.0).circle(0.02368421052631579) solid1=wp_sketch1.add(loop1).extrude(-0.6796875) solid=solid.cut(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0234375, 0.75, 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.02368421052631579, 0.0).circle(0.02368421052631579) solid2=wp_sketch2.add(loop2).extrude(-0.7421875) solid=solid.cut(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.015625, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop3=wp_sketch3.moveTo(0.015789473684210527, 0.0).circle(0.015789473684210527) solid3=wp_sketch3.add(loop3).extrude(-0.0078125) solid=solid.cut(solid3)
1,718
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00026812
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.125, 0.0, -0.0234375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.035526315789473684, 0.0).circle(0.035526315789473684) solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
915
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00027729
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.375, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.37894736842105264, 0.0).circle(0.37894736842105264) 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.3359375, 0.0, 0.75), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.3355263157894737, 0.0).circle(0.3355263157894737) solid1=wp_sketch1.add(loop1).extrude(-0.265625) solid=solid.cut(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.3359375, 0.0, 0.75), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch2.moveTo(0.3355263157894737, 0.0).circle(0.3355263157894737) solid2=wp_sketch2.add(loop2).extrude(-0.265625) solid=solid.cut(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.1953125, 0.0, 0.484375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop3=wp_sketch3.moveTo(0.043421052631578944, 0.0).circle(0.04251644736842105) solid3=wp_sketch3.add(loop3).extrude(-0.265625) solid=solid.cut(solid3) # Generating a workplane for sketch 4 wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.015625, 0.0, 0.484375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop4=wp_sketch4.moveTo(0.09473684210526316, 0.0).circle(0.09473684210526316) solid4=wp_sketch4.add(loop4).extrude(-0.265625) solid=solid.cut(solid4) # Generating a workplane for sketch 5 wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(-0.3125, 0.0, 0.0), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042))) loop5=wp_sketch5.moveTo(0.14210526315789473, 0.0).circle(0.14210526315789473) solid5=wp_sketch5.add(loop5).extrude(-0.2109375) solid=solid.cut(solid5) # Generating a workplane for sketch 6 wp_sketch6 = cq.Workplane(cq.Plane(cq.Vector(0.03125, 0.0, 0.0), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042))) loop6=wp_sketch6.moveTo(0.14210526315789473, 0.0).circle(0.14210526315789473) solid6=wp_sketch6.add(loop6).extrude(-0.2109375) solid=solid.cut(solid6)
2,172
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00022645
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, both=True) solid=solid0
973
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00027926
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.65625, -0.09375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.65625, 0.0).lineTo(0.65625, 0.09671052631578947).lineTo(0.0, 0.09671052631578947).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.3828125) solid=solid0
940
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00020907
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.578125, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.5802631578947368, 0.0).circle(0.5802631578947368) loop1=wp_sketch0.moveTo(0.5802631578947368, 0.0).circle(0.49564144736842103) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.1875) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.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_sketch1.moveTo(0.05921052631578947, 0.0).circle(0.05921052631578947) loop3=wp_sketch1.moveTo(0.05921052631578947, 0.0).circle(0.029605263157894735) solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.1875) solid=solid.union(solid1)
1,302
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00020913
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.34375), 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.05131578947368422, 0.0).circle(0.05131578947368422) solid0=wp_sketch0.add(loop0).extrude(0.3984375) solid=solid0
915
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00029089
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.6947368421052632, 0.0).threePointArc((0.7338137958024146, 0.01618620419758544), (0.75, 0.05526315789473685)).lineTo(0.75, 0.5763157894736842).lineTo(0.6947368421052632, 0.5763157894736842).lineTo(0.6947368421052632, 0.0868421052631579).threePointArc((0.6854875825637857, 0.06451241743621433), (0.6631578947368422, 0.05526315789473685)).lineTo(0.0, 0.05526315789473685).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.578125) solid=solid0
1,198
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00020898
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.5842105263157895) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.484375) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.265625, 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.2644736842105263, 0.0).circle(0.2644736842105263) loop3=wp_sketch1.moveTo(0.2644736842105263, 0.0).circle(0.13223684210526315) solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.484375) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.578125, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop4=wp_sketch2.moveTo(0.5881578947368421, 0.0).circle(0.5881578947368421) loop5=wp_sketch2.moveTo(0.5881578947368421, 0.0).circle(0.25731907894736844) solid2=wp_sketch2.add(loop4).add(loop5).extrude(0.3359375) solid=solid.union(solid2)
1,628
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00023407
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.9550164473684211, 0.0).lineTo(0.9550164473684211, 0.10879934210526315).threePointArc((0.8951798620196579, 0.253257637980342), (1.039638157894737, 0.19342105263157894)).lineTo(1.1484375, 0.19342105263157894).lineTo(1.1484375, 0.47146381578947366).lineTo(0.3143092105263158, 0.6044407894736842).lineTo(0.0, 0.6044407894736842).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.109375) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.203125, 0.0, -0.3125), 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.1875, 0.0).lineTo(0.1875, 0.1875).lineTo(0.07697368421052632, 0.1875).threePointArc((0.05442861407817503, 0.13307138592182496), (0.0, 0.1105263157894737)).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.109375) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.3125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop2=wp_sketch2.moveTo(0.33675986842105265, 0.0).lineTo(0.33675986842105265, 0.21916118421052633).lineTo(0.17105263157894737, 0.5078125).lineTo(0.0, 0.5078125).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(-0.109375) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.640625, -0.109375, -0.3125), 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.53125, 0.0).lineTo(0.0, 0.5144736842105263).lineTo(0.0, 0.0).close() solid3=wp_sketch3.add(loop3).extrude(0.0625) solid=solid.union(solid3)
2,149
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00025076
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1484375, -0.1484375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.296875, 0.0).lineTo(0.296875, 0.296875).lineTo(0.0, 0.296875).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.15000000000000002, 0.15000000000000002).circle(0.125) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.25) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.125, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch1.moveTo(0.12631578947368421, 0.0).circle(0.12631578947368421) solid1=wp_sketch1.add(loop2).extrude(0.25) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.125, 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.12631578947368421, 0.0).circle(0.12631578947368421) solid2=wp_sketch2.add(loop3).extrude(0.75) solid=solid.union(solid2)
1,306
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00022094
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6953125, 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.6986842105263158, 0.0).circle(0.6986842105263158) loop1=wp_sketch0.moveTo(0.6986842105263158, 0.0).circle(0.11644736842105263) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75) solid=solid0
973
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00022902
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6875, 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.043421052631578944, 0.0).circle(0.043421052631578944) loop1=wp_sketch0.moveTo(0.6875, -0.10855263157894737).lineTo(0.6875, -0.043421052631578944).lineTo(0.3980263157894737, -0.043421052631578944).lineTo(0.3980263157894737, 0.043421052631578944).lineTo(0.6875, 0.043421052631578944).lineTo(0.6875, 0.10855263157894737).lineTo(0.043421052631578944, 0.10855263157894737).threePointArc((0.15197368421052632, 0.0), (0.043421052631578944, -0.10855263157894737)).close() solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.21875) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.15625, -0.109375, 0.09375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch1.moveTo(0.043421052631578944, 0.0).circle(0.04251644736842105) solid1=wp_sketch1.add(loop2).extrude(-0.4609375) solid=solid.cut(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.109375, -0.21875, 0.09375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop3=wp_sketch2.moveTo(0.10937499999999999, 0.0).lineTo(0.10937499999999999, 0.10937499999999999).threePointArc((0.07733980419227864, 0.03203519580772132), (0.0, 0.0)).close() solid2=wp_sketch2.add(loop3).extrude(-0.4609375) solid=solid.cut(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.109375, 0.0, 0.09375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop4=wp_sketch3.moveTo(0.0, 0.0).threePointArc((0.07733980419227866, -0.03203519580772136), (0.10937499999999999, -0.10937499999999999)).lineTo(0.10937499999999999, 0.0).lineTo(0.0, 0.0).close() solid3=wp_sketch3.add(loop4).extrude(-0.4609375) solid=solid.cut(solid3) # Generating a workplane for sketch 4 wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.15625, 0.09375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop5=wp_sketch4.moveTo(0.10937499999999999, 0.0).lineTo(0.10937499999999999, 0.0875).lineTo(0.0, 0.0875).lineTo(0.0, 0.0).close() solid4=wp_sketch4.add(loop5).extrude(-0.4609375) solid=solid.cut(solid4) # Generating a workplane for sketch 5 wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(-0.640625, -0.15625, 0.09375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop6=wp_sketch5.moveTo(0.1796875, 0.0).lineTo(0.1796875, 0.09078947368421053).lineTo(0.0, 0.09078947368421053).lineTo(0.0, 0.0).close() solid5=wp_sketch5.add(loop6).extrude(-0.4609375) solid=solid.cut(solid5)
2,529
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00026741
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.59375, 0.0, 0.2734375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.49588815789473684, -0.2699835526315789).lineTo(0.5234375, -0.21488486842105262).lineTo(0.03305921052631579, 0.055098684210526314).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
1,001
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00020456
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.6484375), 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.265625, 0.0).lineTo(1.265625, 1.0125).lineTo(0.0, 1.0125).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.6394736842105263, 0.50625).circle(0.31973684210526315) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.3359375) solid=solid0
1,001
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00026033
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.7578947368421053) solid0=wp_sketch0.add(loop0).extrude(0.453125) solid=solid0
836
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00022533
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.40625, 0.0, -0.2421875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.02505007792483475, -0.06047623786463894), (0.08552631578947369, -0.08552631578947369)).lineTo(0.7355263157894737, -0.08552631578947369).threePointArc((0.791726237864639, -0.05870492986764868), (0.8125, 0.0)).lineTo(0.8125, 0.48750000000000004).threePointArc((0.7899549298676487, 0.541928614078175), (0.7355263157894737, 0.5644736842105263)).lineTo(0.08552631578947369, 0.5644736842105263).threePointArc((0.02682138592182501, 0.5436999220751653), (0.0, 0.48750000000000004)).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.15394736842105264, 0.23947368421052634).circle(0.034210526315789476) loop2=wp_sketch0.moveTo(0.6157894736842106, 0.3335526315789474).circle(0.034210526315789476) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.046875) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.078125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop3=wp_sketch1.moveTo(0.0, 0.0).threePointArc((0.02288228271980095, -0.05524271728019903), (0.078125, -0.078125)).lineTo(0.078125, 0.0).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop3).extrude(0.125) solid=solid.union(solid1)
1,796
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00022269
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0078125, -0.0078125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.0004817322677852836, -0.0011630045743199794), (0.001644736842105263, -0.001644736842105263)).lineTo(0.014144736842105262, -0.001644736842105263).threePointArc((0.01522550457431998, -0.0011289409589932437), (0.015625, 0.0)).lineTo(0.015625, 0.012499999999999999).threePointArc((0.01522550457431998, 0.013628940958993243), (0.014144736842105262, 0.014144736842105262)).lineTo(0.001644736842105263, 0.014144736842105262).threePointArc((0.0004817322677852836, 0.01366300457431998), (0.0, 0.012499999999999999)).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.001151315789473684, -0.00047689061457428615), (0.002302631578947368, 0.0)).lineTo(0.013322368421052631, 0.0).threePointArc((0.013903870708212621, 0.0002408661338926418), (0.014144736842105262, 0.0008223684210526315)).lineTo(0.014144736842105262, 0.011677631578947368).threePointArc((0.013903870708212621, 0.012259133866107358), (0.013322368421052631, 0.012499999999999999)).lineTo(0.002302631578947368, 0.012499999999999999).threePointArc((0.0018033661338926418, 0.012225070250780623), (0.001644736842105263, 0.011677631578947368)).lineTo(0.001644736842105263, 0.0008223684210526315).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.0, -0.0078125, 0.75), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop2=wp_sketch1.moveTo(0.015625, -0.015625).lineTo(0.015625, 0.0).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop2).extrude(-0.0078125, both=True) solid=solid.cut(solid1)
2,081
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00025260
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.631578947368421) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.3359375) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop2=wp_sketch1.moveTo(0.7578947368421053, 0.0).circle(0.7578947368421053) loop3=wp_sketch1.moveTo(0.7578947368421053, 0.0).circle(0.631578947368421) solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.3359375) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.2109375, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop4=wp_sketch2.moveTo(0.20921052631578946, 0.0).circle(0.20921052631578946) loop5=wp_sketch2.moveTo(0.20921052631578946, 0.0).circle(0.0828125) solid2=wp_sketch2.add(loop4).add(loop5).extrude(0.3359375) solid=solid.union(solid2)
1,617
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00028963
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0390625, -0.4453125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.012582236842105262, 0.0).threePointArc((0.02143411107796096, -0.003730362606249566), (0.025164473684210525, -0.012582236842105262)).lineTo(0.025164473684210525, -0.3019736842105263).lineTo(0.05032894736842105, -0.3019736842105263).lineTo(0.05032894736842105, -0.012582236842105262).threePointArc((0.05918082160427675, -0.008851874235855697), (0.06291118421052631, 0.0)).lineTo(0.07549342105263157, 0.0).lineTo(0.05032894736842105, 1.1575657894736842).threePointArc((0.048765358335847414, 1.178014987866335), (0.037746710526315785, 1.1953125)).threePointArc((0.025164473684210525, 1.1990451275397727), (0.012582236842105262, 1.1953125)).threePointArc((0.0015635890325736382, 1.178014987866335), (0.0, 1.1575657894736842)).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.0078125) solid=solid0
1,438
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00026796
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2734375, 0.078125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.01875, 0.0).circle(0.01875) loop1=wp_sketch0.moveTo(0.4453125, -0.056249999999999994).lineTo(0.4453125, 0.056249999999999994).lineTo(0.01875, 0.056249999999999994).threePointArc((0.075, 0.0), (0.01875, -0.056249999999999994)).close() solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0546875) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.171875, 0.0234375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch1.moveTo(0.5233552631578947, 0.0).threePointArc((0.578125, 0.05476973684210526), (0.5233552631578947, 0.10953947368421052)).lineTo(0.0, 0.10953947368421052).lineTo(0.0, 0.0).close() loop3=wp_sketch1.moveTo(0.5233552631578947, 0.05476973684210526).circle(0.018256578947368422) solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.0546875) solid=solid.union(solid1)
1,369
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00024817
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5546875, -0.4296875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.78125, 0.0).lineTo(0.78125, 0.78125).lineTo(0.0, 0.78125).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.375) solid=solid0
862
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00020497
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.609375, 0.0, -0.4296875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.47097039473684216, 0.0).lineTo(0.40953947368421056, 0.6484375).lineTo(0.0, 0.6484375).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.3515625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.2734375, 0.0, -0.4296875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.47097039473684216, 0.0).lineTo(0.47097039473684216, 0.6484375).lineTo(0.06143092105263158, 0.6484375).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.3515625) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.1953125, 0.0, 0.21875), 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.06143092105263158, -0.6484375).lineTo(0.47097039473684216, -0.6484375).lineTo(0.5324013157894737, 0.0).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(0.1796875) solid=solid.union(solid2)
1,630
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00026780
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.6015625, 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.2).lineTo(0.0, 1.2).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.1484375) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.09375, 0.0, 0.1484375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.09473684210526316, 0.0).circle(0.09473684210526316) solid1=wp_sketch1.add(loop1).extrude(-0.109375) solid=solid.cut(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.09375, 0.0, 0.0390625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch2.moveTo(0.09078947368421053, 0.0).circle(0.09078947368421053) solid2=wp_sketch2.add(loop2).extrude(0.265625) solid=solid.union(solid2)
1,243
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00028961
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.37105263157894736).lineTo(0.37894736842105264, 0.37894736842105264).lineTo(0.37894736842105264, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
979
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00025262
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.375, 0.0, 0.046875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(1.0703125, 0.0).lineTo(1.0703125, 0.31546052631578947).lineTo(0.0, 0.31546052631578947).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
956
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00022243
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.25263157894736843).lineTo(0.20526315789473684, 0.39473684210526316).lineTo(0.0, 0.39473684210526316).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.6236842105263158, 0.12631578947368421).circle(0.05526315789473685) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0703125) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop2=wp_sketch1.moveTo(0.2935032894736842, 0.0).lineTo(0.2935032894736842, 0.14498355263157894).lineTo(0.18388157894736842, 0.3359375).lineTo(0.0, 0.3359375).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop2).extrude(-0.0703125) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.6796875, -0.0703125, 0.0), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042))) loop3=wp_sketch2.moveTo(0.34375, 0.0).lineTo(0.0, 0.2894736842105263).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop3).extrude(-0.0703125) solid=solid.union(solid2)
1,690
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00027449
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6015625, 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.6078947368421053, 0.0).circle(0.6078947368421053) solid0=wp_sketch0.add(loop0).extrude(0.015625) solid=solid0
841
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00022257
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.671875, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.6828947368421053, 0.0).circle(0.6828947368421053) loop1=wp_sketch0.moveTo(0.6828947368421053, 0.0).circle(0.08536184210526317) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75) solid=solid0
972
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00025909
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.07894736842105263).lineTo(0.0, 0.07894736842105263).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.0390625) solid=solid0
944
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00029841
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.7578947368421053) solid0=wp_sketch0.add(loop0).extrude(0.296875) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.265625, 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.26842105263157895, 0.0).circle(0.26842105263157895) loop2=wp_sketch1.moveTo(0.26842105263157895, 0.0).circle(0.2236842105263158) solid1=wp_sketch1.add(loop1).add(loop2).extrude(0.234375) solid=solid.union(solid1)
1,238
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00022082
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.12631578947368421) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.375, both=True) solid=solid0
901
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00025935
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.421875, 0.0, 0.21875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.020723684210526314, -0.020723684210526314).threePointArc((0.1640625, 0.033560186056724714), (0.30740131578947366, -0.020723684210526314)).lineTo(0.328125, 0.0).threePointArc((0.1640625, 0.06328588977885581), (0.0, 0.0)).close() loop1=wp_sketch0.moveTo(0.17615131578947368, 0.04144736842105263).lineTo(0.17615131578947368, 0.05526315789473684).lineTo(0.15197368421052632, 0.05526315789473684).lineTo(0.15197368421052632, 0.04144736842105263).close() solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0234375) solid=solid0
1,253
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00025074
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.6789473684210526) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.171875) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = 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))) loop2=wp_sketch1.moveTo(0.17763157894736842, 0.0).circle(0.17763157894736842) loop3=wp_sketch1.moveTo(0.17763157894736842, 0.0).circle(0.09991776315789473) solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.171875) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.671875, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop4=wp_sketch2.moveTo(0.6828947368421053, 0.0).circle(0.6828947368421053) loop5=wp_sketch2.moveTo(0.0, 0.0).threePointArc((0.01522329175846874, 0.3007102749852637), (0.3129934210526316, 0.2560855263157895)).threePointArc((0.41253650224005306, 0.3604776461360698), (0.540625, 0.4268092105263158)).threePointArc((0.6102897955755022, 0.535218463389091), (0.7113486842105263, 0.45526315789473687)).threePointArc((0.8572094654252236, 0.4138402311023722), (0.9816611842105264, 0.3272203947368421)).threePointArc((1.1099408247540676, 0.31102518916995225), (1.08125, 0.18495065789473686)).threePointArc((1.119264820827982, 0.045059705767008774), (1.1097039473684212, -0.09958881578947369)).threePointArc((1.1604702690715791, -0.2170797873770336), (1.0385690789473685, -0.2560855263157895)).threePointArc((0.939025997759947, -0.3604776461360696), (0.8109375000000001, -0.4268092105263158)).threePointArc((0.7412727044244979, -0.5352184633890911), (0.6402138157894737, -0.45526315789473687)).threePointArc((0.49435303457477653, -0.4138402311023722), (0.3699013157894737, -0.3272203947368421)).threePointArc((0.24162167524593245, -0.31102518916995225), (0.2703125, -0.18495065789473686)).threePointArc((0.23229767917201796, -0.045059705767008774), (0.24185855263157896, 0.09958881578947369)).close() solid2=wp_sketch2.add(loop4).add(loop5).extrude(0.125) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.4375, 0.0, 0.1015625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop6=wp_sketch3.moveTo(0.159375, 0.065625).threePointArc((0.06396706536797189, -0.10152733987241067), (0.028124999999999997, -0.29062499999999997)).threePointArc((0.1434150353216588, -0.3142039740974502), (0.13125, -0.43124999999999997)).threePointArc((0.2569986013100955, -0.5149165816928636), (0.403125, -0.553125)).threePointArc((0.47900299529044554, -0.46727695761400945), (0.571875, -0.5343749999999999)).threePointArc((0.703953967316014, -0.4649065359421237), (0.80625, -0.35625)).threePointArc((0.7715254599687867, -0.24257448116178215), (0.88125, -0.196875)).threePointArc((0.8914841045682337, -0.04921121568694522), (0.853125, 0.09375)).threePointArc((0.7378349646783412, 0.11732897409745008), (0.75, 0.234375)).threePointArc((0.6234676372522193, 0.3133540816928635), (0.47812499999999997, 0.346875)).threePointArc((0.40224700470955443, 0.26102695761400935), (0.309375, 0.328125)).threePointArc((0.17807979412167077, 0.26334403594212386), (0.075, 0.159375)).threePointArc((0.10972454003121328, 0.04569948116178217), (0.0, 0.0)).close() loop7=wp_sketch3.moveTo(0.440625, -0.103125).circle(0.178125) solid3=wp_sketch3.add(loop6).add(loop7).extrude(0.125) solid=solid.union(solid3)
3,688
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00023405
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.59375), 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).threePointArc((0.75, 0.5921052631578948), (1.3421052631578947, 0.0)).lineTo(1.5, 0.0).threePointArc((1.4321807119013636, 0.3030570472451349), (1.2473684210526317, 0.5526315789473685)).threePointArc((1.1975618162148742, 0.6631578947368422), (1.2473684210526317, 0.7736842105263159)).threePointArc((1.4338520405120794, 1.0311534790706547), (1.5, 1.3421052631578947)).lineTo(1.3421052631578947, 1.3421052631578947).threePointArc((0.75, 0.75), (0.15789473684210525, 1.3421052631578947)).lineTo(0.0, 1.3421052631578947).threePointArc((0.06614795948792063, 1.0311534790706547), (0.25263157894736843, 0.7736842105263159)).threePointArc((0.3024381837851259, 0.6631578947368422), (0.25263157894736843, 0.5526315789473685)).threePointArc((0.06781928809863631, 0.3030570472451344), (0.0, 0.0)).close() solid0=wp_sketch0.add(loop0).extrude(0.1484375) solid=solid0
1,551
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00029128
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.59375, 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.1842105263157896).lineTo(0.0, 1.1842105263157896).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.03125, both=True) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.6171875, -0.4140625, 0.03125), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(1.234375, 0.0).lineTo(1.234375, 0.8315789473684211).lineTo(0.0, 0.8315789473684211).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(-0.265625) solid=solid.cut(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.6640625, -0.375, 0.03125), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch2.moveTo(0.0703125, -0.0703125).lineTo(1.3359375, -0.0703125).lineTo(1.3359375, 0.815625).lineTo(0.0703125, 0.815625).lineTo(0.0, 0.7453125).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(-0.0234375) solid=solid.cut(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.6171875, 0.4140625, -0.03125), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042))) loop3=wp_sketch3.moveTo(1.234375, 0.0).lineTo(1.234375, 0.8315789473684211).lineTo(0.0, 0.8315789473684211).lineTo(0.0, 0.0).close() solid3=wp_sketch3.add(loop3).extrude(-0.0078125) solid=solid.cut(solid3) # Generating a workplane for sketch 4 wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.7109375, 0.5390625, -0.03125), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042))) loop4=wp_sketch4.moveTo(1.4140625, 0.0).lineTo(1.4140625, 1.0717105263157893).lineTo(0.0, 1.0717105263157893).lineTo(0.0, 0.0).close() loop5=wp_sketch4.moveTo(1.3247532894736842, 0.11907894736842105).lineTo(1.3247532894736842, 0.9526315789473684).lineTo(0.08930921052631578, 0.9526315789473684).lineTo(0.08930921052631578, 0.11907894736842105).close() solid4=wp_sketch4.add(loop4).add(loop5).extrude(-0.0078125) solid=solid.cut(solid4)
2,243
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00023377
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.046875, 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.08758223684210527, 0.0).lineTo(0.08758223684210527, 0.5546875).lineTo(0.0, 0.5546875).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75, both=True) solid=solid0
962
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00024342
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.0078125, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.007894736842105263, 0.0).lineTo(0.007894736842105263, 0.1105263157894737).lineTo(0.5921052631578948, 0.6394736842105263).lineTo(0.5921052631578948, 0.75).lineTo(0.5921052631578948, 0.6473684210526316).lineTo(0.0, 0.1105263157894737).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.0546875) solid=solid0
1,074
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00020911
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.359375, 0.0, 0.15625), 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.04251644736842105, 0.0).circle(0.043421052631578944) loop1=wp_sketch0.moveTo(0.04251644736842105, 0.0).circle(0.009950657894736842) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0546875) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.71875, 0.0, 0.1171875), 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.031578947368421054, 0.0).circle(0.031578947368421054) solid1=wp_sketch1.add(loop2).extrude(0.03125) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.1171875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop3=wp_sketch2.moveTo(0.06315789473684211, 0.0).circle(0.06184210526315789) loop4=wp_sketch2.moveTo(0.06315789473684211, 0.0).circle(0.031578947368421054) solid2=wp_sketch2.add(loop3).add(loop4).extrude(0.03125) solid=solid.union(solid2)
1,591
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00025699
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.203125, 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.4105263157894737).lineTo(0.7578947368421053, 0.4105263157894737).lineTo(0.0, 0.4105263157894737).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.15789473684210525, 0.20526315789473684).circle(0.04736842105263158) loop2=wp_sketch0.moveTo(0.7578947368421053, 0.20526315789473684).circle(0.031578947368421054) loop3=wp_sketch0.moveTo(1.3421052631578947, 0.20526315789473684).circle(0.04736842105263158) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).extrude(0.046875) solid=solid0
1,157
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00020939
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5078125, 0.0, -0.21875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.02387654737341961, -0.007215606571449533), (0.03972039473684211, -0.026480263157894736)).threePointArc((0.5097450657894737, -0.31213686196136403), (0.9797697368421052, -0.026480263157894736)).threePointArc((0.9956135842055277, -0.007215606571449533), (1.0194901315789473, 0.0)).threePointArc((1.2546605814298648, 0.21846217105263158), (1.0194901315789473, 0.43692434210526315)).threePointArc((0.9956135842055277, 0.4441399486767127), (0.9797697368421052, 0.46340460526315785)).threePointArc((0.5097450657894737, 0.7490612040666272), (0.03972039473684211, 0.46340460526315785)).threePointArc((0.02387654737341961, 0.4441399486767127), (0.0, 0.43692434210526315)).threePointArc((-0.23517044985091742, 0.21846217105263158), (0.0, 0.0)).close() loop1=wp_sketch0.moveTo(-0.013240131578947368, 0.22508223684210527).circle(0.09268092105263158) loop2=wp_sketch0.moveTo(0.5163651315789474, 0.22508223684210527).circle(0.3045230263157895) loop3=wp_sketch0.moveTo(1.0327302631578947, 0.22508223684210527).circle(0.09268092105263158) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).extrude(0.1796875) solid=solid0
1,758
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00027924
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.38281250000000006, 0.0).lineTo(0.38281250000000006, 0.012088815789473685).lineTo(0.0, 0.012088815789473685).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
971
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00027717
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2890625, 0.0, -0.109375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(1.0390625, 0.0).lineTo(1.0390625, 0.24062499999999998).lineTo(0.0, 0.24062499999999998).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.140625) solid=solid0
964
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00024578
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.3046875, 0.0, 0.125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.02368421052631579, 0.0).circle(0.02368421052631579) solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
913
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00027065
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.37894736842105264).lineTo(0.0, 0.37894736842105264).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.5625) solid=solid0
871
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00021428
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.46875, 0.0, -0.4921875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(1.171875, 0.0).lineTo(1.171875, 1.0855263157894737).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.046875) solid=solid0
932
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00029712
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(0.75, 0.0).lineTo(0.75, 0.25263157894736843).lineTo(0.25263157894736843, 0.25263157894736843).lineTo(0.0, 0.25263157894736843).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.25) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.5859375, -0.5, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.25263157894736843, 0.0).lineTo(0.25263157894736843, 0.5).lineTo(0.0, 0.5).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.25) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.5859375, -0.75, 0.25), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch2.moveTo(0.25, 0.0).lineTo(0.25, 0.25).lineTo(0.0, 0.25).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(0.25) solid=solid.union(solid2)
1,338
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00026810
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.4140625, 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.2370888157894737, -0.3212171052631579).lineTo(0.5200657894736842, -0.3212171052631579).lineTo(0.7265625, 0.0).lineTo(0.5506578947368421, 0.2523848684210526).lineTo(0.48182565789473686, 0.0).lineTo(0.2676809210526316, 0.0).lineTo(0.16825657894736842, 0.2523848684210526).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.2265625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.1796875, -0.296875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.28092105263157896, 0.0).lineTo(0.28092105263157896, 0.4765625).lineTo(0.0, 0.4765625).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.2265625) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.1796875, -0.6796875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch2.moveTo(0.2802631578947368, 0.0).lineTo(0.2802631578947368, 0.375).lineTo(0.0, 0.375).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(0.2265625) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.1796875, -0.0703125, 0.109375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop3=wp_sketch3.moveTo(0.055263157894736833, 0.0).circle(0.055263157894736833) solid3=wp_sketch3.add(loop3).extrude(-0.453125) solid=solid.cut(solid3)
1,793
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00026838
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).threePointArc((0.6236842105263158, 0.12631578947368421), (0.75, 0.25263157894736843)).lineTo(0.0, 0.25263157894736843).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.12631578947368421, 0.12631578947368421).circle(0.06315789473684211) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.125) solid=solid0
1,064
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00023798
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.34736842105263155, 0.0).circle(0.34736842105263155) loop1=wp_sketch0.moveTo(0.34736842105263155, 0.0).circle(0.2894736842105263) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.25) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.6953125, 0.0, 0.125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop2=wp_sketch1.moveTo(0.29210526315789476, 0.0).circle(0.28601973684210524) loop3=wp_sketch1.moveTo(0.11562499999999999, 0.0).circle(0.030427631578947366) loop4=wp_sketch1.moveTo(0.29210526315789476, 0.0).circle(0.08519736842105263) loop5=wp_sketch1.moveTo(0.29210526315789476, -0.17648026315789472).circle(0.030427631578947366) loop6=wp_sketch1.moveTo(0.29210526315789476, 0.17648026315789472).circle(0.030427631578947366) loop7=wp_sketch1.moveTo(0.46249999999999997, 0.0).circle(0.030427631578947366) solid1=wp_sketch1.add(loop2).add(loop3).add(loop4).add(loop5).add(loop6).add(loop7).extrude(0.1640625) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.4921875, 0.0, 0.125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop8=wp_sketch2.moveTo(0.08289473684210526, 0.0).circle(0.08289473684210526) loop9=wp_sketch2.moveTo(0.08289473684210526, 0.0).circle(0.031085526315789473) solid2=wp_sketch2.add(loop8).add(loop9).extrude(0.2109375) solid=solid.union(solid2)
1,939
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00021831
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.078125, -0.3671875), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.671875, 0.0).lineTo(0.671875, 0.4667763157894737).lineTo(0.4667763157894737, 0.4667763157894737).lineTo(0.0, 0.134375).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.203125) solid=solid0
974
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00026623
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6640625, -0.2734375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.01726507765679899, -0.10301464220020062), (0.0984375, -0.16875)).threePointArc((0.66796875, -0.2603883540848387), (1.2375, -0.16875)).threePointArc((1.3186724223432011, -0.10301464220020062), (1.3359375, 0.0)).threePointArc((1.126849889332577, 0.5385723458947952), (0.759375, 0.984375)).threePointArc((0.6609375000000001, 1.0216542844004013), (0.5625, 0.984375)).threePointArc((0.2020563606674231, 0.5374410081900439), (0.0, 0.0)).close() loop1=wp_sketch0.moveTo(0.140625, -0.028125).circle(0.028125) loop2=wp_sketch0.moveTo(0.6609375000000001, 0.2671875).circle(0.43593750000000003) loop3=wp_sketch0.moveTo(0.6609375000000001, 0.8718750000000001).circle(0.028125) loop4=wp_sketch0.moveTo(1.1812500000000001, -0.028125).circle(0.028125) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).extrude(0.296875) solid=solid0
1,416
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00024752
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.21875, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.22105263157894733, 0.0).circle(0.22105263157894733) solid0=wp_sketch0.add(loop0).extrude(0.1328125) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.0546875, 0.0, 0.1328125), 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.5625) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.046875, 0.0, 0.609375), 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.09375, 0.0).lineTo(0.09375, 0.05723684210526316).lineTo(0.0, 0.05723684210526316).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(0.75) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.046875, -0.671875, 0.609375), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042))) loop3=wp_sketch3.moveTo(0.09375, 0.0).lineTo(0.09375, 0.05921052631578948).lineTo(0.0, 0.05921052631578948).lineTo(0.0, 0.0).close() solid3=wp_sketch3.add(loop3).extrude(0.3984375) solid=solid.union(solid3)
1,674
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00022323
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.5, 0.0).lineTo(0.5, 0.3526315789473684).lineTo(0.0, 0.3526315789473684).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.39473684210526316, 0.23157894736842105).threePointArc((0.4342105263157895, 0.2710526315789474), (0.39473684210526316, 0.31052631578947365)).lineTo(0.10526315789473684, 0.31052631578947365).threePointArc((0.06480855680985954, 0.2710526315789474), (0.10526315789473684, 0.23157894736842105)).close() solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0234375) 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.4578947368421053, 0.0).threePointArc((0.74618884800792, 0.24868421052631579), (0.4578947368421053, 0.49736842105263157)).lineTo(0.0, 0.49736842105263157).lineTo(0.0, 0.0).close() loop3=wp_sketch1.moveTo(0.35526315789473684, 0.37105263157894736).circle(0.02368421052631579) loop4=wp_sketch1.moveTo(0.37105263157894736, 0.1105263157894737).circle(0.02368421052631579) loop5=wp_sketch1.moveTo(0.49736842105263157, 0.25263157894736843).circle(0.0868421052631579) loop6=wp_sketch1.moveTo(0.6236842105263158, 0.38684210526315793).circle(0.02368421052631579) loop7=wp_sketch1.moveTo(0.6394736842105263, 0.12631578947368421).circle(0.02368421052631579) solid1=wp_sketch1.add(loop2).add(loop3).add(loop4).add(loop5).add(loop6).add(loop7).extrude(0.0234375) solid=solid.union(solid1)
1,894
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00024035
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2890625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.12031249999999999, 0.0).lineTo(0.12031249999999999, 0.41562499999999997).lineTo(0.91875, 0.41562499999999997).lineTo(0.91875, 0.0).lineTo(1.0390625, 0.0).lineTo(1.0390625, 0.0546875).lineTo(0.9624999999999999, 0.0546875).lineTo(0.9624999999999999, 0.459375).lineTo(0.07656249999999999, 0.459375).lineTo(0.07656249999999999, 0.0546875).lineTo(0.0, 0.0546875).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.1875) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.2265625, 0.046875, 0.09375), cq.Vector(-1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, 1.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.0, 0.0).threePointArc((0.027343749999999997, -0.027343749999999997), (0.05468749999999999, 0.0)).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(-0.3125) solid=solid.cut(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.2265625, 0.046875, 0.09375), cq.Vector(-1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, 1.0, 6.123233995736766e-17))) loop2=wp_sketch2.moveTo(0.0, 0.0).threePointArc((0.027343749999999997, -0.027343749999999997), (0.05468749999999999, 0.0)).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(-0.3125) solid=solid.cut(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.7421875, 0.046875, 0.09375), cq.Vector(-1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, 1.0, 6.123233995736766e-17))) loop3=wp_sketch3.moveTo(0.0, 0.0).threePointArc((0.027343749999999997, -0.027343749999999997), (0.05468749999999999, 0.0)).lineTo(0.0, 0.0).close() solid3=wp_sketch3.add(loop3).extrude(-0.3125) solid=solid.cut(solid3) # Generating a workplane for sketch 4 wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.7421875, 0.046875, 0.09375), cq.Vector(-1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, 1.0, 6.123233995736766e-17))) loop4=wp_sketch4.moveTo(0.0, 0.0).threePointArc((0.027343749999999997, -0.027343749999999997), (0.05468749999999999, 0.0)).lineTo(0.0, 0.0).close() solid4=wp_sketch4.add(loop4).extrude(-0.3125) solid=solid.cut(solid4)
2,413
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00022322
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.7578125, 0.0).threePointArc((0.37213977511813945, 0.3633391435783813), (0.7259046052631579, 0.7578125)).lineTo(0.0, 0.7578125).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.0234375, 0.375, 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.40010818399054576, -0.358818159566049), (0.031578947368421054, -0.75)).lineTo(0.031578947368421054, 0.0).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.03125) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.0234375, 0.375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch2.moveTo(0.0, 0.0).threePointArc((-0.35011777004043065, -0.39040662078840604), (0.031578947368421054, -0.75)).lineTo(0.031578947368421054, 0.0).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(0.03125) solid=solid.union(solid2)
1,464
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00029277
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.234375, -0.75, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.6393092105263157, 0.0).lineTo(0.6393092105263157, 1.3203125).lineTo(0.0, 1.3203125).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.0546875) solid=solid0
886
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00022336
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, -0.3046875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.5620065789473684, 0.0).lineTo(0.5620065789473684, 0.18453947368421053).lineTo(0.28519736842105264, 0.18453947368421053).lineTo(0.28519736842105264, 0.796875).lineTo(0.0, 0.796875).lineTo(0.0, 0.587171052631579).threePointArc((0.18873355263157895, 0.3984375), (0.0, 0.20970394736842105)).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.5625, 0.0, -0.3046875), 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.5620065789473684, 0.0).lineTo(0.5620065789473684, 0.20970394736842105).threePointArc((0.7507401315789474, 0.3984375), (0.5620065789473684, 0.587171052631579)).lineTo(0.5620065789473684, 0.796875).lineTo(0.28519736842105264, 0.796875).lineTo(0.28519736842105264, 0.18453947368421053).lineTo(0.0, 0.18453947368421053).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.75) solid=solid.union(solid1)
1,638
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00026636
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.609375, 0.0, -0.421875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(1.203125, 0.0).lineTo(1.203125, 0.8991776315789474).lineTo(0.0, 0.8991776315789474).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
955
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00021171
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.02368421052631579, 0.0).circle(0.02319078947368421) solid0=wp_sketch0.add(loop0).extrude(0.28125) solid=solid0
914
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00026839
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.37894736842105264).lineTo(0.0, 0.37894736842105264).threePointArc((0.18947368421052632, 0.18947368421052632), (0.0, 0.0)).close() loop1=wp_sketch0.moveTo(0.6552631578947369, 0.18947368421052632).circle(0.04736842105263158) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.09375, both=True) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.609375, 0.0, 0.1875), 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.04736842105263158, 0.0).circle(0.04736842105263158) solid1=wp_sketch1.add(loop2).extrude(0.140625, both=True) solid=solid.union(solid1)
1,343
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00026805
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5390625, 0.0, 0.5703125), 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.0).lineTo(0.5390625, 0.18157894736842106).lineTo(0.0, 0.18157894736842106).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.0859375) solid=solid0
966
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00026811
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0625, 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.019736842105263157, 0.0).circle(0.019736842105263157) solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
915
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00023558
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1875, 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.18593749999999998, -0.7535361842105263).lineTo(0.9296874999999999, -0.7535361842105263).lineTo(0.7926809210526315, 0.0).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.3671875) solid=solid0
918
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00029713
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.4921875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.49218749999999994, 0.0).lineTo(0.49218749999999994, 0.24868421052631579).lineTo(0.24868421052631579, 0.24868421052631579).lineTo(0.0, 0.24868421052631579).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.25) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.25, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.25, 0.0).lineTo(0.25, 0.25).lineTo(0.0, 0.25).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.25) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.4921875, 0.25), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch2.moveTo(0.25, 0.0).lineTo(0.25, 0.25).lineTo(0.0, 0.25).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(0.25) solid=solid.union(solid2)
1,336
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00024545
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.3473684210526316, 0.0).circle(0.09473684210526316) loop2=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.20526315789473684) loop3=wp_sketch0.moveTo(0.7578947368421053, -0.39473684210526316).circle(0.09473684210526316) loop4=wp_sketch0.moveTo(0.7578947368421053, 0.39473684210526316).circle(0.09473684210526316) loop5=wp_sketch0.moveTo(1.1526315789473685, 0.0).circle(0.09473684210526316) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).add(loop5).extrude(0.25) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.203125, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop6=wp_sketch1.moveTo(0.20131578947368423, 0.0).circle(0.20131578947368423) loop7=wp_sketch1.moveTo(0.20131578947368423, 0.0).circle(0.10065789473684211) solid1=wp_sketch1.add(loop6).add(loop7).extrude(0.296875) solid=solid.union(solid1)
1,587
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00025698
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.1015625, 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.20526315789473684).lineTo(0.7578947368421053, 0.20526315789473684).lineTo(0.0, 0.20526315789473684).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.12631578947368421, 0.1105263157894737).circle(0.015789473684210527) loop2=wp_sketch0.moveTo(0.4421052631578948, 0.1105263157894737).circle(0.015789473684210527) loop3=wp_sketch0.moveTo(1.0421052631578949, 0.1105263157894737).circle(0.015789473684210527) loop4=wp_sketch0.moveTo(1.3736842105263158, 0.1105263157894737).circle(0.015789473684210527) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).extrude(0.0234375) solid=solid0
1,241
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00027919
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.6947368421052632, 0.0).lineTo(0.6947368421052632, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.2734375) solid=solid0 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.6947368421052632, 0.0).lineTo(0.6947368421052632, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(-0.2734375) solid=solid.union(solid0)
1,081
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00029101
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.48947368421052634).lineTo(0.0, 0.48947368421052634).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.0078125) solid=solid0
944
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00022068
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5234375, 0.0, -0.21875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.10930601572269914, -0.01828512516693673), (0.20106907894736842, -0.08042763157894736)).threePointArc((0.5227796052631579, -0.2183337096335889), (0.8444901315789474, -0.08042763157894736)).threePointArc((0.9362531948036167, -0.01828512516693673), (1.0455592105263158, 0.0)).threePointArc((1.2750315652294881, 0.22117598684210527), (1.0455592105263158, 0.44235197368421053)).threePointArc((0.9362531948036167, 0.46063709885114745), (0.8444901315789474, 0.5227796052631579)).threePointArc((0.5227796052631579, 0.6606856833177994), (0.20106907894736842, 0.5227796052631579)).threePointArc((0.10930601572269914, 0.46063709885114745), (0.0, 0.44235197368421053)).threePointArc((-0.22947235470317232, 0.22117598684210527), (0.0, 0.0)).close() loop1=wp_sketch0.moveTo(-0.013404605263157895, 0.21447368421052632).circle(0.09383223684210526) loop2=wp_sketch0.moveTo(0.5227796052631579, 0.21447368421052632).circle(0.3083059210526316) loop3=wp_sketch0.moveTo(1.0589638157894736, 0.21447368421052632).circle(0.09383223684210526) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).extrude(0.046875) solid=solid0
1,752
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00027110
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.3157894736842105).lineTo(0.0, 0.3157894736842105).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.25) solid=solid0
937
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00023404
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.5078125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 1.0263157894736843).lineTo(0.0, 1.0263157894736843).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(1.436842105263158, 0.06315789473684211).lineTo(1.436842105263158, 0.9473684210526316).lineTo(0.06315789473684211, 0.9473684210526316).lineTo(0.06315789473684211, 0.06315789473684211).close() solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.3671875) solid=solid0
1,062
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00025920
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.9947368421052631, -0.25263157894736843).lineTo(0.9947368421052631, 0.25263157894736843).lineTo(0.5052631578947369, 0.25263157894736843).lineTo(0.5052631578947369, -0.25263157894736843).close() solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.5078125) solid=solid0
1,098
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00026597
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.234375, 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.23684210526315788, 0.0).circle(0.23684210526315788) loop1=wp_sketch0.moveTo(0.23684210526315788, 0.0).circle(0.12335526315789473) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.1015625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.21875, -0.1015625, 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.22105263157894733, 0.0).circle(0.22105263157894733) loop3=wp_sketch1.moveTo(0.22105263157894733, 0.0).circle(0.12434210526315788) solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.03125) solid=solid.union(solid1)
1,315
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00025934
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.421875, 0.0, 0.21875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.05180921052631579, -0.05180921052631579).lineTo(0.05180921052631579, -0.21414473684210525).lineTo(0.05180921052631579, -0.23141447368421053).lineTo(0.08634868421052631, -0.2694078947368421).lineTo(0.1830592105263158, -0.2694078947368421).lineTo(0.20032894736842105, -0.2521381578947368).lineTo(0.20032894736842105, -0.07598684210526316).lineTo(0.2521381578947368, -0.07598684210526316).lineTo(0.328125, 0.0).threePointArc((0.1640625, 0.06328588977885581), (0.0, 0.0)).close() loop1=wp_sketch0.moveTo(0.11052631578947368, -0.2037828947368421).lineTo(0.11052631578947368, -0.17960526315789474).lineTo(0.08634868421052631, -0.17960526315789474).lineTo(0.08634868421052631, -0.2037828947368421).close() loop2=wp_sketch0.moveTo(0.16578947368421051, -0.19342105263157894).circle(0.031085526315789473) loop3=wp_sketch0.moveTo(0.17615131578947368, 0.04144736842105263).lineTo(0.17615131578947368, 0.05526315789473684).lineTo(0.15197368421052632, 0.05526315789473684).lineTo(0.15197368421052632, 0.04144736842105263).close() solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).extrude(0.0234375) solid=solid0
1,747
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00022083
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.7105263157894737) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.265625, both=True) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.7109375, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch1.moveTo(0.718421052631579, 0.0).circle(0.718421052631579) loop3=wp_sketch1.moveTo(0.0, 0.0).threePointArc((0.29080441704445087, 0.2928390607350139), (0.703453947368421, 0.2993421052631579)).threePointArc((0.9110014288077717, 0.2180771619029175), (1.002796052631579, 0.014967105263157894)).threePointArc((1.612580169308856, 0.007483552631578947), (1.002796052631579, 0.0)).threePointArc((0.9215311092713385, -0.20754748143935062), (0.718421052631579, -0.2993421052631579)).threePointArc((0.5108735711922283, -0.21807716190291773), (0.41907894736842105, -0.014967105263157894)).threePointArc((-0.19070516930885606, -0.007483552631578947), (0.41907894736842105, 0.0)).close() solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.109375, both=True) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.296875, 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.17730263157894735, 0.0).threePointArc((0.08861245972026213, -0.002078148483127254), (0.0, -0.006332236842105263)).threePointArc((0.0926913502495295, -0.2138335109524362), (0.30394736842105263, -0.29761513157894737)).threePointArc((0.30711348684210527, -0.297653987648159), (0.3102796052631579, -0.29761513157894737)).threePointArc((0.5177808793734888, -0.20492378132941785), (0.6015625, 0.006332236842105263)).threePointArc((0.6016013560692115, 0.009498355263157895), (0.6015625, 0.012664473684210526)).threePointArc((0.5088711497504704, 0.22016574779454146), (0.29761513157894737, 0.30394736842105263)).threePointArc((0.29444901315789473, 0.3039862244902642), (0.2912828947368421, 0.30394736842105263)).threePointArc((0.08378162062651116, 0.21125601817152312), (0.0, 0.0)).close() loop5=wp_sketch2.moveTo(0.29761513157894737, 0.0).circle(0.15197368421052632) solid2=wp_sketch2.add(loop4).add(loop5).extrude(0.265625, both=True) solid=solid.union(solid2)
2,485
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00020864
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.1484375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.15).lineTo(0.0, 0.15).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.2265625) solid=solid0
848
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00029698
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.21875, 0.0, -0.5859375), 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.444078947368421, 0.0).lineTo(0.444078947368421, 1.0546875).lineTo(0.0, 1.0546875).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.2220394736842105, 0.84375).circle(0.11101973684210525) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.265625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.21875, 0.0, -0.5859375), 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.444078947368421, 0.0).lineTo(0.444078947368421, 1.0546875).lineTo(0.0, 1.0546875).lineTo(0.0, 0.0).close() loop3=wp_sketch1.moveTo(0.2220394736842105, 0.84375).circle(0.11101973684210525) solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.265625) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.109375, -0.1328125, -0.5859375), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042))) loop4=wp_sketch2.moveTo(0.11052631578947367, 0.0).circle(0.11052631578947367) solid2=wp_sketch2.add(loop4).extrude(0.1640625) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.109375, -0.1328125, -0.5859375), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042))) loop5=wp_sketch3.moveTo(0.11052631578947367, 0.0).circle(0.11052631578947367) solid3=wp_sketch3.add(loop5).extrude(0.1640625) solid=solid.union(solid3) # Generating a workplane for sketch 4 wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.109375, 0.0, 0.2578125), 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.11052631578947367, 0.0).circle(0.11052631578947367) solid4=wp_sketch4.add(loop6).extrude(0.484375) solid=solid.union(solid4)
2,254
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00027448
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.09375) solid=solid0
835
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00021039
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.71875, 0.0, 0.1328125), 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.030921052631578946) solid0=wp_sketch0.add(loop0).extrude(0.5) solid=solid0
916
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00024141
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.0234375, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.027631578947368417, 0.0).circle(0.027631578947368417) solid0=wp_sketch0.add(loop0).extrude(0.75, both=True) solid=solid0
899
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00021993
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.019736842105263157, 0.0).circle(0.01932565789473684) solid0=wp_sketch0.add(loop0).extrude(0.6484375) solid=solid0
914
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00022242
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.3984375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(1.2473684210526317, 0.0).lineTo(1.5, 0.0).lineTo(1.5, 0.25263157894736843).lineTo(1.5, 0.5052631578947369).lineTo(0.4105263157894737, 0.7894736842105263).lineTo(0.0, 0.7894736842105263).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(1.2473684210526317, 0.25263157894736843).circle(0.1105263157894737) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.140625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.3984375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop2=wp_sketch1.moveTo(0.44037828947368424, 0.0).lineTo(0.44037828947368424, 0.2865953947368421).lineTo(0.2236842105263158, 0.6640625).lineTo(0.0, 0.6640625).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop2).extrude(-0.140625) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.609375, -0.140625, -0.3984375), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042))) loop3=wp_sketch2.moveTo(0.6875, 0.0).lineTo(0.0, 0.44144736842105264).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop3).extrude(-0.140625) solid=solid.union(solid2)
1,751
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00025263
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.6484375, -0.03125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(1.1171875, 0.0).lineTo(1.1054276315789473, 0.7761513157894737).lineTo(0.764391447368421, 0.7761513157894737).lineTo(0.0, 0.2234375).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.3359375) solid=solid0
985
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00021005
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5703125, 0.0, -0.1796875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.59375, 0.0).lineTo(0.59375, 0.18125000000000002).threePointArc((0.4655868959099383, 0.2343368959099383), (0.41250000000000003, 0.36250000000000004)).lineTo(0.0, 0.36250000000000004).threePointArc((-0.18125000000000002, 0.18125000000000002), (0.0, 0.0)).close() loop1=wp_sketch0.moveTo(0.0, 0.18125000000000002).circle(0.07500000000000001) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.140625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.5703125, 0.0, -0.1796875), 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.59375, 0.0).lineTo(0.59375, 0.18125000000000002).threePointArc((0.4655868959099383, 0.2343368959099383), (0.41250000000000003, 0.36250000000000004)).lineTo(0.0, 0.36250000000000004).threePointArc((-0.18125000000000002, 0.18125000000000002), (0.0, 0.0)).close() loop3=wp_sketch1.moveTo(0.0, 0.18125000000000002).circle(0.07500000000000001) solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.140625) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.5703125, 0.0, -0.1796875), 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.59375, 0.0).lineTo(0.59375, 0.18125000000000002).threePointArc((0.4655868959099383, 0.2343368959099383), (0.41250000000000003, 0.36250000000000004)).lineTo(0.0, 0.36250000000000004).threePointArc((-0.18125000000000002, 0.18125000000000002), (0.0, 0.0)).close() loop5=wp_sketch2.moveTo(0.0, 0.18125000000000002).circle(0.07500000000000001) solid2=wp_sketch2.add(loop4).add(loop5).extrude(0.140625) solid=solid.union(solid2)
2,175
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00028021
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.7421052631578947) loop1=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.26842105263157895) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.4765625) solid=solid0
901
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00027312
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, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.05131578947368422, 0.0).circle(0.05131578947368422) solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
839
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00025505
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.3125, 0.0, -0.078125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.6189144736842105, 0.0).lineTo(0.6189144736842105, 0.8281249999999999).lineTo(0.0, 0.8281249999999999).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.07845394736842104, 0.07845394736842104).circle(0.026151315789473682) loop2=wp_sketch0.moveTo(0.31381578947368416, 0.07845394736842104).circle(0.026151315789473682) loop3=wp_sketch0.moveTo(0.3225328947368421, 0.5840460526315789).circle(0.026151315789473682) loop4=wp_sketch0.moveTo(0.3225328947368421, 0.7496710526315788).circle(0.026151315789473682) loop5=wp_sketch0.moveTo(0.5404605263157894, 0.07845394736842104).circle(0.026151315789473682) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).add(loop5).extrude(0.0546875) solid=solid0
1,383
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00028035
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.22648026315789474, 0.0).lineTo(0.22648026315789474, 0.08807565789473684).lineTo(0.1551809210526316, 0.08807565789473684).lineTo(0.1551809210526316, 0.3984375).lineTo(0.0, 0.3984375).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(-0.75) solid=solid0
1,035
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00028753
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.0234375, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.027631578947368417, 0.0).circle(0.027631578947368417) solid0=wp_sketch0.add(loop0).extrude(0.75, both=True) solid=solid0
899
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00021950
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.15625, -0.03125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.019736842105263157, 0.0).circle(0.019736842105263157) solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
843
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00024697
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2421875, -0.1796875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.4765625, 0.0).lineTo(0.4765625, 0.33108552631578947).lineTo(0.0, 0.33108552631578947).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.1875) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.2734375, 0.046875), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.4765625, 0.0).lineTo(0.4765625, 0.33108552631578947).lineTo(0.33108552631578947, 0.33108552631578947).lineTo(0.0, 0.0953125).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.1875) solid=solid.union(solid1)
1,221
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false