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/00038378
|
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.375, 0.0).lineTo(0.375, 0.375).lineTo(0.0, 0.375).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.375)
solid=solid0
| 842
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00031348
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.7578947368421053)
solid0=wp_sketch0.add(loop0).extrude(0.328125, both=True)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.03125, 0.0, 0.328125), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.027631578947368417, 0.0).circle(0.027631578947368417)
solid1=wp_sketch1.add(loop1).extrude(0.015625)
solid=solid.union(solid1)
| 1,040
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00032127
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.7578947368421053)
solid0=wp_sketch0.add(loop0).extrude(0.2109375)
solid=solid0
| 837
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00036341
|
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.10657894736842105, 0.0).circle(0.10657894736842105)
solid0=wp_sketch0.add(loop0).extrude(0.65625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.046875, 0.0, 0.65625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.04736842105263158, 0.0).circle(0.04736842105263158)
solid1=wp_sketch1.add(loop1).extrude(0.09375)
solid=solid.union(solid1)
| 1,038
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00031349
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0625, -0.078125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.4364174665135723, 0.1807700334864275), (0.6171875, 0.6171875)).lineTo(0.0, 0.6171875).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.1796875, both=True)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.0625, -0.0546875, -0.15625), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.59375, 0.0).lineTo(0.59375, 0.3125).lineTo(0.0, 0.3125).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(-0.7109375)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.015625, 0.0, 0.1796875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.011842105263157895, 0.0).circle(0.011595394736842105)
solid2=wp_sketch2.add(loop2).extrude(-0.03125)
solid=solid.union(solid2)
| 1,382
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00034543
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1875, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.18947368421052632, 0.0).circle(0.18947368421052632)
loop1=wp_sketch0.moveTo(0.18947368421052632, 0.0).circle(0.11447368421052632)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75)
solid=solid0
| 901
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00038379
|
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.25, 0.0).lineTo(0.25, 0.25).lineTo(0.0, 0.25).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.25)
solid=solid0
| 837
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00036354
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.5625, -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.1210526315789473, 0.0).lineTo(1.1210526315789473, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.046875)
solid=solid0
| 925
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00039701
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.609375, 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.6157894736842106, 0.0).circle(0.6157894736842106)
loop1=wp_sketch0.moveTo(0.6157894736842106, 0.0).circle(0.42335526315789473)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75)
solid=solid0
| 954
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00035113
|
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.5).lineTo(0.0, 0.5).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.0, 0.0, 0.25), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.25, 0.0).lineTo(0.25, 0.25).lineTo(0.0, 0.25).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.5)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.5), 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.25, 0.0).lineTo(0.25, 0.25).lineTo(0.0, 0.25).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.25)
solid=solid.union(solid2)
| 1,315
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00033210
|
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.1171875, 0.0).lineTo(0.1171875, 0.01356907894736842).lineTo(0.01356907894736842, 0.01356907894736842).lineTo(0.01356907894736842, 0.1171875).lineTo(0.0, 0.1171875).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/00038392
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.1015625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.15052273585919637, -0.361629193918011), (0.46266447368421054, -0.5982730263157895)).threePointArc((0.6999890211401745, -0.290063231524428), (0.7498355263157895, 0.09572368421052632)).threePointArc((0.36198824300062926, 0.14914308333717594), (0.0, 0.0)).close()
solid0=wp_sketch0.add(loop0).extrude(0.375)
solid=solid0
| 1,030
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00038386
|
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.25, 0.0).lineTo(0.25, 0.25).lineTo(0.0, 0.25).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.25)
solid=solid0
| 837
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00032324
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.7421052631578947)
loop1=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.26842105263157895)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.4765625)
solid=solid0
| 901
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00036142
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.359375, -0.34375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.7490131578947368, 0.0).lineTo(0.7490131578947368, 0.7734374999999999).lineTo(0.0, 0.7734374999999999).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 902
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00032456
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.140625, 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.2789473684210526, 0.0).lineTo(0.2789473684210526, 0.8281249999999999).lineTo(0.0, 0.8281249999999999).lineTo(0.0, 0.7845394736842105).lineTo(0.22664473684210523, 0.7845394736842105).lineTo(0.22664473684210523, 0.04358552631578947).lineTo(0.0, 0.04358552631578947).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.421875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.1171875, -0.3203125, 0.078125), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.08289473684210526, 0.0).circle(0.08289473684210526)
solid1=wp_sketch1.add(loop1).extrude(-0.546875)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.1171875, -0.1015625, 0.078125), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.08289473684210526, 0.0).circle(0.08289473684210526)
solid2=wp_sketch2.add(loop2).extrude(-0.546875)
solid=solid.cut(solid2)
| 1,529
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00033990
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6875, 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.6947368421052631, 0.0).circle(0.6947368421052631)
loop1=wp_sketch0.moveTo(0.6947368421052631, 0.0).circle(0.593421052631579)
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.75, -0.359375, 0.0), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042)))
loop2=wp_sketch1.moveTo(0.11578947368421053, -0.09473684210526316).threePointArc((0.2695362506287393, 0.13154427010966527), (0.5, 0.2789473684210526)).lineTo(0.43684210526315786, 0.35789473684210527).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop2).extrude(-0.1015625)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.6328125, -0.265625, 0.0), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042)))
loop3=wp_sketch2.moveTo(0.0, 0.0).threePointArc((0.17410874634370913, 0.2128604062533134), (0.390625, 0.3824013157894737)).threePointArc((0.15605920755014277, 0.23129810717147264), (0.0, 0.0)).close()
solid2=wp_sketch2.add(loop3).extrude(-0.1015625)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.5390625, -0.53125, 0.1015625), cq.Vector(-0.773010453362737, 0.6343932841636455, -6.123233995736766e-17), cq.Vector(0.6343932841636455, 0.773010453362737, 6.123233995736766e-17)))
loop4=wp_sketch3.moveTo(0.09473684210526316, 0.0).lineTo(0.09473684210526316, 0.140625).lineTo(0.0, 0.140625).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop4).extrude(-0.1015625)
solid=solid.union(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.5390625, -0.53125, -0.140625), cq.Vector(-0.773010453362737, 0.6343932841636455, -6.123233995736766e-17), cq.Vector(0.6343932841636455, 0.773010453362737, 6.123233995736766e-17)))
loop5=wp_sketch4.moveTo(0.09473684210526316, 0.0).lineTo(0.09473684210526316, 0.140625).lineTo(0.0, 0.140625).lineTo(0.0, 0.0).close()
solid4=wp_sketch4.add(loop5).extrude(-0.1015625)
solid=solid.union(solid4)
# Generating a workplane for sketch 5
wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(-0.5390625, -0.53125, 0.0), cq.Vector(-0.773010453362737, 0.6343932841636455, -6.123233995736766e-17), cq.Vector(0.6343932841636455, 0.773010453362737, 6.123233995736766e-17)))
loop6=wp_sketch5.moveTo(0.0962171052631579, 0.0).lineTo(0.0962171052631579, 0.1015625).lineTo(0.0, 0.1015625).lineTo(0.0, 0.0).close()
solid5=wp_sketch5.add(loop6).extrude(-0.1015625)
solid=solid.union(solid5)
| 2,696
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00036156
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.75, -0.6484375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 0.631578947368421).lineTo(1.105263157894737, 0.631578947368421).threePointArc((0.75, 0.28916001138090086), (0.39473684210526316, 0.631578947368421)).lineTo(0.0, 0.631578947368421).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.75, 0.015625), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.39473684210526316, 0.0).threePointArc((0.75, 0.3424189359875202), (1.105263157894737, 0.0)).lineTo(1.5, 0.0).lineTo(1.5, 0.631578947368421).lineTo(0.0, 0.631578947368421).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.75)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.296875, 0.5, 0.6484375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.07500000000000001, 0.0).circle(0.07500000000000001)
solid2=wp_sketch2.add(loop2).extrude(-1.0)
solid=solid.cut(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.296875, -0.5, 0.6484375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch3.moveTo(0.07500000000000001, 0.0).circle(0.07500000000000001)
solid3=wp_sketch3.add(loop3).extrude(-1.0)
solid=solid.cut(solid3)
| 1,778
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00039265
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5078125, -0.2734375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.0234375, 0.0).lineTo(1.0234375, 0.5494243421052631).lineTo(0.0, 0.5494243421052631).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.6171875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.0859375, 0.0, 0.6171875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.08684210526315789, 0.0).circle(0.08684210526315789)
solid1=wp_sketch1.add(loop1).extrude(0.1328125)
solid=solid.union(solid1)
| 1,094
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00037248
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.75, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.7578947368421053, 0.7578947368421053).circle(0.3315789473684211)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.453125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.2265625, 0.2421875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch1.moveTo(0.453125, 0.0).threePointArc((0.2265625, 0.08899563293385412), (0.0, 0.0)).close()
solid1=wp_sketch1.add(loop2).extrude(0.453125)
solid=solid.union(solid1)
| 1,133
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00038806
|
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/00034782
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.578125, -0.1484375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(1.3141447368421053, 0.0).threePointArc((1.3211348684210527, 0.0069901315789473685), (1.3141447368421053, 0.013980263157894737)).lineTo(0.0, 0.013980263157894737).threePointArc((0.0069901315789473685, 0.0069901315789473685), (0.0, 0.0)).close()
loop1=wp_sketch0.moveTo(1.3141447368421053, 0.0).threePointArc((1.3211348684210527, 0.0069901315789473685), (1.3141447368421053, 0.013980263157894737)).lineTo(0.0, 0.013980263157894737).threePointArc((0.0069901315789473685, 0.0069901315789473685), (0.0, 0.0)).close()
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0546875)
solid=solid0
| 1,282
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00039463
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.4453125, 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.44999999999999996, 0.0).circle(0.44999999999999996)
loop1=wp_sketch0.moveTo(0.44999999999999996, 0.0).circle(0.38437499999999997)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75)
solid=solid0
| 904
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00035503
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.5625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 1.1210526315789473).lineTo(0.0, 1.1210526315789473).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.046875)
solid=solid0
| 871
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00033600
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.53125, 0.0, -0.546875), 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.39588815789473686, 0.0).lineTo(0.39588815789473686, 1.0511513157894739).lineTo(0.20476973684210528, 1.296875).lineTo(0.0, 1.0511513157894739).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.20476973684210528, 1.1467105263157895).circle(0.040953947368421055)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.1484375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.296875, -0.109375, 0.53125), cq.Vector(3.7672069906944976e-17, 1.0, -4.827229646060869e-17), cq.Vector(0.7883464276266062, 0.0, 0.6152315905806268)))
loop2=wp_sketch1.moveTo(0.07483552631578946, 0.0).lineTo(0.07483552631578946, 0.2734375).lineTo(0.0, 0.2734375).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop2).extrude(-0.296875)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.2890625, 0.0, -0.4765625), 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.039473684210526314, 0.0).circle(0.039473684210526314)
solid2=wp_sketch2.add(loop3).extrude(0.078125)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.3671875, -0.1484375, -0.4765625), 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.039473684210526314, 0.0).circle(0.039473684210526314)
solid3=wp_sketch3.add(loop4).extrude(0.078125)
solid=solid.union(solid3)
| 1,965
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00032293
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.0234375, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.027631578947368417, 0.0).circle(0.027631578947368417)
solid0=wp_sketch0.add(loop0).extrude(0.75, both=True)
solid=solid0
| 899
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00038966
|
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.28421052631578947)
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.21875, 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.22105263157894733, 0.0).circle(0.22105263157894733)
loop3=wp_sketch1.moveTo(0.22105263157894733, 0.0).circle(0.04144736842105263)
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.2734375, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop4=wp_sketch2.moveTo(0.2802631578947368, 0.0).circle(0.2802631578947368)
loop5=wp_sketch2.moveTo(0.2802631578947368, 0.0).circle(0.221875)
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.2734375, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop6=wp_sketch3.moveTo(0.2802631578947368, 0.0).circle(0.2802631578947368)
loop7=wp_sketch3.moveTo(0.2802631578947368, 0.0).circle(0.221875)
solid3=wp_sketch3.add(loop6).add(loop7).extrude(0.5625)
solid=solid.union(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = 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)))
loop8=wp_sketch4.moveTo(0.7578947368421053, 0.0).circle(0.7578947368421053)
loop9=wp_sketch4.moveTo(0.7578947368421053, 0.0).circle(0.28421052631578947)
solid4=wp_sketch4.add(loop8).add(loop9).extrude(0.0546875)
solid=solid.union(solid4)
| 1,904
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00039488
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.21875, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.04736842105263158, 0.0).circle(0.04736842105263158)
loop1=wp_sketch0.moveTo(0.04736842105263158, 0.0).circle(0.01875)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.015625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.0546875, 0.6953125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch1.moveTo(0.05921052631578947, 0.0).circle(0.05797697368421052)
loop3=wp_sketch1.moveTo(0.05921052631578947, 0.0).circle(0.019736842105263157)
solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.015625)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.0546875, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop4=wp_sketch2.moveTo(0.05921052631578947, 0.0).circle(0.05797697368421052)
loop5=wp_sketch2.moveTo(0.05921052631578947, 0.0).circle(0.01850328947368421)
solid2=wp_sketch2.add(loop4).add(loop5).extrude(0.015625)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.09375, 0.375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop6=wp_sketch3.moveTo(0.03618421052631579, -0.3799342105263158).threePointArc((0.12891412192208668, -0.32996602576672046), (0.09498355263157895, -0.4296875)).lineTo(0.3663651315789474, -0.4206414473684211).threePointArc((0.3170919265813337, -0.37314967105263164), (0.3663651315789474, -0.32565789473684215)).lineTo(0.2080592105263158, -0.32113486842105265).threePointArc((0.1736132592983376, -0.3038557269005082), (0.16282894736842107, -0.266858552631579)).lineTo(0.1899671052631579, 0.0).threePointArc((0.09498355263157895, -0.0860880740310127), (0.0, 0.0)).close()
solid3=wp_sketch3.add(loop6).extrude(0.015625)
solid=solid.union(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.09375, 0.3984375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop7=wp_sketch4.moveTo(0.0, 0.0).threePointArc((0.0962171052631579, 0.08507893764914959), (0.1924342105263158, 0.0)).lineTo(0.15394736842105264, 0.3046875).threePointArc((0.0962171052631579, 0.23939943975130132), (0.03848684210526316, 0.3046875)).lineTo(0.0, 0.0).close()
loop8=wp_sketch4.moveTo(0.07697368421052632, 0.21167763157894737).circle(0.01924342105263158)
solid4=wp_sketch4.add(loop7).add(loop8).extrude(0.015625)
solid=solid.union(solid4)
# Generating a workplane for sketch 5
wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(-0.09375, 0.3828125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop9=wp_sketch5.moveTo(0.09868421052631579, 0.0).circle(0.09868421052631579)
loop10=wp_sketch5.moveTo(0.09868421052631579, 0.0).circle(0.020559210526315787)
solid5=wp_sketch5.add(loop9).add(loop10).extrude(0.015625)
solid=solid.union(solid5)
| 2,730
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00037116
|
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, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.16578947368421051, 0.0).circle(0.16578947368421051)
solid0=wp_sketch0.add(loop0).extrude(0.234375)
solid=solid0
| 843
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00039891
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.1015625, 0.1484375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.015789473684210527, 0.0).circle(0.015460526315789473)
solid0=wp_sketch0.add(loop0).extrude(-0.75)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0703125, 0.125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.02368421052631579, 0.0).circle(0.02368421052631579)
solid1=wp_sketch1.add(loop1).extrude(-0.28125)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.09375, 0.0390625), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop2=wp_sketch2.moveTo(0.011842105263157895, 0.0).circle(0.011595394736842105)
solid2=wp_sketch2.add(loop2).extrude(-0.28125)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.09375, 0.0390625), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop3=wp_sketch3.moveTo(0.011842105263157895, 0.0).circle(0.011595394736842105)
solid3=wp_sketch3.add(loop3).extrude(-0.1875)
solid=solid.union(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.109375, -0.0390625), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop4=wp_sketch4.moveTo(0.007894736842105263, 0.0).circle(0.007894736842105263)
solid4=wp_sketch4.add(loop4).extrude(-0.03125)
solid=solid.union(solid4)
| 1,913
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00035098
|
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.25, 0.0).lineTo(0.25, 0.25).lineTo(0.0, 0.25).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.25)
solid=solid0
| 837
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00038580
|
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.25, 0.0).lineTo(0.25, 0.25).lineTo(0.0, 0.25).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.25, 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.25)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.25, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop2=wp_sketch2.moveTo(0.25, 0.0).lineTo(0.25, 0.25).lineTo(0.0, 0.25).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.25)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.25, 0.0, 0.5), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop3=wp_sketch3.moveTo(0.25, 0.0).lineTo(0.25, 0.25).lineTo(0.0, 0.25).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop3).extrude(0.25)
solid=solid.union(solid3)
| 1,587
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00030876
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.140625, -0.390625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.5526315789473684, 0.0).lineTo(0.5526315789473684, 0.8749999999999999).lineTo(0.0, 0.8749999999999999).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0234375)
solid=solid0
| 908
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00038582
|
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.375, 0.0).lineTo(0.375, 0.375).lineTo(0.0, 0.375).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.375, 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.375, 0.0).lineTo(0.375, 0.375).lineTo(0.0, 0.375).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.375)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.75, 0.375, 0.0), cq.Vector(-1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, 1.0, 6.123233995736766e-17)))
loop2=wp_sketch2.moveTo(0.375, 0.0).lineTo(0.375, 0.375).lineTo(0.0, 0.375).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.375)
solid=solid.union(solid2)
| 1,360
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00032093
|
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/00037114
|
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.75)
solid=solid0
| 837
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00039139
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.7109375, -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.4210526315789473, 0.0).lineTo(1.4210526315789473, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.09375)
solid=solid0
| 873
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00036578
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6484375, -0.6171875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.2952302631578947, 0.0).lineTo(1.2952302631578947, 1.3671875).lineTo(0.0, 1.3671875).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.46875)
solid=solid0
| 890
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00039663
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 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.004849400792596651, -0.0109400728916141), (0.015789473684210527, -0.015789473684210527)).lineTo(0.75, -0.0868421052631579).lineTo(0.75, 0.015789473684210527).lineTo(0.0, 0.015789473684210527).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.16578947368421054, -0.007894736842105263).circle(0.007894736842105263)
loop2=wp_sketch0.moveTo(0.2131578947368421, -0.007894736842105263).circle(0.015789473684210527)
loop3=wp_sketch0.moveTo(0.26842105263157895, -0.007894736842105263).circle(0.015789473684210527)
loop4=wp_sketch0.moveTo(0.3157894736842105, -0.015789473684210527).circle(0.015789473684210527)
loop5=wp_sketch0.moveTo(0.37105263157894736, -0.015789473684210527).circle(0.02368421052631579)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).add(loop5).extrude(0.0234375)
solid=solid0
| 1,481
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00034347
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6640625, 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.675, 0.0).circle(0.675)
loop1=wp_sketch0.moveTo(0.675, 0.0).circle(0.5906250000000001)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.4140625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.5859375, 0.0, 0.4140625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch1.moveTo(0.5881578947368421, 0.0).circle(0.5881578947368421)
solid1=wp_sketch1.add(loop2).extrude(0.0859375)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.6640625, -0.3515625, 0.4140625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch2.moveTo(0.0, 0.0).threePointArc((0.6640625, -0.4035827198561831), (1.328125, 0.0)).lineTo(1.328125, 0.2935855263157895).threePointArc((0.6640625, -0.3157490488445391), (0.0, 0.2935855263157895)).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop3).extrude(0.0859375)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.6640625, 0.0546875, 0.4140625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop4=wp_sketch3.moveTo(0.0, 0.0).threePointArc((0.6640625, 0.6093345751603285), (1.328125, 0.0)).lineTo(1.328125, 0.2935855263157895).threePointArc((0.6640625, 0.6971682461719726), (0.0, 0.2935855263157895)).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop4).extrude(0.0859375)
solid=solid.union(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.6640625, -0.0546875, 0.4140625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop5=wp_sketch4.moveTo(0.0, 0.0).threePointArc((0.6640625, -0.6093345751603285), (1.328125, 0.0)).lineTo(1.328125, 0.1118421052631579).threePointArc((0.6640625, 0.7211766804234865), (0.0, 0.1118421052631579)).lineTo(0.0, 0.04194078947368421).lineTo(0.0, 0.0).close()
loop6=wp_sketch4.moveTo(0.6710526315789473, 0.05592105263157895).circle(0.587171052631579)
solid4=wp_sketch4.add(loop5).add(loop6).extrude(0.0859375)
solid=solid.union(solid4)
| 2,150
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00034353
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.1484375, 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.3).lineTo(0.0, 0.3).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.015625)
solid=solid0
| 844
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00030653
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.296875, 0.0, 0.109375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.22105263157894733, 0.0).circle(0.22105263157894733)
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 915
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00036222
|
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.5523026315789473, 0.0).lineTo(0.5523026315789473, 0.71875).lineTo(0.0, 0.71875).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.17401315789473684, 0.007565789473684211).lineTo(0.17401315789473684, 0.03782894736842105).lineTo(0.08322368421052631, 0.03782894736842105).lineTo(0.08322368421052631, 0.007565789473684211).close()
loop2=wp_sketch0.moveTo(0.46151315789473685, 0.007565789473684211).lineTo(0.46151315789473685, 0.03782894736842105).lineTo(0.3782894736842105, 0.03782894736842105).lineTo(0.3782894736842105, 0.007565789473684211).close()
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.3359375)
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/00038794
|
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/00033170
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.640625, 0.171875), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.21957236842105263, -0.17565789473684212).lineTo(0.6440789473684211, -0.17565789473684212).lineTo(1.0685855263157895, -0.17565789473684212).lineTo(1.390625, 0.2634868421052632).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0234375)
solid=solid0
| 1,028
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00033164
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.75, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.07894736842105263, 0.8842105263157896).circle(0.015789473684210527)
loop2=wp_sketch0.moveTo(0.3157894736842105, 0.631578947368421).circle(0.015789473684210527)
loop3=wp_sketch0.moveTo(0.6473684210526316, 1.2).circle(0.12631578947368421)
loop4=wp_sketch0.moveTo(0.6157894736842106, 1.4210526315789473).circle(0.015789473684210527)
loop5=wp_sketch0.moveTo(0.868421052631579, 1.1842105263157896).circle(0.015789473684210527)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).add(loop5).extrude(0.03125)
solid=solid0
| 1,221
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00033602
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.546875, 0.0, -0.046875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.3256578947368421, 0.0).lineTo(0.3256578947368421, 0.5106907894736842).lineTo(0.16282894736842105, 0.703125).lineTo(0.0, 0.49588815789473684).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.16282894736842105, 0.5921052631578947).circle(0.03700657894736842)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.2265625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.546875, 0.0, 0.4453125), cq.Vector(3.7672069906944976e-17, 1.0, -4.827229646060869e-17), cq.Vector(0.7883464276266062, 0.0, 0.6152315905806268)))
loop2=wp_sketch1.moveTo(0.11463815789473684, 0.0).lineTo(0.11463815789473684, 0.265625).lineTo(0.0, 0.265625).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop2).extrude(-0.453125)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.2265625, 0.0, 0.2890625), 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.1989309210526316, 0.0).lineTo(0.1989309210526316, 0.46093750000000006).lineTo(0.0, 0.46093750000000006).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop3).extrude(0.1171875)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.2890625, -0.1171875, 0.3828125), 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.035526315789473684, 0.0).circle(0.035526315789473684)
solid3=wp_sketch3.add(loop4).extrude(0.0546875)
solid=solid.union(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.359375, 0.0, 0.3828125), cq.Vector(-1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, 1.0, 6.123233995736766e-17)))
loop5=wp_sketch4.moveTo(0.035526315789473684, 0.0).circle(0.035526315789473684)
solid4=wp_sketch4.add(loop5).extrude(0.0546875)
solid=solid.union(solid4)
# Generating a workplane for sketch 5
wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(-0.4453125, -0.1015625, -0.046875), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042)))
loop6=wp_sketch5.moveTo(0.1171875, 0.0).lineTo(0.1171875, 0.05921052631578947).lineTo(0.0, 0.05921052631578947).lineTo(0.0, 0.0).close()
solid5=wp_sketch5.add(loop6).extrude(0.2265625)
solid=solid.union(solid5)
| 2,628
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00039449
|
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/00031015
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.140625, 0.015625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.14210526315789473, 0.0).circle(0.13914473684210527)
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.75, 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.7578947368421053, 0.0).circle(0.7578947368421053)
loop2=wp_sketch1.moveTo(0.7578947368421053, 0.0).circle(0.5368421052631579)
solid1=wp_sketch1.add(loop1).add(loop2).extrude(0.0546875)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.5390625, 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.5447368421052632, 0.0).circle(0.5333881578947368)
loop4=wp_sketch2.moveTo(0.5447368421052632, 0.011348684210526316).circle(0.1361842105263158)
solid2=wp_sketch2.add(loop3).add(loop4).extrude(0.0546875)
solid=solid.union(solid2)
| 1,374
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00034145
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.46875, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.47368421052631576, 0.0).circle(0.47368421052631576)
loop1=wp_sketch0.moveTo(0.47368421052631576, 0.0).circle(0.3848684210526316)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.5859375)
solid=solid0
| 978
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00036752
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.59375, 0.0, -0.4453125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.5960526315789474, 0.0).lineTo(1.1796875, 0.0).lineTo(1.1796875, 0.44703947368421054).lineTo(1.1796875, 0.8940789473684211).lineTo(0.5960526315789474, 0.8940789473684211).lineTo(0.0, 0.8940789473684211).lineTo(0.0, 0.44703947368421054).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75, both=True)
solid=solid0
| 1,092
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00039461
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.265625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.2644736842105263, 0.0).circle(0.2644736842105263)
loop1=wp_sketch0.moveTo(0.2644736842105263, 0.0).circle(0.2259046052631579)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75, both=True)
solid=solid0
| 903
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00034958
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0234375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.006720165135604794, -0.016223913811763736), (0.022944078947368423, -0.022944078947368423)).lineTo(0.09177631578947369, -0.022944078947368423).lineTo(0.09177631578947369, -0.06883223684210527).lineTo(0.1453125, -0.06883223684210527).threePointArc((0.16312037192445686, -0.058288058548605845), (0.16825657894736842, -0.03824013157894737)).lineTo(0.16825657894736842, 0.5888980263157895).threePointArc((0.16312037192445686, 0.6089459532854479), (0.1453125, 0.6194901315789474)).lineTo(0.08412828947368421, 0.6194901315789474).lineTo(0.08412828947368421, 0.7265625).lineTo(0.022944078947368423, 0.7265625).threePointArc((0.006720165135604794, 0.7198423348643952), (0.0, 0.7036184210526316)).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.045888157894736846, 0.015296052631578948).circle(0.015296052631578948)
loop2=wp_sketch0.moveTo(0.045888157894736846, 0.305921052631579).circle(0.015296052631578948)
loop3=wp_sketch0.moveTo(0.045888157894736846, 0.596546052631579).circle(0.015296052631578948)
loop4=wp_sketch0.moveTo(0.045888157894736846, 0.6806743421052632).circle(0.015296052631578948)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).extrude(0.0078125)
solid=solid0
| 1,826
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00039529
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.3984375, 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.8628289473684211, -0.30098684210526316).lineTo(0.953125, 0.0).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.3203125)
solid=solid0
| 941
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00037262
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.265625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.2644736842105263, 0.0).circle(0.2644736842105263)
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 836
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00037276
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2421875, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.24473684210526317, 0.0).circle(0.24473684210526317)
solid0=wp_sketch0.add(loop0).extrude(0.2421875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0625, 0.0, -0.234375), 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.6328125, 0.15986842105263158).threePointArc((0.5303862750168149, 0.23980263157894738), (0.6328125, 0.31973684210526315)).lineTo(0.0, 0.4729440789473684).threePointArc((0.18454459089925276, 0.2364720394736842), (0.0, 0.0)).close()
solid1=wp_sketch1.add(loop1).extrude(0.2421875)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.5859375, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop2=wp_sketch2.moveTo(0.08289473684210526, 0.0).circle(0.08289473684210526)
solid2=wp_sketch2.add(loop2).extrude(0.2421875)
solid=solid.union(solid2)
| 1,599
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00038390
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.3359375, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.3359375, 0.0).lineTo(0.3359375, 0.3359375).lineTo(0.0, 0.3359375).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.30411184210526315, 0.03536184210526316).lineTo(0.30411184210526315, 0.30411184210526315).lineTo(0.03536184210526316, 0.30411184210526315).lineTo(0.03536184210526316, 0.03536184210526316).close()
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75)
solid=solid0
| 1,128
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00030082
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 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.015789473684210527, -0.031578947368421054).lineTo(0.031578947368421054, -0.031578947368421054).lineTo(0.75, -0.031578947368421054).lineTo(0.718421052631579, 0.031578947368421054).lineTo(0.031578947368421054, 0.031578947368421054).lineTo(0.015789473684210527, 0.031578947368421054).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.031578947368421054, 0.0).circle(0.007894736842105263)
loop2=wp_sketch0.moveTo(0.37894736842105264, 0.0).circle(0.007894736842105263)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.03125)
solid=solid0
| 1,266
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00035844
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2109375, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.21710526315789475, 0.0).circle(0.21710526315789475)
solid0=wp_sketch0.add(loop0).extrude(0.109375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.140625, -0.109375, 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.14210526315789473, -0.14210526315789473).lineTo(0.28125, 0.0).lineTo(0.14210526315789473, 0.14210526315789473).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.640625)
solid=solid.union(solid1)
| 1,254
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00036418
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.5, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 0.9947368421052631).lineTo(0.0, 0.9947368421052631).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0234375)
solid=solid0
| 869
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00035105
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.3828125, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.38281250000000006, 0.0).threePointArc((0.16843900396318282, 0.05125451853458855), (0.0, 0.19342105263157897)).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.265625, both=True)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.3984375, 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.39958881578947364, -0.7475780931648552), (0.7991776315789473, 0.0)).lineTo(0.6969572368421052, 0.0).lineTo(0.6969572368421052, -0.1022203947368421).threePointArc((0.39958881578947364, -0.6053247135959359), (0.1022203947368421, -0.1022203947368421)).lineTo(0.1022203947368421, 0.0).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.265625, both=True)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop2=wp_sketch2.moveTo(0.38281250000000006, 0.0).lineTo(0.38281250000000006, 0.19342105263157897).threePointArc((0.21437349603681732, 0.05125451853458867), (0.0, 0.0)).close()
solid2=wp_sketch2.add(loop2).extrude(0.265625, both=True)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.4765625, -0.7109375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop3=wp_sketch3.moveTo(0.20888157894736842, 0.0).threePointArc((0.48042763157894736, 0.5233762750980648), (0.7519736842105262, 0.0)).lineTo(0.9504111842105263, 0.0).threePointArc((0.9866182374003991, 0.22816675585290422), (0.919078947368421, 0.44909539473684207)).lineTo(0.8773026315789473, 0.522203947368421).threePointArc((0.48042763157894736, 0.7099118428002886), (0.08355263157894736, 0.522203947368421)).lineTo(0.03133223684210526, 0.44909539473684207).threePointArc((-0.036207053189872856, 0.22816675585290422), (0.0, 0.0)).close()
solid3=wp_sketch3.add(loop3).extrude(0.3828125, both=True)
solid=solid.union(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.3984375, -0.1875), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop4=wp_sketch4.moveTo(0.0, 0.0).threePointArc((0.17802798174823964, 0.13910284262506137), (0.3984375, 0.18873355263157895)).lineTo(0.13001644736842105, 0.18873355263157895).lineTo(0.0, 0.0).close()
solid4=wp_sketch4.add(loop4).extrude(0.3828125, both=True)
solid=solid.union(solid4)
# Generating a workplane for sketch 5
wp_sketch5 = 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)))
loop5=wp_sketch5.moveTo(0.0, 0.0).threePointArc((0.2204095182517604, -0.04963071000651759), (0.3984375, -0.18873355263157895)).lineTo(0.26842105263157895, 0.0).lineTo(0.0, 0.0).close()
solid5=wp_sketch5.add(loop5).extrude(0.3828125, both=True)
solid=solid.union(solid5)
| 3,161
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00036430
|
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.5210526315789474)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.2265625)
solid=solid0
| 900
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00036356
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.5625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 1.1210526315789473).lineTo(0.0, 1.1210526315789473).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.046875)
solid=solid0
| 871
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00039702
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.1640625, 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.16578947368421051, 0.0).circle(0.16578947368421051)
loop1=wp_sketch0.moveTo(0.16578947368421051, 0.0).circle(0.0725328947368421)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75)
solid=solid0
| 957
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00034226
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.25, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.25, 0.0).lineTo(0.25, 0.25).lineTo(0.0, 0.25).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.25, 0.25), 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.25)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.25, 0.25), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop2=wp_sketch2.moveTo(0.25, 0.0).lineTo(0.25, 0.25).lineTo(0.0, 0.25).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.5)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.25), 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.25, 0.0).lineTo(0.25, 0.25).lineTo(0.0, 0.25).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop3).extrude(0.5)
solid=solid.union(solid3)
| 1,588
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00036357
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.7265625), 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.4526315789473685).lineTo(0.0, 1.4526315789473685).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.046875)
solid=solid0
| 946
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00034554
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.109375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.5881578947368421, 0.0).circle(0.5881578947368421)
loop1=wp_sketch0.moveTo(0.40435855263157894, 0.0).circle(0.03675986842105263)
loop2=wp_sketch0.moveTo(0.5881578947368421, 0.0).circle(0.03675986842105263)
loop3=wp_sketch0.moveTo(0.7597039473684211, 0.0).circle(0.03675986842105263)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).extrude(0.0546875)
solid=solid0
| 1,107
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00039716
|
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.375, 0.0).lineTo(0.29210526315789476, 0.08289473684210527).lineTo(0.0, 0.375).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(-0.75)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.375, 0.0).lineTo(0.375, 0.375).lineTo(0.08289473684210527, 0.08289473684210527).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(-0.75)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.0859375, 0.0, 0.0859375), 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.08684210526315789).lineTo(0.171875, 0.0).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(-0.75)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.375, 0.0, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop3=wp_sketch3.moveTo(0.375, 0.0).lineTo(0.0, 0.375).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop3).extrude(-0.75)
solid=solid.union(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.375, 0.375, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop4=wp_sketch4.moveTo(0.375, 0.0).lineTo(0.375, 0.375).lineTo(0.0, 0.0).close()
solid4=wp_sketch4.add(loop4).extrude(-0.75)
solid=solid.union(solid4)
| 2,002
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00033207
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.390625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.48947368421052634, 0.0).lineTo(1.5, 0.7894736842105263).lineTo(0.0, 0.7894736842105263).lineTo(0.0, 0.5842105263157895).lineTo(0.1105263157894737, 0.5842105263157895).threePointArc((0.3, 0.39473684210526316), (0.1105263157894737, 0.20526315789473684)).lineTo(0.0, 0.20526315789473684).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.1105263157894737, 0.1105263157894737).circle(0.04736842105263158)
loop2=wp_sketch0.moveTo(0.1105263157894737, 0.6631578947368422).circle(0.04736842105263158)
loop3=wp_sketch0.moveTo(0.3157894736842105, 0.18947368421052632).circle(0.04736842105263158)
loop4=wp_sketch0.moveTo(0.3157894736842105, 0.5842105263157895).circle(0.04736842105263158)
loop5=wp_sketch0.moveTo(0.39473684210526316, 0.39473684210526316).circle(0.04736842105263158)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).add(loop5).extrude(0.0703125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.75, 0.390625, 0.0), cq.Vector(-1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, 1.0, 6.123233995736766e-17)))
loop6=wp_sketch1.moveTo(0.9218750000000001, 0.0).lineTo(0.9218750000000001, 0.06792763157894738).lineTo(0.0, 0.06792763157894738).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop6).extrude(0.140625)
solid=solid.union(solid1)
| 1,785
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00036394
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1640625, 0.0, -0.3984375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.1657483552631579, -0.34495317737812725), (0.3314967105263158, 0.0)).threePointArc((0.3234570233993142, 0.024557459068078293), (0.30863486842105264, 0.04572368421052632)).lineTo(0.25148026315789473, 0.788733552631579).threePointArc((0.253234706917729, 0.8072002731326869), (0.26291118421052634, 0.8230263157894737)).threePointArc((0.1657483552631579, 1.0749114781831852), (0.06858552631578949, 0.8230263157894737)).threePointArc((0.07826200360858686, 0.8072002731326869), (0.08001644736842106, 0.788733552631579)).lineTo(0.02286184210526316, 0.04572368421052632).threePointArc((0.008039687127001639, 0.024557459068078293), (0.0, 0.0)).close()
loop1=wp_sketch0.moveTo(0.1714638157894737, -0.13717105263157897).circle(0.1714638157894737)
loop2=wp_sketch0.moveTo(0.1714638157894737, 0.9373355263157895).circle(0.10287828947368421)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.109375)
solid=solid0
| 1,599
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00039266
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6015625, -0.0859375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.2109375, 0.0).threePointArc((1.1640015049135837, 0.08285361842105263), (1.2109375, 0.16570723684210525)).lineTo(0.0, 0.16570723684210525).threePointArc((0.046935995086416264, 0.08285361842105263), (0.0, 0.0)).close()
solid0=wp_sketch0.add(loop0).extrude(0.109375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 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.09868421052631579, 0.0).circle(0.09662828947368421)
loop2=wp_sketch1.moveTo(0.09868421052631579, 0.0).circle(0.06990131578947369)
solid1=wp_sketch1.add(loop1).add(loop2).extrude(0.109375)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.5546875, 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.09868421052631579, 0.0).circle(0.09662828947368421)
loop4=wp_sketch2.moveTo(0.09868421052631579, 0.0).circle(0.06990131578947369)
solid2=wp_sketch2.add(loop3).add(loop4).extrude(0.109375)
solid=solid.union(solid2)
| 1,496
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00038178
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1875, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.18947368421052632, 0.0).circle(0.18947368421052632)
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 836
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00030524
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.7109375, 0.0, 0.484375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.04613486842105263, -0.6305098684210526).lineTo(0.507483552631579, -0.6305098684210526).lineTo(0.507483552631579, -0.953453947368421).lineTo(1.4609375, -0.9842105263157894).lineTo(1.4609375, -0.7535361842105263).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.3984375)
solid=solid0
| 1,075
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00033993
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2265625, 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.4504934210526316, 0.0).lineTo(0.4504934210526316, 1.2286184210526316).lineTo(0.21842105263157896, 1.296875).lineTo(0.0, 1.2286184210526316).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.09375)
solid=solid0
| 1,008
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00035448
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.4296875, 0.0, 0.109375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.21578947368421053, 0.0).lineTo(0.21578947368421053, 0.640625).lineTo(0.0, 0.640625).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0546875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.2109375, 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.21578947368421053, 0.0).lineTo(0.21578947368421053, 0.640625).lineTo(0.0, 0.640625).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.0546875)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.4296875, 0.0, -0.109375), 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.2109375, 0.0).lineTo(0.2109375, 0.2109375).lineTo(0.0, 0.2109375).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.0546875)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.2109375, 0.0, -0.109375), 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.4296875, 0.0).lineTo(0.4296875, 0.21710526315789475).lineTo(0.0, 0.21710526315789475).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop3).extrude(0.0546875)
solid=solid.union(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.2109375, 0.0, -0.109375), 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.2109375, 0.0).lineTo(0.2109375, 0.2109375).lineTo(0.0, 0.2109375).lineTo(0.0, 0.0).close()
solid4=wp_sketch4.add(loop4).extrude(0.0546875)
solid=solid.union(solid4)
| 2,185
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00035460
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.015625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.5210526315789474, -0.06315789473684211).lineTo(0.75, -0.06315789473684211).threePointArc((0.6710526315789473, 0.015789473684210527), (0.75, 0.09473684210526316)).lineTo(0.5210526315789474, 0.09473684210526316).lineTo(0.0, 0.031578947368421054).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0234375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.078125, 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.08289473684210526, 0.0).circle(0.08289473684210526)
loop2=wp_sketch1.moveTo(0.08289473684210526, 0.0).circle(0.05180921052631579)
solid1=wp_sketch1.add(loop1).add(loop2).extrude(0.0234375)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.078125, 0.0, 0.0234375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch2.moveTo(0.08289473684210526, 0.0).circle(0.08289473684210526)
loop4=wp_sketch2.moveTo(0.08289473684210526, 0.0).circle(0.05180921052631579)
solid2=wp_sketch2.add(loop3).add(loop4).extrude(0.0078125)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.0546875, 0.0, 0.0234375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop5=wp_sketch3.moveTo(0.05024671052631579, 0.0).circle(0.05024671052631579)
loop6=wp_sketch3.moveTo(0.05024671052631579, 0.0).circle(0.05024671052631579)
solid3=wp_sketch3.add(loop5).add(loop6).extrude(0.0078125)
solid=solid.union(solid3)
| 1,818
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00035312
|
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.5210526315789474).lineTo(0.0, 0.5210526315789474).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.13421052631578947, 0.40263157894736845).circle(0.05526315789473685)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0546875)
solid=solid0
| 1,023
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00037505
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.3359375, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.3394736842105263, 0.0).circle(0.3394736842105263)
loop1=wp_sketch0.moveTo(0.3394736842105263, 0.0).circle(0.3111842105263158)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75)
solid=solid0
| 900
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00038636
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0390625, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.039473684210526314, 0.0).circle(0.039473684210526314)
loop1=wp_sketch0.moveTo(0.039473684210526314, 0.0).circle(0.03782894736842105)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75)
solid=solid0
| 979
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00031174
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.203125, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.20131578947368423, 0.0).circle(0.20131578947368423)
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.0, -0.1171875, 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.11842105263157894, 0.0).circle(0.11842105263157894)
solid1=wp_sketch1.add(loop1).extrude(0.75)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.234375, -0.109375, 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.055263157894736833, -0.0944078947368421).lineTo(0.16348684210526315, -0.0944078947368421).lineTo(0.21874999999999997, 0.0).lineTo(0.16348684210526315, 0.0944078947368421).lineTo(0.055263157894736833, 0.0944078947368421).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(-0.140625)
solid=solid.cut(solid2)
| 1,560
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00036828
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.015625, -0.1875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.03223684210526316, 0.0).lineTo(0.03223684210526316, 0.38281250000000006).lineTo(0.0, 0.38281250000000006).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.3671875)
solid=solid0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.015625, -0.1875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.03223684210526316, 0.0).lineTo(0.03223684210526316, 0.38281250000000006).lineTo(0.0, 0.38281250000000006).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(-0.3671875)
solid=solid.union(solid0)
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.015625, -0.1875, 0.3359375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.38281250000000006, 0.0).lineTo(0.38281250000000006, 0.03223684210526316).lineTo(0.0, 0.03223684210526316).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.734375)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.71875, 0.1875, 0.3359375), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042)))
loop2=wp_sketch2.moveTo(0.03223684210526316, 0.0).lineTo(0.03223684210526316, 0.38281250000000006).lineTo(0.0, 0.38281250000000006).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.734375)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.71875, -0.1640625, -0.3984375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop3=wp_sketch3.moveTo(0.38281250000000006, 0.0).lineTo(0.38281250000000006, 0.03223684210526316).lineTo(0.0, 0.03223684210526316).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop3).extrude(0.734375)
solid=solid.union(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.75, -0.1875, -0.3984375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop4=wp_sketch4.moveTo(0.02417763157894737, 0.0).lineTo(0.02417763157894737, 0.7656250000000001).lineTo(0.0, 0.7656250000000001).lineTo(0.0, 0.0).close()
solid4=wp_sketch4.add(loop4).extrude(-0.734375)
solid=solid.union(solid4)
# Generating a workplane for sketch 5
wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(-0.015625, 0.1875, -0.3984375), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042)))
loop5=wp_sketch5.moveTo(0.10476973684210528, -0.09671052631578948).lineTo(0.4190789473684211, -0.28207236842105265).lineTo(0.693092105263158, -0.08059210526315791).lineTo(0.7656250000000001, 0.0).lineTo(0.0, 0.0).close()
solid5=wp_sketch5.add(loop5).extrude(-0.765625)
solid=solid.union(solid5)
| 2,871
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00033944
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.375, 0.0).lineTo(0.375, 0.031578947368421054).lineTo(0.18552631578947368, 0.031578947368421054).lineTo(0.18552631578947368, 0.015789473684210527).lineTo(0.18157894736842106, 0.015789473684210527).lineTo(0.18157894736842106, 0.031578947368421054).lineTo(0.0, 0.031578947368421054).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.0, 0.0, 0.28125), 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.07894736842105263).lineTo(0.75, -0.07894736842105263).lineTo(0.75, 0.0).lineTo(0.38684210526315793, 0.0).lineTo(0.37894736842105264, -0.015789473684210527).lineTo(0.3631578947368421, 0.0).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.078125)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.59375), 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.0859375).lineTo(0.7421875, -0.0859375).lineTo(0.7421875, 0.0).lineTo(0.3828125, 0.0).lineTo(0.3671875, -0.015625).lineTo(0.359375, 0.0).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.0859375)
solid=solid.union(solid2)
| 1,873
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00036182
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2421875, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.24473684210526317, 0.0).circle(0.24473684210526317)
loop1=wp_sketch0.moveTo(0.24473684210526317, 0.0).circle(0.17335526315789473)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.234375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.671875, -0.09375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch1.moveTo(0.6171875, -0.14292763157894736).threePointArc((0.4274016362145321, 0.09420230263157896), (0.6171875, 0.3313322368421053)).lineTo(0.0, 0.1949013157894737).threePointArc((0.12176074463308298, 0.09745065789473685), (0.0, 0.0)).close()
solid1=wp_sketch1.add(loop2).extrude(0.234375)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.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.09868421052631579, 0.0).circle(0.09868421052631579)
loop4=wp_sketch2.moveTo(0.09868421052631579, 0.0).circle(0.049342105263157895)
solid2=wp_sketch2.add(loop3).add(loop4).extrude(0.234375)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.703125, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop5=wp_sketch3.moveTo(0.05131578947368422, 0.0).circle(0.05131578947368422)
solid3=wp_sketch3.add(loop5).extrude(0.140625)
solid=solid.union(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.171875, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop6=wp_sketch4.moveTo(0.17368421052631577, 0.0).circle(0.17368421052631577)
solid4=wp_sketch4.add(loop6).extrude(0.140625)
solid=solid.union(solid4)
# Generating a workplane for sketch 5
wp_sketch5 = 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)))
loop7=wp_sketch5.moveTo(0.09868421052631579, 0.0).circle(0.09868421052631579)
loop8=wp_sketch5.moveTo(0.09868421052631579, 0.0).circle(0.049342105263157895)
solid5=wp_sketch5.add(loop7).add(loop8).extrude(0.140625)
solid=solid.union(solid5)
# Generating a workplane for sketch 6
wp_sketch6 = 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)))
loop9=wp_sketch6.moveTo(0.24473684210526317, 0.0).circle(0.24473684210526317)
loop10=wp_sketch6.moveTo(0.24473684210526317, 0.0).circle(0.17335526315789473)
solid6=wp_sketch6.add(loop9).add(loop10).extrude(0.140625)
solid=solid.union(solid6)
# Generating a workplane for sketch 7
wp_sketch7 = cq.Workplane(cq.Plane(cq.Vector(-0.671875, -0.09375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop11=wp_sketch7.moveTo(0.6171875, -0.14292763157894736).threePointArc((0.4274016362145321, 0.09420230263157896), (0.6171875, 0.3313322368421053)).lineTo(0.0, 0.1949013157894737).threePointArc((0.12176074463308298, 0.09745065789473685), (0.0, 0.0)).close()
solid7=wp_sketch7.add(loop11).extrude(0.140625)
solid=solid.union(solid7)
| 2,758
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00034795
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0078125, 0.0, -0.0078125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.0078125, 0.0).lineTo(0.0078125, 0.0078125).lineTo(0.0, 0.0078125).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.007154605263157894, 0.0006578947368421052).lineTo(0.007154605263157894, 0.007154605263157894).lineTo(0.0006578947368421052, 0.007154605263157894).lineTo(0.0006578947368421052, 0.0006578947368421052).close()
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.6953125)
solid=solid0
| 1,151
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00039460
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0546875, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.05921052631578947, 0.0).circle(0.05797697368421052)
loop1=wp_sketch0.moveTo(0.05921052631578947, 0.0).circle(0.019736842105263157)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.015625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.0546875, 0.0, 0.6953125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop2=wp_sketch1.moveTo(0.05921052631578947, 0.0).circle(0.05797697368421052)
loop3=wp_sketch1.moveTo(0.05921052631578947, 0.0).circle(0.019736842105263157)
solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.015625)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.21875, 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.04736842105263158, 0.0).circle(0.04736842105263158)
loop5=wp_sketch2.moveTo(0.04736842105263158, 0.0).circle(0.01875)
solid2=wp_sketch2.add(loop4).add(loop5).extrude(0.015625)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.09375, 0.0, 0.375), 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.03618421052631579, -0.3799342105263158).threePointArc((0.12891412192208668, -0.32996602576672046), (0.09498355263157895, -0.4296875)).lineTo(0.3663651315789474, -0.4206414473684211).threePointArc((0.3170919265813337, -0.37314967105263164), (0.3663651315789474, -0.32565789473684215)).lineTo(0.2080592105263158, -0.32113486842105265).threePointArc((0.1736132592983376, -0.3038557269005082), (0.16282894736842107, -0.266858552631579)).lineTo(0.1899671052631579, 0.0).threePointArc((0.09498355263157895, -0.0860880740310127), (0.0, 0.0)).close()
solid3=wp_sketch3.add(loop6).extrude(0.015625)
solid=solid.union(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.09375, 0.0, 0.3828125), 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.09868421052631579, 0.0).circle(0.09868421052631579)
loop8=wp_sketch4.moveTo(0.09868421052631579, 0.0).circle(0.020559210526315787)
solid4=wp_sketch4.add(loop7).add(loop8).extrude(0.015625)
solid=solid.union(solid4)
# Generating a workplane for sketch 5
wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(-0.09375, 0.0, 0.3984375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop9=wp_sketch5.moveTo(0.0, 0.0).threePointArc((0.0962171052631579, 0.08507893764914959), (0.1924342105263158, 0.0)).lineTo(0.15394736842105264, 0.3046875).threePointArc((0.0962171052631579, 0.23939943975130132), (0.03848684210526316, 0.3046875)).lineTo(0.0, 0.0).close()
loop10=wp_sketch5.moveTo(0.07697368421052632, 0.21167763157894737).circle(0.01924342105263158)
solid5=wp_sketch5.add(loop9).add(loop10).extrude(0.015625)
solid=solid.union(solid5)
| 3,163
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00033165
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.40625, -0.265625, 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.5251644736842106).lineTo(0.6268092105263158, 0.5251644736842106).lineTo(0.6268092105263158, 0.49975328947368425).lineTo(0.7792763157894738, 0.49975328947368425).lineTo(0.7792763157894738, 0.025411184210526315).lineTo(0.025411184210526315, 0.025411184210526315).lineTo(0.025411184210526315, 0.49975328947368425).lineTo(0.17787828947368423, 0.49975328947368425).lineTo(0.17787828947368423, 0.5251644736842106).lineTo(0.0, 0.5251644736842106).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 1,234
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00031000
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.015625, 0.0, -0.0390625), 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.029605263157894735, 0.0).lineTo(0.029605263157894735, 0.078125).lineTo(0.0, 0.078125).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 960
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00035500
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.75, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(1.2473684210526317, 0.25263157894736843).lineTo(1.2473684210526317, 1.2473684210526317).lineTo(0.25263157894736843, 1.2473684210526317).lineTo(0.25263157894736843, 0.25263157894736843).close()
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.03125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.5, -0.5, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch1.moveTo(1.0, 0.0).lineTo(1.0, 1.0).lineTo(0.0, 1.0).lineTo(0.0, 0.0).close()
loop3=wp_sketch1.moveTo(0.7473684210526316, 0.25263157894736843).lineTo(0.7473684210526316, 0.7473684210526316).lineTo(0.25263157894736843, 0.7473684210526316).lineTo(0.25263157894736843, 0.25263157894736843).close()
solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.015625)
solid=solid.union(solid1)
| 1,405
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00033171
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.734375, 0.65625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.12302631578947368, -0.7227796052631579).lineTo(0.7381578947368421, -0.7227796052631579).lineTo(1.3379111842105262, -0.7227796052631579).lineTo(1.4609375, 0.0).lineTo(1.399424342105263, 0.01537828947368421).lineTo(1.2763980263157895, -0.661266447368421).lineTo(0.7381578947368421, -0.661266447368421).lineTo(0.18453947368421053, -0.661266447368421).lineTo(0.06151315789473684, 0.01537828947368421).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.6796875)
solid=solid0
| 1,166
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00038965
|
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/00038795
|
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/00030652
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6953125, -0.3203125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.3359375, 0.0).lineTo(1.3359375, 1.06875).lineTo(0.2671875, 1.06875).lineTo(0.0, 1.06875).lineTo(0.0, 0.8015625000000001).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.2671875, 0.2671875).circle(0.0421875)
loop2=wp_sketch0.moveTo(0.2671875, 0.8015625000000001).circle(0.0421875)
loop3=wp_sketch0.moveTo(1.1812500000000001, 0.2671875).lineTo(1.1812500000000001, 0.8015625000000001).lineTo(0.8296875, 0.8015625000000001).lineTo(0.8296875, 0.2671875).close()
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).extrude(0.078125)
solid=solid0
| 1,178
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00036237
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.37894736842105264).lineTo(0.0, 0.37894736842105264).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(-0.375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.375, -0.375, -0.375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.375, 0.0).lineTo(0.375, 0.375).lineTo(0.0, 0.375).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.375)
solid=solid.union(solid1)
| 1,143
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00030120
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.359375, 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.3631578947368421, 0.0).circle(0.3631578947368421)
loop1=wp_sketch0.moveTo(0.3631578947368421, 0.0).circle(0.3026315789473684)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75)
solid=solid0
| 899
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00030108
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6015625, 0.0, -0.0625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(1.209292763157895, 0.0).lineTo(1.3515625, 0.19917763157894738).lineTo(1.1950657894736842, 0.11381578947368422).lineTo(0.0, 0.17072368421052633).threePointArc((-0.08965834657869849, 0.08536184210526317), (0.0, 0.0)).close()
solid0=wp_sketch0.add(loop0).extrude(0.0625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.6015625, 0.0, -0.0625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(1.209292763157895, 0.0).lineTo(1.3515625, 0.19917763157894738).lineTo(1.1950657894736842, 0.11381578947368422).lineTo(0.0, 0.17072368421052633).threePointArc((-0.08965834657869849, 0.08536184210526317), (0.0, 0.0)).close()
solid1=wp_sketch1.add(loop1).extrude(0.0625)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.6015625, 0.0, -0.0625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop2=wp_sketch2.moveTo(1.209292763157895, 0.0).lineTo(1.3515625, 0.19917763157894738).lineTo(1.1950657894736842, 0.11381578947368422).lineTo(0.0, 0.17072368421052633).threePointArc((-0.08965834657869849, 0.08536184210526317), (0.0, 0.0)).close()
solid2=wp_sketch2.add(loop2).extrude(0.0625)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.21875, -0.0625, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop3=wp_sketch3.moveTo(0.21874999999999997, 0.0).lineTo(0.0, 0.029934210526315785).threePointArc((-0.017137293096857534, 0.014967105263157893), (0.0, 0.0)).close()
solid3=wp_sketch3.add(loop3).extrude(-0.0625)
solid=solid.cut(solid3)
| 2,206
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00039886
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.703125, 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.15394736842105264, 0.0).circle(0.15074013157894736)
solid0=wp_sketch0.add(loop0).extrude(0.3671875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.40625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.1381578947368421, 0.0).circle(0.1381578947368421)
solid1=wp_sketch1.add(loop1).extrude(0.3671875)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.734375, -0.5390625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.15394736842105264, 0.0).circle(0.15394736842105264)
solid2=wp_sketch2.add(loop2).extrude(0.3671875)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.71875, -0.6171875, 0.3671875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch3.moveTo(0.30419407894736844, 0.0).lineTo(0.30419407894736844, 0.5520559210526316).threePointArc((0.011574051807717771, 0.619654605263158), (0.30419407894736844, 0.6872532894736842)).lineTo(0.30419407894736844, 1.0703125).lineTo(0.0, 1.0703125).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop3).extrude(0.3671875)
solid=solid.union(solid3)
| 1,616
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00037840
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.640625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.6394736842105263, 0.0).lineTo(0.75, 0.6394736842105263).lineTo(0.0, 0.6394736842105263).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.3203125)
solid=solid0
| 889
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00037854
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0078125, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.007894736842105263, 0.0).circle(0.007894736842105263)
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 841
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00038597
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = 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)))
loop0=wp_sketch0.moveTo(0.09473684210526316, 0.0).circle(0.09473684210526316)
loop1=wp_sketch0.moveTo(0.09473684210526316, 0.0).circle(0.04736842105263158)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(-0.6640625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = 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)))
loop2=wp_sketch1.moveTo(0.09473684210526316, 0.0).circle(0.09473684210526316)
solid1=wp_sketch1.add(loop2).extrude(0.296875)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.0625, -0.296875, 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.06315789473684211, 0.0).circle(0.06315789473684211)
solid2=wp_sketch2.add(loop3).extrude(-0.2265625)
solid=solid.cut(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.046875, 0.0, 0.0), cq.Vector(-1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, 1.0, 6.123233995736766e-17)))
loop4=wp_sketch3.moveTo(0.04736842105263158, 0.0).circle(0.04736842105263158)
solid3=wp_sketch3.add(loop4).extrude(0.75)
solid=solid.union(solid3)
| 1,776
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00035942
|
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.7421052631578947, 0.015789473684210527).circle(0.4736842105263158)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0390625)
solid=solid0
| 917
|
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.