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
0099/00994936
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.4210526315789473, 0.07894736842105263).lineTo(0.07894736842105263, 0.07894736842105263).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(-0.171875) solid=solid0
973
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00996853
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.7109375, -0.546875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.42138157894736844, 0.0).lineTo(0.42138157894736844, 0.030098684210526316).lineTo(1.0083059210526315, 0.030098684210526316).lineTo(1.0083059210526315, 0.0).lineTo(1.4296875, 0.0).lineTo(1.4296875, 1.0835526315789474).lineTo(1.0083059210526315, 1.0835526315789474).lineTo(1.0083059210526315, 1.053453947368421).lineTo(0.42138157894736844, 1.053453947368421).lineTo(0.42138157894736844, 1.0835526315789474).lineTo(0.0, 1.0835526315789474).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.0390625) solid=solid0
1,203
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00991872
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.1640625, 0.0, 0.546875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.5859375, 0.0).lineTo(0.5859375, 0.3885690789473684).lineTo(0.0, 0.3885690789473684).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(-0.0390625) solid=solid0
891
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00998842
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2890625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.12031249999999999, 0.0).lineTo(0.12031249999999999, 0.41562499999999997).lineTo(0.91875, 0.41562499999999997).lineTo(0.91875, 0.0).lineTo(1.0390625, 0.0).lineTo(1.0390625, 0.0546875).lineTo(0.9624999999999999, 0.0546875).lineTo(0.9624999999999999, 0.459375).lineTo(0.07656249999999999, 0.459375).lineTo(0.07656249999999999, 0.0546875).lineTo(0.0, 0.0546875).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.1875) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.2265625, 0.046875, 0.09375), cq.Vector(-1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, 1.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.0, 0.0).threePointArc((0.027343749999999997, -0.027343749999999997), (0.05468749999999999, 0.0)).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(-0.3125) solid=solid.cut(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.2265625, 0.046875, 0.09375), cq.Vector(-1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, 1.0, 6.123233995736766e-17))) loop2=wp_sketch2.moveTo(0.0, 0.0).threePointArc((0.027343749999999997, -0.027343749999999997), (0.05468749999999999, 0.0)).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(-0.3125) solid=solid.cut(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.7421875, 0.046875, 0.09375), cq.Vector(-1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, 1.0, 6.123233995736766e-17))) loop3=wp_sketch3.moveTo(0.0, 0.0).threePointArc((0.027343749999999997, -0.027343749999999997), (0.05468749999999999, 0.0)).lineTo(0.0, 0.0).close() solid3=wp_sketch3.add(loop3).extrude(-0.3125) solid=solid.cut(solid3) # Generating a workplane for sketch 4 wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.7421875, 0.046875, 0.09375), cq.Vector(-1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, 1.0, 6.123233995736766e-17))) loop4=wp_sketch4.moveTo(0.0, 0.0).threePointArc((0.027343749999999997, -0.027343749999999997), (0.05468749999999999, 0.0)).lineTo(0.0, 0.0).close() solid4=wp_sketch4.add(loop4).extrude(-0.3125) solid=solid.cut(solid4)
2,413
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00997542
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.46875, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.4776315789473684, 0.0).circle(0.4776315789473684) solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
835
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00993724
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.7578947368421053) loop1=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.6473684210526316) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.015625) solid=solid0
899
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00997230
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.5625, 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.0554955572488645, -0.13397812696166161), (0.18947368421052632, -0.18947368421052632)).lineTo(1.3105263157894738, -0.18947368421052632).threePointArc((1.4445044427511355, -0.13397812696166161), (1.5, 0.0)).lineTo(1.5, 1.1210526315789473).threePointArc((1.4445044427511355, 1.2550307585406093), (1.3105263157894738, 1.3105263157894738)).lineTo(0.18947368421052632, 1.3105263157894738).threePointArc((0.0554955572488645, 1.2550307585406093), (0.0, 1.1210526315789473)).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.18947368421052632, 0.0).circle(0.04736842105263158) loop2=wp_sketch0.moveTo(0.18947368421052632, 1.1210526315789473).circle(0.04736842105263158) loop3=wp_sketch0.moveTo(0.7578947368421053, 0.5684210526315789).circle(0.04736842105263158) loop4=wp_sketch0.moveTo(1.3105263157894738, 0.0).circle(0.04736842105263158) loop5=wp_sketch0.moveTo(1.3105263157894738, 1.1210526315789473).circle(0.04736842105263158) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).add(loop5).extrude(0.0234375, both=True) solid=solid0
1,597
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00993730
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.7578947368421053) loop1=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.6631578947368422) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0078125) solid=solid0
900
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00998665
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0859375, 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.08684210526315789, 0.0).circle(0.08684210526315789) loop1=wp_sketch0.moveTo(0.08684210526315789, 0.0).circle(0.07779605263157895) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75, both=True) solid=solid0
908
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00997556
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6015625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.6118421052631579, 0.0).circle(0.6118421052631579) solid0=wp_sketch0.add(loop0).extrude(0.5234375) solid=solid0
842
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00997218
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
841
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00990563
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.75, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.3, 0.0).lineTo(0.3, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(-0.0234375) solid=solid0
841
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00999547
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.3359375, 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.6789473684210526).lineTo(0.0, 0.6789473684210526).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.0703125) solid=solid0
875
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00994713
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.375, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.37894736842105264).lineTo(0.37894736842105264, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(-0.5625, both=True) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.375, 0.75), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.18947368421052632, 0.0).lineTo(0.18947368421052632, 0.18947368421052632).lineTo(0.37894736842105264, 0.18947368421052632).lineTo(0.37894736842105264, 0.5605263157894737).lineTo(0.18947368421052632, 0.5605263157894737).lineTo(0.18947368421052632, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(-0.5625) solid=solid.cut(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.375, -0.375, 0.75), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch2.moveTo(0.37894736842105264, 0.0).lineTo(0.37894736842105264, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(-0.5625) solid=solid.cut(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.1875, 0.0, 0.1875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop3=wp_sketch3.moveTo(0.18947368421052632, 0.0).circle(0.18947368421052632) solid3=wp_sketch3.add(loop3).extrude(-0.1875) solid=solid.cut(solid3)
1,778
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00999223
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.59375, 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.5960526315789474, 0.0).circle(0.5960526315789474) solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
907
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00990549
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1484375, 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.09375, 0.0).lineTo(0.09375, 0.215625).lineTo(0.203125, 0.215625).lineTo(0.203125, 0.0).lineTo(0.296875, 0.0).lineTo(0.296875, 0.009375000000000001).lineTo(0.215625, 0.009375000000000001).lineTo(0.215625, 0.225).lineTo(0.08125, 0.225).lineTo(0.08125, 0.009375000000000001).lineTo(0.0, 0.009375000000000001).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(-0.75) solid=solid0
1,140
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00994049
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.015625, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.015789473684210527, 0.0).circle(0.015789473684210527) loop1=wp_sketch0.moveTo(0.015789473684210527, 0.0).circle(0.012499999999999999) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75, both=True) solid=solid0
965
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00993726
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.7578947368421053) loop1=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.6631578947368422) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0078125) solid=solid0
900
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00998673
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.046875, 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.04736842105263158, 0.0).circle(0.04736842105263158) loop1=wp_sketch0.moveTo(0.04736842105263158, 0.0).circle(0.04243421052631579) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75) solid=solid0
903
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00997540
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1640625, 0.1015625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.011101973684210526, -0.22574013157894735).lineTo(0.2294407894736842, -0.28125).lineTo(0.3515625, -0.09251644736842105).lineTo(0.2109375, 0.08141447368421052).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.1171875, 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.11842105263157894, 0.0).circle(0.11842105263157894) solid1=wp_sketch1.add(loop1).extrude(-0.78125) solid=solid.cut(solid1)
1,148
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00997554
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, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.43815789473684214, 0.0).circle(0.43815789473684214) solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
836
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00993054
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.421875, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.4263157894736842, 0.0).circle(0.4263157894736842) loop1=wp_sketch0.moveTo(0.4263157894736842, 0.0).circle(0.3819078947368421) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75) solid=solid0
971
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00994908
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.7578947368421053) loop1=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.04736842105263158) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0234375) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042))) loop2=wp_sketch1.moveTo(0.7578947368421053, 0.0).circle(0.7578947368421053) loop3=wp_sketch1.moveTo(0.7578947368421053, 0.0).circle(0.7263157894736842) solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.3046875) solid=solid.union(solid1)
1,234
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00993901
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.3).lineTo(0.0, 0.3).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.046875) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.15, -0.15).lineTo(0.6, -0.15).lineTo(0.75, 0.0).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.046875) solid=solid.union(solid1)
1,176
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00993083
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.359375, -0.359375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.78125, 0.0).lineTo(0.78125, 0.7154605263157894).lineTo(0.0, 0.7154605263157894).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
881
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00995394
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.0859375, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.12434210526315789, 0.0).lineTo(0.421875, 0.2975328947368421).lineTo(0.421875, 0.31529605263157895).lineTo(0.084375, 0.31529605263157895).lineTo(0.084375, 0.2975328947368421).lineTo(0.3819078947368421, 0.2975328947368421).lineTo(0.10657894736842105, 0.022203947368421052).lineTo(0.0, 0.022203947368421052).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.2890625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0390625, 0.0, 0.3125), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.2109375, 0.0).lineTo(0.10657894736842105, 0.09103618421052631).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(-0.328125) solid=solid.cut(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.3359375, 0.3125), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch2.moveTo(0.29375, 0.0).lineTo(0.5, 0.0).lineTo(0.58125, 0.0).threePointArc((0.571875, 0.07187500000000001), (0.5, 0.0625)).lineTo(0.0, 0.0625).lineTo(0.0, 0.0).close() loop3=wp_sketch2.moveTo(0.5437500000000001, 0.03125).circle(0.03125) solid2=wp_sketch2.add(loop2).add(loop3).extrude(-0.0234375, both=True) solid=solid.union(solid2)
1,690
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00991858
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.03125, 0.0, -0.75), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.05526315789473685, 0.0).lineTo(0.05526315789473685, 0.375).lineTo(0.0, 0.375).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(-0.0078125, both=True) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.03125, 0.0, -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.05526315789473685, 0.0).lineTo(0.05526315789473685, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.0390625, both=True) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.03125, 0.0, 0.375), 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.05526315789473685, 0.0).lineTo(0.05526315789473685, 0.375).lineTo(0.0, 0.375).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(0.0390625) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.03125, 0.0, 0.375), 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.05526315789473685, 0.0).lineTo(0.05526315789473685, 0.375).lineTo(0.0, 0.375).lineTo(0.0, 0.0).close() solid3=wp_sketch3.add(loop3).extrude(0.03125) solid=solid.cut(solid3)
1,867
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00992389
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.3203125, 0.0, -0.7421875), 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.37697368421052635, 0.0).lineTo(0.37697368421052635, 1.4921875).lineTo(0.0, 1.4921875).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.1015625) solid=solid0
966
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00993518
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.0, 0.75).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.0390625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.6171875, 0.375, 0.0390625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.019736842105263157, 0.0).circle(0.01932565789473684) solid1=wp_sketch1.add(loop1).extrude(-0.1875) solid=solid.cut(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.171875, 0.375, 0.0390625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch2.moveTo(0.019736842105263157, 0.0).circle(0.019736842105263157) solid2=wp_sketch2.add(loop2).extrude(-0.1875) solid=solid.cut(solid2)
1,247
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00992160
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5234375, 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.5289473684210526, 0.0).circle(0.5289473684210526) loop1=wp_sketch0.moveTo(0.5289473684210526, 0.0).circle(0.49588815789473684) 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.5859375, 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.5881578947368421, 0.0).circle(0.5881578947368421) loop3=wp_sketch1.moveTo(0.5881578947368421, 0.0).circle(0.4901315789473684) solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.03125) solid=solid.union(solid1)
1,156
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00996312
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, -0.453125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.45).lineTo(0.0, 0.45).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.0390625) solid=solid0
919
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00992148
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0390625, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.043421052631578944, 0.0).circle(0.043421052631578944) solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
913
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00993256
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.3125, -0.1484375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.07102173779586955, -0.10216905167781465), (0.17319078947368421, -0.17319078947368421)).lineTo(0.4596217105263158, -0.17319078947368421).threePointArc((0.5617907622041304, -0.10216905167781465), (0.6328125, 0.0)).lineTo(0.6328125, 0.2930921052631579).threePointArc((0.5611917753987085, 0.39193056483570937), (0.4596217105263158, 0.4596217105263158)).lineTo(0.17319078947368421, 0.4596217105263158).threePointArc((0.07162072460129155, 0.39193056483570937), (0.0, 0.2930921052631579)).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.0390625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.296875, 0.0390625, 0.0390625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.59375, 0.0).lineTo(0.59375, 0.037500000000000006).lineTo(0.0, 0.037500000000000006).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.7109375) solid=solid.union(solid1)
1,496
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00997965
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.484375, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(1.234375, 0.0).lineTo(1.234375, 0.5847039473684211).lineTo(0.0, 0.5847039473684211).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.421875) solid=solid0
954
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00999790
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, -0.75), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.3157894736842105, 0.0).lineTo(0.3157894736842105, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(-0.171875) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0078125, 0.0, -0.1796875), 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.3046875, 0.0).lineTo(0.3046875, 0.1667763157894737).lineTo(0.0, 0.16998355263157894).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(-0.15625) solid=solid.cut(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0078125, 0.0, -0.375), 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.3046875, 0.0).lineTo(0.3046875, 0.1667763157894737).lineTo(0.0, 0.16998355263157894).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(-0.15625) solid=solid.cut(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.0078125, 0.0, -0.5703125), 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.3046875, 0.0).lineTo(0.3046875, 0.1667763157894737).lineTo(0.0, 0.16998355263157894).lineTo(0.0, 0.0).close() solid3=wp_sketch3.add(loop3).extrude(-0.15625) solid=solid.cut(solid3) # Generating a workplane for sketch 4 wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.0078125, 0.0, -0.734375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop4=wp_sketch4.moveTo(0.3046875, 0.0).lineTo(0.3046875, 0.13470394736842106).lineTo(0.0, 0.1379111842105263).lineTo(0.0, 0.0).close() solid4=wp_sketch4.add(loop4).extrude(0.0078125) solid=solid.union(solid4) # Generating a workplane for sketch 5 wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(0.0078125, 0.0, -0.1796875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop5=wp_sketch5.moveTo(0.3046875, 0.0).lineTo(0.3046875, 0.1571546052631579).lineTo(0.0, 0.1571546052631579).lineTo(0.0, 0.0).close() solid5=wp_sketch5.add(loop5).extrude(-0.0078125) solid=solid.cut(solid5)
2,443
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00997959
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.515625, -0.0078125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.046824376428729414, -0.11304404462390197), (0.15986842105263158, -0.15986842105263158)).lineTo(1.0924342105263158, -0.15986842105263158).threePointArc((1.2121394393607443, -0.11580319746536756), (1.265625, 0.0)).lineTo(1.265625, 0.2930921052631579).threePointArc((1.2148985922022095, 0.41555648693905156), (1.0924342105263158, 0.4662828947368421)).lineTo(0.15986842105263158, 0.4662828947368421).threePointArc((0.0440652235872642, 0.41279733409758634), (0.0, 0.2930921052631579)).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.0390625) solid=solid0
1,247
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00990944
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.5234375, 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.0421052631578949).lineTo(0.0, 1.0421052631578949).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.15789473684210525, 0.15789473684210525).circle(0.031578947368421054) loop2=wp_sketch0.moveTo(0.15789473684210525, 0.9).circle(0.031578947368421054) loop3=wp_sketch0.moveTo(0.7578947368421053, 0.5210526315789474).circle(0.031578947368421054) loop4=wp_sketch0.moveTo(1.3578947368421053, 0.15789473684210525).circle(0.031578947368421054) loop5=wp_sketch0.moveTo(1.3578947368421053, 0.9).circle(0.031578947368421054) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).add(loop5).extrude(0.046875) solid=solid0
1,248
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00995182
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, -0.421875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.5625, 0.0).threePointArc((0.6895582497444577, 0.052629250255542104), (0.7421875, 0.1796875)).lineTo(0.7421875, 0.3515625).threePointArc((0.7215934455521791, 0.4012809455521791), (0.671875, 0.421875)).lineTo(0.0, 0.421875).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.0078125, both=True) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.0078125, 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.5743421052631579, 0.0).threePointArc((0.7040752655285516, 0.05373723447144826), (0.7578125, 0.18347039473684212)).lineTo(0.7578125, 0.35896381578947373).threePointArc((0.7344484850124138, 0.4153695376439927), (0.6780427631578948, 0.438733552631579)).lineTo(0.0, 0.438733552631579).lineTo(0.0, 0.0).close() loop2=wp_sketch1.moveTo(0.5743421052631579, 0.007976973684210527).threePointArc((0.6984346933430998, 0.059377806656900206), (0.7498355263157895, 0.18347039473684212)).lineTo(0.7498355263157895, 0.35896381578947373).threePointArc((0.7288079128269619, 0.40972896545854076), (0.6780427631578948, 0.43075657894736846)).lineTo(0.007976973684210527, 0.43075657894736846).lineTo(0.007976973684210527, 0.007976973684210527).close() solid1=wp_sketch1.add(loop1).add(loop2).extrude(-0.0234375) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.0078125, 0.0, -0.4296875), 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.5743421052631579, 0.0).threePointArc((0.7040752655285516, 0.05373723447144826), (0.7578125, 0.18347039473684212)).lineTo(0.7578125, 0.35896381578947373).threePointArc((0.7344484850124138, 0.4153695376439927), (0.6780427631578948, 0.438733552631579)).lineTo(0.0, 0.438733552631579).lineTo(0.0, 0.0).close() loop4=wp_sketch2.moveTo(0.5743421052631579, 0.007976973684210527).threePointArc((0.6984346933430998, 0.059377806656900206), (0.7498355263157895, 0.18347039473684212)).lineTo(0.7498355263157895, 0.35896381578947373).threePointArc((0.7288079128269619, 0.40972896545854076), (0.6780427631578948, 0.43075657894736846)).lineTo(0.007976973684210527, 0.43075657894736846).lineTo(0.007976973684210527, 0.007976973684210527).close() solid2=wp_sketch2.add(loop3).add(loop4).extrude(0.0078125) solid=solid.union(solid2)
2,777
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00992772
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1328125, -0.0390625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.2734375, 0.0).lineTo(0.2734375, 0.07195723684210525).lineTo(0.0, 0.07195723684210525).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
889
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00998539
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.6236842105263158).lineTo(0.0, 0.6236842105263158).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.625) solid=solid0
938
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00999141
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.3359375, 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.33289473684210524, 0.0).lineTo(0.6279605263157895, 0.0).lineTo(0.4388157894736842, 0.71875).lineTo(0.2042763157894737, 0.71875).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.0078125) solid=solid0
925
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00990603
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1953125, -0.2109375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.375, 0.0).lineTo(0.375, 0.375).lineTo(0.0, 0.375).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.0234375) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.1171875, -0.0234375, 0.0234375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.11447368421052631, 0.0).circle(0.11447368421052631) solid1=wp_sketch1.add(loop1).extrude(0.703125) solid=solid.union(solid1)
1,065
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00990617
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.34046052631578944, 0.0).lineTo(0.34046052631578944, 0.3626644736842105).lineTo(0.28125, 0.703125).lineTo(0.05921052631578947, 0.703125).lineTo(0.0, 0.3626644736842105).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.015625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0859375, 0.6796875, 0.015625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.007894736842105263, 0.0).circle(0.007894736842105263) solid1=wp_sketch1.add(loop1).extrude(0.015625) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.15625, 0.6796875, 0.015625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch2.moveTo(0.007894736842105263, 0.0).circle(0.007894736842105263) solid2=wp_sketch2.add(loop2).extrude(0.015625) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.2265625, 0.6796875, 0.015625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop3=wp_sketch3.moveTo(0.007894736842105263, 0.0).circle(0.007894736842105263) solid3=wp_sketch3.add(loop3).extrude(0.015625) solid=solid.union(solid3)
1,575
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00999182
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.03125, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.031578947368421054, 0.0).circle(0.031578947368421054) solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
911
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00999800
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.234375, -0.09375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.002601354246040481, -0.00628022470132794), (0.008881578947368421, -0.008881578947368421)).lineTo(0.4529605263157895, -0.008881578947368421).threePointArc((0.4592407510171174, -0.00628022470132794), (0.4618421052631579, 0.0)).lineTo(0.4618421052631579, 0.8348684210526316).threePointArc((0.4592407510171174, 0.8411486457539595), (0.4529605263157895, 0.84375)).lineTo(0.008881578947368421, 0.84375).threePointArc((0.002601354246040481, 0.8411486457539595), (0.0, 0.8348684210526316)).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.026644736842105263, 0.026644736842105263).circle(0.008881578947368421) loop2=wp_sketch0.moveTo(0.026644736842105263, 0.7993421052631579).circle(0.008881578947368421) loop3=wp_sketch0.moveTo(0.444078947368421, 0.026644736842105263).circle(0.008881578947368421) loop4=wp_sketch0.moveTo(0.444078947368421, 0.7993421052631579).circle(0.008881578947368421) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).extrude(0.015625) solid=solid0
1,626
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00994115
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.5368421052631579) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.5078125) solid=solid0
972
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00993134
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.75, -0.0390625), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(1.0625, 0.0).threePointArc((0.9122398089978587, 0.06223980899785871), (0.85, 0.2125)).lineTo(0.1118421052631579, 0.2125).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.125) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.640625, 0.171875), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.7424342105263158, 0.0).threePointArc((0.8041441140296106, 0.14898088597038944), (0.953125, 0.21069078947368422)).lineTo(0.11036184210526316, 0.21069078947368422).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.125) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.1015625, 0.171875), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop2=wp_sketch2.moveTo(0.421875, 0.0).threePointArc((0.2109375, 0.2109375), (0.0, 0.0)).close() solid2=wp_sketch2.add(loop2).extrude(0.109375) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.1015625, 0.171875), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop3=wp_sketch3.moveTo(0.0, 0.0).threePointArc((0.2109375, -0.2109375), (0.421875, 0.0)).lineTo(0.0, 0.0).close() solid3=wp_sketch3.add(loop3).extrude(0.109375) solid=solid.union(solid3)
1,854
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00997434
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.0703125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(1.296875, 0.0).lineTo(1.296875, 0.02730263157894737).lineTo(0.0, 0.02730263157894737).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.015625) solid=solid0
886
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00992558
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.3828125, 0.0, -0.1875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.4342105263157895).lineTo(0.0, 0.4342105263157895).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
946
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00993120
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.3828125, 0.2578125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.035237987329685215, -0.5122650598901805), (0.16973684210526316, -1.0078125)).lineTo(0.16973684210526316, 0.0).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.046875) solid=solid0
931
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00990429
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = 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))) loop0=wp_sketch0.moveTo(0.6236842105263158, 0.0).circle(0.6236842105263158) solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
837
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00993861
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.0703125) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.6171875, -0.0703125, 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.6276315789473684, 0.0).circle(0.6276315789473684) solid1=wp_sketch1.add(loop1).extrude(0.2265625) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.15625, 0.0, -0.4453125), 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.15789473684210525, 0.0).circle(0.15789473684210525) loop3=wp_sketch2.moveTo(0.15789473684210525, 0.0).circle(0.0756578947368421) solid2=wp_sketch2.add(loop2).add(loop3).extrude(0.296875) solid=solid.union(solid2)
1,516
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00995586
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.6078947368421053).lineTo(0.0, 0.6078947368421053).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.0078125) solid=solid0
870
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00991087
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.1640625, 0.0).lineTo(0.1640625, 0.01726973684210526).lineTo(0.01726973684210526, 0.01726973684210526).lineTo(0.01726973684210526, 0.1640625).lineTo(0.0, 0.1640625).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
945
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00999395
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2890625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.12031249999999999, 0.0).lineTo(0.12031249999999999, 0.41562499999999997).lineTo(0.91875, 0.41562499999999997).lineTo(0.91875, 0.0).lineTo(1.0390625, 0.0).lineTo(1.0390625, 0.0546875).lineTo(0.9624999999999999, 0.0546875).lineTo(0.9624999999999999, 0.459375).lineTo(0.07656249999999999, 0.459375).lineTo(0.07656249999999999, 0.0546875).lineTo(0.0, 0.0546875).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.1875) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.2265625, 0.046875, 0.09375), cq.Vector(-1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, 1.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.0, 0.0).threePointArc((0.027343749999999997, -0.027343749999999997), (0.05468749999999999, 0.0)).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(-0.3125) solid=solid.cut(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.2265625, 0.046875, 0.09375), cq.Vector(-1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, 1.0, 6.123233995736766e-17))) loop2=wp_sketch2.moveTo(0.0, 0.0).threePointArc((0.027343749999999997, -0.027343749999999997), (0.05468749999999999, 0.0)).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(-0.3125) solid=solid.cut(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.7421875, 0.046875, 0.09375), cq.Vector(-1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, 1.0, 6.123233995736766e-17))) loop3=wp_sketch3.moveTo(0.0, 0.0).threePointArc((0.027343749999999997, -0.027343749999999997), (0.05468749999999999, 0.0)).lineTo(0.0, 0.0).close() solid3=wp_sketch3.add(loop3).extrude(-0.3125) solid=solid.cut(solid3) # Generating a workplane for sketch 4 wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.7421875, 0.046875, 0.09375), cq.Vector(-1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, 1.0, 6.123233995736766e-17))) loop4=wp_sketch4.moveTo(0.0, 0.0).threePointArc((0.027343749999999997, -0.027343749999999997), (0.05468749999999999, 0.0)).lineTo(0.0, 0.0).close() solid4=wp_sketch4.add(loop4).extrude(-0.3125) solid=solid.cut(solid4)
2,413
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00998921
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.296875, -0.421875, 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.2983963815789474, -0.3251971170192194), (0.5967927631578948, 0.0)).lineTo(0.5462171052631579, 0.7384046052631579).threePointArc((0.3034539473684211, 0.9611607248759492), (0.06069078947368421, 0.7384046052631579)).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.3034539473684211, 0.7181743421052632).circle(0.08092105263157895) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.1640625) solid=solid0
1,099
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00998074
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0859375, 0.15625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.08663651315789474, -0.33708345409480545), (0.17327302631578947, 0.0)).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.03125) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.0859375, 0.15625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.171875, 0.0).threePointArc((0.0859375, 0.02208748385321979), (0.0, 0.0)).close() solid1=wp_sketch1.add(loop1).extrude(0.03125) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.09375, 0.15625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch2.moveTo(0.0125, 0.0).threePointArc((0.096875, 0.021685893237706824), (0.18125000000000002, 0.0)).lineTo(0.19375, 0.0).lineTo(0.19375, 0.59375).lineTo(0.0, 0.59375).lineTo(0.0, 0.0).close() loop3=wp_sketch2.moveTo(0.09375, 0.51875).circle(0.025) solid2=wp_sketch2.add(loop2).add(loop3).extrude(0.03125) solid=solid.union(solid2)
1,439
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00990428
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6484375, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.6552631578947369, 0.0).circle(0.6552631578947369) 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.390625, -0.140625, 0.75), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.2600328947368421, -0.25164473684210525).lineTo(0.6123355263157895, -0.20131578947368423).lineTo(0.796875, 0.10065789473684211).lineTo(0.6710526315789473, 0.4361842105263158).lineTo(0.3355263157894737, 0.5536184210526316).lineTo(0.03355263157894737, 0.35230263157894737).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(-0.625) solid=solid.cut(solid1)
1,245
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00993121
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.75, -0.7265625), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.88125, 0.0).lineTo(0.88125, 1.46875).lineTo(0.0, 1.46875).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.1015625) solid=solid0
915
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00993135
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.75, -0.0390625), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(1.0625, 0.0).threePointArc((0.9122398089978587, 0.06223980899785871), (0.85, 0.2125)).lineTo(0.1118421052631579, 0.2125).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(-0.125) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.640625, 0.171875), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.7424342105263158, 0.0).threePointArc((0.8041441140296106, 0.14898088597038944), (0.953125, 0.21069078947368422)).lineTo(0.11036184210526316, 0.21069078947368422).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(-0.125) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.1015625, 0.171875), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop2=wp_sketch2.moveTo(0.421875, 0.0).threePointArc((0.2109375, 0.2109375), (0.0, 0.0)).close() solid2=wp_sketch2.add(loop2).extrude(-0.109375) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.1015625, 0.171875), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop3=wp_sketch3.moveTo(0.0, 0.0).threePointArc((0.2109375, -0.2109375), (0.421875, 0.0)).lineTo(0.0, 0.0).close() solid3=wp_sketch3.add(loop3).extrude(-0.109375) solid=solid.union(solid3)
1,854
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00995544
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.4736842105263158, 0.7578947368421053).circle(0.18947368421052632) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.375) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.1875, -0.75, 0.375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch1.moveTo(0.5684210526315789, 0.0).lineTo(0.5684210526315789, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop2).extrude(0.375) solid=solid.union(solid1)
1,137
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00990366
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1953125, 0.0, -0.015625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.08955592105263158, -0.029851973684210525).lineTo(0.08955592105263158, -0.03980263157894737).lineTo(0.1890625, -0.03980263157894737).lineTo(0.17911184210526315, -0.009950657894736842).lineTo(0.1691611842105263, -0.009950657894736842).lineTo(0.13930921052631579, 0.019901315789473684).lineTo(0.7164473684210526, 0.06965460526315789).lineTo(0.9453125, 0.12935855263157894).threePointArc((0.9453125, 0.13930921052631579), (0.9353618421052632, 0.13930921052631579)).lineTo(0.7064967105263158, 0.07960526315789473).lineTo(0.13930921052631579, 0.029851973684210525).lineTo(0.08955592105263158, 0.029851973684210525).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.1171875, both=True) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.0546875, 0.0, 0.0078125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.02401315789473684, -0.02401315789473684).lineTo(0.5703125, 0.04802631578947368).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.0625, both=True) solid=solid.union(solid1)
1,750
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00995949
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6796875, 0.0, 0.1875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.4322368421052632, 0.0).lineTo(0.4322368421052632, 0.5625).lineTo(0.18947368421052632, 0.5625).lineTo(0.0, 0.5625).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.1796875) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.65625, -0.15625, 0.75), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop1=wp_sketch1.moveTo(0.05238486842105264, 0.0).lineTo(0.153125, 0.0).lineTo(0.22968750000000002, 0.0).lineTo(0.3304276315789474, 0.0).lineTo(0.38281250000000006, 0.0).lineTo(0.38281250000000006, 0.12894736842105264).lineTo(0.3304276315789474, 0.12894736842105264).lineTo(0.0, 0.12894736842105264).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(-0.5234375) solid=solid.cut(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.6015625, -0.1640625, 0.75), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop2=wp_sketch2.moveTo(0.1015625, 0.0).lineTo(0.1015625, 0.007483552631578948).lineTo(0.0, 0.007483552631578948).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop2).extrude(-0.5234375) solid=solid.cut(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.421875, -0.1640625, 0.75), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop3=wp_sketch3.moveTo(0.1015625, 0.0).lineTo(0.1015625, 0.008552631578947369).lineTo(0.0, 0.008552631578947369).lineTo(0.0, 0.0).close() solid3=wp_sketch3.add(loop3).extrude(-0.5234375) solid=solid.cut(solid3)
1,889
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00999197
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.1640625, 0.0, 0.5859375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.16578947368421051, 0.0).circle(0.16233552631578946) loop1=wp_sketch0.moveTo(0.16578947368421051, 0.0).circle(0.0725328947368421) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.328125) solid=solid0
985
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00997145
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.37894736842105264, 0.37894736842105264).circle(0.18947368421052632) 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.75, 0.1875, 0.375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop2=wp_sketch1.moveTo(0.18947368421052632, 0.0).circle(0.18947368421052632) solid1=wp_sketch1.add(loop2).extrude(-0.75) solid=solid.cut(solid1)
1,163
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00991508
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.4765625, 0.0, -0.375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(1.2265625, 0.0).lineTo(1.2265625, 0.7488486842105263).lineTo(0.0, 0.7488486842105263).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.10328947368421053, 0.37442434210526315).circle(0.012911184210526316) loop2=wp_sketch0.moveTo(0.10328947368421053, 0.5939144736842106).circle(0.012911184210526316) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.015625) solid=solid0
1,122
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00992001
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.3203125, 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.6473684210526316).lineTo(0.0, 0.6473684210526316).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.0546875) solid=solid0
875
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00992773
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2421875, -0.046875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.49218749999999994, 0.0).lineTo(0.49218749999999994, 0.10361842105263157).lineTo(0.0, 0.10361842105263157).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
908
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00991483
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.7421052631578947) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.5625) solid=solid0
969
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00997794
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.3125) solid=solid0
906
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00995197
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.0, 0.45).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(-0.1796875) solid=solid0
900
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00991497
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.37894736842105264).lineTo(0.0, 0.37894736842105264).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75) solid=solid0
939
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00990951
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.3203125, -0.3203125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.640625, 0.0).lineTo(0.640625, 0.640625).lineTo(0.0, 0.640625).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.3236842105263158, 0.11463815789473684).lineTo(0.37088815789473684, 0.11463815789473684).lineTo(0.37088815789473684, 0.18207236842105262).threePointArc((0.3203125, 0.45371374321770497), (0.26973684210526316, 0.18207236842105262)).lineTo(0.26973684210526316, 0.11463815789473684).close() solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.1484375, 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.15000000000000002, 0.0).circle(0.15000000000000002) solid1=wp_sketch1.add(loop2).extrude(0.75) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.0546875, -0.203125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop3=wp_sketch2.moveTo(0.055263157894736833, 0.0).lineTo(0.10937499999999999, 0.0).lineTo(0.10937499999999999, 0.06447368421052631).threePointArc((0.05468749999999999, 0.0542916701738616), (0.0, 0.06447368421052631)).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop3).extrude(0.75) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.1484375, 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.15000000000000002, 0.0).circle(0.15000000000000002) solid3=wp_sketch3.add(loop4).extrude(0.640625) solid=solid.cut(solid3) # Generating a workplane for sketch 4 wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.0546875, -0.203125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop5=wp_sketch4.moveTo(0.055263157894736833, 0.0).lineTo(0.10937499999999999, 0.0).lineTo(0.10937499999999999, 0.06447368421052631).threePointArc((0.05468749999999999, 0.0542916701738616), (0.0, 0.06447368421052631)).lineTo(0.0, 0.0).close() solid4=wp_sketch4.add(loop5).extrude(0.640625) solid=solid.cut(solid4)
2,189
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00990979
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.671875, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.6828947368421053, 0.0).circle(0.6828947368421053) loop1=wp_sketch0.moveTo(0.6828947368421053, 0.0).circle(0.5690789473684211) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.609375) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = 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))) loop2=wp_sketch1.moveTo(1.5, 0.0).lineTo(1.5, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close() loop3=wp_sketch1.moveTo(0.7578947368421053, 0.7578947368421053).circle(0.6789473684210526) solid1=wp_sketch1.add(loop2).add(loop3).extrude(-0.0625) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.671875, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop4=wp_sketch2.moveTo(0.6828947368421053, 0.0).circle(0.6828947368421053) loop5=wp_sketch2.moveTo(0.6828947368421053, 0.0).circle(0.5690789473684211) solid2=wp_sketch2.add(loop4).add(loop5).extrude(-0.0625) solid=solid.union(solid2)
1,423
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00997743
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.4921875, 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.5013157894736842, 0.0).circle(0.5013157894736842) solid0=wp_sketch0.add(loop0).extrude(0.40625) solid=solid0
846
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00990762
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.234375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 0.4578947368421053).lineTo(0.0, 0.4578947368421053).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.546875) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.6875, 0.0, 0.109375), 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.07894736842105263, 0.0).circle(0.07894736842105263) solid1=wp_sketch1.add(loop1).extrude(0.546875) solid=solid.union(solid1)
1,214
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00994262
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.015625, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.015789473684210527, 0.0).circle(0.015460526315789473) loop1=wp_sketch0.moveTo(0.015789473684210527, 0.0).circle(0.009868421052631578) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.7265625) solid=solid0
966
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00993519
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.484375, 0.3671875, 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.12376976376807156, -0.6636641191806025), (0.3763157894736842, -1.1171875)).lineTo(0.5879934210526316, -1.1171875).threePointArc((1.0690201523316971, -0.6503367613035481), (0.9643092105263158, 0.011759868421052632)).threePointArc((0.9135235623768617, 0.015506042886296197), (0.9172697368421052, -0.0352796052631579)).threePointArc((0.988399185564321, -0.5810164002086914), (0.5527138157894737, -0.9172697368421052)).lineTo(0.3998355263157895, -0.9172697368421052).threePointArc((-0.029969909248531566, -0.5776376347520443), (0.04703947368421053, -0.0352796052631579)).threePointArc((0.04583932810654971, 0.012119652387679982), (0.0, 0.0)).close() solid0=wp_sketch0.add(loop0).extrude(0.6875) solid=solid0
1,362
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00996307
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(0.9835526315789473, 0.0).lineTo(1.015625, 0.0).lineTo(1.015625, 0.5773026315789473).lineTo(0.9835526315789473, 0.5773026315789473).lineTo(0.555921052631579, 0.5773026315789473).lineTo(0.4810855263157895, 0.5773026315789473).lineTo(0.4810855263157895, 0.2886513157894737).lineTo(0.0, 0.2886513157894737).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.7483552631578948, 0.352796052631579).circle(0.05345394736842105) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0390625) solid=solid0
1,229
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00999034
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, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.24868421052631579, 0.0).circle(0.24868421052631579) loop1=wp_sketch0.moveTo(0.24868421052631579, 0.0).circle(0.1450657894736842) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75) solid=solid0
903
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00997019
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.515625, 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.3907894736842106, 0.0).lineTo(0.4722039473684211, 0.0).threePointArc((0.5029072681304685, 0.01271773186953155), (0.515625, 0.04342105263157895)).lineTo(0.515625, 0.08141447368421054).threePointArc((0.5029072681304685, 0.11211779444625793), (0.4722039473684211, 0.12483552631578948)).lineTo(0.12483552631578948, 0.12483552631578948).lineTo(0.12483552631578948, 0.3799342105263158).threePointArc((0.11211779444625793, 0.4106375312883632), (0.08141447368421054, 0.4233552631578948)).lineTo(0.04342105263157895, 0.4233552631578948).threePointArc((0.01271773186953155, 0.4106375312883632), (0.0, 0.3799342105263158)).lineTo(0.0, 0.3419407894736842).lineTo(0.0, 0.08141447368421054).lineTo(0.0, 0.0).close() loop1=wp_sketch0.moveTo(0.08141447368421054, 0.3853618421052632).circle(0.010855263157894738) loop2=wp_sketch0.moveTo(0.4342105263157895, 0.0705592105263158).circle(0.010855263157894738) solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.0390625) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop3=wp_sketch1.moveTo(0.234375, 0.0).lineTo(0.234375, 0.08388157894736842).lineTo(0.0, 0.08388157894736842).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop3).extrude(0.0390625) solid=solid.union(solid1) # Generating a workplane for sketch 2 wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.5390625, 0.0859375, -0.046875), cq.Vector(-1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, 1.0, 6.123233995736766e-17))) loop4=wp_sketch2.moveTo(0.0, 0.0).threePointArc((0.04069522302159607, 0.0364126288905464), (0.09375, 0.049342105263157895)).lineTo(0.0, 0.049342105263157895).lineTo(0.0, 0.0).close() solid2=wp_sketch2.add(loop4).extrude(-0.0859375) solid=solid.union(solid2) # Generating a workplane for sketch 3 wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.5234375, 0.0859375, -0.1171875), cq.Vector(-1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, 1.0, 6.123233995736766e-17))) loop5=wp_sketch3.moveTo(0.11447368421052631, 0.0).circle(0.11447368421052631) loop6=wp_sketch3.moveTo(0.11447368421052631, 0.0).circle(0.07631578947368421) solid3=wp_sketch3.add(loop5).add(loop6).extrude(-0.0859375) solid=solid.union(solid3) # Generating a workplane for sketch 4 wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.6328125, 0.0859375, 0.0), cq.Vector(-1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, 1.0, 6.123233995736766e-17))) loop7=wp_sketch4.moveTo(0.0, 0.0).threePointArc((0.053054776978403884, -0.012929476372611519), (0.09375, -0.049342105263157895)).lineTo(0.09498355263157894, -0.049342105263157895).threePointArc((0.0973993044074721, -0.023773122457206586), (0.1171875, -0.007401315789473684)).lineTo(0.1171875, 0.0).lineTo(0.0, 0.0).close() solid4=wp_sketch4.add(loop7).extrude(-0.0859375) solid=solid.union(solid4)
2,967
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00994935
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.4526315789473685, 0.07894736842105263).lineTo(0.04736842105263158, 0.07894736842105263).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(-0.1640625) solid=solid0
974
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00993900
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.37894736842105264).lineTo(0.0, 0.37894736842105264).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.078125) solid=solid0
943
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00991124
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.1875, 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.1875, 0.0).lineTo(0.1875, 0.1875).lineTo(0.16381578947368422, 0.1875).lineTo(0.16381578947368422, 0.02368421052631579).lineTo(0.0, 0.02368421052631579).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.75, both=True) solid=solid0
994
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00999578
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.1875) solid=solid0
834
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00997555
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.65625) solid=solid0
835
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00993727
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0))) loop0=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.7578947368421053) loop1=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.6789473684210526) solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0078125) solid=solid0
900
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00990560
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.7421052631578947).lineTo(0.0, 0.7421052631578947).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.0546875) solid=solid0
870
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false
0099/00994712
import cadquery as cq # Generating a workplane for sketch 0 wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5625, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17))) loop0=wp_sketch0.moveTo(1.125, 0.0).lineTo(0.5684210526315789, 0.7460526315789474).lineTo(0.0, 0.0).close() solid0=wp_sketch0.add(loop0).extrude(0.375, both=True) solid=solid0 # Generating a workplane for sketch 1 wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.375, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17))) loop1=wp_sketch1.moveTo(0.75, 0.0).lineTo(0.37894736842105264, 0.75).lineTo(0.0, 0.0).close() solid1=wp_sketch1.add(loop1).extrude(0.5625, both=True) solid=solid.union(solid1)
1,186
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
false