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 |
|---|---|---|---|---|---|
0000/00002601
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.3125, -0.2421875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.07524671052631579, 0.0).lineTo(0.07524671052631579, 0.4765625).lineTo(0.0, 0.4765625).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.3046875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.234375, -0.2421875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.07524671052631579, 0.0).lineTo(0.07524671052631579, 0.4765625).lineTo(0.0, 0.4765625).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.3046875)
solid=solid.union(solid1)
| 1,136
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00002629
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.078125, -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.15460526315789475, 0.0).lineTo(0.15460526315789475, 1.1131578947368421).threePointArc((0.1372786936346909, 1.285695408412049), (0.09276315789473684, 1.4532894736842106)).threePointArc((0.07730263157894737, 1.4643205409179803), (0.06184210526315789, 1.4532894736842106)).threePointArc((0.01732656952320385, 1.285695408412049), (0.0, 1.1131578947368421)).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.015625)
solid=solid0
| 1,117
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00007745
|
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.09473684210526316, 0.0).lineTo(0.09473684210526316, 0.7342105263157895).threePointArc((0.09011221233452453, 0.7453753702292614), (0.07894736842105263, 0.75)).lineTo(0.015789473684210527, 0.75).threePointArc((0.004624629770738633, 0.7453753702292614), (0.0, 0.7342105263157895)).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.03118221685504614, 0.01945631126895207), (0.039473684210526314, 0.05526315789473685)).lineTo(0.05526315789473685, 0.05526315789473685).threePointArc((0.06084557985147279, 0.05757547278010616), (0.06315789473684211, 0.06315789473684211)).lineTo(0.06315789473684211, 0.20526315789473684).threePointArc((0.06084557985147279, 0.2108455798514728), (0.05526315789473685, 0.2131578947368421)).lineTo(0.039473684210526314, 0.2131578947368421).threePointArc((0.03389126225379037, 0.2108455798514728), (0.031578947368421054, 0.20526315789473684)).lineTo(0.031578947368421054, 0.06315789473684211).close()
loop2=wp_sketch0.moveTo(0.04736842105263158, 0.6710526315789473).circle(0.015789473684210527)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.0234375)
solid=solid0
| 1,684
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00006471
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2890625, -0.671875, 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.022785936266243877, -0.05501011636533507), (0.07779605263157895, -0.07779605263157895)).lineTo(0.28289473684210525, -0.07779605263157895).lineTo(0.28289473684210525, -0.056578947368421055).lineTo(0.07779605263157895, -0.056578947368421055).threePointArc((0.03778869527497174, -0.04000735735660732), (0.021217105263157895, 0.0)).lineTo(0.021217105263157895, 0.594078947368421).threePointArc((0.03778869527497174, 0.6340863047250282), (0.07779605263157895, 0.6506578947368421)).lineTo(0.28289473684210525, 0.6506578947368421).lineTo(0.28289473684210525, 0.671875).lineTo(0.07779605263157895, 0.671875).threePointArc((0.022785936266243877, 0.6490890637337562), (0.0, 0.594078947368421)).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.140625)
solid=solid0
| 1,428
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00005193
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.078125, 0.671875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.07894736842105263, 0.0).circle(0.07894736842105263)
solid0=wp_sketch0.add(loop0).extrude(0.0078125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.65625, 0.3359375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.07894736842105263, 0.0).circle(0.07894736842105263)
solid1=wp_sketch1.add(loop1).extrude(0.0078125)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.65625, -0.3359375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.07894736842105263, 0.0).circle(0.07894736842105263)
solid2=wp_sketch2.add(loop2).extrude(0.0078125)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.078125, -0.671875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch3.moveTo(0.07894736842105263, 0.0).circle(0.07894736842105263)
solid3=wp_sketch3.add(loop3).extrude(0.0078125)
solid=solid.union(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.5, -0.3359375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop4=wp_sketch4.moveTo(0.07894736842105263, 0.0).circle(0.07894736842105263)
solid4=wp_sketch4.add(loop4).extrude(0.0078125)
solid=solid.union(solid4)
# Generating a workplane for sketch 5
wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(0.5, 0.3359375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop5=wp_sketch5.moveTo(0.07894736842105263, 0.0).circle(0.07894736842105263)
solid5=wp_sketch5.add(loop5).extrude(0.0078125)
solid=solid.union(solid5)
# Generating a workplane for sketch 6
wp_sketch6 = 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)))
loop6=wp_sketch6.moveTo(0.07894736842105263, 0.0).circle(0.07894736842105263)
solid6=wp_sketch6.add(loop6).extrude(0.0078125)
solid=solid.union(solid6)
| 2,035
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00005346
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.07105263157894737).lineTo(0.0, 0.07105263157894737).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.07894736842105263, 0.031578947368421054).circle(0.007894736842105263)
loop2=wp_sketch0.moveTo(0.39473684210526316, 0.031578947368421054).circle(0.007894736842105263)
loop3=wp_sketch0.moveTo(0.6, 0.031578947368421054).circle(0.007894736842105263)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).extrude(0.046875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.046875, 0.0, 0.03125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop4=wp_sketch1.moveTo(0.07894736842105263, 0.0).threePointArc((0.08289473684210527, 0.004146050708841643), (0.0868421052631579, 0.0)).lineTo(0.38684210526315793, 0.0).threePointArc((0.3907894736842105, 0.004146050708841643), (0.39473684210526316, 0.0)).lineTo(0.5921052631578948, 0.0).threePointArc((0.5960526315789474, 0.004146050708841643), (0.6, 0.0)).lineTo(0.75, 0.0).lineTo(0.75, 0.031578947368421054).lineTo(0.0, 0.031578947368421054).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop4).extrude(-0.0390625)
solid=solid.cut(solid1)
| 1,730
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00005420
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.75, -0.3984375), 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.8526315789473684).lineTo(0.0, 0.8526315789473684).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0703125)
solid=solid0
| 929
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00004064
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.5078125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.1736842105263158, 0.0).threePointArc((0.1989387818477341, -0.003183654456797575), (0.2210526315789474, -0.015789473684210527)).threePointArc((1.5205402726904382, 0.5131578947368421), (0.2210526315789474, 1.0421052631578949)).threePointArc((0.1989387818477341, 1.0294994439304817), (0.1736842105263158, 1.0263157894736843)).lineTo(0.0, 1.0263157894736843).lineTo(0.0, 0.5368421052631579).lineTo(0.20526315789473684, 0.5368421052631579).threePointArc((1.1700509338125002, 0.5131578947368421), (0.20526315789473684, 0.48947368421052634)).lineTo(0.0, 0.48947368421052634).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.203125)
solid=solid0
| 1,302
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00008138
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0390625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.039473684210526314, 0.0).circle(0.039473684210526314)
loop1=wp_sketch0.moveTo(0.039473684210526314, 0.0).circle(0.023026315789473683)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75)
solid=solid0
| 908
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00009554
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.546875, -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.105263157894737, 0.0).lineTo(1.105263157894737, 1.5).lineTo(0.0, 1.5).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.4609375, -0.578125, 0.0), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042)))
loop1=wp_sketch1.moveTo(0.9296874999999999, 0.0).lineTo(0.9296874999999999, 0.08807565789473684).lineTo(0.0, 0.08807565789473684).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.03125)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.4609375, 0.6640625, 0.0), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042)))
loop2=wp_sketch2.moveTo(0.9296874999999999, 0.0).lineTo(0.9296874999999999, 0.08807565789473684).lineTo(0.0, 0.08807565789473684).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.03125)
solid=solid.union(solid2)
| 1,555
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00005568
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.734375, 0.0, -0.515625), 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.009104739861141685, -0.02198078645464757), (0.031085526315789473, -0.031085526315789473)).lineTo(1.4454769736842106, -0.031085526315789473).threePointArc((1.4674577601388583, -0.02198078645464757), (1.4765625, 0.0)).lineTo(1.4765625, 0.7460526315789473).threePointArc((1.4674577601388583, 0.7680334180335951), (1.4454769736842106, 0.7771381578947368)).lineTo(0.031085526315789473, 0.7771381578947368).threePointArc((0.009104739861141685, 0.7680334180335951), (0.0, 0.7460526315789473)).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.1709703947368421, 0.15542763157894737).circle(0.046628289473684206)
loop2=wp_sketch0.moveTo(0.1709703947368421, 0.5129111842105263).circle(0.046628289473684206)
loop3=wp_sketch0.moveTo(0.7460526315789473, 0.5129111842105263).circle(0.15542763157894737)
loop4=wp_sketch0.moveTo(1.3055921052631578, 0.15542763157894737).circle(0.046628289473684206)
loop5=wp_sketch0.moveTo(1.3055921052631578, 0.5129111842105263).circle(0.046628289473684206)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).add(loop5).extrude(0.6171875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.421875, 0.0, -0.390625), 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.0, 0.0).threePointArc((0.007731802897953902, -0.018666223417835696), (0.026398026315789472, -0.026398026315789472)).lineTo(0.8095394736842105, -0.026398026315789472).threePointArc((0.8282056971020461, -0.018666223417835696), (0.8359375, 0.0)).lineTo(0.8359375, 0.7831414473684211).threePointArc((0.8282056971020461, 0.8018076707862566), (0.8095394736842105, 0.8095394736842105)).lineTo(0.026398026315789472, 0.8095394736842105).threePointArc((0.007731802897953902, 0.8018076707862566), (0.0, 0.7831414473684211)).lineTo(0.0, 0.0).close()
loop7=wp_sketch1.moveTo(0.42236842105263156, 0.3959703947368421).circle(0.15838815789473684)
solid1=wp_sketch1.add(loop6).add(loop7).extrude(0.75)
solid=solid.union(solid1)
| 2,478
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00003858
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.71875, -0.453125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.031578947368421054, 0.0).circle(0.030921052631578946)
solid0=wp_sketch0.add(loop0).extrude(0.078125)
solid=solid0
| 848
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00006920
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.03125, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.031578947368421054, 0.0).circle(0.031578947368421054)
loop1=wp_sketch0.moveTo(0.031578947368421054, 0.0).circle(0.02236842105263158)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75)
solid=solid0
| 905
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00005597
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.3203125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.15041118421052632, 0.0).lineTo(0.15041118421052632, 0.2421875).lineTo(0.0, 0.2421875).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.1015625, both=True)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.6015625, -0.3203125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.07648026315789475, 0.0).lineTo(0.07648026315789475, 0.2421875).lineTo(0.0, 0.2421875).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.1015625, both=True)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.6015625, -0.359375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(1.203125, 0.0).lineTo(1.203125, 0.7218749999999999).lineTo(0.0, 0.7218749999999999).lineTo(0.0, 0.27861842105263157).lineTo(0.07598684210526316, 0.27861842105263157).lineTo(0.07598684210526316, 0.03799342105263158).lineTo(0.0, 0.03799342105263158).lineTo(0.0, 0.0).close()
loop3=wp_sketch2.moveTo(0.0506578947368421, 0.6078947368421053).circle(0.012664473684210526)
loop4=wp_sketch2.moveTo(1.013157894736842, 0.02532894736842105).circle(0.012664473684210526)
solid2=wp_sketch2.add(loop2).add(loop3).add(loop4).extrude(0.1015625, both=True)
solid=solid.union(solid2)
| 1,692
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00001256
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5, 0.0, -0.34375), 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.9921875, 0.0).lineTo(0.9921875, 0.7833059210526315).lineTo(0.0, 0.7833059210526315).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 951
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00009636
|
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
|
|
0000/00009805
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.37894736842105264, 0.0).lineTo(0.37894736842105264, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0078125)
solid=solid0
| 872
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00000821
|
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
|
|
0000/00005959
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.125, -0.703125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.8749999999999999, 0.0).lineTo(0.8749999999999999, 0.7).lineTo(0.0, 0.7).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0546875)
solid=solid0
| 875
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00008299
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0234375, -0.0078125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.7734374999999999, 0.0).lineTo(0.7734374999999999, 0.4314967105263158).lineTo(0.0, 0.4314967105263158).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.1796875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.7109375, -0.0078125, 0.1796875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.04144736842105263, 0.0).lineTo(0.04144736842105263, 0.43749999999999994).lineTo(0.0, 0.43749999999999994).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.1328125)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.2734375, -0.0078125, 0.1796875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.43749999999999994, 0.0).lineTo(0.43749999999999994, 0.08289473684210526).lineTo(0.0, 0.08289473684210526).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.0703125)
solid=solid.union(solid2)
| 1,454
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00007815
|
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()
solid0=wp_sketch0.add(loop0).extrude(0.0859375)
solid=solid0
| 840
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00008298
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.71875, -0.3046875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.46875, 0.0).lineTo(1.46875, 0.7575657894736841).lineTo(0.0, 0.7575657894736841).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.3359375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.5859375, -0.3046875, 0.3359375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.16751644736842106, 0.0).lineTo(0.16751644736842106, 0.7578125).lineTo(0.0, 0.7578125).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.15625)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.71875, -0.3046875, 0.3359375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(1.3046875, 0.0).lineTo(1.3046875, 0.08240131578947368).lineTo(0.0, 0.08240131578947368).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.2421875)
solid=solid.union(solid2)
| 1,386
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00009186
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.546875, 0.0, -0.75), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(1.0894736842105264, 0.0).lineTo(1.0894736842105264, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.2734375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.265625, -0.2734375, 0.5), 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.06710526315789474, 0.0).circle(0.06570723684210526)
solid1=wp_sketch1.add(loop1).extrude(0.2734375)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.3359375, -0.2734375, -0.453125), 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.06710526315789474, 0.0).circle(0.06710526315789474)
solid2=wp_sketch2.add(loop2).extrude(0.2734375)
solid=solid.union(solid2)
| 1,498
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00005780
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.296875, -0.296875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.59375, 0.0).lineTo(0.59375, 0.59375).lineTo(0.0, 0.59375).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.046875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.296875, -0.296875, 0.046875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.05, 0.0).lineTo(0.05, 0.59375).lineTo(0.0, 0.59375).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.59375)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.296875, -0.015625, 0.3828125), 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.011842105263157895)
solid2=wp_sketch2.add(loop2).extrude(-0.1953125)
solid=solid.cut(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.296875, -0.015625, 0.3828125), 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.011842105263157895)
solid3=wp_sketch3.add(loop3).extrude(0.1953125)
solid_temp=solid3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.296875, -0.015625, 0.3828125), 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.011842105263157895)
solid3=wp_sketch3.add(loop3).extrude(-0.3984375)
solid_temp=solid_temp.union(solid3)
solid=solid.union(solid_temp)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.4921875, 0.0, 0.3671875), 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.0234375, 0.0).lineTo(0.0234375, 0.0234375).lineTo(0.0, 0.0234375).lineTo(0.0, 0.0).close()
solid4=wp_sketch4.add(loop4).extrude(0.1015625)
solid=solid.union(solid4)
# Generating a workplane for sketch 5
wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.0234375, 0.3515625), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop5=wp_sketch5.moveTo(0.046875, 0.0).lineTo(0.046875, 0.046875).lineTo(0.0, 0.046875).lineTo(0.0, 0.0).close()
loop6=wp_sketch5.moveTo(0.02368421052631579, 0.02319078947368421).circle(0.011842105263157895)
solid5=wp_sketch5.add(loop5).add(loop6).extrude(0.046875)
solid=solid.union(solid5)
| 2,520
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00000834
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.046875, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.05131578947368422, 0.0).circle(0.05131578947368422)
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 838
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00001519
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.4140625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.19177631578947368, 0.0).threePointArc((0.3489563840088189, 0.06510611599118106), (0.41406249999999994, 0.2222861842105263)).lineTo(0.41406249999999994, 0.41406249999999994).lineTo(0.1394736842105263, 0.41406249999999994).threePointArc((0.040850896308192, 0.37321160369180795), (0.0, 0.27458881578947364)).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 1,074
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00007140
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.0625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.07399407633181948, -0.17863750261554895), (0.25263157894736843, -0.25263157894736843)).lineTo(1.2473684210526317, -0.25263157894736843).threePointArc((1.4260059236681806, -0.17863750261554895), (1.5, 0.0)).lineTo(1.5, 0.12631578947368421).threePointArc((1.4260059236681806, 0.30495329208923316), (1.2473684210526317, 0.37894736842105264)).lineTo(0.25263157894736843, 0.37894736842105264).threePointArc((0.07399407633181948, 0.30495329208923316), (0.0, 0.12631578947368421)).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0625)
solid=solid0
| 1,303
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00003681
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.37894736842105264).lineTo(0.0, 0.37894736842105264).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0078125)
solid=solid0
| 944
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00004688
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.46875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.1640625, 0.0).lineTo(0.1640625, 0.1640625).lineTo(0.0, 0.1640625).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0078125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.515625, 0.46875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.1640625, 0.0).lineTo(0.1640625, 0.1640625).lineTo(0.0, 0.1640625).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.0078125)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.1171875, -0.0859375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.1640625, 0.0).lineTo(0.1640625, 0.1640625).lineTo(0.0, 0.1640625).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.0078125)
solid=solid.union(solid2)
| 1,316
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00002212
|
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.0234375, 0.0).lineTo(0.0234375, 0.015542763157894737).lineTo(0.015542763157894737, 0.015542763157894737).lineTo(0.015542763157894737, 0.011101973684210526).lineTo(0.017763157894736842, 0.011101973684210526).lineTo(0.017763157894736842, 0.004194078947368421).lineTo(0.005674342105263158, 0.004194078947368421).lineTo(0.005674342105263158, 0.011101973684210526).lineTo(0.007894736842105263, 0.011101973684210526).lineTo(0.007894736842105263, 0.015542763157894737).lineTo(0.0, 0.015542763157894737).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(-0.75)
solid=solid0
| 1,319
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00000363
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.375, 0.0, -0.375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.37894736842105264, 0.37894736842105264).circle(0.3)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.296875, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop2=wp_sketch1.moveTo(0.30394736842105263, 0.0).circle(0.30394736842105263)
solid1=wp_sketch1.add(loop2).extrude(0.75)
solid=solid.union(solid1)
| 1,240
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00005569
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.5234375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.009249259541477267, -0.022329687826943563), (0.031578947368421054, -0.031578947368421054)).lineTo(1.468421052631579, -0.031578947368421054).threePointArc((1.4907507404585227, -0.022329687826943563), (1.5, 0.0)).lineTo(1.5, 0.7578947368421053).threePointArc((1.4907507404585227, 0.7802244246690491), (1.468421052631579, 0.7894736842105263)).lineTo(0.031578947368421054, 0.7894736842105263).threePointArc((0.009249259541477267, 0.7802244246690491), (0.0, 0.7578947368421053)).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.1736842105263158, 0.15789473684210525).circle(0.04736842105263158)
loop2=wp_sketch0.moveTo(0.1736842105263158, 0.5210526315789474).circle(0.04736842105263158)
loop3=wp_sketch0.moveTo(0.7578947368421053, 0.5210526315789474).circle(0.15789473684210525)
loop4=wp_sketch0.moveTo(1.3263157894736843, 0.15789473684210525).circle(0.04736842105263158)
loop5=wp_sketch0.moveTo(1.3263157894736843, 0.5210526315789474).circle(0.04736842105263158)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).add(loop5).extrude(0.5)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.421875, 0.0, -0.3984375), 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.0, 0.0).threePointArc((0.007876322578289489, -0.01901512479013169), (0.026891447368421053, -0.026891447368421053)).lineTo(0.8246710526315789, -0.026891447368421053).threePointArc((0.8436861774217105, -0.01901512479013169), (0.8515625, 0.0)).lineTo(0.8515625, 0.7977796052631579).threePointArc((0.8436861774217105, 0.8167947300532895), (0.8246710526315789, 0.8246710526315789)).lineTo(0.026891447368421053, 0.8246710526315789).threePointArc((0.007876322578289489, 0.8167947300532895), (0.0, 0.7977796052631579)).lineTo(0.0, 0.0).close()
loop7=wp_sketch1.moveTo(0.43026315789473685, 0.4033717105263158).circle(0.1613486842105263)
solid1=wp_sketch1.add(loop6).add(loop7).extrude(0.5)
solid=solid.union(solid1)
| 2,450
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00004677
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.328125, 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.16381578947368422, -0.27985197368421055).lineTo(0.4846217105263158, -0.27985197368421055).lineTo(0.6484375, 0.0).lineTo(0.4846217105263158, 0.27985197368421055).lineTo(0.16381578947368422, 0.27985197368421055).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.32763157894736844, 0.0).circle(0.15699013157894737)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75)
solid=solid0
| 1,059
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00008065
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5234375, -0.3046875, 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.01570447192980032, -0.037913949122831254), (0.05361842105263158, -0.05361842105263158)).lineTo(1.2198190789473684, -0.05361842105263158).threePointArc((1.2577330280701997, -0.037913949122831254), (1.2734375, 0.0)).lineTo(1.2734375, 0.6300164473684211).threePointArc((1.2549568434210707, 0.6612280938596734), (1.2198190789473684, 0.6702302631578947)).lineTo(0.05361842105263158, 0.6702302631578947).threePointArc((0.018480656578929285, 0.6612280938596734), (0.0, 0.6300164473684211)).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.2421875)
solid=solid0
| 1,251
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00006699
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.3515625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.35131578947368425, 0.0).circle(0.35131578947368425)
loop1=wp_sketch0.moveTo(0.35131578947368425, 0.0).circle(0.27080592105263157)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.2109375)
solid=solid0
| 909
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00009233
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.453125, -0.046875), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(1.203125, 0.0).lineTo(1.203125, 0.17730263157894735).lineTo(1.0511513157894736, 0.17730263157894735).lineTo(1.0511513157894736, 0.06332236842105263).lineTo(0.03799342105263158, 0.06332236842105263).lineTo(0.03799342105263158, 0.16463815789473685).lineTo(0.0, 0.16463815789473685).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.21875, both=True)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.1640625, 0.671875, 0.125), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.031578947368421054, 0.0).circle(0.031578947368421054)
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.1015625, 0.671875, 0.125), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.031578947368421054, 0.0).circle(0.031578947368421054)
solid2=wp_sketch2.add(loop2).extrude(-0.546875)
solid=solid.cut(solid2)
| 1,528
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00009555
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.015625, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.015625, 0.0).lineTo(0.015625, 0.015625).lineTo(0.014309210526315789, 0.015625).lineTo(0.014309210526315789, 0.0013157894736842105).lineTo(0.0, 0.0013157894736842105).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 1,024
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00001109
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.171875, 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.34375, 0.0).lineTo(0.34375, 0.043421052631578944).lineTo(0.2677631578947368, 0.043421052631578944).lineTo(0.2930921052631579, 0.08684210526315789).lineTo(0.0506578947368421, 0.08684210526315789).lineTo(0.07598684210526316, 0.043421052631578944).lineTo(0.0, 0.043421052631578944).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(-0.75)
solid=solid0
| 1,127
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00000559
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.1015625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.02998783366963391, -0.07239703475141873), (0.10238486842105264, -0.10238486842105264)).lineTo(0.39588815789473686, -0.10238486842105264).threePointArc((0.4682851926461556, -0.07239703475141873), (0.4982730263157895, 0.0)).lineTo(0.4982730263157895, 0.0477796052631579).threePointArc((0.4682851926461556, 0.12017664001457663), (0.39588815789473686, 0.15016447368421054)).lineTo(0.3003289473684211, 0.15016447368421054).threePointArc((0.26654366448442557, 0.16415879606337294), (0.2525493421052632, 0.19794407894736843)).lineTo(0.2525493421052632, 0.5460526315789473).threePointArc((0.22256150843562927, 0.6184496663303661), (0.15016447368421054, 0.6484375)).lineTo(0.10238486842105264, 0.6484375).threePointArc((0.02998783366963391, 0.6184496663303661), (0.0, 0.5460526315789473)).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.12286184210526316, 0.02730263157894737).circle(0.02730263157894737)
loop2=wp_sketch0.moveTo(0.12286184210526316, 0.2730263157894737).circle(0.02730263157894737)
loop3=wp_sketch0.moveTo(0.12286184210526316, 0.5255756578947369).circle(0.02730263157894737)
loop4=wp_sketch0.moveTo(0.3754111842105263, 0.02730263157894737).circle(0.02730263157894737)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).extrude(0.03125)
solid=solid0
| 1,895
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00009958
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.3359375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.3315789473684211).lineTo(0.0, 0.3315789473684211).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.15625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.3359375, 0.15625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.06315789473684211, 0.0).lineTo(0.06315789473684211, 0.26842105263157895).lineTo(0.6868421052631579, 0.26842105263157895).lineTo(0.6868421052631579, 0.0).lineTo(0.75, 0.0).lineTo(0.75, 0.3315789473684211).lineTo(0.0, 0.3315789473684211).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.1015625)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.0625, 0.2578125), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.06315789473684211, 0.0).lineTo(0.6868421052631579, 0.0).lineTo(0.75, 0.0).lineTo(0.75, 0.06315789473684211).lineTo(0.0, 0.06315789473684211).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.0703125)
solid=solid.union(solid2)
| 1,536
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00005192
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.375, -0.375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 841
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00000954
|
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.6236842105263158, 0.0).lineTo(0.4736842105263158, 0.6236842105263158).threePointArc((0.3157894736842105, 0.7469064725769384), (0.15789473684210525, 0.6236842105263158)).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.046875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.1484375, -0.046875, 0.5859375), 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.1618421052631579, 0.0).circle(0.1618421052631579)
solid1=wp_sketch1.add(loop1).extrude(-0.015625)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.1171875, -0.046875, 0.078125), 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.390625, 0.0).lineTo(0.390625, 0.078125).lineTo(0.2713815789473684, 0.078125).lineTo(0.2713815789473684, 0.041118421052631575).lineTo(0.11513157894736842, 0.041118421052631575).lineTo(0.11513157894736842, 0.078125).lineTo(0.0, 0.078125).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(-0.1953125)
solid=solid.cut(solid2)
| 1,755
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00004298
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2578125, 0.0, -0.25), 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.7240131578947369, 0.0).lineTo(0.7240131578947369, 0.96875).lineTo(0.0, 0.96875).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.046875)
solid=solid0
| 954
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00002602
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.234375, -0.171875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.07417763157894737, 0.0).lineTo(0.07417763157894737, 0.640625).lineTo(0.0, 0.640625).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.265625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.0390625, 0.234375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.6328125, 0.0).lineTo(0.6328125, 0.07327302631578947).lineTo(0.0, 0.07327302631578947).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.265625)
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
|
|
0000/00006302
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.0859375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.010855263157894736, 0.0).lineTo(0.010855263157894736, 0.07508223684210526).lineTo(0.0859375, 0.07508223684210526).lineTo(0.0859375, 0.0859375).lineTo(0.0, 0.0859375).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 953
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00000767
|
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
|
|
0000/00004267
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 0.7578947368421053).lineTo(0.0, 0.7578947368421053).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.37894736842105264, 0.37894736842105264).circle(0.1105263157894737)
loop2=wp_sketch0.moveTo(1.1210526315789473, 0.37894736842105264).circle(0.1105263157894737)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.078125)
solid=solid0
| 1,029
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00006470
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.375)
solid=solid0
| 910
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00004529
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.3203125, -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.578125, 0.0).lineTo(0.578125, 0.2495065789473684).lineTo(0.4016447368421053, 0.2495065789473684).lineTo(0.4016447368421053, 0.07911184210526316).lineTo(0.17039473684210527, 0.07911184210526316).lineTo(0.17039473684210527, 0.2495065789473684).lineTo(0.0, 0.2495065789473684).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.078125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.3203125, -0.15625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.578125, 0.0).lineTo(0.578125, 0.07911184210526316).lineTo(0.0, 0.07911184210526316).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.3203125, -0.15625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.578125, 0.0).lineTo(0.578125, 0.07911184210526316).lineTo(0.0, 0.07911184210526316).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(-0.671875)
solid=solid.union(solid2)
| 1,542
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00002633
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.6015625, -0.125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(1.203125, 0.0).lineTo(1.203125, 0.2532894736842105).lineTo(0.0, 0.2532894736842105).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.15197368421052632, 0.12664473684210525).circle(0.08865131578947368)
loop2=wp_sketch0.moveTo(1.0511513157894736, 0.12664473684210525).circle(0.08865131578947368)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.75)
solid=solid0
| 1,096
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00007993
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.125, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.12631578947368421, 0.0).circle(0.12631578947368421)
loop1=wp_sketch0.moveTo(0.12631578947368421, 0.0).circle(0.10789473684210527)
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
|
|
0000/00006455
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, -0.375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.37894736842105264).lineTo(0.0, 0.37894736842105264).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.18947368421052632, 0.18947368421052632).circle(0.05526315789473685)
loop2=wp_sketch0.moveTo(0.5605263157894737, 0.18947368421052632).circle(0.05526315789473685)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.09375)
solid=solid0
| 1,105
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00009014
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1484375, 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.03125, 0.0).lineTo(0.03125, 0.26875).lineTo(0.26875, 0.26875).lineTo(0.26875, 0.0).lineTo(0.296875, 0.0).lineTo(0.296875, 0.296875).lineTo(0.0, 0.296875).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75, both=True)
solid=solid0
| 1,007
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00005148
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.375, 0.0, -0.375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.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
| 913
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00008444
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.515625, 0.0, 0.1484375), 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).lineTo(0.23684210526315788, -0.05921052631578947).lineTo(0.4662828947368421, -0.05921052631578947).lineTo(0.4662828947368421, 0.0).lineTo(0.703125, 0.0).lineTo(0.703125, 0.4662828947368421).lineTo(0.0, 0.4662828947368421).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.46875)
solid=solid0
| 1,101
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00001306
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2578125, -0.15625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.515625, 0.0).lineTo(0.515625, 0.309375).lineTo(0.0, 0.309375).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0078125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.1015625, -0.6484375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.515625, 0.0).lineTo(0.515625, 0.4504934210526316).lineTo(0.0, 0.4504934210526316).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.0078125)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.1796875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.453125, 0.0).lineTo(0.453125, 0.3291118421052632).lineTo(0.0, 0.3291118421052632).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.0078125)
solid=solid.union(solid2)
| 1,347
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00008450
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.0234375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.515625, 0.0).lineTo(0.515625, 0.515625).lineTo(0.0, 0.515625).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.515625)
solid=solid0
| 864
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00003288
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.37894736842105264, 0.0).lineTo(0.37894736842105264, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.5)
solid=solid0
| 866
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00007944
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.08289473684210526, 0.0).circle(0.08116776315789473)
solid0=wp_sketch0.add(loop0).extrude(0.3828125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.421875, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.08289473684210526, 0.0).circle(0.08289473684210526)
solid1=wp_sketch1.add(loop1).extrude(0.3828125)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.5859375, 0.0, -0.0234375), 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.1640625, 0.0).threePointArc((0.15989441371933816, 0.025904605263157895), (0.1640625, 0.05180921052631579)).lineTo(0.0, 0.05180921052631579).threePointArc((0.004168086280661942, 0.025904605263157895), (0.0, 0.0)).close()
solid2=wp_sketch2.add(loop2).extrude(0.3828125)
solid=solid.union(solid2)
| 1,587
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00008108
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0234375, 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.03125, 0.0).lineTo(0.03125, 0.003618421052631579).lineTo(0.02236842105263158, 0.003618421052631579).lineTo(0.02236842105263158, 0.006907894736842105).lineTo(0.020394736842105264, 0.006907894736842105).lineTo(0.018421052631578946, 0.012171052631578947).threePointArc((0.015590180653943422, 0.011743597432827674), (0.012828947368421053, 0.012499999999999999)).lineTo(0.010855263157894736, 0.006907894736842105).lineTo(0.008881578947368421, 0.006907894736842105).lineTo(0.008881578947368421, 0.003618421052631579).lineTo(0.0, 0.003618421052631579).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.015625, 0.0, 0.0234375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.007894736842105263, 0.0).circle(0.007894736842105263)
solid1=wp_sketch1.add(loop1).extrude(-0.75)
solid=solid.union(solid1)
| 1,641
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00008120
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.03125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.5929276315789473, -0.5844572368421053).lineTo(0.8046875, 0.22023026315789473).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.1328125)
solid=solid0
| 883
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00009558
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.546875, -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.105263157894737, 0.0).lineTo(1.105263157894737, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(1.0105263157894737, 0.07894736842105263).lineTo(1.0105263157894737, 0.3473684210526316).lineTo(0.07894736842105263, 0.3473684210526316).lineTo(0.07894736842105263, 0.07894736842105263).close()
loop2=wp_sketch0.moveTo(1.0105263157894737, 0.4421052631578948).lineTo(1.0105263157894737, 0.7105263157894737).lineTo(0.07894736842105263, 0.7105263157894737).lineTo(0.07894736842105263, 0.4421052631578948).close()
loop3=wp_sketch0.moveTo(1.0105263157894737, 0.7894736842105263).lineTo(1.0105263157894737, 1.0578947368421052).lineTo(0.07894736842105263, 1.0578947368421052).lineTo(0.07894736842105263, 0.7894736842105263).close()
loop4=wp_sketch0.moveTo(1.0105263157894737, 1.1526315789473685).lineTo(1.0105263157894737, 1.4210526315789473).lineTo(0.07894736842105263, 1.4210526315789473).lineTo(0.07894736842105263, 1.1526315789473685).close()
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).extrude(0.1328125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.546875, -0.6640625, 0.0), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042)))
loop5=wp_sketch1.moveTo(0.08116776315789473, 0.0).lineTo(1.0203947368421051, 0.0).lineTo(1.1015625, 0.0).lineTo(1.1015625, 0.08116776315789473).lineTo(0.0, 0.08116776315789473).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop5).extrude(0.1328125)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.546875, 0.75, 0.0), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042)))
loop6=wp_sketch2.moveTo(1.1015625, 0.0).lineTo(1.1015625, 0.08116776315789473).lineTo(1.0203947368421051, 0.08116776315789473).lineTo(0.08116776315789473, 0.08116776315789473).lineTo(0.0, 0.08116776315789473).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop6).extrude(0.1328125)
solid=solid.union(solid2)
| 2,411
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00006864
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5859375, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.9921875, 0.0).lineTo(0.9921875, 0.6475328947368421).lineTo(0.0, 0.6475328947368421).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.203125)
solid=solid0
| 885
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00009376
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.09375, -0.0703125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.019736842105263157, 0.0).circle(0.019736842105263157)
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.0546875, 0.0703125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.019736842105263157, 0.0).circle(0.019736842105263157)
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.1484375, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.15000000000000002, 0.0).circle(0.15000000000000002)
loop3=wp_sketch2.moveTo(0.07500000000000001, -0.07187500000000001).circle(0.018750000000000003)
loop4=wp_sketch2.moveTo(0.22187500000000002, 0.07187500000000001).circle(0.018750000000000003)
solid2=wp_sketch2.add(loop2).add(loop3).add(loop4).extrude(0.75)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.0546875, 0.0703125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop5=wp_sketch3.moveTo(0.019736842105263157, 0.0).circle(0.019736842105263157)
solid3=wp_sketch3.add(loop5).extrude(0.046875)
solid=solid.cut(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.09375, -0.0703125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop6=wp_sketch4.moveTo(0.019736842105263157, 0.0).circle(0.019736842105263157)
solid4=wp_sketch4.add(loop6).extrude(0.046875)
solid=solid.cut(solid4)
# Generating a workplane for sketch 5
wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(-0.03125, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop7=wp_sketch5.moveTo(0.027631578947368417, 0.0).circle(0.027631578947368417)
solid5=wp_sketch5.add(loop7).extrude(-0.546875)
solid=solid.union(solid5)
| 1,998
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00006723
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.546875, 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.40773026315789473, 0.0).lineTo(0.40773026315789473, 0.5234375).lineTo(0.0, 0.5234375).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(-0.3671875)
solid=solid0
| 964
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00000346
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.3046875, 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.6171875).threePointArc((-0.30859375, 0.30859375), (0.0, 0.0)).close()
solid0=wp_sketch0.add(loop0).extrude(0.1015625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.3046875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.75, 0.0).lineTo(0.75, 0.6157894736842106).lineTo(0.0, 0.6157894736842106).threePointArc((0.3078947368421053, 0.3078947368421053), (0.0, 0.0)).close()
solid1=wp_sketch1.add(loop1).extrude(0.1015625)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.3046875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.0, 0.0).threePointArc((0.30859375, 0.30859375), (0.0, 0.6171875)).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.1015625)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.2734375, 0.0, 0.1015625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch3.moveTo(0.2763157894736842, 0.0).circle(0.2763157894736842)
solid3=wp_sketch3.add(loop3).extrude(-0.0078125)
solid=solid.cut(solid3)
| 1,539
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00005564
|
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.25263157894736843)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.2578125)
solid=solid0
| 901
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00008901
|
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.03404605263157895, 0.0).lineTo(0.05674342105263158, 0.0).lineTo(0.05674342105263158, 0.18725328947368422).threePointArc((0.06221613161929614, 0.20613992365193148), (0.07944078947368421, 0.215625)).lineTo(0.2723684210526316, 0.215625).lineTo(0.45962171052631584, 0.215625).threePointArc((0.47968353943333547, 0.20731511838070388), (0.4879934210526316, 0.18725328947368422)).lineTo(0.4879934210526316, 0.0).lineTo(0.5050164473684211, 0.0).lineTo(0.5390625, 0.0).lineTo(0.5390625, 0.22129934210526317).threePointArc((0.26953125, 0.3487781293572205), (0.0, 0.22129934210526317)).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.9921875)
solid=solid0
| 1,304
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00008929
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.5, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 0.9947368421052631).lineTo(0.0, 0.9947368421052631).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.1015625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.4765625, 0.296875, 0.1015625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.07894736842105263, 0.0).circle(0.07894736842105263)
solid1=wp_sketch1.add(loop1).extrude(0.5)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.4765625, -0.296875, 0.1015625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.07894736842105263, 0.0).circle(0.07894736842105263)
solid2=wp_sketch2.add(loop2).extrude(0.5)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.3203125, 0.296875, 0.1015625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch3.moveTo(0.07894736842105263, 0.0).lineTo(0.07894736842105263, -0.07894736842105263).threePointArc((0.13477158798841163, 0.055824219567358994), (0.0, 0.0)).close()
solid3=wp_sketch3.add(loop3).extrude(0.5)
solid=solid.union(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.3203125, 0.296875, 0.1015625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop4=wp_sketch4.moveTo(0.0, 0.0).threePointArc((0.02288228271980095, -0.05524271728019903), (0.078125, -0.078125)).lineTo(0.078125, 0.0).lineTo(0.0, 0.0).close()
solid4=wp_sketch4.add(loop4).extrude(0.5)
solid=solid.union(solid4)
# Generating a workplane for sketch 5
wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(0.3203125, -0.296875, 0.1015625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop5=wp_sketch5.moveTo(0.0, 0.0).threePointArc((0.13477158798841163, -0.055824219567358994), (0.07894736842105263, 0.07894736842105263)).lineTo(0.07894736842105263, 0.0).lineTo(0.0, 0.0).close()
solid5=wp_sketch5.add(loop5).extrude(0.5)
solid=solid.union(solid5)
# Generating a workplane for sketch 6
wp_sketch6 = cq.Workplane(cq.Plane(cq.Vector(0.3203125, -0.296875, 0.1015625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop6=wp_sketch6.moveTo(0.078125, 0.0).lineTo(0.078125, 0.078125).threePointArc((0.022882282719800973, 0.05524271728019905), (0.0, 0.0)).close()
solid6=wp_sketch6.add(loop6).extrude(0.5)
solid=solid.union(solid6)
| 2,356
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00009612
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.3515625, -0.3984375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.3472861842105263, 0.0).lineTo(0.6945723684210526, 0.0).lineTo(0.6945723684210526, 0.8046875).lineTo(0.3472861842105263, 0.8046875).lineTo(0.0, 0.8046875).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.5844572368421053, 0.11858552631578947).lineTo(0.5844572368421053, 0.6861019736842106).lineTo(0.11858552631578947, 0.6861019736842106).lineTo(0.11858552631578947, 0.11858552631578947).close()
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.15625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.3515625, 0.3984375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch1.moveTo(0.35131578947368425, 0.0).lineTo(0.6953125, 0.0).threePointArc((0.34765625, 0.34765625), (0.0, 0.0)).close()
loop3=wp_sketch1.moveTo(0.35131578947368425, 0.07319078947368421).circle(0.07319078947368421)
solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.15625)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.3515625, -0.3984375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop4=wp_sketch2.moveTo(0.0, 0.0).threePointArc((0.34765625, -0.34765625), (0.6953125, 0.0)).lineTo(0.35131578947368425, 0.0).lineTo(0.0, 0.0).close()
loop5=wp_sketch2.moveTo(0.35131578947368425, -0.07319078947368421).circle(0.07319078947368421)
solid2=wp_sketch2.add(loop4).add(loop5).extrude(0.15625)
solid=solid.union(solid2)
| 1,785
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00000144
|
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.2368421052631579, 0.0).circle(0.18947368421052632)
loop2=wp_sketch0.moveTo(1.263157894736842, 0.0).circle(0.18947368421052632)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.4140625)
solid=solid0
| 964
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00002975
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.7578947368421053)
loop1=wp_sketch0.moveTo(0.18947368421052632, 0.0).circle(0.031578947368421054)
loop2=wp_sketch0.moveTo(1.3105263157894738, 0.0).circle(0.031578947368421054)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.015625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.6328125, -0.015625, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop3=wp_sketch1.moveTo(0.07105263157894737, 0.0).circle(0.06957236842105263)
loop4=wp_sketch1.moveTo(0.07105263157894737, 0.0).circle(0.032565789473684215)
solid1=wp_sketch1.add(loop3).add(loop4).extrude(0.078125)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.4921875, -0.015625, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop5=wp_sketch2.moveTo(0.06957236842105263, 0.0).circle(0.06957236842105263)
loop6=wp_sketch2.moveTo(0.06957236842105263, 0.0).circle(0.032565789473684215)
solid2=wp_sketch2.add(loop5).add(loop6).extrude(0.078125)
solid=solid.union(solid2)
| 1,715
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00006291
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.640625, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.6434210526315789, 0.0).circle(0.6434210526315789)
loop1=wp_sketch0.moveTo(0.6434210526315789, 0.0).circle(0.6032072368421053)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.296875)
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, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop2=wp_sketch1.moveTo(0.7578947368421053, 0.0).circle(0.7578947368421053)
loop3=wp_sketch1.moveTo(0.7578947368421053, 0.0).circle(0.631578947368421)
solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.0390625)
solid=solid.union(solid1)
| 1,298
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00002785
|
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.296875, 0.0).lineTo(0.296875, 0.296875).lineTo(0.0, 0.296875).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 925
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00007825
|
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.15, -0.12631578947368421).lineTo(0.6, -0.12631578947368421).lineTo(0.75, 0.0).threePointArc((0.375, 0.13939140847977868), (0.0, 0.0)).close()
solid0=wp_sketch0.add(loop0).extrude(0.0078125)
solid=solid0
| 902
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00005767
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.03125, 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.031578947368421054, 0.0).circle(0.030921052631578946)
loop1=wp_sketch0.moveTo(0.031578947368421054, 0.0).circle(0.02368421052631579)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75, both=True)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.75, -0.0234375, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop2=wp_sketch1.moveTo(0.02368421052631579, 0.0).circle(0.02368421052631579)
solid1=wp_sketch1.add(loop2).extrude(-0.0703125)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.75, -0.0234375, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop3=wp_sketch2.moveTo(0.027631578947368417, 0.0).circle(0.027631578947368417)
loop4=wp_sketch2.moveTo(0.027631578947368417, 0.0).circle(0.024753289473684208)
solid2=wp_sketch2.add(loop3).add(loop4).extrude(-0.0703125)
solid=solid.cut(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.0234375, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop5=wp_sketch3.moveTo(0.02368421052631579, 0.0).circle(0.02368421052631579)
solid3=wp_sketch3.add(loop5).extrude(-0.0703125)
solid=solid.cut(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.0234375, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop6=wp_sketch4.moveTo(0.027631578947368417, 0.0).circle(0.027631578947368417)
loop7=wp_sketch4.moveTo(0.027631578947368417, 0.0).circle(0.024753289473684208)
solid4=wp_sketch4.add(loop6).add(loop7).extrude(-0.0703125)
solid=solid.cut(solid4)
| 2,105
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00004323
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.203125, -0.171875, 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.00780406273812157, -0.018840674103983695), (0.026644736842105263, -0.026644736842105263)).lineTo(0.19983552631578946, -0.026644736842105263).lineTo(0.19983552631578946, -0.07105263157894737).lineTo(0.026644736842105263, -0.07105263157894737).threePointArc((-0.10122937491737063, 0.17541118421052632), (0.026644736842105263, 0.421875)).lineTo(0.19983552631578946, 0.421875).lineTo(0.19983552631578946, 0.3774671052631579).lineTo(0.026644736842105263, 0.3774671052631579).threePointArc((0.00780406273812157, 0.36966304252503634), (0.0, 0.35082236842105263)).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.171875, 0.2421875, -0.75), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042)))
loop1=wp_sketch1.moveTo(0.1774671052631579, 0.0).lineTo(0.1774671052631579, -0.15699013157894737).threePointArc((-0.2252467105263158, 0.24572368421052632), (0.1774671052631579, 0.6484375)).lineTo(0.1774671052631579, 0.49144736842105263).lineTo(0.0, 0.49144736842105263).threePointArc((-0.12749010541785571, 0.24572368421052632), (0.0, 0.0)).close()
solid1=wp_sketch1.add(loop1).extrude(-0.0234375)
solid=solid.union(solid1)
| 1,825
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00003869
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0390625, -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.033223684210526315, 0.0).lineTo(0.033223684210526315, -0.2325657894736842).threePointArc((0.5090057193310328, -0.034118408915066255), (0.7890625, 0.39868421052631575)).lineTo(0.5149671052631579, 0.39868421052631575).lineTo(0.5149671052631579, 0.4319078947368421).lineTo(0.2740953947368421, 0.4319078947368421).lineTo(0.2740953947368421, 0.39868421052631575).lineTo(0.033223684210526315, 0.39868421052631575).lineTo(0.033223684210526315, 0.2325657894736842).lineTo(0.0, 0.2325657894736842).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0390625)
solid=solid0
| 1,250
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00009388
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.1875, 0.0, -0.328125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.5667297777133458, 0.3256578947368421), (0.0, 0.6513157894736842)).threePointArc((0.18713162529122346, 0.3256578947368421), (0.0, 0.0)).close()
solid0=wp_sketch0.add(loop0).extrude(0.078125)
solid=solid0
| 1,005
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00001717
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.015625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.011842105263157895, 0.0).circle(0.011842105263157895)
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 840
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00003666
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2265625, 0.0, -0.296875), 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.7493421052631579, 0.0).lineTo(0.7493421052631579, 1.046875).lineTo(0.0, 1.046875).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.22039473684210525, 0.2975328947368421).circle(0.18733552631578948)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.375)
solid=solid0
| 1,037
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00003128
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.1796875, 0.4453125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.16874999999999998, 0.0).lineTo(0.16874999999999998, -0.4453125).lineTo(0.1734375, -0.4453125).lineTo(0.1734375, 0.0).threePointArc((0.17206456303681197, 0.0033145630368119684), (0.16874999999999998, 0.0046875)).lineTo(0.0, 0.0046875).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 1,065
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00006865
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5859375, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.9921875, 0.0).lineTo(0.9921875, 0.6475328947368421).lineTo(0.0, 0.6475328947368421).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.203125)
solid=solid0
| 885
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00006859
|
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.2265625)
solid=solid0
| 837
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00006642
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1640625, 0.0, -0.1640625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.3203125, 0.0).lineTo(0.3203125, 0.18207236842105262).lineTo(0.0, 0.18207236842105262).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.4296875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.09375, 0.0, -0.0234375), cq.Vector(-1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, 1.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.027631578947368417, 0.0).circle(0.027631578947368417)
solid1=wp_sketch1.add(loop1).extrude(-0.1171875)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.125, 0.0, -0.078125), 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.027631578947368417, 0.0).circle(0.027055921052631576)
solid2=wp_sketch2.add(loop2).extrude(-0.1171875)
solid=solid.cut(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.1640625, -0.2109375, -0.1640625), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042)))
loop3=wp_sketch3.moveTo(0.3203125, 0.0).lineTo(0.3203125, 0.21241776315789473).lineTo(0.0, 0.21241776315789473).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop3).extrude(0.5390625)
solid=solid.union(solid3)
| 1,844
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00004055
|
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.2789473684210526, 0.2210526315789474).lineTo(1.2789473684210526, 1.2789473684210526).lineTo(0.2210526315789474, 1.2789473684210526).lineTo(0.2210526315789474, 0.2210526315789474).close()
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.2109375)
solid=solid0
| 1,025
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00009217
|
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(1.125, 0.0).lineTo(1.125, 0.18947368421052632).lineTo(0.0, 0.18947368421052632).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.1875)
solid=solid0
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(1.125, 0.0).lineTo(1.125, 0.18947368421052632).lineTo(0.0, 0.18947368421052632).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(-0.1875)
solid=solid.union(solid0)
| 1,231
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00009029
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.3203125, 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.3203125, 0.0).lineTo(0.3203125, 0.3203125).lineTo(0.0, 0.3203125).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.3101973684210526, 0.010115131578947369).lineTo(0.3101973684210526, 0.1618421052631579).lineTo(0.3101973684210526, 0.1685855263157895).lineTo(0.3101973684210526, 0.3101973684210526).lineTo(0.010115131578947369, 0.3101973684210526).lineTo(0.010115131578947369, 0.1685855263157895).lineTo(0.010115131578947369, 0.1618421052631579).lineTo(0.010115131578947369, 0.010115131578947369).close()
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0078125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.3125, 0.1640625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch1.moveTo(0.3046875, 0.0).lineTo(0.3046875, 0.00962171052631579).lineTo(0.0, 0.00962171052631579).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop2).extrude(0.0078125)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.171875, 0.1640625, 0.0078125), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch2.moveTo(0.0078125, 0.0).lineTo(0.0078125, 0.0078125).lineTo(0.0, 0.0078125).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop3).extrude(0.7421875)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.171875, 0.1640625, 0.7421875), 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.0078125, 0.0).lineTo(0.0078125, 0.0078125).lineTo(0.0, 0.0078125).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop4).extrude(0.0625)
solid=solid.union(solid3)
| 2,007
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00009997
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2109375, 0.1328125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.09473684210526316, 0.0).circle(0.09473684210526316)
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.2109375, 0.1328125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.09473684210526316, 0.0).circle(0.09473684210526316)
solid1=wp_sketch1.add(loop1).extrude(0.65625)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.328125, 0.1328125, 0.65625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.2131578947368421, 0.0).circle(0.2131578947368421)
loop3=wp_sketch2.moveTo(0.2131578947368421, 0.0).circle(0.09325657894736841)
solid2=wp_sketch2.add(loop2).add(loop3).extrude(0.09375)
solid=solid.union(solid2)
| 1,313
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00005161
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.125, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.13026315789473686, 0.0).circle(0.13026315789473686)
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.1953125, 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.19342105263157897, 0.0).circle(0.18939144736842106)
loop2=wp_sketch1.moveTo(0.19342105263157897, 0.0).circle(0.12894736842105264)
solid1=wp_sketch1.add(loop1).add(loop2).extrude(0.2578125)
solid=solid.union(solid1)
| 1,096
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00001307
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1328125, 0.0, -0.1640625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.1015625, 0.0).lineTo(0.1015625, 0.007483552631578948).lineTo(0.0, 0.007483552631578948).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(-0.75)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.265625, 0.0, -0.1796875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.020970394736842105, 0.0).lineTo(0.020970394736842105, 0.0037006578947368423).lineTo(0.0037006578947368423, 0.0037006578947368423).lineTo(0.0037006578947368423, 0.019736842105263157).lineTo(0.020970394736842105, 0.019736842105263157).lineTo(0.020970394736842105, 0.0234375).lineTo(0.0, 0.0234375).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(-0.75)
solid=solid.union(solid1)
| 1,465
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00001449
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.03125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.031085526315789473, 0.0).threePointArc((0.047594390542249156, -0.013036631545752827), (0.0680921052631579, -0.017763157894736842)).lineTo(0.140625, -0.017763157894736842).lineTo(0.140625, 0.07993421052631579).lineTo(0.0680921052631579, 0.07993421052631579).threePointArc((0.047594390542249156, 0.07520768417733177), (0.031085526315789473, 0.062171052631578946)).lineTo(0.0, 0.062171052631578946).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.1875)
solid=solid0
| 1,153
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00009015
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1484375, 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.03125, 0.0).lineTo(0.03125, 0.26875).lineTo(0.26875, 0.26875).lineTo(0.26875, 0.0).lineTo(0.296875, 0.0).lineTo(0.296875, 0.296875).lineTo(0.0, 0.296875).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75, both=True)
solid=solid0
| 1,007
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00004255
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.7578947368421053)
loop1=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.5368421052631579)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.2890625, both=True)
solid=solid0
| 976
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00004533
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.375, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.37894736842105264, 0.0).circle(0.37894736842105264)
loop1=wp_sketch0.moveTo(0.37894736842105264, 0.0).circle(0.2368421052631579)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75)
solid=solid0
| 971
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00009017
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.046875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.3315789473684211, 0.015789473684210527).lineTo(0.3315789473684211, 0.3473684210526316).lineTo(1.168421052631579, 0.39473684210526316).lineTo(1.168421052631579, 0.06315789473684211).lineTo(1.5, 0.09473684210526316).lineTo(1.5, 0.7578947368421053).lineTo(0.0, 0.6631578947368422).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.6640625, both=True)
solid=solid0
| 1,136
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00001339
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1015625, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.10657894736842105, 0.0).circle(0.10657894736842105)
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 911
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00008453
|
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.06315789473684211).lineTo(0.75, 0.25263157894736843).lineTo(0.49736842105263157, 0.25263157894736843).lineTo(0.25263157894736843, 0.25263157894736843).lineTo(0.0, 0.25263157894736843).lineTo(0.0, 0.0868421052631579).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.25263157894736843, 0.12631578947368421).circle(0.031578947368421054)
loop2=wp_sketch0.moveTo(0.49736842105263157, 0.12631578947368421).circle(0.031578947368421054)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.0625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch1.moveTo(0.06315789473684211, 0.0).lineTo(0.06315789473684211, 0.25).lineTo(0.0, 0.25).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop3).extrude(0.6875)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.09375, 0.5), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop4=wp_sketch2.moveTo(0.031578947368421054, 0.0).circle(0.031578947368421054)
solid2=wp_sketch2.add(loop4).extrude(-0.234375)
solid=solid.cut(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.09375, 0.25), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop5=wp_sketch3.moveTo(0.031578947368421054, 0.0).circle(0.031578947368421054)
solid3=wp_sketch3.add(loop5).extrude(-0.234375)
solid=solid.cut(solid3)
| 1,900
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00004296
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2578125, 0.0, -0.25), 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.7240131578947369, 0.0).lineTo(0.7240131578947369, 0.96875).lineTo(0.0, 0.96875).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.046875)
solid=solid0
| 954
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00000796
|
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.34375)
solid=solid0
| 835
|
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.