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/00022834
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 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.125, 0.0).lineTo(1.125, 0.8407894736842105).lineTo(0.0, 0.8407894736842105).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.35526315789473684, 0.4144736842105263).circle(0.011842105263157895) loop2=wp_sketch0.moveTo(0.5802631578947368, 0.4144736842105263).circle(0.011842105263157895) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.078125) solid=solid0
1,110
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00022001
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.46875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(1.4765625, 0.0).lineTo(1.4765625, 0.7926809210526315).lineTo(0.0, 0.7926809210526315).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.4351973684210526, 0.5750822368421052).circle(0.015542763157894737) loop2=wp_sketch0.moveTo(0.6838815789473685, 0.5750822368421052).circle(0.015542763157894737) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.046875) solid=solid0
1,116
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00029829
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.09375, -0.09375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.1875, 0.0).lineTo(0.1875, 0.1875).lineTo(0.0, 0.1875).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
853
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00027804
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.234375, -0.1640625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.9843749999999999, 0.0).lineTo(0.9843749999999999, 0.3108552631578947).lineTo(0.0, 0.3108552631578947).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.0234375) solid=solid0
909
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00020819
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.1171875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.14210526315789473, -0.5684210526315789).lineTo(0.631578947368421, -0.868421052631579).lineTo(1.2, -0.7421052631578947).lineTo(1.5, -0.2368421052631579).lineTo(1.3578947368421053, 0.3315789473684211).lineTo(0.868421052631579, 0.631578947368421).lineTo(0.3, 0.48947368421052634).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.7578947368421053, -0.12631578947368421).circle(0.6) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.265625) solid=solid0
1,119
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00020414
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.453125, 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.41990131578947365, 0.0).lineTo(0.29210526315789476, 0.578125).lineTo(0.0, 0.578125).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.3125) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.328125, 0.0, -0.2421875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.41990131578947365, 0.0).lineTo(0.41990131578947365, 0.578125).lineTo(0.1338815789473684, 0.578125).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.3125) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.1640625, 0.0, 0.3359375), 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.13322368421052633, -0.5795230263157894).lineTo(0.4995888157894737, -0.5795230263157894).lineTo(0.6328125, 0.0).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(0.15625) solid=solid.union(solid2)
1,626
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00020372
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.1171875, 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.4596217105263158, 0.0).lineTo(0.4596217105263158, 0.6328125).lineTo(0.14654605263157894, 0.6328125).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.34375) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 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.4596217105263158, 0.0).lineTo(0.31973684210526315, 0.6328125).lineTo(0.0, 0.6328125).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.34375) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.4296875, 0.0, 0.203125), 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.14638157894736842, -0.6367598684210527).lineTo(0.5489309210526316, -0.6367598684210527).lineTo(0.6953125, 0.0).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(0.171875) solid=solid.union(solid2)
1,627
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00020366
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.140625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.3118421052631579, 0.0).threePointArc((0.6171875, -0.30534539473684214), (0.9225328947368422, 0.0)).lineTo(1.234375, 0.0).lineTo(1.234375, 0.49375).lineTo(0.0, 0.49375).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.328125) solid=solid0
1,021
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00025550
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.5763157894736842, 0.0).lineTo(0.4578947368421053, 0.6078947368421053).threePointArc((0.2881578947368421, 0.747194163180128), (0.11842105263157895, 0.6078947368421053)).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.29210526315789476, 0.5763157894736842).circle(0.1105263157894737) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.2890625) solid=solid0
1,040
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00021050
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.546875, 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.13199197534425963, -0.034062463370152396), (0.24572368421052632, -0.10921052631578948)).threePointArc((0.5584349622221458, -0.22058434736670193), (0.8600328947368422, -0.08190789473684211)).threePointArc((0.9537477459898072, -0.019278904448202305), (1.0648026315789474, 0.0)).threePointArc((1.2927463541986448, 0.21151111310892393), (1.0784539473684212, 0.4368421052631579)).threePointArc((0.9597394666572714, 0.462898386194064), (0.8600328947368422, 0.5324013157894737)).threePointArc((0.5460526315789473, 0.6624561991069472), (0.23207236842105264, 0.5324013157894737)).threePointArc((0.13267094443359304, 0.4622009052044188), (0.013651315789473685, 0.4368421052631579)).threePointArc((-0.20629926301154536, 0.22508120640990056), (0.0, 0.0)).close() loop1=wp_sketch0.moveTo(0.013651315789473685, 0.21842105263157896).circle(0.08190789473684211) loop2=wp_sketch0.moveTo(0.5460526315789473, 0.21842105263157896).circle(0.31398026315789473) loop3=wp_sketch0.moveTo(1.0784539473684212, 0.21842105263157896).circle(0.08190789473684211) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).extrude(0.1796875) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.546875, 0.0, -0.21875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop4=wp_sketch1.moveTo(0.0, 0.0).threePointArc((0.13199197534425963, -0.034062463370152396), (0.24572368421052632, -0.10921052631578948)).threePointArc((0.5584349622221458, -0.22058434736670193), (0.8600328947368422, -0.08190789473684211)).threePointArc((0.9537477459898072, -0.019278904448202305), (1.0648026315789474, 0.0)).threePointArc((1.2927463541986448, 0.21151111310892393), (1.0784539473684212, 0.4368421052631579)).threePointArc((0.9597394666572714, 0.462898386194064), (0.8600328947368422, 0.5324013157894737)).threePointArc((0.5460526315789473, 0.6624561991069472), (0.23207236842105264, 0.5324013157894737)).threePointArc((0.13267094443359304, 0.4622009052044188), (0.013651315789473685, 0.4368421052631579)).threePointArc((-0.20629926301154536, 0.22508120640990056), (0.0, 0.0)).close() loop5=wp_sketch1.moveTo(0.013651315789473685, 0.21842105263157896).circle(0.08190789473684211) loop6=wp_sketch1.moveTo(0.5460526315789473, 0.21842105263157896).circle(0.31398026315789473) loop7=wp_sketch1.moveTo(1.0784539473684212, 0.21842105263157896).circle(0.08190789473684211) solid1=wp_sketch1.add(loop4).add(loop5).add(loop6).add(loop7).extrude(0.1796875) solid=solid.union(solid1)
2,888
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00022559
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.3828125, 0.0, -0.5234375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(1.1328125, 0.0).lineTo(1.1328125, 0.751233552631579).lineTo(0.0, 0.751233552631579).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.3338815789473684, 0.4054276315789474).circle(0.023848684210526317) loop2=wp_sketch0.moveTo(0.7870065789473685, 0.39350328947368424).circle(0.023848684210526317) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.1484375) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.375, 0.0, -0.125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop3=wp_sketch1.moveTo(0.02368421052631579, 0.0).circle(0.02319078947368421) solid1=wp_sketch1.add(loop3).extrude(0.0078125) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.078125, 0.0, -0.1171875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop4=wp_sketch2.moveTo(0.02368421052631579, 0.0).circle(0.02319078947368421) solid2=wp_sketch2.add(loop4).extrude(0.0078125) solid=solid.union(solid2)
1,662
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00025222
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.04736842105263158, 0.0).lineTo(0.04736842105263158, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.046875) solid=solid0
943
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00025593
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.5078125, 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.015511779022686207, -0.03744874729310326), (0.05296052631578947, -0.05296052631578947)).lineTo(0.5163651315789474, -0.05296052631578947).threePointArc((0.5538138788720506, -0.03744874729310326), (0.5693256578947368, 0.0)).lineTo(0.5693256578947368, 1.2048519736842105).threePointArc((0.5538138788720506, 1.2423007209773138), (0.5163651315789474, 1.2578125)).lineTo(0.14564144736842105, 1.2578125).threePointArc((0.04265739231238679, 1.2151551076876133), (0.0, 1.112171052631579)).lineTo(0.0, 0.5031249999999999).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.1875) solid=solid0
1,266
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00024841
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = 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))) loop0=wp_sketch0.moveTo(0.26842105263157895, 0.0).circle(0.26842105263157895) solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
910
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00021939
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.3125, 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(1.0625, 0.0).lineTo(1.0625, 0.5144736842105263).lineTo(0.0, 0.5144736842105263).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.2348684210526316, 0.27960526315789475).circle(0.01118421052631579) loop2=wp_sketch0.moveTo(0.4473684210526316, 0.27960526315789475).circle(0.01118421052631579) loop3=wp_sketch0.moveTo(0.6710526315789473, 0.27960526315789475).circle(0.01118421052631579) loop4=wp_sketch0.moveTo(0.8835526315789474, 0.27960526315789475).circle(0.01118421052631579) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).extrude(0.0234375) solid=solid0
1,273
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00024857
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.484375, 0.0).lineTo(0.484375, 0.3416118421052632).lineTo(0.0, 0.3416118421052632).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.38240131578947373, 0.2243421052631579).threePointArc((0.4206414473684211, 0.2625822368421053), (0.38240131578947373, 0.30082236842105264)).lineTo(0.10197368421052633, 0.30082236842105264).threePointArc((0.06373355263157895, 0.2625822368421053), (0.10197368421052633, 0.2243421052631579)).close() solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0234375) solid=solid0
1,226
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00021085
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.24868421052631579, 0.0).lineTo(0.24868421052631579, 0.375).lineTo(0.0, 0.375).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.5) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = 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))) loop1=wp_sketch1.moveTo(0.24868421052631579, 0.0).lineTo(0.24868421052631579, 0.375).lineTo(0.0, 0.375).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.3359375) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.5, -0.375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch2.moveTo(1.0394736842105263, 0.0).lineTo(1.0394736842105263, 0.5).lineTo(1.25, 0.5).lineTo(1.25, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.3684210526315789).lineTo(0.0, 0.0).close() loop3=wp_sketch2.moveTo(0.5, 0.3684210526315789).circle(0.14473684210526316) solid2=wp_sketch2.add(loop2).add(loop3).extrude(0.25) solid=solid.union(solid2)
1,434
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00021913
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.625) solid=solid0
905
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00021907
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.18947368421052632) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75) solid=solid0
968
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00028923
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.18947368421052632, 0.0).circle(0.18947368421052632) loop1=wp_sketch0.moveTo(0.18947368421052632, 0.0).circle(0.12631578947368421) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.125) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.4375, 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.125) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.1875, 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.125) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = 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))) loop4=wp_sketch3.moveTo(0.18947368421052632, 0.0).circle(0.18947368421052632) loop5=wp_sketch3.moveTo(0.18947368421052632, 0.0).circle(0.12631578947368421) solid3=wp_sketch3.add(loop4).add(loop5).extrude(0.125) solid=solid.union(solid3)
1,530
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00021052
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5234375, -0.21875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.10930601572269914, -0.01828512516693673), (0.20106907894736842, -0.08042763157894736)).threePointArc((0.5227796052631579, -0.2183337096335889), (0.8444901315789474, -0.08042763157894736)).threePointArc((0.9362531948036167, -0.01828512516693673), (1.0455592105263158, 0.0)).threePointArc((1.2750315652294881, 0.22117598684210527), (1.0455592105263158, 0.44235197368421053)).threePointArc((0.9362531948036167, 0.46063709885114745), (0.8444901315789474, 0.5227796052631579)).threePointArc((0.5227796052631579, 0.6606856833177994), (0.20106907894736842, 0.5227796052631579)).threePointArc((0.10930601572269914, 0.46063709885114745), (0.0, 0.44235197368421053)).threePointArc((-0.22947235470317232, 0.22117598684210527), (0.0, 0.0)).close() loop1=wp_sketch0.moveTo(-0.013404605263157895, 0.21447368421052632).circle(0.09383223684210526) loop2=wp_sketch0.moveTo(0.5227796052631579, 0.21447368421052632).circle(0.3083059210526316) loop3=wp_sketch0.moveTo(1.0589638157894736, 0.21447368421052632).circle(0.09383223684210526) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).extrude(0.046875) solid=solid0
1,680
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00028062
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/00021720
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.lineTo(0.25625, 0.0).threePointArc((0.3203125, -0.0640625), (0.384375, 0.0)).lineTo(0.5529605263157895, 0.0).lineTo(0.5529605263157895, 0.05394736842105263).lineTo(0.640625, 0.05394736842105263).lineTo(0.640625, 0.1618421052631579).lineTo(0.0, 0.1618421052631579).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.0, -0.1640625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.5546875, 0.0).lineTo(0.5546875, 0.16348684210526315).lineTo(0.38536184210526314, 0.16348684210526315).threePointArc((0.32113486842105265, 0.09925986842105262), (0.2569078947368421, 0.16348684210526315)).lineTo(0.0, 0.16348684210526315).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.109375) solid=solid.union(solid1)
1,390
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00020358
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.484375, 0.0, -0.2890625), 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.022039473684210525, 0.0).threePointArc((0.2621889827179871, 0.26171875), (0.022039473684210525, 0.5234375)).lineTo(0.0, 0.5234375).lineTo(0.0, 0.3691611842105263).threePointArc((0.10744243421052631, 0.26171875), (0.0, 0.15427631578947368)).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.421875) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.484375, 0.0, -0.2890625), 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.02236842105263158, 0.0).threePointArc((-0.2671139237102397, 0.265625), (0.02236842105263158, 0.53125)).lineTo(0.0, 0.53125).lineTo(0.0, 0.36907894736842106).threePointArc((0.10625, 0.26282894736842105), (0.0, 0.15657894736842104)).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.421875) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.4609375, 0.0, 0.2421875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop2=wp_sketch2.moveTo(0.0, 0.0).threePointArc((0.24263966890749675, -0.26443256578947366), (0.0, -0.5288651315789473)).lineTo(0.8515625, -0.5288651315789473).lineTo(0.8515625, -0.25995065789473687).threePointArc((0.6632677191339904, -0.1856693400065798), (0.5826480263157895, 0.0)).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(0.421875) solid=solid.union(solid2)
1,979
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00025220
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.375, 0.0).lineTo(0.375, 0.011842105263157895).lineTo(0.007894736842105263, 0.011842105263157895).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.375, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.375, 0.0).lineTo(0.36710526315789477, 0.011842105263157895).lineTo(0.0, 0.011842105263157895).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.25) solid=solid.union(solid1)
1,271
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00024670
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.75, -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(0.3515625, 0.0).lineTo(0.3515625, 0.24424342105263155).lineTo(0.24424342105263155, 0.24424342105263155).lineTo(0.0, 0.0703125).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.1015625) solid=solid0
975
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00020416
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.390625, 0.0, 0.359375), 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.1644736842105263, -0.7154605263157894).lineTo(0.6167763157894737, -0.7154605263157894).lineTo(0.78125, 0.0).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.1953125) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.359375), 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.5220394736842106, 0.0).lineTo(0.3631578947368421, 0.71875).lineTo(0.0, 0.71875).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.390625) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.2265625, 0.0, -0.359375), 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.5220394736842106, 0.0).lineTo(0.5220394736842106, 0.71875).lineTo(0.16644736842105262, 0.71875).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(0.390625) solid=solid.union(solid2)
1,615
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00026715
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.546875, 0.0, -0.1640625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.546875, 0.0).lineTo(0.546875, 0.328125).lineTo(0.0, 0.328125).threePointArc((-0.20243094529831454, 0.1640625), (0.0, 0.0)).close() loop1=wp_sketch0.moveTo(-0.03453947368421052, 0.1669407894736842).circle(0.09210526315789473) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.21875) solid=solid0
1,054
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00028738
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0234375, -0.0234375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.0859375, 0.0).lineTo(0.0859375, 0.043421052631578944).lineTo(0.0, 0.043421052631578944).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
891
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00021293
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.25, 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.25263157894736843, 0.0).circle(0.25263157894736843) solid0=wp_sketch0.add(loop0).extrude(0.25) solid=solid0
834
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00029803
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0390625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.039473684210526314, 0.0).circle(0.039473684210526314) solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
841
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00027190
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.34375, 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.35131578947368425, 0.0).circle(0.3439967105263158) loop1=wp_sketch0.moveTo(0.35131578947368425, 0.0).circle(0.11710526315789474) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0078125) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.046875, -0.6328125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop2=wp_sketch1.moveTo(0.11842105263157894, 0.0).circle(0.11842105263157894) loop3=wp_sketch1.moveTo(0.11842105263157894, 0.0).circle(0.11595394736842105) solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.5234375) solid=solid.union(solid1)
1,280
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00027812
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.75).lineTo(0.6552631578947369, 0.75).lineTo(0.0, 0.09473684210526316).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.5625) solid=solid0
954
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00021536
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.6015625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 1.2).lineTo(0.0, 1.2).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.5684210526315789, 0.3157894736842105).circle(0.07894736842105263) loop2=wp_sketch0.moveTo(0.6, 0.9).circle(0.07894736842105263) loop3=wp_sketch0.moveTo(1.0894736842105264, 0.5842105263157895).circle(0.07894736842105263) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).extrude(0.0078125) solid=solid0
1,124
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00029618
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.7421875, -0.3046875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(1.328125, 0.0).lineTo(1.328125, 1.0625).lineTo(0.0, 1.0625).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.28125) solid=solid0
864
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00021522
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.75, -0.75), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 0.07894736842105263).lineTo(0.07894736842105263, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75, both=True) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.265625, -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.2723684210526316, 0.0).circle(0.2723684210526316) solid1=wp_sketch1.add(loop1).extrude(-1.0) solid=solid.cut(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.4140625, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop2=wp_sketch2.moveTo(0.4184210526315789, 0.0).circle(0.40970394736842103) solid2=wp_sketch2.add(loop2).extrude(-0.4140625, both=True) solid=solid.cut(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.265625, 0.0, -0.75), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042))) loop3=wp_sketch3.moveTo(0.2723684210526316, 0.0).circle(0.2723684210526316) solid3=wp_sketch3.add(loop3).extrude(-1.0) solid=solid.cut(solid3) # Generating a workplane for sketch 4 wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.4140625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop4=wp_sketch4.moveTo(0.4184210526315789, 0.0).circle(0.40970394736842103) solid4=wp_sketch4.add(loop4).extrude(-0.484375) solid=solid.cut(solid4) # Generating a workplane for sketch 5 wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(-0.4140625, 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_sketch5.moveTo(0.4184210526315789, 0.0).circle(0.40970394736842103) solid5=wp_sketch5.add(loop5).extrude(-0.75) solid=solid.cut(solid5)
2,193
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00025778
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.0625, 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.06710526315789474, 0.0).circle(0.06710526315789474) loop1=wp_sketch0.moveTo(0.06710526315789474, 0.0).circle(0.05731907894736842) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.328125, both=True) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.2578125, 0.6484375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop2=wp_sketch1.moveTo(0.06710526315789474, 0.0).circle(0.06710526315789474) loop3=wp_sketch1.moveTo(0.06710526315789474, 0.0).circle(0.05731907894736842) solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.328125, both=True) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.328125, -0.296875, 0.1015625), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop4=wp_sketch2.moveTo(0.0, 0.0).threePointArc((0.015024691016385344, -0.05192243204659688), (0.05460526315789474, -0.08873355263157895)).lineTo(0.24572368421052632, -0.1911184210526316).threePointArc((0.3561595418628343, -0.18098829629495627), (0.38906250000000003, -0.07508223684210527)).lineTo(0.1911184210526316, 0.5801809210526316).threePointArc((0.08378350454320567, 0.6489595471449285), (0.0, 0.5528782894736842)).lineTo(0.0, 0.0).close() loop5=wp_sketch2.moveTo(0.0955592105263158, 0.5528782894736842).circle(0.06825657894736842) loop6=wp_sketch2.moveTo(0.2935032894736842, -0.10921052631578948).circle(0.06825657894736842) solid2=wp_sketch2.add(loop4).add(loop5).add(loop6).extrude(-0.03125) solid=solid.union(solid2)
2,011
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00025181
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.375, -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.75).lineTo(0.0, 0.75).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.28125, 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.28421052631578947, 0.0).circle(0.28421052631578947) solid1=wp_sketch1.add(loop1).extrude(-0.75) solid=solid.cut(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.375, -0.28125, 0.3671875), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop2=wp_sketch2.moveTo(0.28421052631578947, 0.0).circle(0.28421052631578947) solid2=wp_sketch2.add(loop2).extrude(-0.75) solid=solid.cut(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.28125, -0.375, 0.3671875), 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.28421052631578947, 0.0).circle(0.28421052631578947) solid3=wp_sketch3.add(loop3).extrude(-0.75) solid=solid.cut(solid3)
1,551
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00022822
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.3984375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 0.9473684210526316).lineTo(0.0, 0.9473684210526316).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.1105263157894737, 0.39473684210526316).circle(0.04736842105263158) loop2=wp_sketch0.moveTo(0.7736842105263159, 0.39473684210526316).circle(0.04736842105263158) loop3=wp_sketch0.moveTo(1.1526315789473685, 0.39473684210526316).circle(0.04736842105263158) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).extrude(0.2890625) solid=solid0
1,187
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00027999
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.75, 0.0).lineTo(0.75, 0.75).lineTo(0.5052631578947369, 0.75).lineTo(0.0, 0.24473684210526317).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.11842105263157895, 0.11842105263157895).circle(0.031578947368421054) loop2=wp_sketch0.moveTo(0.37894736842105264, 0.11842105263157895).circle(0.031578947368421054) loop3=wp_sketch0.moveTo(0.631578947368421, 0.11842105263157895).circle(0.031578947368421054) loop4=wp_sketch0.moveTo(0.631578947368421, 0.37894736842105264).circle(0.031578947368421054) loop5=wp_sketch0.moveTo(0.631578947368421, 0.631578947368421).circle(0.031578947368421054) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).add(loop5).extrude(0.0546875) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.3671875, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop6=wp_sketch1.moveTo(0.734375, 0.0).lineTo(0.734375, 0.23963815789473683).lineTo(0.48700657894736843, 0.734375).lineTo(0.24736842105263157, 0.734375).lineTo(0.0, 0.23963815789473683).lineTo(0.0, 0.0).close() loop7=wp_sketch1.moveTo(0.11595394736842105, 0.12368421052631579).circle(0.038651315789473686) loop8=wp_sketch1.moveTo(0.37105263157894736, 0.12368421052631579).circle(0.038651315789473686) loop9=wp_sketch1.moveTo(0.37105263157894736, 0.37105263157894736).circle(0.038651315789473686) loop10=wp_sketch1.moveTo(0.37105263157894736, 0.6261513157894737).circle(0.038651315789473686) loop11=wp_sketch1.moveTo(0.618421052631579, 0.12368421052631579).circle(0.038651315789473686) solid1=wp_sketch1.add(loop6).add(loop7).add(loop8).add(loop9).add(loop10).add(loop11).extrude(-0.0546875) solid=solid.union(solid1)
2,003
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00020748
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.375, 0.0, -0.3359375), 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.011561574426846808, -0.02791210978367951), (0.039473684210526314, -0.039473684210526314)).lineTo(0.7105263157894737, -0.039473684210526314).threePointArc((0.7384384255731532, -0.02791210978367951), (0.75, 0.0)).lineTo(0.75, 0.6789473684210526).threePointArc((0.7368033720374699, 0.7029121097836796), (0.7105263157894737, 0.7105263157894737)).lineTo(0.039473684210526314, 0.7105263157894737).threePointArc((0.013196627962530122, 0.7029121097836796), (0.0, 0.6789473684210526)).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.37894736842105264, 0.3394736842105263).circle(0.3157894736842105) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75) solid=solid0
1,386
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00027769
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/00022163
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.4765625, 0.0, -0.6171875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(1.2265625, 0.0).lineTo(1.2265625, 0.9812500000000001).lineTo(0.0, 0.9812500000000001).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.6068256578947369, 0.49062500000000003).circle(0.30986842105263157) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.328125) solid=solid0
1,043
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00024076
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/00026661
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.1953125) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.09375, -0.1953125, 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.09868421052631579, 0.0).circle(0.09868421052631579) solid1=wp_sketch1.add(loop1).extrude(0.1953125) solid=solid.union(solid1)
1,181
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00024063
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.015625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.011842105263157895, 0.0).circle(0.011842105263157895) solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
840
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00026674
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.3515625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(1.359375, 0.0).lineTo(1.359375, 0.35773026315789475).lineTo(0.0, 0.35773026315789475).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.6953125, -0.2265625, -0.171875), 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.08289473684210526, 0.0).circle(0.08289473684210526) solid1=wp_sketch1.add(loop1).extrude(-0.90625) solid=solid.cut(solid1)
1,236
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00025433
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6796875, 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(1.4296875, 0.0).lineTo(1.4296875, 0.09029605263157894).lineTo(0.0, 0.33108552631578947).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.1171875) solid=solid0
966
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00023042
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6953125, 0.0, 0.359375), 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.2919407894736842, 0.0).lineTo(0.2919407894736842, 0.390625).lineTo(0.11513157894736842, 0.390625).lineTo(0.11513157894736842, 0.2919407894736842).lineTo(0.0, 0.2919407894736842).lineTo(0.0, 0.19736842105263158).lineTo(0.11513157894736842, 0.19736842105263158).lineTo(0.11513157894736842, 0.09868421052631579).lineTo(0.0, 0.09868421052631579).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.203125) solid=solid0
1,190
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00024739
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.4375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(1.4296875, 0.0).lineTo(1.4296875, 0.8126644736842106).lineTo(0.0, 0.8126644736842106).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.0546875) solid=solid0
884
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00026847
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1171875, 0.0, -0.609375), 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.04265739231238679, -0.10298405505603425), (0.14564144736842105, -0.14564144736842105)).lineTo(0.3310032894736842, -0.14564144736842105).threePointArc((0.42736727874024477, -0.10024193402223203), (0.46340460526315785, 0.0)).lineTo(0.46340460526315785, 1.112171052631579).threePointArc((0.42736727874024477, 1.212412986653811), (0.3310032894736842, 1.2578125)).lineTo(0.14564144736842105, 1.2578125).threePointArc((0.04265739231238679, 1.2151551076876133), (0.0, 1.112171052631579)).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.23832236842105262, 0.09268092105263158).circle(0.07944078947368421) loop2=wp_sketch0.moveTo(0.23832236842105262, 1.0724506578947368).circle(0.07944078947368421) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.234375) solid=solid0
1,480
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00022162
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6171875, 0.0, -0.265625), 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.6276315789473684, 0.0).lineTo(1.2421875, 0.0).lineTo(1.2421875, 0.4576480263157895).lineTo(0.2484375, 0.7191611842105263).lineTo(0.0, 0.7191611842105263).lineTo(0.0, 0.6145559210526316).lineTo(0.0, 0.26151315789473684).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(1.006825657894737, 0.23536184210526317).circle(0.0915296052631579) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.1328125) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.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))) loop2=wp_sketch1.moveTo(0.1328125, 0.0).lineTo(0.1328125, 0.11463815789473684).lineTo(0.0, 0.11463815789473684).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop2).extrude(0.1328125) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.265625), 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.13141447368421053, 0.0).lineTo(0.13141447368421053, 0.265625).lineTo(0.0, 0.265625).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop3).extrude(0.53125) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop4=wp_sketch3.moveTo(0.13026315789473683, 0.0).lineTo(0.13026315789473683, 0.34375).lineTo(0.0, 0.34375).lineTo(0.0, 0.0).close() solid3=wp_sketch3.add(loop4).extrude(0.3046875) solid=solid.union(solid3)
2,078
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00020007
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/00029745
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.171875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.578125, 0.0).lineTo(0.578125, 0.578125).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.4375) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.171875, -0.328125, 0.453125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.10657894736842105, 0.0).circle(0.10657894736842105) solid1=wp_sketch1.add(loop1).extrude(-0.40625) solid=solid.cut(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.5625, -0.21875, 0.171875), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042))) loop2=wp_sketch2.moveTo(0.10657894736842105, 0.0).circle(0.10657894736842105) solid2=wp_sketch2.add(loop2).extrude(-0.40625) solid=solid.cut(solid2)
1,454
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00024249
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.6473684210526316) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.1328125, both=True) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.65625, 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.6592105263157895, 0.0).circle(0.6592105263157895) loop3=wp_sketch1.moveTo(0.6592105263157895, 0.0).circle(0.1510690789473684) solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.0546875, both=True) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.15625, 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.15394736842105264, 0.0).circle(0.15394736842105264) loop5=wp_sketch2.moveTo(0.15394736842105264, 0.0).circle(0.07697368421052632) solid2=wp_sketch2.add(loop4).add(loop5).extrude(0.078125, both=True) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.078125, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop6=wp_sketch3.moveTo(0.07894736842105263, 0.0).circle(0.07894736842105263) solid3=wp_sketch3.add(loop6).extrude(0.265625, both=True) solid=solid.union(solid3)
1,911
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00020991
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.046875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.3355263157894737, 0.0).circle(0.3355263157894737) loop1=wp_sketch0.moveTo(0.3355263157894737, 0.0).circle(0.1328125) 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.4140625, 0.0, -0.3828125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop2=wp_sketch1.moveTo(1.1015625, 0.0).lineTo(1.1015625, 0.33626644736842104).threePointArc((0.8637862147802802, 0.43475660951712236), (0.765296052631579, 0.6725328947368421)).lineTo(0.0, 0.6725328947368421).threePointArc((0.33626644736842104, 0.33626644736842104), (0.0, 0.0)).close() solid1=wp_sketch1.add(loop2).extrude(0.265625) solid=solid.union(solid1)
1,411
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00020985
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.578125, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.578125, 0.0).lineTo(0.578125, 0.17648026315789472).threePointArc((0.4533346091754662, 0.2281701354912557), (0.4016447368421053, 0.35296052631578945)).lineTo(0.0, 0.35296052631578945).threePointArc((-0.17648026315789472, 0.17648026315789472), (0.0, 0.0)).close() loop1=wp_sketch0.moveTo(0.0, 0.17648026315789472).circle(0.07302631578947369) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.15625) solid=solid0
1,150
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00025802
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.75, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.7578947368421053, 0.4736842105263158).lineTo(0.7578947368421053, 0.7578947368421053).lineTo(0.4736842105263158, 0.7578947368421053).lineTo(0.4736842105263158, 0.4736842105263158).close() solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.015625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.28125, -0.28125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch1.moveTo(0.28125, 0.0).lineTo(0.28125, 0.28125).lineTo(0.0, 0.28125).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop2).extrude(0.015625) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.28125, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop3=wp_sketch2.moveTo(0.28125, 0.0).lineTo(0.28125, 0.28125).lineTo(0.0, 0.28125).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop3).extrude(0.0390625) solid=solid.union(solid2)
1,447
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00029786
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.75).lineTo(0.0, 0.75).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.296875, -0.1875, 0.375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.07500000000000001, 0.0).circle(0.07500000000000001) solid1=wp_sketch1.add(loop1).extrude(0.296875) solid=solid.union(solid1)
1,182
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00025194
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.375, -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.75).lineTo(0.0, 0.75).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.265625, 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.2644736842105263, 0.0).circle(0.2644736842105263) solid1=wp_sketch1.add(loop1).extrude(-0.75) solid=solid.cut(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.265625, -0.375, 0.3359375), 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.2644736842105263, 0.0).circle(0.2644736842105263) solid2=wp_sketch2.add(loop2).extrude(-0.75) solid=solid.cut(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.375, -0.265625, 0.375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop3=wp_sketch3.moveTo(0.2644736842105263, 0.0).circle(0.2644736842105263) solid3=wp_sketch3.add(loop3).extrude(-0.75) solid=solid.cut(solid3)
1,544
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00029157
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.37894736842105264, 0.0).lineTo(0.37894736842105264, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.0078125) solid=solid0
872
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00026502
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.53125) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.6875, 0.0, 0.0), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042))) loop1=wp_sketch1.moveTo(0.6947368421052631, 0.0).circle(0.6947368421052631) solid1=wp_sketch1.add(loop1).extrude(-0.46875) solid=solid.cut(solid1)
1,105
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00021523
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.75, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 0.5052631578947369).lineTo(0.5052631578947369, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.25263157894736843, 0.25263157894736843).circle(0.06315789473684211) loop2=wp_sketch0.moveTo(0.25263157894736843, 0.7578947368421053).circle(0.06315789473684211) loop3=wp_sketch0.moveTo(0.25263157894736843, 1.2473684210526317).circle(0.06315789473684211) loop4=wp_sketch0.moveTo(0.7578947368421053, 0.25263157894736843).circle(0.06315789473684211) loop5=wp_sketch0.moveTo(1.2473684210526317, 0.25263157894736843).circle(0.06315789473684211) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).add(loop5).extrude(0.078125) solid=solid0
1,282
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00024329
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.53125, -0.109375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.09046052631578948, 0.0).lineTo(0.09046052631578948, 0.859375).lineTo(0.0, 0.859375).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.0859375) solid=solid0
889
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00021251
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.1796875) solid=solid0
1,753
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00029194
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.06710526315789474, 0.0).lineTo(0.06710526315789474, 0.1328125).lineTo(0.0, 0.1328125).threePointArc((-0.06640625, 0.06640625), (0.0, 0.0)).close() loop1=wp_sketch0.moveTo(0.0, 0.06710526315789474).circle(0.03355263157894737) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.234375) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.1328125, 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.49218749999999994, 0.0).lineTo(0.49218749999999994, 0.12952302631578946).lineTo(0.0, 0.12952302631578946).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop2).extrude(0.234375) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.6171875, 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.06570723684210526, 0.0).threePointArc((0.11315782347436042, 0.019654676525639587), (0.1328125, 0.06710526315789474)).lineTo(0.1328125, 0.1328125).lineTo(0.0, 0.1328125).lineTo(0.0, 0.0).close() loop4=wp_sketch2.moveTo(0.06570723684210526, 0.06710526315789474).circle(0.03355263157894737) solid2=wp_sketch2.add(loop3).add(loop4).extrude(0.234375) solid=solid.union(solid2)
1,624
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00028739
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.03125, -0.046875), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.04736842105263158, 0.0).lineTo(0.04736842105263158, 0.09375).lineTo(0.0, 0.09375).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75, both=True) solid=solid0
940
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00020417
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.265625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.5106907894736842, 0.0).lineTo(0.35526315789473684, 0.703125).lineTo(0.0, 0.703125).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.1875) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.203125, 0.0, -0.265625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.5106907894736842, 0.0).lineTo(0.5106907894736842, 0.703125).lineTo(0.16282894736842105, 0.703125).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.1875) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.3984375, 0.0, 0.4296875), 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.16118421052631582, -0.7011513157894738).lineTo(0.6044407894736843, -0.7011513157894738).lineTo(0.7656250000000001, 0.0).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(0.1875) solid=solid.union(solid2)
1,626
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00024671
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(1.09375, 0.0).lineTo(1.09375, 0.7598684210526315).lineTo(0.0, 0.7598684210526315).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.328125) solid=solid0
878
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00025221
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.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
909
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00021053
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.5234375, -0.21875), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.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,734
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00028922
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.125, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.12631578947368421, 0.0).circle(0.12631578947368421) solid0=wp_sketch0.add(loop0).extrude(0.125) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.1875, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.18947368421052632, 0.0).circle(0.18947368421052632) loop2=wp_sketch1.moveTo(0.18947368421052632, 0.0).circle(0.12631578947368421) solid1=wp_sketch1.add(loop1).add(loop2).extrude(0.125) solid=solid.union(solid1)
1,090
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00021912
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.375) solid=solid0
905
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00028951
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.1875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.004142897502953359, -0.010001839339151804), (0.014144736842105264, -0.014144736842105264)).lineTo(0.5021381578947368, -0.014144736842105264).lineTo(0.671875, 0.26167763157894736).lineTo(0.671875, 0.36776315789473685).threePointArc((0.6691968379560961, 0.3813011814444151), (0.6577302631578947, 0.38898026315789475)).lineTo(0.014144736842105264, 0.38898026315789475).threePointArc((0.0026781620439039235, 0.3813011814444151), (0.0, 0.36776315789473685)).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.20509868421052632, 0.18388157894736842).circle(0.09901315789473684) loop2=wp_sketch0.moveTo(0.4667763157894737, 0.18388157894736842).circle(0.09901315789473684) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.1015625) solid=solid0
1,384
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00023804
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.4609375, 0.0, 0.0625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.0032549173932179035, -0.13960614727000803), (0.04851973684210527, -0.2717105263157895)).threePointArc((0.18109370498605643, -0.2928747281856714), (0.17467105263157895, -0.42697368421052634)).threePointArc((0.29817257388103663, -0.4957481952580436), (0.4366776315789474, -0.5240131578947369)).threePointArc((0.5163425277008545, -0.417732375346377), (0.6307565789473685, -0.48519736842105265)).threePointArc((0.7510031828036082, -0.414365732198562), (0.8442434210526316, -0.3105263157894737)).threePointArc((0.8005299671053742, -0.18358966066486668), (0.9218750000000001, -0.1261513157894737)).threePointArc((0.9186200826067822, 0.013454831480534338), (0.8733552631578948, 0.1455592105263158)).threePointArc((0.7315856769391577, 0.16723174168983232), (0.7375, 0.3105263157894737)).threePointArc((0.6181002756123304, 0.37369867633035764), (0.48519736842105265, 0.3978618421052632)).threePointArc((0.39633685422435927, 0.2920893888505381), (0.2814144736842105, 0.36875)).threePointArc((0.1611678698279708, 0.29791836377750924), (0.06792763157894738, 0.19407894736842107)).threePointArc((0.12083670360099143, 0.06663396295017945), (0.0, 0.0)).close() loop1=wp_sketch0.moveTo(0.4560855263157895, -0.058223684210526316).circle(0.15526315789473685) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.09375) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.65625, 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.6631578947368421, 0.0).circle(0.6631578947368421) loop3=wp_sketch1.moveTo(0.0, 0.0).threePointArc((-0.007643649739174476, 0.27095206887673123), (0.2625, 0.24868421052631579)).threePointArc((0.35914168714395595, 0.3555756158228235), (0.48355263157894735, 0.4282894736842105)).threePointArc((0.5648305301459395, 0.550133657399475), (0.6769736842105263, 0.45592105263157895)).threePointArc((0.8146319743546115, 0.43476660300012926), (0.9394736842105262, 0.37302631578947365)).threePointArc((1.0942405033348883, 0.35957840381695566), (1.0638157894736842, 0.20723684210526316)).threePointArc((1.1117402872106557, 0.08025903553465344), (1.119078947368421, -0.05526315789473684)).threePointArc((1.1925678679257907, -0.19055525358251915), (1.05, -0.24868421052631579)).threePointArc((0.953358312856044, -0.3555756158228237), (0.8289473684210527, -0.4282894736842105)).threePointArc((0.7476694698540605, -0.550133657399475), (0.6355263157894737, -0.45592105263157895)).threePointArc((0.49786802564538846, -0.43476660300012926), (0.37302631578947365, -0.37302631578947365)).threePointArc((0.21825949666511174, -0.35957840381695566), (0.24868421052631579, -0.20723684210526316)).threePointArc((0.2007597127893444, -0.08025903553465324), (0.19342105263157894, 0.05526315789473684)).close() solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.09375) solid=solid.union(solid1)
3,234
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00023838
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.46875, 0.0, -0.484375), 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.9430921052631579, 0.0).lineTo(0.9430921052631579, 0.953125).lineTo(0.0, 0.953125).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
954
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00026798
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.265625, -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.032072368421052634, 0.0).circle(0.032072368421052634) loop1=wp_sketch0.moveTo(0.908717105263158, -0.1069078947368421).threePointArc((1.015625, 0.0), (0.908717105263158, 0.1069078947368421)).lineTo(0.032072368421052634, 0.1069078947368421).threePointArc((0.13898026315789475, 0.0), (0.032072368421052634, -0.1069078947368421)).close() loop2=wp_sketch0.moveTo(0.908717105263158, 0.0).circle(0.032072368421052634) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.046875) solid=solid0
1,144
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00026773
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.3515625, 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.88125, 0.0).threePointArc((1.1015625, 0.2203125), (0.88125, 0.440625)).lineTo(0.0, 0.440625).threePointArc((-0.2203125, 0.2203125), (0.0, 0.0)).close() loop1=wp_sketch0.moveTo(0.0, 0.2203125).circle(0.16233552631578946) loop2=wp_sketch0.moveTo(0.88125, 0.2203125).circle(0.16233552631578946) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.21875) solid=solid0
1,099
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00021034
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.53125, 0.0, 0.21875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((-0.2241367395076154, -0.22952926323866787), (0.013486842105263158, -0.44506578947368425)).threePointArc((0.11546616602138345, -0.457582893034863), (0.20230263157894737, -0.5125)).threePointArc((0.5525959065169552, -0.6616725898665707), (0.8901315789473685, -0.4855263157894737)).threePointArc((0.9430001449535417, -0.4409526287770474), (1.011513157894737, -0.43157894736842106)).threePointArc((1.2757831220392206, -0.23866819565170344), (1.0519736842105263, 0.0)).threePointArc((0.9419970794343137, 0.01839730384894267), (0.8496710526315789, 0.08092105263157895)).threePointArc((0.5356209324831711, 0.22352593197219348), (0.21578947368421053, 0.09440789473684211)).threePointArc((0.11728418576282261, 0.02574234983535295), (0.0, 0.0)).close() loop1=wp_sketch0.moveTo(0.0, -0.21578947368421053).circle(0.09440789473684211) loop2=wp_sketch0.moveTo(0.5259868421052631, -0.21578947368421053).circle(0.3101973684210526) loop3=wp_sketch0.moveTo(1.0654605263157895, -0.21578947368421053).circle(0.09440789473684211) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).extrude(0.1796875) solid=solid0
1,735
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00026983
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6484375, -0.03125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(1.140625, 0.0).lineTo(1.140625, 0.7804276315789473).lineTo(0.0, 0.7804276315789473).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.07073721229639546, 0.0013022613878154047), (0.07203947368421051, 0.07203947368421051)).lineTo(0.32417763157894736, 0.07203947368421051).threePointArc((0.3555451884930639, 0.11428768492428246), (0.3121710526315789, 0.14407894736842103)).lineTo(0.07203947368421051, 0.14407894736842103).close() loop2=wp_sketch0.moveTo(0.3121710526315789, 0.6243421052631578).threePointArc((0.36177366289103025, 0.6601366571809807), (0.32417763157894736, 0.7083881578947367)).lineTo(0.07203947368421051, 0.7083881578947367).threePointArc((0.03153575232087207, 0.6663651315789473), (0.07203947368421051, 0.6243421052631578)).close() loop3=wp_sketch0.moveTo(1.0805921052631577, 0.3121710526315789).circle(0.01200657894736842) loop4=wp_sketch0.moveTo(1.0805921052631577, 0.4682565789473684).circle(0.01200657894736842) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).extrude(0.09375) solid=solid0
1,611
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00020458
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.359375) solid=solid0
908
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00026029
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2421875, 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.49391447368421054, 0.0).lineTo(0.49391447368421054, 0.609375).lineTo(0.0, 0.609375).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.140625) solid=solid0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2421875, 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.49391447368421054, 0.0).lineTo(0.49391447368421054, 0.609375).lineTo(0.0, 0.609375).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(-0.140625) solid=solid.union(solid0) # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.1171875, 0.140625, 0.609375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.3671875, 0.0).threePointArc((0.18359375, 0.06569089414758826), (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.2109375, -0.140625, 0.609375), 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.4318543393357482, -0.18706380139482487), (0.4682565789473684, 0.2821546052631579)).lineTo(0.4682565789473684, 0.0).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(0.140625) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.2109375, -0.140625, 0.609375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop3=wp_sketch3.moveTo(0.46875, 0.0).lineTo(0.46875, 0.28618421052631576).lineTo(0.09868421052631579, 0.28618421052631576).threePointArc((0.008796324327470018, 0.15707340903408476), (0.0, 0.0)).close() solid3=wp_sketch3.add(loop3).extrude(0.140625) solid=solid.union(solid3)
2,076
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00026997
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 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.07894736842105263, 0.0).circle(0.07894736842105263) loop1=wp_sketch0.moveTo(0.07894736842105263, 0.0).circle(0.024671052631578948) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.03125, both=True) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, -0.671875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop2=wp_sketch1.moveTo(0.0, 0.0).threePointArc((0.078125, 0.078125), (0.15625, 0.0)).lineTo(0.15625, 0.59375).threePointArc((0.078125, 0.515625), (0.0, 0.59375)).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop2).extrude(0.03125, both=True) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, -0.671875), 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.07894736842105263, 0.0).circle(0.07894736842105263) loop4=wp_sketch2.moveTo(0.07894736842105263, 0.0).circle(0.024671052631578948) solid2=wp_sketch2.add(loop3).add(loop4).extrude(0.03125, both=True) solid=solid.union(solid2)
1,659
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00029695
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.4921875, -0.5703125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.953125, 0.0).lineTo(0.953125, 0.190625).lineTo(0.0, 0.190625).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.5078125) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.34375, -0.515625, 0.5078125), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.6171875, 0.0).lineTo(0.6171875, 0.10394736842105264).lineTo(0.0, 0.10394736842105264).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(-0.125) solid=solid.cut(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.46875, -0.46875, 0.5078125), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch2.moveTo(0.04736842105263158, 0.0).circle(0.04638157894736842) solid2=wp_sketch2.add(loop2).extrude(-0.2578125) solid=solid.cut(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.3203125, -0.46875, 0.5078125), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop3=wp_sketch3.moveTo(0.04736842105263158, 0.0).circle(0.04736842105263158) solid3=wp_sketch3.add(loop3).extrude(-0.2578125) solid=solid.cut(solid3)
1,525
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00027860
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1953125, 0.0, -0.6953125), 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.015005960141511503, -0.036227592490067344), (0.05123355263157895, -0.05123355263157895)).lineTo(0.1390625, -0.05123355263157895).threePointArc((0.17894963196375166, -0.03774342337210708), (0.19761513157894736, 0.0)).lineTo(0.19761513157894736, 0.6440789473684211).threePointArc((0.17894963196375166, 0.6818223707405281), (0.1390625, 0.6953125)).lineTo(0.05123355263157895, 0.6953125).threePointArc((0.015005960141511503, 0.6803065398584885), (0.0, 0.6440789473684211)).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.09514802631578947, 0.007319078947368421).circle(0.021957236842105265) loop2=wp_sketch0.moveTo(0.09514802631578947, 0.42450657894736843).circle(0.021957236842105265) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.0234375) solid=solid0
1,474
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00020855
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.09375, 0.109375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.09473684210526316, 0.0).circle(0.09473684210526316) solid0=wp_sketch0.add(loop0).extrude(0.75, both=True) solid=solid0
900
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00025939
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.4140625, -0.3125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.7717105263157895, 0.0).lineTo(0.7717105263157895, 1.0625).lineTo(0.0, 1.0625).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.1118421052631579, 0.9618421052631579).circle(0.03355263157894737) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0625) solid=solid0
959
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00022065
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0078125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.007894736842105263, 0.0).circle(0.007730263157894737) loop1=wp_sketch0.moveTo(0.007894736842105263, 0.0).circle(0.0014802631578947369) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0078125) solid=solid0
987
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00029642
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/00020882
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.515625, 0.0, -0.328125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.78125, 0.0).lineTo(0.78125, 0.23848684210526314).threePointArc((0.612614336723603, 0.3083380209341293), (0.5427631578947368, 0.47697368421052627)).lineTo(0.0, 0.47697368421052627).threePointArc((0.23848684210526314, 0.23848684210526314), (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.515625, 0.0, -0.328125), 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.234375, 0.234375), (0.0, 0.46875)).lineTo(0.0, 0.3256578947368421).threePointArc((0.09375, 0.2319078947368421), (0.0, 0.1381578947368421)).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.1875) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.515625, 0.0, -0.328125), 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.234375, 0.234375), (0.0, 0.46875)).lineTo(0.0, 0.3256578947368421).threePointArc((0.09375, 0.2319078947368421), (0.0, 0.1381578947368421)).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(0.1875) solid=solid.union(solid2)
1,821
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00028399
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1015625, -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.19999999999999998, 0.0).lineTo(0.19999999999999998, 1.0).lineTo(0.0, 1.0).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.203125) solid=solid0
875
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00022850
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 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(0.6039473684210526, 0.0).circle(0.6039473684210526) loop1=wp_sketch0.moveTo(0.21389802631578947, 0.0).circle(0.08807565789473684) loop2=wp_sketch0.moveTo(0.6039473684210526, 0.0).circle(0.1384046052631579) loop3=wp_sketch0.moveTo(0.5913651315789473, -0.39004934210526315).circle(0.08807565789473684) loop4=wp_sketch0.moveTo(0.6039473684210526, 0.39004934210526315).circle(0.08807565789473684) loop5=wp_sketch0.moveTo(0.9814144736842104, 0.0).circle(0.08807565789473684) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).add(loop5).extrude(0.078125, both=True) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = 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))) loop6=wp_sketch1.moveTo(0.14210526315789473, 0.0).circle(0.14210526315789473) loop7=wp_sketch1.moveTo(0.14210526315789473, 0.0).circle(0.07993421052631579) solid1=wp_sketch1.add(loop6).add(loop7).extrude(0.1171875, both=True) solid=solid.union(solid1)
1,611
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00029911
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.2265625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.8749999999999999, 0.0).lineTo(0.8749999999999999, 0.5526315789473684).lineTo(0.0, 0.5526315789473684).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.7552631578947367, 0.2763157894736842).circle(0.055263157894736833) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0546875) solid=solid0
1,057
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00029722
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.6875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.23157894736842105, 0.0).lineTo(0.23157894736842105, 0.23157894736842105).lineTo(0.23157894736842105, 0.6875).lineTo(0.0, 0.6875).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.5234375, -0.4609375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.23289473684210527, 0.0).lineTo(0.23289473684210527, 0.46093750000000006).lineTo(0.0, 0.46093750000000006).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.2265625) solid=solid.union(solid1)
1,190
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00029078
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.3203125, -0.203125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.3203125, -0.17374588064624327), (0.640625, 0.0)).lineTo(0.640625, 0.41134868421052634).threePointArc((0.3203125, 0.5850945648567696), (0.0, 0.41134868421052634)).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.3236842105263158, 0.20904605263157894).circle(0.25625) 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.3203125, 0.203125, 0.0), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042))) loop2=wp_sketch1.moveTo(0.0, 0.41406249999999994).threePointArc((-0.061417580597239924, 0.20703124999999997), (0.0, 0.0)).close() solid1=wp_sketch1.add(loop2).extrude(-0.1875) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.3203125, 0.203125, 0.0), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042))) loop3=wp_sketch2.moveTo(0.0, 0.0).threePointArc((0.06141758059723986, 0.20703124999999997), (0.0, 0.41406249999999994)).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop3).extrude(-0.1875) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.25, 0.0, 0.0), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042))) loop4=wp_sketch3.moveTo(0.2565789473684211, 0.0).circle(0.2565789473684211) solid3=wp_sketch3.add(loop4).extrude(-0.1875) solid=solid.union(solid3) # Generating a workplane for sketch 4 wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.3203125, 0.203125, 0.0), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042))) loop5=wp_sketch4.moveTo(0.0, 0.0).threePointArc((0.3203125, -0.17374588064624327), (0.640625, 0.0)).lineTo(0.640625, 0.41134868421052634).threePointArc((0.3203125, 0.5850945648567696), (0.0, 0.41134868421052634)).lineTo(0.0, 0.0).close() loop6=wp_sketch4.moveTo(0.3236842105263158, 0.20904605263157894).circle(0.25625) solid4=wp_sketch4.add(loop5).add(loop6).extrude(-0.1875) solid=solid.union(solid4)
2,412
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00020048
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.4375, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.44210526315789467, 0.0).circle(0.44210526315789467) 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.328125, 0.0, -0.125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.0, 0.0).threePointArc((0.07895949193575556, -0.12136945543266547), (0.20032894736842105, -0.20032894736842105)).lineTo(0.45592105263157895, -0.20032894736842105).threePointArc((0.5772905080642444, -0.12136945543266547), (0.65625, 0.0)).lineTo(0.65625, 0.24868421052631579).threePointArc((0.5780217143314326, 0.3735076133274023), (0.45592105263157895, 0.45592105263157895)).lineTo(0.20032894736842105, 0.45592105263157895).threePointArc((0.07822828566856745, 0.3735076133274023), (0.0, 0.24868421052631579)).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(-0.09375) solid=solid.cut(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.234375, 0.09375, 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.24078947368421053, 0.0).circle(0.24078947368421053) solid2=wp_sketch2.add(loop2).extrude(-0.375) solid=solid.cut(solid2)
1,842
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00027041
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.546875, -0.2265625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.8515625, 0.0).lineTo(0.8515625, 0.5647203947368421).lineTo(0.0, 0.5647203947368421).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.265625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.2265625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.21011513157894735, 0.0).lineTo(0.21011513157894735, 0.5703125).lineTo(0.0, 0.5703125).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.078125) solid=solid.union(solid1)
1,130
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00024979
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.015625, 0.0078125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.015625, 0.0).lineTo(0.015625, 0.002302631578947368).lineTo(0.0, 0.002302631578947368).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.0, -0.015625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.0029605263157894738, 0.0).lineTo(0.0029605263157894738, 0.0234375).lineTo(0.0, 0.0234375).lineTo(0.0, 0.020476973684210528).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.75) solid=solid.union(solid1)
1,155
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00021801
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.5842105263157895).lineTo(0.0, 0.5842105263157895).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.40625) solid=solid0
868
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0002/00028819
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.20526315789473684) solid0=wp_sketch0.add(loop0).add(loop1).extrude(-0.0078125) solid=solid0
973
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false