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 |
|---|---|---|---|---|---|
0001/00010628
|
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.015789473684210527, 0.0).lineTo(0.015789473684210527, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0078125)
solid=solid0
| 875
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017147
|
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.7578947368421053).circle(0.4421052631578948)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.6015625)
solid=solid0
| 918
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017153
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.484375, 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.71875, 0.0).lineTo(0.71875, 0.12105263157894737).lineTo(0.5976973684210526, 0.12105263157894737).threePointArc((0.5546806908140423, 0.13856226976141062), (0.5371710526315789, 0.18157894736842106)).lineTo(0.5371710526315789, 0.4842105263157895).lineTo(0.18157894736842106, 0.4842105263157895).lineTo(0.18157894736842106, 0.18157894736842106).threePointArc((0.1640693091859578, 0.13856226976141062), (0.12105263157894737, 0.12105263157894737)).lineTo(0.0, 0.12105263157894737).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.359375)
solid=solid0
| 1,300
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00012995
|
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, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.1, 0.0).lineTo(0.6000000000000001, 0.5).lineTo(1.0875000000000001, 0.0).lineTo(1.1875, 0.0).lineTo(1.1875, 0.1625).lineTo(0.6000000000000001, 0.75).lineTo(0.0, 0.1625).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.296875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.421875, 0.2421875, 0.296875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.044407894736842105, -0.044407894736842105).lineTo(0.4263157894736842, 0.3375).lineTo(0.7993421052631579, -0.044407894736842105).lineTo(0.84375, 0.0).lineTo(0.4263157894736842, 0.4263157894736842).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(-0.1953125)
solid=solid.cut(solid1)
| 1,295
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00015778
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2578125, -0.4296875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.11866776315789475, 0.0).lineTo(0.11866776315789475, 0.17343750000000002).lineTo(0.2555921052631579, 0.17343750000000002).lineTo(0.2555921052631579, 0.22820723684210528).threePointArc((0.05020559210526316, 0.43359375000000006), (0.2555921052631579, 0.6389802631578948)).lineTo(0.2555921052631579, 0.6937500000000001).lineTo(0.11866776315789475, 0.6937500000000001).lineTo(0.11866776315789475, 0.8671875000000001).lineTo(0.0, 0.8671875000000001).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.2578125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.0, 0.0).threePointArc((0.2578125, 0.2578125), (0.0, 0.515625)).lineTo(0.0, 0.455921052631579).threePointArc((0.19810855263157895, 0.2578125), (0.0, 0.05970394736842106)).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.75)
solid=solid.union(solid1)
| 1,504
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00010833
|
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.12631578947368421, -0.3631578947368421).circle(0.015789473684210527)
loop2=wp_sketch0.moveTo(0.7578947368421053, 0.7105263157894737).circle(0.015789473684210527)
loop3=wp_sketch0.moveTo(1.3736842105263158, -0.3631578947368421).circle(0.015789473684210527)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).extrude(0.0234375)
solid=solid0
| 1,078
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00019195
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, -0.125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.0234375, 0.0).lineTo(0.0234375, 0.0234375).threePointArc((0.01657281518405971, 0.006864684815940285), (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.0234375, 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.0234375, 0.0).threePointArc((0.006864684815940285, 0.006864684815940292), (0.0, 0.0234375)).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.171875)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.7265625, 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.0234375, 0.0).lineTo(0.0234375, 0.0234375).threePointArc((0.01657281518405971, 0.006864684815940285), (0.0, 0.0)).close()
solid2=wp_sketch2.add(loop2).extrude(0.171875)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.703125, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop3=wp_sketch3.moveTo(0.0234375, 0.0).threePointArc((0.006864684815940285, 0.006864684815940292), (0.0, 0.0234375)).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop3).extrude(0.171875)
solid=solid.union(solid3)
| 1,907
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00014658
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0546875, -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.0, 0.0).threePointArc((0.0001784289815840866, -0.0029261986756566097), (0.0013980263157894737, -0.005592105263157895)).threePointArc((0.01474546264491492, -0.014990850319759958), (0.03075657894736842, -0.01817434210526316)).lineTo(0.03075657894736842, 0.09506578947368421).lineTo(0.07689144736842106, 0.09506578947368421).lineTo(0.07689144736842106, -0.01817434210526316).threePointArc((0.09290256367087456, -0.014990850319759958), (0.10625, -0.005592105263157895)).threePointArc((0.10746959733420539, -0.0029261986756566097), (0.10764802631578947, 0.0)).lineTo(0.10764802631578947, 0.09786184210526316).threePointArc((0.10703730518634723, 0.10297987854948269), (0.10485197368421052, 0.10764802631578947)).threePointArc((0.053824013157894736, 0.13333334315176495), (0.0027960526315789474, 0.10764802631578947)).threePointArc((0.0006107211294422418, 0.10297987854948269), (0.0, 0.09786184210526316)).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 1,584
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017379
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.25, 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.25263157894736843, 0.0).circle(0.25263157894736843)
solid0=wp_sketch0.add(loop0).extrude(0.375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.375, 0.1015625, -0.0859375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.05131578947368422, 0.0).circle(0.05131578947368422)
solid1=wp_sketch1.add(loop1).extrude(0.375)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.375, -0.203125, -0.0859375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop2=wp_sketch2.moveTo(0.05131578947368422, 0.0).circle(0.05131578947368422)
solid2=wp_sketch2.add(loop2).extrude(0.375)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.375, 0.0, 0.125), 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.05131578947368422).lineTo(0.05131578947368422, 0.05131578947368422).threePointArc((-0.03628574271878335, 0.08760153219246757), (0.0, 0.0)).close()
solid3=wp_sketch3.add(loop3).extrude(0.375)
solid=solid.union(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.375, 0.0, 0.125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop4=wp_sketch4.moveTo(0.0, 0.0).threePointArc((0.03314563036811942, 0.01372936963188057), (0.046875, 0.046875)).lineTo(0.0, 0.046875).lineTo(0.0, 0.0).close()
solid4=wp_sketch4.add(loop4).extrude(0.375)
solid=solid.union(solid4)
| 2,024
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00010402
|
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.13421052631578947).lineTo(0.45, 0.3394736842105263).lineTo(0.0, 0.2605263157894737).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(-0.1875)
solid=solid0
| 968
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00019340
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.703125, -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.025290944058727307, -0.061057740151799), (0.08634868421052631, -0.08634868421052631)).lineTo(1.2808388157894737, -0.08634868421052631).threePointArc((1.3418965559412726, -0.061057740151799), (1.3671875, 0.0)).lineTo(1.3671875, 0.34539473684210525).threePointArc((1.3418965559412726, 0.40645247699390424), (1.2808388157894737, 0.4317434210526316)).lineTo(0.08634868421052631, 0.4317434210526316).threePointArc((0.025290944058727307, 0.40645247699390424), (0.0, 0.34539473684210525)).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0703125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.296875, -0.2421875, 0.0703125), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.08750000000000001, 0.0).lineTo(0.08750000000000001, 0.42500000000000004).lineTo(0.50625, 0.42500000000000004).lineTo(0.50625, 0.0).lineTo(0.59375, 0.0).lineTo(0.59375, 0.50625).lineTo(0.0, 0.50625).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.6796875)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.453125, 0.0, 0.0703125), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.039473684210526314, 0.0).circle(0.03865131578947368)
solid2=wp_sketch2.add(loop2).extrude(-0.4296875)
solid=solid.cut(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.5234375, 0.0, 0.0703125), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch3.moveTo(0.039473684210526314, 0.0).circle(0.039473684210526314)
solid3=wp_sketch3.add(loop3).extrude(-0.4296875)
solid=solid.cut(solid3)
| 1,996
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00016073
|
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.5921052631578948, 0.0).lineTo(0.5921052631578948, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.625)
solid=solid0
| 867
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017386
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.109375, 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.10657894736842105, 0.0).circle(0.10657894736842105)
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.109375, 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.10657894736842105, 0.0).circle(0.10657894736842105)
solid0=wp_sketch0.add(loop0).extrude(-0.75)
solid=solid.union(solid0)
| 1,161
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00012598
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.015625, 0.0, 0.3984375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((-0.3893836156934751, -0.4025804231014827), (0.008388157894736842, -0.796875)).lineTo(0.008388157894736842, 0.0).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.6953125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = 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)))
loop1=wp_sketch1.moveTo(0.7465460526315789, 0.0).threePointArc((0.34877427904336683, 0.3942945768985172), (0.7381578947368421, 0.796875)).lineTo(0.0, 0.796875).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.6953125)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.015625, 0.0, 0.3984375), 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.40755139204692875, -0.39419163354632025), (0.008388157894736842, -0.796875)).lineTo(0.008388157894736842, 0.0).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.6953125)
solid=solid.union(solid2)
| 1,711
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00019396
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.734375, -0.5546875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.484375, 0.0).lineTo(1.484375, 0.921875).lineTo(0.0, 0.921875).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.4609375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.75, 0.3671875, 0.21875), cq.Vector(-1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, 1.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(1.484375, 0.0).lineTo(1.484375, 0.015625).lineTo(0.0, 0.015625).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(-0.015625)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.75, 0.3671875, 0.234375), cq.Vector(-1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, 1.0, 6.123233995736766e-17)))
loop2=wp_sketch2.moveTo(1.484375, 0.0).lineTo(1.484375, 0.015625).lineTo(0.0, 0.015625).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(-0.015625)
solid=solid.cut(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.734375, -0.5546875, 0.2265625), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop3=wp_sketch3.moveTo(0.9296874999999999, 0.0).lineTo(0.9296874999999999, 0.009786184210526315).lineTo(0.0, 0.009786184210526315).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop3).extrude(-0.015625)
solid=solid.cut(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.734375, -0.5546875, 0.234375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop4=wp_sketch4.moveTo(0.9296874999999999, 0.0).lineTo(0.9296874999999999, 0.009786184210526315).lineTo(0.0, 0.009786184210526315).lineTo(0.0, 0.0).close()
solid4=wp_sketch4.add(loop4).extrude(-0.015625)
solid=solid.cut(solid4)
# Generating a workplane for sketch 5
wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(0.75, -0.5546875, 0.21875), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop5=wp_sketch5.moveTo(0.9296874999999999, 0.0).lineTo(0.9296874999999999, 0.01957236842105263).lineTo(0.0, 0.01957236842105263).lineTo(0.0, 0.0).close()
solid5=wp_sketch5.add(loop5).extrude(-0.015625)
solid=solid.cut(solid5)
| 2,417
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017393
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.65625, 0.0, -0.0546875), 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.5684210526315789).lineTo(0.9355263157894738, 0.5684210526315789).lineTo(0.9355263157894738, 0.37894736842105264).lineTo(0.18947368421052632, 0.37894736842105264).lineTo(0.18947368421052632, 0.5684210526315789).lineTo(0.0, 0.5684210526315789).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 1,121
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00015584
|
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.3078947368421053).lineTo(0.0, 0.3078947368421053).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.37894736842105264, 0.15789473684210525).circle(0.039473684210526314)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.03125)
solid=solid0
| 1,022
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017387
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1875, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.18947368421052632, 0.0).circle(0.18947368421052632)
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1875, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.18947368421052632, 0.0).circle(0.18947368421052632)
solid0=wp_sketch0.add(loop0).extrude(-0.75)
solid=solid.union(solid0)
| 1,157
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00016099
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 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(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.0234375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.625, -0.0234375, -0.0234375), 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.453125, 0.0).lineTo(0.453125, 0.24325657894736843).lineTo(0.0, 0.24325657894736843).lineTo(0.0, 0.0).close()
loop2=wp_sketch1.moveTo(0.42450657894736843, 0.028618421052631578).lineTo(0.42450657894736843, 0.2194078947368421).lineTo(0.028618421052631578, 0.2194078947368421).lineTo(0.028618421052631578, 0.028618421052631578).close()
solid1=wp_sketch1.add(loop1).add(loop2).extrude(0.0078125)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.171875, -0.0234375, -0.0234375), 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.453125, 0.0).lineTo(0.453125, 0.24325657894736843).lineTo(0.0, 0.24325657894736843).lineTo(0.0, 0.0).close()
loop4=wp_sketch2.moveTo(0.42450657894736843, 0.028618421052631578).lineTo(0.42450657894736843, 0.2194078947368421).lineTo(0.028618421052631578, 0.2194078947368421).lineTo(0.028618421052631578, 0.028618421052631578).close()
solid2=wp_sketch2.add(loop3).add(loop4).extrude(0.0078125)
solid=solid.union(solid2)
| 1,976
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00010403
|
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.19736842105263158).lineTo(0.6868421052631579, 0.45).lineTo(0.0, 0.26842105263157895).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(-0.125)
solid=solid0
| 955
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017378
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.5, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 0.9947368421052631).lineTo(0.0, 0.9947368421052631).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.1015625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.4765625, 0.296875, 0.1015625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.07894736842105263, 0.0).circle(0.07894736842105263)
solid1=wp_sketch1.add(loop1).extrude(0.5)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.4765625, -0.296875, 0.1015625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.07894736842105263, 0.0).circle(0.07894736842105263)
solid2=wp_sketch2.add(loop2).extrude(0.5)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.3203125, 0.296875, 0.1015625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch3.moveTo(0.07894736842105263, 0.0).lineTo(0.07894736842105263, -0.07894736842105263).threePointArc((0.13477158798841163, 0.055824219567358994), (0.0, 0.0)).close()
solid3=wp_sketch3.add(loop3).extrude(0.5)
solid=solid.union(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.3203125, 0.296875, 0.1015625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop4=wp_sketch4.moveTo(0.0, 0.0).threePointArc((0.02288228271980095, -0.05524271728019903), (0.078125, -0.078125)).lineTo(0.078125, 0.0).lineTo(0.0, 0.0).close()
solid4=wp_sketch4.add(loop4).extrude(0.5)
solid=solid.union(solid4)
# Generating a workplane for sketch 5
wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(0.3203125, -0.296875, 0.1015625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop5=wp_sketch5.moveTo(0.0, 0.0).threePointArc((0.13477158798841163, -0.055824219567358994), (0.07894736842105263, 0.07894736842105263)).lineTo(0.07894736842105263, 0.0).lineTo(0.0, 0.0).close()
solid5=wp_sketch5.add(loop5).extrude(0.5)
solid=solid.union(solid5)
# Generating a workplane for sketch 6
wp_sketch6 = cq.Workplane(cq.Plane(cq.Vector(0.3203125, -0.296875, 0.1015625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop6=wp_sketch6.moveTo(0.078125, 0.0).lineTo(0.078125, 0.078125).threePointArc((0.022882282719800973, 0.05524271728019905), (0.0, 0.0)).close()
solid6=wp_sketch6.add(loop6).extrude(0.5)
solid=solid.union(solid6)
| 2,356
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00013678
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6328125, 0.0, -0.3203125), 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.3828125, 0.0).lineTo(1.3828125, 0.6259046052631579).lineTo(0.0, 0.6259046052631579).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.3515625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.4609375, -0.3515625, -0.046875), 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.04251644736842105, 0.0).circle(0.043421052631578944)
solid1=wp_sketch1.add(loop1).extrude(0.3515625)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.2578125, -0.3515625, -0.0625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop2=wp_sketch2.moveTo(0.043421052631578944, 0.0).circle(0.04251644736842105)
solid2=wp_sketch2.add(loop2).extrude(0.3515625)
solid=solid.union(solid2)
| 1,522
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00014895
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.375, 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.75, 0.0).lineTo(0.75, 0.4736842105263158).lineTo(0.0, 0.4736842105263158).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.53125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.375, -0.4375, -0.1953125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.3984375, 0.0).lineTo(0.3984375, 0.38585526315789476).lineTo(0.0, 0.38585526315789476).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(-0.65625)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.5859375, 0.21875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.4585526315789474, 0.0).lineTo(0.4585526315789474, 0.53125).lineTo(0.0, 0.53125).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.265625)
solid=solid.union(solid2)
| 1,482
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00015786
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.75, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.375)
solid=solid0
| 839
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00010198
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.4765625, -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.53125, 0.0).lineTo(0.53125, 0.27960526315789475).lineTo(0.0, 0.27960526315789475).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.375)
solid=solid0
| 881
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00012957
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1796875, -0.1796875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.3515625, 0.0).lineTo(0.3515625, 0.3515625).lineTo(0.0, 0.3515625).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 869
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017185
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.2578125, -0.125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.12631578947368421, 0.0).lineTo(0.12631578947368421, 0.12631578947368421).lineTo(0.3736842105263158, 0.12631578947368421).lineTo(0.3736842105263158, 0.0).lineTo(0.5, 0.0).lineTo(0.5, 0.3736842105263158).lineTo(0.0, 0.3736842105263158).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 1,067
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00015792
|
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)
loop1=wp_sketch0.moveTo(0.12631578947368421, 0.0).circle(0.08947368421052632)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75)
solid=solid0
| 900
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00013308
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.65625, -0.5546875, 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.02586902278006965, -0.06245334564098299), (0.08832236842105264, -0.08832236842105264)).lineTo(1.3101151315789474, -0.08832236842105264).threePointArc((1.3725684772199305, -0.06245334564098299), (1.3984375, 0.0)).lineTo(1.3984375, 1.2070723684210527).threePointArc((1.3756171707916733, 1.2768859114304567), (1.3101151315789474, 1.3101151315789474)).lineTo(0.08832236842105264, 1.3101151315789474).threePointArc((0.0228203292083268, 1.2768859114304567), (0.0, 1.2070723684210527)).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.7065789473684211, 0.6035361842105263).circle(0.19136513157894738)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.078125)
solid=solid0
| 1,323
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00011279
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = 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)))
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.015625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.6875, 0.15625, 0.0), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042)))
loop1=wp_sketch1.moveTo(0.06743421052631579, 0.0).lineTo(0.06743421052631579, 0.3203125).lineTo(0.0, 0.3203125).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.03125)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.6171875, 0.15625, 0.0), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042)))
loop2=wp_sketch2.moveTo(0.06743421052631579, 0.0).lineTo(0.06743421052631579, 0.3203125).lineTo(0.0, 0.3203125).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.03125)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.03125, 0.15625, 0.0), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042)))
loop3=wp_sketch3.moveTo(0.06743421052631579, 0.0).lineTo(0.06743421052631579, 0.3203125).lineTo(0.0, 0.3203125).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop3).extrude(0.03125)
solid=solid.union(solid3)
| 1,838
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017152
|
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.7578947368421053).circle(0.4421052631578948)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.6015625)
solid=solid0
| 918
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00015745
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0078125, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.011842105263157895, 0.0).circle(0.011842105263157895)
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 841
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00015023
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.7265625, -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.4296875, 0.0).threePointArc((0.4153514937748889, 0.09272203947368421), (0.4296875, 0.18544407894736842)).lineTo(0.0, 0.18544407894736842).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.0, -0.296875, 0.09375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.08634868421052631, 0.0).threePointArc((0.29296875, 0.13262385491792336), (0.4995888157894737, 0.0)).lineTo(0.5859375, 0.0).threePointArc((0.29296875, 0.21450660740532537), (0.0, 0.0)).close()
solid1=wp_sketch1.add(loop1).extrude(0.75, both=True)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.296875, -0.09375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop2=wp_sketch2.moveTo(0.5888980263157895, 0.0).threePointArc((0.6035836912293179, 0.09498355263157894), (0.5888980263157895, 0.18996710526315788)).lineTo(0.5002467105263158, 0.18996710526315788).lineTo(0.08865131578947368, 0.18996710526315788).lineTo(0.0, 0.18996710526315788).threePointArc((-0.014685664913528466, 0.09498355263157894), (0.0, 0.0)).close()
solid2=wp_sketch2.add(loop2).extrude(0.75, both=True)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.296875, -0.09375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop3=wp_sketch3.moveTo(0.4296875, 0.0).lineTo(0.4296875, 0.18544407894736842).lineTo(0.0, 0.18544407894736842).threePointArc((0.014336006225111126, 0.09272203947368421), (0.0, 0.0)).close()
solid3=wp_sketch3.add(loop3).extrude(0.75, both=True)
solid=solid.union(solid3)
| 2,178
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00018513
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1796875, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.18157894736842106, 0.0).circle(0.18157894736842106)
solid0=wp_sketch0.add(loop0).extrude(-0.75, both=True)
solid=solid0
| 915
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00015037
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2734375, 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.2763157894736842, 0.0).circle(0.2763157894736842)
loop1=wp_sketch0.moveTo(0.2763157894736842, 0.0).circle(0.1957236842105263)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.671875)
solid=solid0
| 904
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00015751
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.28125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.65625, 0.0).lineTo(0.65625, 0.2832236842105263).lineTo(0.0, 0.2832236842105263).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 875
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017146
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.75), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(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.0, -0.5, -0.75), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.5, 0.0).lineTo(0.5, 0.5).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.75)
solid=solid.union(solid1)
| 1,139
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00010629
|
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(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.02368421052631579).lineTo(0.0, 0.02368421052631579).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0078125)
solid=solid0
| 878
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00015816
|
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)
loop1=wp_sketch0.moveTo(0.039473684210526314, 0.0).circle(0.02796052631578947)
solid0=wp_sketch0.add(loop0).add(loop1).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
|
|
0001/00019976
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1015625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.10657894736842105, 0.0).circle(0.10657894736842105)
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 839
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00015180
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.578125, -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.578125, -0.5436971259328045), (1.15625, 0.0)).threePointArc((1.1458193794698426, 0.026082537364579758), (1.1197368421052631, 0.036513157894736845)).lineTo(0.9980263157894737, 0.036513157894736845).threePointArc((0.8947515095898594, 0.07929098327406989), (0.8519736842105263, 0.1825657894736842)).lineTo(0.8519736842105263, 0.34078947368421053).threePointArc((0.8412792278656929, 0.36660817523411393), (0.8154605263157895, 0.37730263157894733)).lineTo(0.34078947368421053, 0.37730263157894733).threePointArc((0.31497077213430713, 0.36660817523411393), (0.3042763157894737, 0.34078947368421053)).lineTo(0.3042763157894737, 0.1825657894736842).threePointArc((0.2614984904101406, 0.07929098327406989), (0.15822368421052632, 0.036513157894736845)).lineTo(0.036513157894736845, 0.036513157894736845).threePointArc((0.010430620530157083, 0.02608253736457941), (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.203125, 0.171875, 0.0546875), 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.203125, 0.0).lineTo(0.203125, 0.14325657894736843).lineTo(0.0, 0.14325657894736843).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(-0.4609375)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.171875, 0.0546875), 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.203125, 0.0).lineTo(0.203125, 0.14325657894736843).lineTo(0.0, 0.14325657894736843).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(-0.4609375)
solid=solid.cut(solid2)
| 2,200
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00010775
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.3828125, -0.453125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.37187499999999996, 0.0).lineTo(0.37187499999999996, 0.35).lineTo(0.0, 0.35).threePointArc((-0.7981101650494449, 0.4484375), (0.0, 0.546875)).lineTo(0.37187499999999996, 0.546875).lineTo(0.37187499999999996, 0.896875).lineTo(0.0, 0.896875).threePointArc((-0.9633915885240714, 0.4484375), (0.0, 0.0)).close()
solid0=wp_sketch0.add(loop0).extrude(0.4921875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.453125, -0.453125, 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.09078947368421053, 0.0).circle(0.09078947368421053)
solid1=wp_sketch1.add(loop1).extrude(-1.0, both=True)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.453125, -0.453125, 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.09078947368421053, 0.0).circle(0.09078947368421053)
solid2=wp_sketch2.add(loop2).extrude(-0.390625, both=True)
solid=solid.cut(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.421875, -0.453125, 0.2421875), 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.12236842105263158, 0.0).circle(0.12236842105263158)
loop4=wp_sketch3.moveTo(0.12236842105263158, 0.0).circle(0.08667763157894737)
solid3=wp_sketch3.add(loop3).add(loop4).extrude(-0.390625, both=True)
solid=solid.cut(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.421875, -0.453125, 0.2421875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop5=wp_sketch4.moveTo(0.12236842105263158, 0.0).circle(0.12236842105263158)
solid4=wp_sketch4.add(loop5).extrude(-0.1484375, both=True)
solid=solid.cut(solid4)
# Generating a workplane for sketch 5
wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(0.3828125, -0.453125, 0.09375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop6=wp_sketch5.moveTo(0.0, 0.3046875).threePointArc((-0.06092351461744898, 0.15234374999999992), (0.0, 0.0)).close()
solid5=wp_sketch5.add(loop6).extrude(-0.1484375, both=True)
solid=solid.cut(solid5)
# Generating a workplane for sketch 6
wp_sketch6 = cq.Workplane(cq.Plane(cq.Vector(0.75, -0.453125, 0.171875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop7=wp_sketch6.moveTo(0.0, 0.0).threePointArc((0.011756421565274209, 0.0703125), (0.0, 0.140625)).lineTo(0.0, 0.0).close()
solid6=wp_sketch6.add(loop7).extrude(-0.1484375, both=True)
solid=solid.cut(solid6)
# Generating a workplane for sketch 7
wp_sketch7 = cq.Workplane(cq.Plane(cq.Vector(0.3828125, -0.453125, 0.09375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop8=wp_sketch7.moveTo(0.0, 0.0).threePointArc((0.20867118732226375, -0.06215348510667436), (0.37105263157894736, 0.08289473684210527)).lineTo(0.37105263157894736, 0.225).threePointArc((0.20867118732226375, 0.3700482219487797), (0.0, 0.3078947368421053)).lineTo(0.0, 0.0).close()
loop9=wp_sketch7.moveTo(0.15789473684210525, 0.15394736842105264).circle(0.12236842105263158)
solid7=wp_sketch7.add(loop8).add(loop9).extrude(-0.1484375, both=True)
solid=solid.cut(solid7)
| 3,375
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00019023
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1796875, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.18157894736842106, 0.0).circle(0.18157894736842106)
solid0=wp_sketch0.add(loop0).extrude(-0.75, both=True)
solid=solid0
| 915
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00019590
|
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.09835526315789474, 0.0).lineTo(0.09835526315789474, 0.08873355263157895).lineTo(0.016036184210526317, 0.1015625).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.75), cq.Vector(0.14673047445536175, 0.989176509964781, -6.123233995736766e-17), cq.Vector(0.989176509964781, -0.14673047445536175, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.035526315789473684, -0.375).lineTo(0.06710526315789474, 0.0).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.0625)
solid=solid.union(solid1)
| 1,216
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00019584
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.71875, -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.011307691440558003, -0.004317057257273143), (0.022944078947368423, -0.007648026315789474)).threePointArc((0.030404243543233435, -0.011847762913532914), (0.03824013157894737, -0.015296052631578948)).threePointArc((0.3743307492394096, -0.039162605643988824), (0.711266447368421, -0.03824013157894737)).threePointArc((0.7256923373544614, 0.05693612229529513), (0.7189144736842106, 0.1529605263157895)).lineTo(0.1759046052631579, 0.1529605263157895).threePointArc((0.06005669931480152, 0.10856020697218868), (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.734375, -0.1953125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.734375, 0.0).lineTo(0.734375, 0.19325657894736842).lineTo(0.0, 0.19325657894736842).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.015625, both=True)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.2109375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.75, 0.0).lineTo(0.75, 0.015789473684210527).lineTo(0.015789473684210527, 0.015789473684210527).lineTo(0.015789473684210527, 0.2131578947368421).lineTo(0.75, 0.2131578947368421).lineTo(0.75, 0.22894736842105265).lineTo(0.0, 0.22894736842105265).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.015625, both=True)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.734375, -0.1953125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch3.moveTo(0.734375, 0.0).lineTo(0.734375, 0.19325657894736842).lineTo(0.0, 0.19325657894736842).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop3).extrude(-0.0078125, both=True)
solid=solid.cut(solid3)
| 2,143
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00013095
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 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.25, 0.0).lineTo(0.25, 0.20526315789473684).lineTo(0.0, 0.20526315789473684).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.6875, 0.4765625, 0.0), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042)))
loop1=wp_sketch1.moveTo(0.125, 0.0).lineTo(0.125, 0.125).lineTo(0.0, 0.125).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.203125)
solid=solid.union(solid1)
| 1,159
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00014922
|
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.18947368421052632).lineTo(0.0, 0.18947368421052632).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.14210526315789473, 0.09473684210526316).circle(0.02368421052631579)
loop2=wp_sketch0.moveTo(0.37894736842105264, 0.09473684210526316).circle(0.031578947368421054)
loop3=wp_sketch0.moveTo(0.6078947368421053, 0.09473684210526316).circle(0.02368421052631579)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).extrude(0.125)
solid=solid0
| 1,111
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00014063
|
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, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.5052631578947369, 0.0).circle(0.5052631578947369)
loop1=wp_sketch0.moveTo(0.5052631578947369, 0.0).circle(0.18947368421052632)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.25)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.3515625, -0.25, 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.35526315789473684, 0.0).circle(0.35526315789473684)
loop3=wp_sketch1.moveTo(0.35526315789473684, 0.0).circle(0.1850328947368421)
solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.5)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.1875, -0.75, 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.18947368421052632, 0.0).circle(0.18947368421052632)
solid2=wp_sketch2.add(loop4).extrude(-0.25)
solid=solid.cut(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.25, -0.75, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop5=wp_sketch3.moveTo(0.25263157894736843, 0.0).circle(0.25263157894736843)
loop6=wp_sketch3.moveTo(0.25263157894736843, 0.0).circle(0.18947368421052632)
solid3=wp_sketch3.add(loop5).add(loop6).extrude(-0.25)
solid=solid.cut(solid3)
| 1,879
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00012348
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.4140625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.8359375, 0.0).lineTo(0.8359375, 0.5015625).lineTo(0.0, 0.5015625).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.08799342105263158, 0.42236842105263156).circle(0.017598684210526315)
loop2=wp_sketch0.moveTo(0.44876644736842103, 0.3959703947368421).circle(0.017598684210526315)
loop3=wp_sketch0.moveTo(0.5367598684210526, 0.3695723684210526).circle(0.026398026315789472)
loop4=wp_sketch0.moveTo(0.615953947368421, 0.3519736842105263).circle(0.017598684210526315)
loop5=wp_sketch0.moveTo(0.7567434210526316, 0.42236842105263156).circle(0.017598684210526315)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).add(loop5).extrude(0.0390625)
solid=solid0
| 1,272
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00015341
|
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.27631578947368424).lineTo(0.7026315789473685, 0.27631578947368424).threePointArc((0.6244776715530659, 0.2439433810785131), (0.5921052631578948, 0.16578947368421054)).lineTo(0.5921052631578948, 0.15789473684210525).lineTo(0.15789473684210525, 0.15789473684210525).threePointArc((0.12552232844693417, 0.23604864423640784), (0.04736842105263158, 0.26842105263157895)).lineTo(0.0, 0.26842105263157895).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.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)))
loop1=wp_sketch1.moveTo(0.15625, 0.0).lineTo(0.15625, 0.1332236842105263).lineTo(0.05427631578947368, 0.1332236842105263).threePointArc((0.015897164836914376, 0.11732651937361194), (0.0, 0.07894736842105263)).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(-0.0703125)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop2=wp_sketch2.moveTo(0.15625, 0.0).lineTo(0.15625, 0.07894736842105263).threePointArc((0.1403528351630856, 0.11732651937361194), (0.10197368421052631, 0.1332236842105263)).lineTo(0.0, 0.1332236842105263).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(-0.0703125)
solid=solid.union(solid2)
| 1,955
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017556
|
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
|
|
0001/00010549
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.65625, -0.59375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.34375, 0.0).lineTo(1.34375, 1.34375).lineTo(0.0, 1.34375).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.671875)
solid=solid0
| 861
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00015357
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.03125, 0.0, -0.0234375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.39078947368421046, 0.0).lineTo(0.39078947368421046, 0.7734374999999999).lineTo(0.0, 0.7734374999999999).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.015625)
solid=solid0
| 981
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00018673
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 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.09473684210526316, 0.0).lineTo(0.09473684210526316, -0.04736842105263158).lineTo(0.75, -0.04736842105263158).lineTo(0.75, 0.04736842105263158).lineTo(0.0, 0.04736842105263158).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.6473684210526316, 0.007894736842105263).circle(0.02368421052631579)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.046875, both=True)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch1.moveTo(0.019736842105263157, 0.0).threePointArc((0.046875, 0.02747325352380907), (0.07401315789473685, 0.0)).lineTo(0.09375, 0.0).lineTo(0.09375, 0.04736842105263158).lineTo(0.0, 0.04736842105263158).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop2).extrude(0.0859375, both=True)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.046875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch2.moveTo(0.09375, 0.0).lineTo(0.09375, 0.04638157894736842).lineTo(0.07401315789473685, 0.04638157894736842).threePointArc((0.046875, 0.019574429467187102), (0.019736842105263157, 0.04638157894736842)).lineTo(0.0, 0.04638157894736842).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop3).extrude(0.0859375, both=True)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.6796875, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop4=wp_sketch3.moveTo(0.011842105263157895, 0.0).circle(0.011595394736842105)
solid3=wp_sketch3.add(loop4).extrude(-0.4453125)
solid=solid.cut(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = 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)))
loop5=wp_sketch4.moveTo(0.011842105263157895, 0.0).circle(0.011842105263157895)
solid4=wp_sketch4.add(loop5).extrude(-0.4453125)
solid=solid.cut(solid4)
| 2,275
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00018667
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.375, -0.375), (0.75, 0.0)).lineTo(0.75, 0.37894736842105264).lineTo(0.0, 0.37894736842105264).lineTo(0.0, 0.2210526315789474).lineTo(0.6, 0.2210526315789474).lineTo(0.6, 0.0).threePointArc((0.375, -0.225), (0.15, 0.0)).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 1,065
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00015380
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2265625, 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.22894736842105262, 0.0).circle(0.22894736842105262)
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 839
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017597
|
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
|
|
0001/00019586
|
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).circle(0.06710526315789474)
loop1=wp_sketch0.moveTo(0.06710526315789474, 0.0).circle(0.04753289473684211)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75)
solid=solid0
| 901
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00012148
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.109375, 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.11052631578947367, 0.0).circle(0.11052631578947367)
loop1=wp_sketch0.moveTo(0.11052631578947367, 0.0).circle(0.08059210526315788)
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
|
|
0001/00016448
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.375, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.37894736842105264, 0.0).circle(0.37894736842105264)
loop1=wp_sketch0.moveTo(0.37894736842105264, 0.0).circle(0.25263157894736843)
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.046875, 0.28125, 0.75), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch1.moveTo(0.1015625, 0.0).lineTo(0.05131578947368422, 0.08766447368421053).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop2).extrude(-0.046875)
solid=solid.cut(solid1)
| 1,125
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017018
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.15625, 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.15789473684210525, 0.0).circle(0.15789473684210525)
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.0625, 0.0, 0.265625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.06315789473684211, 0.0).circle(0.06315789473684211)
solid1=wp_sketch1.add(loop1).extrude(0.484375)
solid=solid.union(solid1)
| 1,038
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00015182
|
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.20526315789473687, 0.0).circle(0.20098684210526316)
solid0=wp_sketch0.add(loop0).extrude(0.328125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.34375, 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.20526315789473687, 0.0).circle(0.20098684210526316)
solid1=wp_sketch1.add(loop1).extrude(0.328125)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.40625, 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.40625, -0.2736842105263158).lineTo(0.40625, -0.21381578947368424).lineTo(0.09835526315789474, 0.07697368421052632).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.328125)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, -0.71875), 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.40625, 0.2736842105263158).lineTo(0.3078947368421053, 0.3506578947368421).lineTo(0.0, 0.0555921052631579).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop3).extrude(0.328125)
solid=solid.union(solid3)
| 1,846
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00019784
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.3515625, 0.140625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.609375, 0.0).lineTo(0.609375, 0.609375).lineTo(0.0, 0.609375).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.2950657894736842, 0.3143092105263158).circle(0.21167763157894737)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.2421875)
solid=solid0
| 948
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00010159
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5390625, -0.5234375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.5361842105263158, -0.2259590992500635), (1.0723684210526316, 0.0)).lineTo(1.0723684210526316, 1.0455592105263158).threePointArc((0.5361842105263158, 1.2715183097763794), (0.0, 1.0455592105263158)).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.5361842105263158, 0.5227796052631579).circle(0.33511513157894735)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0546875)
solid=solid0
| 1,085
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00013450
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.7265625, -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.0, 0.0).threePointArc((0.0073223304703361695, -0.017677669529663653), (0.025, -0.025)).lineTo(1.1625, -0.025).threePointArc((1.180177669529664, -0.017677669529663653), (1.1875, 0.0)).lineTo(1.1875, 0.5750000000000001).threePointArc((1.1827665042944955, 0.5989276695296638), (1.1625, 0.6125)).lineTo(0.025, 0.6125).threePointArc((0.0047334957055046095, 0.5989276695296638), (0.0, 0.5750000000000001)).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.75, 0.0625, 0.046875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.023026315789473683, 0.0).lineTo(0.023026315789473683, 0.21874999999999997).lineTo(0.0, 0.21874999999999997).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.0859375)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.7265625, 0.0625, 0.046875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.1888157894736842, 0.0).lineTo(0.1888157894736842, 0.21874999999999997).lineTo(0.0, 0.21874999999999997).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.0859375)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.5390625, 0.3125, 0.046875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch3.moveTo(0.21874999999999997, 0.0).lineTo(0.21874999999999997, 0.18421052631578946).lineTo(0.0, 0.18421052631578946).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop3).extrude(0.140625)
solid=solid.union(solid3)
| 1,940
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00012028
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.3515625, 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.631578947368421).lineTo(0.0, 0.631578947368421).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.14210526315789473, 0.2210526315789474).circle(0.015789473684210527)
loop2=wp_sketch0.moveTo(0.15789473684210525, 0.5210526315789474).circle(0.015789473684210527)
loop3=wp_sketch0.moveTo(1.2947368421052632, 0.5210526315789474).circle(0.015789473684210527)
loop4=wp_sketch0.moveTo(1.3421052631578947, 0.2210526315789474).circle(0.015789473684210527)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).extrude(0.015625)
solid=solid0
| 1,194
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017150
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.4296875, 0.0, -0.1015625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.12631578947368421).lineTo(0.25263157894736843, 0.29210526315789476).lineTo(0.25263157894736843, 0.37894736842105264).lineTo(0.0, 0.37894736842105264).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 1,039
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00011535
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5546875, -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.08832236842105264, 0.0).lineTo(0.08832236842105264, 0.8979440789473685).lineTo(0.3238486842105263, 1.0157072368421054).threePointArc((0.552014802631579, 1.3233536338790217), (0.7801809210526316, 1.0157072368421054)).lineTo(1.0157072368421054, 0.8979440789473685).lineTo(1.0157072368421054, 0.0).lineTo(1.104029605263158, 0.0).lineTo(1.104029605263158, 0.9421052631578948).lineTo(0.7801809210526316, 1.2953947368421053).threePointArc((0.552014802631579, 1.3982135055343365), (0.3238486842105263, 1.2953947368421053)).lineTo(0.0, 0.9421052631578948).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.71875)
solid=solid0
| 1,291
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017144
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.3125, 0.0, -0.3828125), 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.015625, 0.0).lineTo(1.015625, 0.16036184210526316).lineTo(0.2138157894736842, 0.16036184210526316).lineTo(0.2138157894736842, 0.3741776315789474).lineTo(0.0, 0.3741776315789474).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 1,040
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00013322
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.0703125, -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.140625, 0.0).lineTo(0.140625, 0.06069078947368421).lineTo(0.0, 0.06069078947368421).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
|
|
0001/00015035
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.28125, -0.46875), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.5644736842105263, 0.0).threePointArc((1.0366776315789474, 0.4722039473684211), (0.5644736842105263, 0.9444078947368422)).lineTo(0.0, 0.9444078947368422).threePointArc((-0.4722039473684211, 0.4722039473684211), (0.0, 0.0)).close()
loop1=wp_sketch0.moveTo(0.5644736842105263, 0.04342105263157895).threePointArc((0.9932565789473685, 0.4722039473684211), (0.5644736842105263, 0.9009868421052633)).lineTo(0.0, 0.9009868421052633).threePointArc((-0.4287828947368421, 0.4722039473684211), (0.0, 0.04342105263157895)).close()
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.109375)
solid=solid0
| 1,286
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00018539
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.2421875, 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.1450657894736842, -0.3108552631578947).lineTo(0.4559210526315789, -0.4559210526315789).lineTo(0.7875, -0.3626644736842105).lineTo(0.9843749999999999, -0.0725328947368421).lineTo(0.9532894736842105, 0.26940789473684207).lineTo(0.7046052631578947, 0.5077302631578947).lineTo(0.3626644736842105, 0.528453947368421).lineTo(0.08289473684210526, 0.33157894736842103).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.6953125)
solid=solid0
| 1,192
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00010603
|
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.5052631578947369, 0.0).circle(0.031578947368421054)
loop2=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.18947368421052632)
loop3=wp_sketch0.moveTo(0.7578947368421053, -0.2368421052631579).circle(0.031578947368421054)
loop4=wp_sketch0.moveTo(0.7578947368421053, 0.2368421052631579).circle(0.031578947368421054)
loop5=wp_sketch0.moveTo(0.9947368421052631, 0.0).circle(0.031578947368421054)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).add(loop5).extrude(0.0546875)
solid=solid0
| 1,191
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00012014
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.5, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 0.9947368421052631).lineTo(0.0, 0.9947368421052631).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(1.436842105263158, 0.06315789473684211).lineTo(1.436842105263158, 0.9473684210526316).lineTo(0.06315789473684211, 0.9473684210526316).lineTo(0.06315789473684211, 0.06315789473684211).close()
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.25)
solid=solid0
| 1,051
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00019800
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.53125, 0.0, 0.5546875), 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.20131578947368423, 0.0).circle(0.20131578947368423)
solid0=wp_sketch0.add(loop0).extrude(0.6015625)
solid=solid0
| 920
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00015784
|
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.37894736842105264, 0.0).lineTo(0.37894736842105264, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.3315789473684211, 0.6710526315789473).circle(0.007894736842105263)
loop2=wp_sketch0.moveTo(0.3315789473684211, 0.7342105263157895).circle(0.007894736842105263)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.1875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0078125, -0.75, 0.09375), 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.007894736842105263, 0.0).lineTo(0.015625, 0.0).threePointArc((0.0078125, 0.0078125), (0.0, 0.0)).close()
solid1=wp_sketch1.add(loop3).extrude(-0.09375)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0078125, -0.75, 0.09375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop4=wp_sketch2.moveTo(0.0, 0.0).threePointArc((0.0078125, -0.0078125), (0.015625, 0.0)).lineTo(0.007894736842105263, 0.0).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop4).extrude(-0.09375)
solid=solid.cut(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.3515625, -0.75, 0.09375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop5=wp_sketch3.moveTo(0.007894736842105263, 0.0).lineTo(0.015625, 0.0).threePointArc((0.0078125, 0.0078125), (0.0, 0.0)).close()
solid3=wp_sketch3.add(loop5).extrude(-0.09375)
solid=solid.cut(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.3515625, -0.75, 0.09375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop6=wp_sketch4.moveTo(0.0, 0.0).threePointArc((0.0078125, -0.0078125), (0.015625, 0.0)).lineTo(0.007894736842105263, 0.0).lineTo(0.0, 0.0).close()
solid4=wp_sketch4.add(loop6).extrude(-0.09375)
solid=solid.cut(solid4)
# Generating a workplane for sketch 5
wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(0.375, -0.0234375, 0.171875), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop7=wp_sketch5.moveTo(0.007894736842105263, 0.0).circle(0.007730263157894737)
solid5=wp_sketch5.add(loop7).extrude(-0.09375)
solid=solid.cut(solid5)
# Generating a workplane for sketch 6
wp_sketch6 = cq.Workplane(cq.Plane(cq.Vector(0.375, -0.1171875, 0.171875), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop8=wp_sketch6.moveTo(0.007894736842105263, 0.0).circle(0.007730263157894737)
solid6=wp_sketch6.add(loop8).extrude(-0.09375)
solid=solid.cut(solid6)
| 2,788
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00016299
|
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.0078125)
solid=solid0
| 837
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00013487
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.640625, 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.6473684210526316, 0.0).circle(0.6473684210526316)
loop1=wp_sketch0.moveTo(0.6473684210526316, 0.0).circle(0.6069078947368421)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.6953125)
solid=solid0
| 904
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00019419
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1015625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.10657894736842105, 0.0).circle(0.10657894736842105)
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 839
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00015237
|
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.6484375, 0.0).lineTo(0.6484375, 0.6484375).lineTo(0.0, 0.6484375).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.0859375, -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.17171052631578948, 0.0).lineTo(0.17171052631578948, 0.453125).lineTo(0.0, 0.453125).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.75)
solid=solid.union(solid1)
| 1,108
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00015551
|
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)
loop1=wp_sketch0.moveTo(0.031578947368421054, 0.0).circle(0.026973684210526316)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75)
solid=solid0
| 978
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00010401
|
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.45, 0.0).lineTo(0.45, 0.1125).lineTo(0.1125, 0.1125).lineTo(0.1125, 0.5625).lineTo(0.0, 0.5625).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(-0.75)
solid=solid0
| 949
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017391
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.65625, 0.0, 0.15625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.890625, 0.0).lineTo(0.890625, 0.15).lineTo(0.740625, 0.15).threePointArc((0.687591991411009, 0.17196699141100905), (0.665625, 0.22499999999999998)).lineTo(0.665625, 0.590625).lineTo(0.22499999999999998, 0.590625).lineTo(0.22499999999999998, 0.22499999999999998).threePointArc((0.20303300858899095, 0.17196699141100905), (0.15, 0.15)).lineTo(0.0, 0.15).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.44999999999999996, 0.375).circle(0.140625)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.4453125)
solid=solid0
| 1,236
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00010398
|
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.15).lineTo(0.18947368421052632, 0.37894736842105264).lineTo(0.0, 0.37894736842105264).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(-0.375)
solid=solid0
| 969
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017385
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.203125, 0.546875), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.1368421052631579, 0.0).threePointArc((0.203125, 0.06628289473684211), (0.2694078947368421, 0.0)).lineTo(0.40625, 0.0).threePointArc((0.203125, 0.203125), (0.0, 0.0)).close()
solid0=wp_sketch0.add(loop0).extrude(0.1328125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.203125, 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.0, 0.0).threePointArc((0.20435855263157893, -0.20435855263157893), (0.40871710526315785, 0.0)).lineTo(0.40871710526315785, 0.546875).lineTo(0.2763157894736842, 0.546875).threePointArc((0.20723684210526314, 0.4777960526315789), (0.1381578947368421, 0.546875)).lineTo(0.0, 0.546875).lineTo(0.0, 0.0).close()
loop2=wp_sketch1.moveTo(0.20723684210526314, 0.0).circle(0.06907894736842105)
solid1=wp_sketch1.add(loop1).add(loop2).extrude(0.1328125)
solid=solid.union(solid1)
| 1,510
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00014855
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.25, -0.75), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.5052631578947369, 0.0).lineTo(0.5052631578947369, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.25263157894736843, 0.3).circle(0.09473684210526316)
loop2=wp_sketch0.moveTo(0.25263157894736843, 1.2).circle(0.09473684210526316)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.125)
solid=solid0
| 1,050
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017384
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.125, 0.625), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.08421052631578947, 0.0).threePointArc((0.125, 0.04078947368421053), (0.16578947368421051, 0.0)).lineTo(0.25, 0.0).threePointArc((0.125, 0.125), (0.0, 0.0)).close()
solid0=wp_sketch0.add(loop0).extrude(0.0859375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.125, 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.0, 0.0).threePointArc((0.125, -0.125), (0.25, 0.0)).lineTo(0.25, 0.625).lineTo(0.1644736842105263, 0.625).threePointArc((0.125, 0.5855263157894737), (0.08552631578947367, 0.625)).lineTo(0.0, 0.625).lineTo(0.0, 0.0).close()
loop2=wp_sketch1.moveTo(0.125, 0.0).circle(0.039473684210526314)
solid1=wp_sketch1.add(loop1).add(loop2).extrude(0.0859375)
solid=solid.union(solid1)
| 1,395
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017390
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6484375, -0.5859375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.3984375, 0.0).lineTo(1.3984375, 1.2806743421052633).lineTo(0.0, 1.2806743421052633).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.7065789473684211, 0.6476973684210526).circle(0.38273026315789477)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.515625)
solid=solid0
| 970
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00015587
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 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.0, 0.0).threePointArc((0.0031794329673828664, -0.007675830190511871), (0.010855263157894738, -0.010855263157894738)).lineTo(0.08289473684210527, -0.010855263157894738).threePointArc((0.09057056703261714, -0.007675830190511871), (0.09375, 0.0)).lineTo(0.09375, 0.07105263157894737).threePointArc((0.09077494872457754, 0.07922188282209082), (0.08289473684210527, 0.08289473684210527)).lineTo(0.010855263157894738, 0.08289473684210527).threePointArc((0.002975051275422452, 0.07922188282209082), (0.0, 0.07105263157894737)).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.08289473684210527, 0.0).lineTo(0.08289473684210527, 0.07105263157894737).lineTo(0.010855263157894738, 0.07105263157894737).lineTo(0.010855263157894738, 0.0).close()
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75)
solid=solid0
| 1,487
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00013690
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.65625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.6592105263157895, 0.0).circle(0.6592105263157895)
loop1=wp_sketch0.moveTo(0.6592105263157895, 0.0).circle(0.3845394736842105)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.1171875)
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)))
loop2=wp_sketch1.moveTo(0.7578947368421053, 0.0).circle(0.7578947368421053)
loop3=wp_sketch1.moveTo(0.7578947368421053, 0.0).circle(0.6473684210526316)
solid1=wp_sketch1.add(loop2).add(loop3).extrude(-0.078125)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.65625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop4=wp_sketch2.moveTo(0.6592105263157895, 0.0).circle(0.6592105263157895)
loop5=wp_sketch2.moveTo(0.6592105263157895, 0.0).circle(0.3845394736842105)
solid2=wp_sketch2.add(loop4).add(loop5).extrude(-0.078125)
solid=solid.union(solid2)
| 1,408
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00016930
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.03125, -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.06315789473684211, 0.031578947368421054).lineTo(0.06315789473684211, 1.5).lineTo(0.0, 1.468421052631579).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.1640625)
solid=solid0
| 906
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00010399
|
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.4263157894736842).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(-0.5390625)
solid=solid0
| 914
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00019430
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0078125, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.007894736842105263, 0.0).circle(0.007894736842105263)
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
|
|
0001/00010414
|
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.3473684210526316)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0625, both=True)
solid=solid0
| 901
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00010400
|
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.18947368421052632).lineTo(0.0, 0.41842105263157897).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(-0.234375)
solid=solid0
| 943
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00016717
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.375, -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.7578947368421053, 0.0).lineTo(0.7578947368421053, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(-0.1875)
solid=solid0
| 868
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00015550
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1015625, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.10657894736842105, 0.0).circle(0.10657894736842105)
solid0=wp_sketch0.add(loop0).extrude(0.734375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.046875, -0.734375, 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.04736842105263158, 0.0).circle(0.04736842105263158)
solid1=wp_sketch1.add(loop1).extrude(0.015625)
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
|
|
0001/00013653
|
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.6015625, 0.0).lineTo(0.6015625, 0.4115953947368421).lineTo(0.0, 0.4115953947368421).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 947
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00019197
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.2578125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.031578947368421054, 0.0).circle(0.030921052631578946)
loop1=wp_sketch0.moveTo(0.031578947368421054, 0.0).circle(0.02631578947368421)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.3828125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.6328125, 0.0, 0.25), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop2=wp_sketch1.moveTo(0.031578947368421054, 0.0).circle(0.030921052631578946)
loop3=wp_sketch1.moveTo(0.031578947368421054, 0.0).circle(0.02631578947368421)
solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.3828125)
solid=solid.union(solid1)
| 1,322
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00019829
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.28125, -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.15953947368421054, 0.0).lineTo(0.15953947368421054, -0.06381578947368421).lineTo(0.40682565789473685, -0.06381578947368421).lineTo(0.40682565789473685, 0.0).lineTo(0.5663651315789474, 0.0).lineTo(0.5663651315789474, 0.7578125).lineTo(0.0, 0.7578125).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.16751644736842106, 0.007976973684210527).lineTo(0.16751644736842106, -0.05583881578947369).lineTo(0.3988486842105263, -0.05583881578947369).lineTo(0.3988486842105263, 0.007976973684210527).lineTo(0.5663651315789474, 0.007976973684210527).lineTo(0.5663651315789474, 0.7498355263157895).lineTo(0.007976973684210527, 0.7498355263157895).lineTo(0.007976973684210527, 0.007976973684210527).close()
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.4765625)
solid=solid0
| 1,403
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.