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 |
|---|---|---|---|---|---|
0003/00030570
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1328125, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.13421052631578947, 0.0).circle(0.13421052631578947)
loop1=wp_sketch0.moveTo(0.13421052631578947, 0.0).circle(0.09506578947368421)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75, both=True)
solid=solid0
| 908
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00032367
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.234375, -0.75, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.6393092105263157, 0.0).lineTo(0.6393092105263157, 1.3203125).lineTo(0.0, 1.3203125).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0546875)
solid=solid0
| 886
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00034299
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.640625, -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.0, 0.12442434210526315).threePointArc((-0.10525398706219705, 0.062212171052631576), (0.0, 0.0)).close()
solid0=wp_sketch0.add(loop0).extrude(0.078125)
solid=solid0
| 886
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00030941
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.2734375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.3315789473684211).lineTo(0.7342105263157895, 0.3315789473684211).lineTo(0.7342105263157895, 0.015789473684210527).lineTo(0.015789473684210527, 0.015789473684210527).lineTo(0.015789473684210527, 0.27631578947368424).lineTo(0.0, 0.27631578947368424).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.2265625)
solid=solid0
| 1,054
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00030955
|
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.40625, 0.0).lineTo(0.40625, 0.14539473684210527).lineTo(0.0, 0.14539473684210527).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(-0.75)
solid=solid0
| 945
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00039971
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.4609375, 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.37894736842105264, -0.37894736842105264).lineTo(0.39473684210526316, -0.35526315789473684).lineTo(0.4578947368421053, -0.4263157894736842).lineTo(0.4421052631578948, -0.4421052631578948).lineTo(0.5526315789473685, -0.5526315789473685).lineTo(0.5684210526315789, -0.5368421052631579).lineTo(0.7026315789473685, -0.6710526315789473).lineTo(0.6868421052631579, -0.6868421052631579).lineTo(0.75, -0.75).lineTo(0.75, 0.0).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0234375)
solid=solid0
| 1,247
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00037784
|
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.07828947368421052)
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
|
|
0003/00032824
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5625, -0.09375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.125, 0.0).lineTo(1.125, 0.18947368421052632).lineTo(0.0, 0.18947368421052632).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(-0.0234375)
solid=solid0
| 881
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00035193
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.5390625, 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.5210526315789474).lineTo(1.3263157894736843, 0.5210526315789474).lineTo(1.3263157894736843, 0.5368421052631579).lineTo(1.3263157894736843, 0.5526315789473685).lineTo(1.5, 0.5526315789473685).lineTo(1.5, 1.0736842105263158).lineTo(0.0, 1.0736842105263158).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0234375)
solid=solid0
| 1,055
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00037974
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.015625, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.019736842105263157, 0.0).circle(0.019736842105263157)
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 912
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00030969
|
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.22894736842105265).lineTo(0.0, 0.22894736842105265).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.7421052631578947, 0.007894736842105263).lineTo(0.7421052631578947, 0.2210526315789474).lineTo(0.007894736842105263, 0.2210526315789474).lineTo(0.007894736842105263, 0.007894736842105263).close()
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0078125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.1875, -0.0078125, 0.0078125), 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.004605263157894736, 0.0).lineTo(0.004605263157894736, 0.21874999999999997).lineTo(0.0, 0.21874999999999997).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop2).extrude(-0.0078125)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.375, -0.0078125, 0.0078125), 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.004605263157894736, 0.0).lineTo(0.004605263157894736, 0.21874999999999997).lineTo(0.0, 0.21874999999999997).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop3).extrude(-0.0078125)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.5625, -0.0078125, 0.0078125), 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.006907894736842104, 0.0).lineTo(0.006907894736842104, 0.21874999999999997).lineTo(0.0, 0.21874999999999997).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop4).extrude(-0.0078125)
solid=solid.union(solid3)
| 2,165
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00039018
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 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.3631578947368421, -0.6473684210526316).lineTo(1.1210526315789473, -0.6631578947368422).lineTo(1.5, -0.015789473684210527).lineTo(1.1368421052631579, 0.631578947368421).lineTo(0.37894736842105264, 0.6473684210526316).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.7578947368421053, -0.015789473684210527).circle(0.4105263157894737)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.53125)
solid=solid0
| 1,084
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00030982
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.3046875, -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.2689144736842105, -0.22409539473684212).lineTo(0.6185032894736843, 0.19720394736842106).lineTo(0.6185032894736843, 0.5288651315789473).lineTo(0.3047697368421053, 0.5288651315789473).lineTo(0.3047697368421053, 0.8515625).lineTo(0.23305921052631579, 0.8515625).lineTo(0.23305921052631579, 0.2868421052631579).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0078125)
solid=solid0
| 1,094
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00033521
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.37894736842105264, 0.039473684210526314).threePointArc((0.4261243630257818, 0.008851869081616682), (0.4578947368421053, 0.05526315789473685)).lineTo(0.37894736842105264, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(-0.015625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.015625, 0.140625, 0.515625), 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.004187850131967102, -0.013759562055581416), (0.01726973684210526, -0.019736842105263157)).lineTo(0.21710526315789472, -0.019736842105263157).threePointArc((0.22931681118825453, -0.014678653293517672), (0.234375, -0.0024671052631578946)).lineTo(0.234375, 0.13075657894736842).threePointArc((0.22931681118825453, 0.14296812697772823), (0.21710526315789472, 0.14802631578947367)).lineTo(0.03207236842105263, 0.14802631578947367).threePointArc((0.020634546285684084, 0.14389511266670182), (0.014802631578947368, 0.1332236842105263)).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(-0.0234375)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.015625, 0.09375, 0.140625), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop2=wp_sketch2.moveTo(0.0, 0.0).threePointArc((0.0037224453341863097, -0.011947304326774552), (0.01480263157894737, -0.017763157894736842)).lineTo(0.2634868421052632, -0.04736842105263158).threePointArc((0.27637073751280855, -0.0424891585654401), (0.28125, -0.02960526315789474)).lineTo(0.28125, 0.2575657894736842).threePointArc((0.27604729150791896, 0.27012623887634), (0.2634868421052632, 0.27532894736842106)).lineTo(0.04736842105263158, 0.27532894736842106).threePointArc((0.037164151548841985, 0.27073058529326327), (0.032565789473684215, 0.2605263157894737)).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(-0.0234375)
solid=solid.cut(solid2)
| 2,426
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00036459
|
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.5210526315789474, 0.0).threePointArc((0.75, 0.22894736842105265), (0.9789473684210527, 0.0)).lineTo(1.5, 0.0).lineTo(1.5, 0.1105263157894737).lineTo(1.105263157894737, 0.1105263157894737).threePointArc((0.75, 0.3774018141481816), (0.39473684210526316, 0.1105263157894737)).lineTo(0.0, 0.1105263157894737).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.28125, both=True)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.296875, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.30394736842105263, 0.0).circle(0.30394736842105263)
solid1=wp_sketch1.add(loop1).extrude(-0.1484375, both=True)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.453125, 0.0, 0.1015625), 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.09457236842105263, 0.0).threePointArc((0.45394736842105265, 0.26996433514526696), (0.8133223684210527, 0.0)).lineTo(0.8984375, 0.0).lineTo(0.8984375, 0.26480263157894735).threePointArc((0.8762778156818768, 0.31830084199766634), (0.8227796052631579, 0.3404605263157895)).lineTo(0.0756578947368421, 0.3404605263157895).threePointArc((0.022159684318123155, 0.31830084199766634), (0.0, 0.26480263157894735)).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.046875, both=True)
solid=solid.union(solid2)
| 2,000
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00031336
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.390625, -0.4375, 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.15908212032587743, -0.21517854416547313), (0.41406249999999994, -0.2963815789473684)).lineTo(0.41406249999999994, 0.0).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.03125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0234375, -0.734375, 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.2549803796741227, 0.08120303478189526), (0.41406249999999994, 0.2963815789473684)).lineTo(0.0, 0.2963815789473684).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.390625, -0.4375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.4144736842105263, 0.0).lineTo(0.8203125000000001, 0.0).lineTo(0.8203125000000001, 0.7166940789473685).lineTo(0.0, 0.7166940789473685).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.0546875, -0.75, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch3.moveTo(0.0734375, 0.0).lineTo(0.1484375, 0.0).lineTo(0.1484375, 0.021875000000000002).threePointArc((0.07421875, 0.015483663387676039), (0.0, 0.021875000000000002)).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop3).extrude(0.03125)
solid=solid.union(solid3)
| 1,801
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00036317
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.125, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.12631578947368421, 0.0).circle(0.12631578947368421)
loop1=wp_sketch0.moveTo(0.12631578947368421, 0.0).circle(0.1131578947368421)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0546875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.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)))
loop2=wp_sketch1.moveTo(0.11447368421052631, 0.0).circle(0.11447368421052631)
loop3=wp_sketch1.moveTo(0.11447368421052631, 0.0).circle(0.09777960526315789)
solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.0546875)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.09375, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop4=wp_sketch2.moveTo(0.09868421052631579, 0.0).circle(0.09868421052631579)
loop5=wp_sketch2.moveTo(0.09868421052631579, 0.0).circle(0.061677631578947366)
solid2=wp_sketch2.add(loop4).add(loop5).extrude(0.0546875)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = 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)))
loop6=wp_sketch3.moveTo(0.11447368421052631, 0.0).circle(0.11447368421052631)
loop7=wp_sketch3.moveTo(0.11447368421052631, 0.0).circle(0.09777960526315789)
solid3=wp_sketch3.add(loop6).add(loop7).extrude(-0.71875)
solid=solid.union(solid3)
| 1,970
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00039030
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.71875, -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.3828125, 0.0).lineTo(1.3828125, 1.1644736842105263).lineTo(0.0, 1.1644736842105263).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0859375)
solid=solid0
| 885
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00036303
|
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.6631578947368421, 0.0).circle(0.6631578947368421)
solid0=wp_sketch0.add(loop0).extrude(0.1171875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.1171875, 0.0, 0.1171875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.11842105263157894, 0.0).circle(0.11842105263157894)
solid1=wp_sketch1.add(loop1).extrude(0.1171875)
solid=solid.union(solid1)
| 1,042
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00038448
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1640625, 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.16578947368421051, 0.0).circle(0.16578947368421051)
solid0=wp_sketch0.add(loop0).extrude(0.09375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.1875, -0.09375, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.18947368421052632, 0.0).circle(0.18947368421052632)
loop2=wp_sketch1.moveTo(0.18947368421052632, 0.0).circle(0.16578947368421054)
solid1=wp_sketch1.add(loop1).add(loop2).extrude(0.09375)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.1640625, -0.09375, 0.0), 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.16578947368421051, 0.0).circle(0.16578947368421051)
solid2=wp_sketch2.add(loop3).extrude(0.09375)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.1171875, -0.1875, 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.11842105263157894, 0.0).circle(0.11842105263157894)
solid3=wp_sketch3.add(loop4).extrude(0.1171875)
solid=solid.union(solid3)
| 1,787
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00039756
|
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.5625, 0.0).lineTo(0.5625, 0.5447368421052632).lineTo(0.0, 0.5447368421052632).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 941
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00036465
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 0.6).lineTo(0.0, 0.6).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(1.468421052631579, 0.031578947368421054).lineTo(1.468421052631579, 0.5684210526315789).lineTo(0.031578947368421054, 0.5684210526315789).lineTo(0.031578947368421054, 0.031578947368421054).close()
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.5)
solid=solid0
| 1,096
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00036302
|
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.6631578947368421, 0.0).circle(0.6631578947368421)
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.1328125, 0.0, 0.1015625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.13421052631578947, 0.0).circle(0.13421052631578947)
solid1=wp_sketch1.add(loop1).extrude(0.2109375)
solid=solid.union(solid1)
| 1,042
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00034273
|
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.10263157894736843, 0.0).circle(0.10263157894736843)
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 911
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00036464
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.734375, 0.0, -0.640625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(1.4609375, 0.0).lineTo(1.4609375, 1.2763980263157895).lineTo(0.0, 1.2763980263157895).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.640625, both=True)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.3671875, 0.0, -0.3828125), 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.09276315789473684, 0.0).lineTo(0.6416118421052631, 0.0).lineTo(0.734375, 0.0).lineTo(0.734375, 0.18552631578947368).lineTo(0.0, 0.18552631578947368).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(-0.2734375, both=True)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.2734375, 0.0, -0.75), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop2=wp_sketch2.moveTo(0.546875, 0.0).lineTo(0.546875, 0.3626644736842105).lineTo(0.0, 0.3626644736842105).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(-0.2734375, both=True)
solid=solid.cut(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.546875, -0.640625, 0.328125), 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.22105263157894733, 0.0).circle(0.2164473684210526)
solid3=wp_sketch3.add(loop3).extrude(0.109375)
solid=solid.union(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.0546875, -0.640625, 0.328125), 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.22894736842105262, 0.0).circle(0.22894736842105262)
solid4=wp_sketch4.add(loop4).extrude(0.109375)
solid=solid.union(solid4)
# Generating a workplane for sketch 5
wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(-0.40625, -0.640625, -0.3671875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop5=wp_sketch5.moveTo(0.0, 0.0).threePointArc((0.44018402734035833, -0.2503773341761573), (0.8749999999999999, 0.009210526315789473)).threePointArc((0.4389279070152797, -0.13104590329366708), (0.0, 0.0)).close()
solid5=wp_sketch5.add(loop5).extrude(0.109375)
solid=solid.union(solid5)
| 2,587
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00034267
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0546875, -0.0546875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.8046875, 0.0).lineTo(0.8046875, 0.48281250000000003).lineTo(0.0, 0.48281250000000003).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.7538651315789474, 0.05082236842105263).lineTo(0.7538651315789474, 0.4319901315789474).lineTo(0.05082236842105263, 0.4319901315789474).lineTo(0.05082236842105263, 0.05082236842105263).close()
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.5078125)
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.6953125, 0.0).lineTo(0.6953125, 0.3805921052631579).lineTo(0.0, 0.3805921052631579).lineTo(0.0, 0.0).close()
loop3=wp_sketch1.moveTo(0.35131578947368425, 0.19029605263157895).circle(0.0658717105263158)
solid1=wp_sketch1.add(loop2).add(loop3).extrude(-0.0625)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.0546875, -0.0546875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop4=wp_sketch2.moveTo(0.8046875, 0.0).lineTo(0.8046875, 0.48281250000000003).lineTo(0.0, 0.48281250000000003).lineTo(0.0, 0.0).close()
loop5=wp_sketch2.moveTo(0.7538651315789474, 0.05082236842105263).lineTo(0.7538651315789474, 0.4319901315789474).lineTo(0.05082236842105263, 0.4319901315789474).lineTo(0.05082236842105263, 0.05082236842105263).close()
solid2=wp_sketch2.add(loop4).add(loop5).extrude(-0.0625)
solid=solid.union(solid2)
| 1,824
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00033534
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.015625, 0.0, -0.015625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.0002890393606711739, -0.0006978027445919886), (0.000986842105263158, -0.000986842105263158)).lineTo(0.030263157894736843, -0.000986842105263158).threePointArc((0.030960960639328825, -0.0006978027445919886), (0.03125, 0.0)).lineTo(0.03125, 0.02894736842105263).threePointArc((0.0310290878699823, 0.02980964484985514), (0.030263157894736843, 0.030263157894736843)).lineTo(0.000986842105263158, 0.030263157894736843).threePointArc((0.00022091213001770244, 0.02980964484985514), (0.0, 0.02894736842105263)).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(-0.75)
solid=solid0
| 1,336
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00039794
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, -0.6328125), 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.3183263267073405, -0.029338304803307978), (0.6259046052631579, -0.11644736842105263)).lineTo(0.7423519736842106, 0.0).threePointArc((0.6284779265645342, 0.6331825657894737), (0.7423519736842106, 1.2663651315789475)).lineTo(0.6259046052631579, 1.3828125).threePointArc((0.3183263267073405, 1.295703436382255), (0.0, 1.2663651315789475)).lineTo(0.0, 0.8587993421052632).threePointArc((0.22561677631578947, 0.6331825657894737), (0.0, 0.4075657894736842)).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.234375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.6328125), 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.11644736842105263, -0.11644736842105263).threePointArc((0.4313036075031858, -0.028666551793837418), (0.7569078947368422, 0.0)).lineTo(0.7569078947368422, 0.4075657894736842).threePointArc((0.5312911184210526, 0.6331825657894737), (0.7569078947368422, 0.8587993421052632)).lineTo(0.7569078947368422, 1.2663651315789475).threePointArc((0.4313036075031858, 1.2950316833727848), (0.11644736842105263, 1.3828125)).lineTo(0.058223684210526316, 1.3245888157894736).lineTo(0.0, 1.2663651315789475).threePointArc((0.1138740471196764, 0.6331825657894737), (0.0, 0.0)).close()
solid1=wp_sketch1.add(loop1).extrude(0.234375)
solid=solid.union(solid1)
| 1,991
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00037975
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.015625, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.011842105263157895, 0.0).circle(0.011842105263157895)
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 912
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00035192
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.5390625, 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.0736842105263158).lineTo(0.0, 1.0736842105263158).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0234375)
solid=solid0
| 875
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00032825
|
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(0.13026315789473686, 0.0).lineTo(0.13026315789473686, 0.7460526315789474).threePointArc((0.37894736842105264, 0.9947368421052631), (0.6276315789473684, 0.7460526315789474)).lineTo(0.6276315789473684, 0.49736842105263157).lineTo(0.7460526315789474, 0.49736842105263157).lineTo(0.7460526315789474, 0.7460526315789474).threePointArc((0.3730263157894737, 1.119078947368421), (0.0, 0.7460526315789474)).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.5)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.625, -0.3046875, 0.3046875), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.11694078947368422, -0.11694078947368422).threePointArc((0.11694078947368422, 0.0), (0.0, 0.0)).close()
solid1=wp_sketch1.add(loop1).extrude(-0.625)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.625, -0.3046875, 0.3046875), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop2=wp_sketch2.moveTo(0.0, 0.0).threePointArc((0.0, -0.11694078947368422), (0.11694078947368422, -0.11694078947368422)).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(-0.625)
solid=solid.cut(solid2)
| 1,741
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00037785
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0859375, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.08684210526315789, 0.0).circle(0.08684210526315789)
loop1=wp_sketch0.moveTo(0.08684210526315789, 0.0).circle(0.06151315789473684)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.53125)
solid=solid0
| 907
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00030940
|
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.25263157894736843, 0.0).lineTo(0.25263157894736843, -0.05526315789473685).lineTo(0.75, -0.05526315789473685).lineTo(0.75, 0.29210526315789476).lineTo(0.0, 0.29210526315789476).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0234375)
solid=solid0
| 960
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00036100
|
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
|
|
0003/00030571
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.7578947368421053)
loop1=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.6473684210526316)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.6328125, both=True)
solid=solid0
| 976
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00039227
|
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, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.6473684210526316, 0.0).circle(0.6473684210526316)
loop1=wp_sketch0.moveTo(1.038486842105263, -0.25625).lineTo(1.038486842105263, 0.25625).lineTo(0.24276315789473685, 0.25625).lineTo(0.24276315789473685, -0.25625).close()
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75)
solid=solid0
| 1,049
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00038887
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0234375)
solid=solid0
| 842
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00037222
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.25, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 0.5052631578947369).lineTo(0.0, 0.5052631578947369).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.125)
solid=solid0
| 866
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00037236
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.25, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 0.5052631578947369).lineTo(0.0, 0.5052631578947369).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.125)
solid=solid0
| 866
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00038663
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.0390625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.125, 0.0).lineTo(0.125, 0.042105263157894736).lineTo(0.0, 0.042105263157894736).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.125)
solid=solid0
| 879
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00032428
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.171875, -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.359375, 0.0).lineTo(0.359375, 0.33667763157894737).lineTo(0.0, 0.33667763157894737).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 884
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00033736
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.25263157894736843).lineTo(0.20526315789473684, 0.39473684210526316).lineTo(0.0, 0.39473684210526316).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.6236842105263158, 0.12631578947368421).circle(0.05526315789473685)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0703125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.21875, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop2=wp_sketch1.moveTo(0.2227796052631579, 0.0).lineTo(0.2227796052631579, 0.14498355263157894).lineTo(0.11315789473684211, 0.3359375).lineTo(0.0, 0.3359375).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop2).extrude(-0.0703125)
solid=solid.union(solid1)
| 1,404
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00031860
|
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(0.9843749999999999, 0.0).lineTo(0.9843749999999999, 0.9843749999999999).lineTo(0.0, 0.9843749999999999).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.328125)
solid=solid0
| 898
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00031684
|
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.48157894736842105).lineTo(0.0, 0.48157894736842105).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.484375)
solid=solid0
| 872
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00035384
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.015625, -0.0078125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.0234375, 0.0).lineTo(0.0234375, 0.011101973684210526).lineTo(0.0, 0.011101973684210526).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 890
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00037418
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1015625, 0.0, 0.03125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.203125, 0.0).threePointArc((0.19028317892359253, 0.025697711706277184), (0.17105263157894737, 0.04703947368421053)).lineTo(0.14325657894736843, 0.04703947368421053).lineTo(0.1625, 0.012828947368421054).lineTo(0.10263157894736843, 0.012828947368421054).lineTo(0.040625, 0.012828947368421054).lineTo(0.059868421052631585, 0.04703947368421053).lineTo(0.032072368421052634, 0.04703947368421053).threePointArc((0.012841821076407476, 0.025697711706277184), (0.0, 0.0)).close()
solid0=wp_sketch0.add(loop0).extrude(-0.75)
solid=solid0
| 1,276
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00033656
|
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.2210526315789474).lineTo(0.0, 0.2210526315789474).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.015625)
solid=solid0
| 941
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00039384
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6328125, -0.09375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.2600328947368422, 0.0).threePointArc((0.6300164473684211, 0.730364148690908), (0.0, 0.0)).close()
solid0=wp_sketch0.add(loop0).extrude(0.1640625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.2578125, 0.625, 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.05128209471506809), (0.515625, 0.0)).lineTo(0.515625, 0.13026315789473686).lineTo(0.0, 0.13026315789473686).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.1640625)
solid=solid.union(solid1)
| 1,166
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00039390
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.7578947368421053)
loop1=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.7263157894736842)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.046875, both=True)
solid=solid0
| 975
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00037381
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.49736842105263157, 0.0).lineTo(0.49736842105263157, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.5)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.5, 0.0, 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.25, 0.0).lineTo(0.25, 0.25).lineTo(0.0, 0.25).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(-0.5)
solid=solid.cut(solid1)
| 1,108
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00033681
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.40625, 0.0, -0.3515625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.34765625, 0.34765625), (0.0, 0.6953125)).lineTo(0.0, 0.5269736842105264).threePointArc((0.17565789473684212, 0.35131578947368425), (0.0, 0.17565789473684212)).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.40625, 0.0, 0.171875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.8046875, 0.0).lineTo(0.8046875, 0.16940789473684212).lineTo(0.0, 0.16940789473684212).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.4609375)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.40625, 0.0, -0.3515625), 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.8046875, 0.0).lineTo(0.8046875, 0.17787828947368423).lineTo(0.0, 0.17787828947368423).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.4609375)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.40625, 0.0, -0.3515625), 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.34765625, 0.34765625), (0.0, 0.6953125)).lineTo(0.0, 0.5269736842105264).threePointArc((0.17565789473684212, 0.35131578947368425), (0.0, 0.17565789473684212)).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop3).extrude(0.4609375)
solid=solid.union(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.40625, 0.0, -0.171875), 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.8082236842105263, 0.0).threePointArc((0.9843749999999999, 0.17615131578947368), (0.8082236842105263, 0.35230263157894737)).lineTo(0.0, 0.35230263157894737).threePointArc((0.17615131578947368, 0.17615131578947368), (0.0, 0.0)).close()
solid4=wp_sketch4.add(loop4).extrude(0.4609375)
solid=solid.union(solid4)
| 2,481
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00030388
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.3515625, 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.35526315789473684, 0.0).circle(0.35526315789473684)
loop1=wp_sketch0.moveTo(0.1850328947368421, -0.17023026315789472).circle(0.03700657894736842)
loop2=wp_sketch0.moveTo(0.20723684210526314, 0.140625).circle(0.03700657894736842)
loop3=wp_sketch0.moveTo(0.49588815789473684, -0.140625).circle(0.03700657894736842)
loop4=wp_sketch0.moveTo(0.5180921052631579, 0.17023026315789472).circle(0.03700657894736842)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).extrude(0.75)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.25, 0.0, 0.3515625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop5=wp_sketch1.moveTo(0.0, 0.0).threePointArc((0.19545623324347675, -0.22441077389191952), (0.4421052631578947, -0.05789473684210526)).threePointArc((0.4851183228278911, 0.16927421084632244), (0.5, 0.39999999999999997)).lineTo(0.0, 0.39999999999999997).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop5).extrude(-0.625, both=True)
solid=solid.cut(solid1)
| 1,570
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00038529
|
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.390625, 0.0).lineTo(1.390625, 0.7758223684210527).lineTo(0.0, 0.7758223684210527).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(1.2296052631578949, 0.1317434210526316).lineTo(1.2296052631578949, 0.6440789473684211).lineTo(0.16101973684210527, 0.6440789473684211).lineTo(0.16101973684210527, 0.1317434210526316).close()
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.4609375)
solid=solid0
| 1,144
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00039637
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.3046875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 0.6).lineTo(0.0, 0.6).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.6015625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.0859375, -0.3046875, 0.3046875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.08684210526315789, 0.0).circle(0.08684210526315789)
solid1=wp_sketch1.add(loop1).extrude(-0.6015625)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.4453125, -0.3046875, 0.3046875), 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.08684210526315789, 0.0).circle(0.08684210526315789)
solid2=wp_sketch2.add(loop2).extrude(-0.6015625)
solid=solid.cut(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.28125, -0.3046875, 0.3046875), 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.08684210526315789, 0.0).circle(0.08684210526315789)
solid3=wp_sketch3.add(loop3).extrude(-0.6015625)
solid=solid.cut(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.703125, -0.2578125, 0.6015625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop4=wp_sketch4.moveTo(1.40625, 0.0).lineTo(1.40625, 0.5625).lineTo(0.0, 0.5625).lineTo(0.0, 0.0).close()
solid4=wp_sketch4.add(loop4).extrude(-0.5546875)
solid=solid.cut(solid4)
| 1,904
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00032038
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.1640625, 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.3315789473684211).lineTo(0.0, 0.3315789473684211).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.1640625, 0.046875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.05180921052631579, 0.0).lineTo(0.05180921052631579, 0.328125).lineTo(0.0, 0.328125).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.1015625)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.703125, -0.1640625, 0.046875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.05180921052631579, 0.0).lineTo(0.05180921052631579, 0.328125).lineTo(0.0, 0.328125).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.1015625)
solid=solid.union(solid2)
| 1,366
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00035964
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.3315789473684211).lineTo(0.0, 0.3315789473684211).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.140625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.8046875, 0.0, -0.1015625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.75, 0.0).lineTo(0.75, 0.37894736842105264).lineTo(0.0, 0.37894736842105264).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.234375, both=True)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.890625, 0.0, 0.265625), 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.3871710526315789).lineTo(0.8359375, -0.3871710526315789).lineTo(0.8359375, -0.27277960526315786).threePointArc((0.5146241656699241, -0.06946742755423406), (0.14078947368421052, 0.0)).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.234375, both=True)
solid=solid.cut(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.109375, 0.1875), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop3=wp_sketch3.moveTo(0.02368421052631579, 0.0).circle(0.02319078947368421)
solid3=wp_sketch3.add(loop3).extrude(0.234375, both=True)
solid=solid.cut(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.109375, 0.09375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop4=wp_sketch4.moveTo(0.02368421052631579, 0.0).circle(0.02319078947368421)
solid4=wp_sketch4.add(loop4).extrude(0.234375, both=True)
solid=solid.cut(solid4)
| 2,168
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00032979
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.015625, 0.0, -0.015625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.001644736842105263, 0.0).lineTo(0.029605263157894735, 0.0).lineTo(0.03125, 0.0).lineTo(0.03125, 0.001644736842105263).lineTo(0.03125, 0.029605263157894735).lineTo(0.03125, 0.03125).lineTo(0.029605263157894735, 0.03125).lineTo(0.001644736842105263, 0.03125).lineTo(0.0, 0.03125).lineTo(0.0, 0.029605263157894735).lineTo(0.0, 0.001644736842105263).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.015789473684210527, 0.015789473684210527).circle(0.013157894736842105)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75)
solid=solid0
| 1,263
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00035970
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6796875, -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.8828947368421053, 0.0).threePointArc((0.9518288538665708, 0.3160361842105263), (0.8828947368421053, 0.6320723684210526)).lineTo(0.6822368421052631, 0.6320723684210526).lineTo(0.0, 0.6320723684210526).threePointArc((-0.06893411702446563, 0.3160361842105263), (0.0, 0.0)).close()
loop1=wp_sketch0.moveTo(0.32105263157894737, 0.2006578947368421).lineTo(0.32105263157894737, 0.31101973684210527).lineTo(0.32105263157894737, 0.43141447368421054).lineTo(0.09029605263157894, 0.43141447368421054).lineTo(0.09029605263157894, 0.2006578947368421).close()
loop2=wp_sketch0.moveTo(0.6822368421052631, 0.31101973684210527).circle(0.12039473684210526)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.234375)
solid=solid0
| 1,349
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00036289
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, -0.75), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.0039085209517519745, 5.14417910120401e-05), (0.0078125, 0.0002467105263157895)).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.1015625, 0.0, 0.5234375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.09868421052631579, 0.0).circle(0.09662828947368421)
loop2=wp_sketch1.moveTo(0.09868421052631579, 0.0).circle(0.03289473684210526)
solid1=wp_sketch1.add(loop1).add(loop2).extrude(0.03125)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.375, 0.0, -0.6484375), 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.08289473684210526, 0.0).circle(0.08289473684210526)
loop4=wp_sketch2.moveTo(0.08289473684210526, 0.0).circle(0.0328125)
solid2=wp_sketch2.add(loop3).add(loop4).extrude(0.03125)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, -0.75), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop5=wp_sketch3.moveTo(0.006167763157894737, 0.0).threePointArc((0.0030838815789473685, 0.1675125961562564), (0.0, 0.0)).close()
loop6=wp_sketch3.moveTo(0.0, 0.09868421052631579).circle(0.03289473684210526)
solid3=wp_sketch3.add(loop5).add(loop6).extrude(0.03125)
solid=solid.union(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.1640625, 0.0, -0.015625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop7=wp_sketch4.moveTo(0.06184210526315789, -0.6338815789473684).threePointArc((0.23121250124773682, -0.5600036929882674), (0.1700657894736842, -0.734375)).lineTo(0.618421052631579, -0.7189144736842105).threePointArc((0.5372532894736842, -0.6377467105263158), (0.618421052631579, -0.5565789473684211)).lineTo(0.3555921052631579, -0.5488486842105263).threePointArc((0.29672084316443154, -0.5193170605208685), (0.27828947368421053, -0.45608552631578947)).lineTo(0.3246710526315789, 0.0).threePointArc((0.16233552631578946, -0.147132344707549), (0.0, 0.0)).close()
solid4=wp_sketch4.add(loop7).extrude(0.03125)
solid=solid.union(solid4)
# Generating a workplane for sketch 5
wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(-0.1640625, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop8=wp_sketch5.moveTo(0.16578947368421051, 0.0).circle(0.16578947368421051)
loop9=wp_sketch5.moveTo(0.16578947368421051, 0.0).circle(0.03453947368421052)
solid5=wp_sketch5.add(loop8).add(loop9).extrude(0.03125)
solid=solid.union(solid5)
# Generating a workplane for sketch 6
wp_sketch6 = cq.Workplane(cq.Plane(cq.Vector(-0.1640625, 0.0, 0.0234375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop10=wp_sketch6.moveTo(0.0, 0.0).threePointArc((0.16282894736842107, 0.14397974063702237), (0.32565789473684215, 0.0)).lineTo(0.2605263157894737, 0.515625).threePointArc((0.16282894736842107, 0.4051375134252792), (0.06513157894736843, 0.515625)).lineTo(0.0, 0.0).close()
loop11=wp_sketch6.moveTo(0.13026315789473686, 0.35822368421052636).circle(0.032565789473684215)
solid6=wp_sketch6.add(loop10).add(loop11).extrude(0.03125)
solid=solid.union(solid6)
| 3,512
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00032951
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.375, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.37894736842105264, 0.0).circle(0.37894736842105264)
loop1=wp_sketch0.moveTo(0.37894736842105264, 0.0).circle(0.18157894736842106)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75)
solid=solid0
| 972
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00039810
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.359375, 0.0, 0.015625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.7305098684210526, 0.0).threePointArc((1.095764802631579, 0.3652549342105263), (0.7305098684210526, 0.7305098684210526)).lineTo(0.0, 0.7305098684210526).threePointArc((-0.3652549342105263, 0.3652549342105263), (0.0, 0.0)).close()
loop1=wp_sketch0.moveTo(0.0, 0.37105263157894736).circle(0.18552631578947368)
loop2=wp_sketch0.moveTo(0.7305098684210526, 0.37105263157894736).circle(0.12754934210526314)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(-0.3671875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.03125, 0.1875, 0.75), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch1.moveTo(0.04736842105263158, 0.0).circle(0.04736842105263158)
solid1=wp_sketch1.add(loop3).extrude(-0.3671875)
solid=solid.cut(solid1)
| 1,407
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00032953
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.484375, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.493421052631579, 0.0).circle(0.493421052631579)
loop1=wp_sketch0.moveTo(0.493421052631579, 0.0).circle(0.23643092105263158)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75)
solid=solid0
| 969
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00030836
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.25, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.1736842105263158, 0.0).lineTo(0.1736842105263158, -0.2368421052631579).lineTo(1.3263157894736843, -0.2368421052631579).lineTo(1.3263157894736843, 0.0).lineTo(1.5, 0.0).lineTo(1.5, 0.25263157894736843).threePointArc((0.75, 1.0026315789473685), (0.0, 0.25263157894736843)).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0859375)
solid=solid0
| 1,038
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00031296
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.75).lineTo(0.25263157894736843, 0.75).lineTo(0.25263157894736843, 0.49736842105263157).lineTo(0.49736842105263157, 0.49736842105263157).lineTo(0.49736842105263157, 0.25263157894736843).lineTo(0.0, 0.25263157894736843).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.25)
solid=solid0
| 1,013
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00037803
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.015625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.015789473684210527, 0.0).circle(0.015789473684210527)
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 840
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00037156
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6015625, 0.0, -0.3671875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.15197368421052632, 0.0).lineTo(0.15197368421052632, 0.15197368421052632).lineTo(1.0511513157894736, 0.15197368421052632).lineTo(1.0511513157894736, 0.0).lineTo(1.203125, 0.0).lineTo(1.203125, 0.37993421052631576).lineTo(0.8991776315789474, 0.37993421052631576).lineTo(0.8991776315789474, 0.747203947368421).lineTo(0.30394736842105263, 0.747203947368421).lineTo(0.30394736842105263, 0.37993421052631576).lineTo(0.0, 0.37993421052631576).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 1,271
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00030163
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.484375, 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.234375, 0.0).lineTo(1.234375, 0.8445723684210527).lineTo(0.0, 0.8445723684210527).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.4453125)
solid=solid0
| 961
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00030611
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0390625)
solid=solid0
| 842
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00032006
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = 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)))
loop0=wp_sketch0.moveTo(0.9947368421052631, 0.0).lineTo(0.9947368421052631, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.125)
solid=solid0
| 919
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00034311
|
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.5447368421052632, 0.0).lineTo(0.75, 0.0).lineTo(0.75, 0.4342105263157895).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.5447368421052632, 0.031578947368421054).lineTo(0.718421052631579, 0.031578947368421054).lineTo(0.718421052631579, 0.2131578947368421).lineTo(0.718421052631579, 0.37894736842105264).lineTo(0.11842105263157895, 0.031578947368421054).close()
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0234375)
solid=solid0
| 1,174
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00037397
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.49736842105263157, 0.0).lineTo(0.49736842105263157, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.25)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.5, 0.25, 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.12368421052631579, 0.0).lineTo(0.12368421052631579, 0.25).lineTo(0.0, 0.25).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(-0.25)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.5, 0.375, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop2=wp_sketch2.moveTo(0.12631578947368421, 0.0).lineTo(0.12631578947368421, 0.25).lineTo(0.0, 0.25).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(-0.25)
solid=solid.cut(solid2)
| 1,416
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00033683
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.09375, 0.0, -0.390625), 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.1924342105263158, 0.0).lineTo(0.1924342105263158, 0.203125).threePointArc((0.0962171052631579, 0.1942441975019195), (0.0, 0.203125)).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.390625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.2890625, 0.0, 0.75), 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.21452452599835548, -0.5346886813736149), (0.19736842105263158, -0.9375)).lineTo(0.19736842105263158, -0.75).threePointArc((-0.12922132539246994, -0.4349751410312592), (0.0, 0.0)).close()
solid1=wp_sketch1.add(loop1).extrude(0.390625)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.09375, 0.0, -0.1875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop2=wp_sketch2.moveTo(0.0, 0.0).threePointArc((0.41189294705098706, 0.40281131862638486), (0.19736842105263158, 0.9375)).threePointArc((0.3265897464451015, 0.5025248589687408), (0.0, 0.1875)).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.390625)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.09375, 0.0, -0.1875), 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.09765625, -0.0090136350140774), (0.1953125, 0.0)).lineTo(0.1953125, 0.18708881578947367).lineTo(0.09868421052631579, 0.18708881578947367).lineTo(0.0, 0.18708881578947367).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop3).extrude(0.390625)
solid=solid.union(solid3)
| 2,170
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00033873
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.1171875, 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.12236842105263158, 0.0).circle(0.12236842105263158)
loop1=wp_sketch0.moveTo(0.12236842105263158, 0.0).circle(0.056085526315789475)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75)
solid=solid0
| 959
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00035543
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.7421875, -0.4921875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.4921875, 0.0).lineTo(1.4921875, 0.5183388157894737).lineTo(0.0, 0.5183388157894737).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.03125)
solid=solid0
| 890
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00037354
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.3203125, -0.234375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.4305921052631579, 0.0).lineTo(0.4305921052631579, 0.53125).lineTo(0.0, 0.53125).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.515625)
solid=solid0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.3203125, -0.234375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.4305921052631579, 0.0).lineTo(0.4305921052631579, 0.53125).lineTo(0.0, 0.53125).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(-0.1328125)
solid=solid.union(solid0)
| 1,114
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00033654
|
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.0, 0.13421052631578947).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0078125)
solid=solid0
| 944
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00033126
|
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.007730263157894737)
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
|
|
0003/00030407
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2890625, -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.04736842105263158, 0.0).lineTo(0.04736842105263158, 0.140625).lineTo(0.0, 0.140625).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.109375, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.032565789473684215, -0.0703125).lineTo(0.0658717105263158, 0.0).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.1953125, -0.0703125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.03774671052631579, 0.0).lineTo(0.03774671052631579, 0.0703125).lineTo(0.0, 0.0703125).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.0703125)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = 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)))
loop3=wp_sketch3.moveTo(0.046875, 0.0).lineTo(0.046875, 0.000986842105263158).lineTo(0.0, 0.000986842105263158).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop3).extrude(0.0703125)
solid=solid.union(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = 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)))
loop4=wp_sketch4.moveTo(0.04375, 0.0).lineTo(0.0984375, 0.0).lineTo(0.13124999999999998, 0.0).lineTo(0.175, 0.0).lineTo(0.24062499999999998, 0.0).lineTo(0.7218749999999999, 0.0).threePointArc((1.0449736433556929, 0.060156249999999994), (0.7218749999999999, 0.12031249999999999)).lineTo(0.0, 0.12031249999999999).lineTo(0.0, 0.0).close()
loop5=wp_sketch4.moveTo(0.875, 0.0546875).circle(0.07656249999999999)
solid4=wp_sketch4.add(loop4).add(loop5).extrude(0.0703125)
solid=solid.union(solid4)
| 2,061
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00035219
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.6015625, -0.75), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(1.1535361842105263, 0.0).lineTo(1.1535361842105263, 1.3203125).lineTo(0.0, 1.3203125).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0390625)
solid=solid0
| 941
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00038846
|
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
|
|
0003/00039580
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.1875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 0.2210526315789474).lineTo(0.0, 0.2210526315789474).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0546875)
solid=solid0
| 944
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00032358
|
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
|
|
0003/00035437
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.75), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.09375)
solid=solid0
| 910
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00034729
|
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.2210526315789474).lineTo(0.6078947368421053, 0.2210526315789474).lineTo(0.0, 0.2210526315789474).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.2109375)
solid=solid0
| 912
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00037220
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.25, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 0.5052631578947369).lineTo(0.0, 0.5052631578947369).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.125)
solid=solid0
| 866
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00035351
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 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.09375, 0.0).lineTo(0.09375, 0.09375).lineTo(0.0, 0.09375).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0859375)
solid=solid0
| 861
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00037234
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.25, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 0.5052631578947369).lineTo(0.0, 0.5052631578947369).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.5234375)
solid=solid0
| 870
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00034715
|
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.7263157894736842)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0703125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.734375, 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.7381578947368421, 0.0).circle(0.7381578947368421)
solid1=wp_sketch1.add(loop2).extrude(0.109375)
solid_temp=solid1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.734375, 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.7381578947368421, 0.0).circle(0.7381578947368421)
solid1=wp_sketch1.add(loop2).extrude(-0.0703125)
solid_temp=solid_temp.union(solid1)
solid=solid.union(solid_temp)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch2.moveTo(0.7578947368421053, 0.0).circle(0.7578947368421053)
loop4=wp_sketch2.moveTo(0.7578947368421053, 0.0).circle(0.7263157894736842)
solid2=wp_sketch2.add(loop3).add(loop4).extrude(0.109375)
solid_temp=solid2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch2.moveTo(0.7578947368421053, 0.0).circle(0.7578947368421053)
loop4=wp_sketch2.moveTo(0.7578947368421053, 0.0).circle(0.7263157894736842)
solid2=wp_sketch2.add(loop3).add(loop4).extrude(-0.0703125)
solid_temp=solid_temp.union(solid2)
solid=solid.union(solid_temp)
| 1,794
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00038891
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5703125, -0.2890625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.3203125, 0.0).lineTo(1.3203125, 0.4864309210526316).lineTo(0.0, 0.4864309210526316).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.140625)
solid=solid0
| 891
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00030215
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.25, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.25263157894736843, 0.0).circle(0.25263157894736843)
solid0=wp_sketch0.add(loop0).extrude(0.6640625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.2421875, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.24473684210526317, 0.0).circle(0.24473684210526317)
solid1=wp_sketch1.add(loop1).extrude(0.75)
solid=solid.union(solid1)
| 1,030
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00035379
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0390625, -0.0234375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.0859375, 0.0).lineTo(0.0859375, 0.04070723684210526).lineTo(0.0, 0.04070723684210526).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 889
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00039972
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.4609375, 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.37894736842105264, -0.37894736842105264).lineTo(0.39473684210526316, -0.35526315789473684).lineTo(0.4578947368421053, -0.4263157894736842).lineTo(0.4421052631578948, -0.4421052631578948).lineTo(0.5526315789473685, -0.5526315789473685).lineTo(0.5684210526315789, -0.5368421052631579).lineTo(0.7026315789473685, -0.6710526315789473).lineTo(0.6868421052631579, -0.6868421052631579).lineTo(0.75, -0.75).lineTo(0.75, 0.0).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.07105263157894737, -0.031578947368421054).circle(0.02368421052631579)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0234375)
solid=solid0
| 1,329
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00030956
|
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.039473684210526314).lineTo(0.039473684210526314, 0.039473684210526314).lineTo(0.039473684210526314, 0.37894736842105264).lineTo(0.0, 0.37894736842105264).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.390625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0703125, 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.24046052631578949, 0.0).lineTo(0.24046052631578949, 0.265625).lineTo(0.0, 0.265625).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(-0.1171875)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0625, 0.0, 0.2578125), 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.6328125, 0.0).lineTo(0.6328125, 0.07993421052631579).lineTo(0.0, 0.07993421052631579).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(-0.1171875)
solid=solid.cut(solid2)
| 1,570
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00037793
|
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
|
|
0003/00039796
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.37894736842105264, 0.37894736842105264).circle(0.2368421052631579)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0234375)
solid=solid0
| 994
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00037963
|
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, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.027631578947368417, 0.0).circle(0.027631578947368417)
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
|
|
0003/00038488
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.609375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.19292763157894738, -0.2610197368421053).lineTo(0.5390625, -0.2610197368421053).lineTo(0.5390625, 0.0).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.15625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.2109375, 0.3515625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.49769736842105267, 0.0).lineTo(0.6953125, 0.2634868421052632).lineTo(0.0, 0.2634868421052632).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.15625)
solid=solid.union(solid1)
| 1,152
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00037977
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.015625, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.019736842105263157, 0.0).circle(0.019736842105263157)
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 912
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00037744
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.109375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.22105263157894736, -0.328125).lineTo(0.22105263157894736, 0.0).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.3359375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.53125, -0.21875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.4453125, 0.0).lineTo(0.4453125, 0.3328125).lineTo(0.0, 0.3328125).lineTo(0.0, 0.0).close()
loop2=wp_sketch1.moveTo(0.2765625, 0.11249999999999999).lineTo(0.2765625, 0.22499999999999998).lineTo(0.16874999999999998, 0.22499999999999998).lineTo(0.16874999999999998, 0.11249999999999999).close()
solid1=wp_sketch1.add(loop1).add(loop2).extrude(0.3359375)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.0859375, -0.21875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch2.moveTo(0.2227796052631579, -0.003536184210526316).lineTo(0.0, 0.3359375).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop3).extrude(0.3359375)
solid=solid.union(solid2)
| 1,490
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00035621
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.3828125, 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.7736842105263159).lineTo(0.0, 0.7736842105263159).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.078125)
solid=solid0
| 874
|
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.