image
imagewidth (px) 448
448
| deepcad_id
stringlengths 13
13
| cadquery
stringlengths 283
8.1k
| token_count
int64 807
6.5k
| prompt
stringclasses 1
value | hundred_subset
bool 1
class |
|---|---|---|---|---|---|
0001/00017832
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 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.7471217105263158, 0.0).lineTo(0.7471217105263158, -0.1513157894736842).lineTo(0.71875, -0.1513157894736842).threePointArc((0.6761924342105263, -0.19387335526315788), (0.71875, -0.23643092105263158)).lineTo(0.7471217105263158, -0.23643092105263158).lineTo(0.8984375, -0.23643092105263158).lineTo(0.8984375, 0.1513157894736842).lineTo(0.0, 0.1513157894736842).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.640625, 0.390625, 0.0390625), cq.Vector(-1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, 1.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.0, 0.1015625).threePointArc((-0.05078125, 0.05078125), (0.0, 0.0)).close()
solid1=wp_sketch1.add(loop1).extrude(-0.75)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.640625, 0.390625, 0.0390625), cq.Vector(-1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, 1.0, 6.123233995736766e-17)))
loop2=wp_sketch2.moveTo(0.0, 0.0).threePointArc((0.05078125, 0.05078125), (0.0, 0.1015625)).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(-0.75)
solid=solid.cut(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.1484375, 0.390625, 0.0), cq.Vector(-1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, 1.0, 6.123233995736766e-17)))
loop3=wp_sketch3.moveTo(0.6875, 0.0).lineTo(0.6875, 0.18092105263157895).lineTo(0.0, 0.18092105263157895).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop3).extrude(0.296875)
solid=solid.union(solid3)
| 2,006
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017826
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2890625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.12031249999999999, 0.0).lineTo(0.12031249999999999, 0.41562499999999997).lineTo(0.91875, 0.41562499999999997).lineTo(0.91875, 0.0).lineTo(1.0390625, 0.0).lineTo(1.0390625, 0.0546875).lineTo(0.9624999999999999, 0.0546875).lineTo(0.9624999999999999, 0.459375).lineTo(0.07656249999999999, 0.459375).lineTo(0.07656249999999999, 0.0546875).lineTo(0.0, 0.0546875).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.1875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.2265625, 0.046875, 0.09375), cq.Vector(-1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, 1.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.0, 0.0).threePointArc((0.027343749999999997, -0.027343749999999997), (0.05468749999999999, 0.0)).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(-0.3125)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.2265625, 0.046875, 0.09375), cq.Vector(-1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, 1.0, 6.123233995736766e-17)))
loop2=wp_sketch2.moveTo(0.0, 0.0).threePointArc((0.027343749999999997, -0.027343749999999997), (0.05468749999999999, 0.0)).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(-0.3125)
solid=solid.cut(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.7421875, 0.046875, 0.09375), cq.Vector(-1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, 1.0, 6.123233995736766e-17)))
loop3=wp_sketch3.moveTo(0.0, 0.0).threePointArc((0.027343749999999997, -0.027343749999999997), (0.05468749999999999, 0.0)).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop3).extrude(-0.3125)
solid=solid.cut(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.7421875, 0.046875, 0.09375), cq.Vector(-1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, 1.0, 6.123233995736766e-17)))
loop4=wp_sketch4.moveTo(0.0, 0.0).threePointArc((0.027343749999999997, -0.027343749999999997), (0.05468749999999999, 0.0)).lineTo(0.0, 0.0).close()
solid4=wp_sketch4.add(loop4).extrude(-0.3125)
solid=solid.cut(solid4)
| 2,413
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00019837
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2578125, 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.2605263157894737, 0.0).circle(0.2605263157894737)
solid0=wp_sketch0.add(loop0).extrude(0.2578125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.6875, 0.09375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.5598684210526316, -0.31776315789473686).threePointArc((0.4437230973831038, -0.014245418425946944), (0.71875, 0.15888157894736843)).lineTo(0.08322368421052631, 0.24210526315789474).threePointArc((0.18911490046591298, 0.0703484552674741), (0.0, 0.0)).close()
solid1=wp_sketch1.add(loop1).extrude(0.2578125)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.203125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.13026315789473686, 0.0).circle(0.12754934210526317)
solid2=wp_sketch2.add(loop2).extrude(0.2578125)
solid=solid.union(solid2)
| 1,405
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00019162
|
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.45).lineTo(0.0, 0.45).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.734375)
solid=solid0
| 841
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00013329
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.125, -0.0546875), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.25, 0.0).lineTo(0.25, 0.10789473684210527).lineTo(0.0, 0.10789473684210527).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 929
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00019610
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.40625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.1381578947368421, 0.0).lineTo(0.1381578947368421, -0.1381578947368421).lineTo(0.9555921052631579, -0.1381578947368421).lineTo(0.9555921052631579, 0.0).lineTo(1.09375, 0.0).lineTo(1.09375, 0.8059210526315789).lineTo(0.9555921052631579, 0.8059210526315789).lineTo(0.9555921052631579, 0.9555921052631579).lineTo(0.1381578947368421, 0.9555921052631579).lineTo(0.1381578947368421, 0.8059210526315789).lineTo(0.0, 0.8059210526315789).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.5526315789473684, 0.40296052631578944).circle(0.1611842105263158)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0625)
solid=solid0
| 1,263
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00014334
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.7421052631578947)
loop1=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.07894736842105263)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.203125)
solid=solid0
| 900
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00012023
|
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.0078125)
solid=solid0
| 869
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00019176
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5625, 0.0, -0.6015625), 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.1430921052631579, 0.0).lineTo(0.1430921052631579, -0.1430921052631579).lineTo(0.9897203947368421, -0.1430921052631579).lineTo(0.9897203947368421, 0.0).lineTo(1.1328125, 0.0).lineTo(1.1328125, 0.8347039473684211).lineTo(0.9897203947368421, 0.8347039473684211).lineTo(0.9897203947368421, 0.9897203947368421).lineTo(0.1430921052631579, 0.9897203947368421).lineTo(0.1430921052631579, 0.8347039473684211).lineTo(0.0, 0.8347039473684211).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.5723684210526316, 0.41735197368421056).circle(0.1669407894736842)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0625)
solid=solid0
| 1,343
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017167
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.2265625), 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.5078125, 0.0).lineTo(0.5078125, 0.08552631578947369).lineTo(0.17105263157894737, 0.17105263157894737).lineTo(0.17105263157894737, 0.2565789473684211).lineTo(0.0, 0.2565789473684211).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.5078125)
solid=solid0
| 1,047
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00010608
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.1171875, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.11842105263157894, 0.0).circle(0.11842105263157894)
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 893
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00010783
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.34375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 0.6789473684210526).lineTo(0.0, 0.6789473684210526).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.26842105263157895, 0.3473684210526316).circle(0.09473684210526316)
loop2=wp_sketch0.moveTo(1.231578947368421, 0.3473684210526316).circle(0.09473684210526316)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.1328125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.2421875, -0.34375, 0.1328125), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch1.moveTo(0.4865131578947368, 0.0).lineTo(0.4865131578947368, 0.6796875).lineTo(0.0, 0.6796875).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop3).extrude(0.4609375)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.1328125, -0.34375, 0.296875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop4=wp_sketch2.moveTo(0.1381578947368421, 0.0).circle(0.1381578947368421)
solid2=wp_sketch2.add(loop4).extrude(-0.6796875)
solid=solid.cut(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.9921875, -1.0, 0.6015625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop5=wp_sketch3.moveTo(0.0625, 0.0).lineTo(0.0625, 0.05921052631578947).lineTo(0.0, 0.05921052631578947).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop5).extrude(-0.21875)
solid=solid.cut(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.09375, -0.34375, 0.6015625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop6=wp_sketch4.moveTo(0.19317434210526316, 0.0).lineTo(0.19317434210526316, 0.6796875).lineTo(0.0, 0.6796875).lineTo(0.0, 0.0).close()
solid4=wp_sketch4.add(loop6).extrude(-0.21875)
solid=solid.cut(solid4)
# Generating a workplane for sketch 5
wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(0.2421875, -0.0390625, 0.4921875), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop7=wp_sketch5.moveTo(0.043421052631578944, 0.0).circle(0.043421052631578944)
solid5=wp_sketch5.add(loop7).extrude(-0.6796875)
solid=solid.cut(solid5)
| 2,302
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00014532
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.3671875, 0.078125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.056578947368421055, 0.0).lineTo(0.056578947368421055, 0.671875).lineTo(0.0, 0.671875).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.1875)
solid=solid0
| 944
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00010026
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.0078125, 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.007894736842105263, 0.0).lineTo(0.007894736842105263, 0.1105263157894737).lineTo(0.5921052631578948, 0.6394736842105263).lineTo(0.5921052631578948, 0.75).lineTo(0.5921052631578948, 0.6473684210526316).lineTo(0.0, 0.1105263157894737).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0546875)
solid=solid0
| 1,074
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00015610
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.546875, -0.2265625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.8515625, 0.0).lineTo(0.8515625, 0.5647203947368421).lineTo(0.0, 0.5647203947368421).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.75, -0.2265625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.21011513157894735, 0.0).lineTo(0.21011513157894735, 0.5703125).lineTo(0.0, 0.5703125).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.078125)
solid=solid.union(solid1)
| 1,130
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00015162
|
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.15).lineTo(0.3, 0.15).lineTo(0.3, 0.11842105263157895).lineTo(0.11842105263157895, 0.11842105263157895).lineTo(0.11842105263157895, 0.3).lineTo(0.15, 0.3).lineTo(0.15, 0.75).lineTo(0.0, 0.75).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.2578125, -0.2578125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.1796875, 0.0).lineTo(0.1796875, 0.030263157894736843).lineTo(0.030263157894736843, 0.030263157894736843).lineTo(0.030263157894736843, 0.1796875).lineTo(0.0, 0.1796875).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.2578125, -0.2578125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.1796875, 0.0).lineTo(0.1796875, 0.030263157894736843).lineTo(0.030263157894736843, 0.030263157894736843).lineTo(0.030263157894736843, 0.1796875).lineTo(0.0, 0.1796875).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.75)
solid=solid.union(solid2)
| 1,613
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00019980
|
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.21957236842105263, 0.0).lineTo(0.21957236842105263, 0.08881578947368421).lineTo(0.15049342105263158, 0.08881578947368421).lineTo(0.15049342105263158, 0.234375).lineTo(0.0, 0.234375).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(-0.75)
solid=solid0
| 1,035
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00010581
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.046875, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.007730263157894737, -0.5179276315789474).threePointArc((0.02319078947368421, -0.5024671052631579), (0.038651315789473686, -0.5179276315789474)).lineTo(0.030921052631578946, 0.0).threePointArc((0.04251644736842105, 0.011738571960172806), (0.05411184210526315, 0.0)).lineTo(0.038651315789473686, -0.734375).threePointArc((0.05411184210526315, -0.7189144736842105), (0.06957236842105263, -0.734375)).lineTo(0.07730263157894737, 0.0).threePointArc((0.038651315789473686, 0.03912857320057653), (0.0, 0.0)).close()
loop1=wp_sketch0.moveTo(0.015460526315789473, -0.5179276315789474).threePointArc((0.02319078947368421, -0.5101973684210526), (0.030921052631578946, -0.5179276315789474)).lineTo(0.02319078947368421, -0.015460526315789473).threePointArc((0.015460526315789473, -0.007730263157894737), (0.007730263157894737, -0.015460526315789473)).close()
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.4296875, both=True)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.3828125, -0.03125, -0.4609375), cq.Vector(1.0, 6.273505680525406e-17, -6.121389792138483e-17), cq.Vector(6.121389792138483e-17, -0.9996988186962042, -0.024541228522912142)))
loop2=wp_sketch1.moveTo(0.00805921052631579, -0.01611842105263158).threePointArc((0.016809792013769375, -0.029184983031977408), (0.03223684210526316, -0.03223684210526316)).lineTo(0.7333881578947369, -0.03223684210526316).threePointArc((0.7561830475514084, -0.022794889656671556), (0.7656250000000001, 0.0)).lineTo(0.7656250000000001, 0.39490131578947374).threePointArc((0.7561830475514084, 0.4176962054461453), (0.7333881578947369, 0.42713815789473686)).lineTo(0.03223684210526316, 0.42713815789473686).threePointArc((0.009441952448591607, 0.4176962054461453), (0.0, 0.39490131578947374)).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop2).extrude(-0.0234375)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.4296875, -0.0390625, -0.015625), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop3=wp_sketch2.moveTo(0.01069078947368421, -0.5078125).threePointArc((0.01870888157894737, -0.49979440789473684), (0.026726973684210526, -0.5078125)).lineTo(0.02138157894736842, 0.0).threePointArc((0.01069078947368421, 0.01069078947368421), (0.0, 0.0)).close()
solid2=wp_sketch2.add(loop3).extrude(-0.015625)
solid=solid.union(solid2)
| 2,723
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00013936
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.234375, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.23684210526315788, 0.0).circle(0.23684210526315788)
loop1=wp_sketch0.moveTo(0.23684210526315788, 0.0).circle(0.12335526315789473)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.1015625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.21875, -0.1015625, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop2=wp_sketch1.moveTo(0.22105263157894733, 0.0).circle(0.22105263157894733)
loop3=wp_sketch1.moveTo(0.22105263157894733, 0.0).circle(0.12434210526315788)
solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.03125)
solid=solid.union(solid1)
| 1,315
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00016866
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.25, -0.75), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.5052631578947369, 0.0).lineTo(0.5052631578947369, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.25263157894736843, 0.3).circle(0.09473684210526316)
loop2=wp_sketch0.moveTo(0.25263157894736843, 1.2).circle(0.09473684210526316)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.125)
solid=solid0
| 1,050
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00014903
|
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, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.35526315789473684, 0.0).circle(0.35526315789473684)
solid0=wp_sketch0.add(loop0).extrude(0.5859375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.125, -0.5859375, 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.13026315789473686, 0.0).circle(0.13026315789473686)
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.09375, -0.6015625, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop2=wp_sketch2.moveTo(0.09078947368421053, 0.0).circle(0.09078947368421053)
solid2=wp_sketch2.add(loop2).extrude(-0.03125)
solid=solid.cut(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.046875, -0.5703125, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop3=wp_sketch3.moveTo(0.043421052631578944, 0.0).circle(0.043421052631578944)
solid3=wp_sketch3.add(loop3).extrude(0.1796875)
solid=solid.union(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.015625, -0.5859375, 0.265625), 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.015789473684210527, 0.0).circle(0.015789473684210527)
solid4=wp_sketch4.add(loop4).extrude(-0.046875)
solid=solid.cut(solid4)
# Generating a workplane for sketch 5
wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(-0.28125, -0.5859375, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop5=wp_sketch5.moveTo(0.015789473684210527, 0.0).circle(0.015789473684210527)
solid5=wp_sketch5.add(loop5).extrude(-0.046875)
solid=solid.cut(solid5)
# Generating a workplane for sketch 6
wp_sketch6 = cq.Workplane(cq.Plane(cq.Vector(-0.015625, -0.5859375, -0.265625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop6=wp_sketch6.moveTo(0.015789473684210527, 0.0).circle(0.015789473684210527)
solid6=wp_sketch6.add(loop6).extrude(-0.046875)
solid=solid.cut(solid6)
# Generating a workplane for sketch 7
wp_sketch7 = cq.Workplane(cq.Plane(cq.Vector(0.25, -0.5859375, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop7=wp_sketch7.moveTo(0.015789473684210527, 0.0).circle(0.015789473684210527)
solid7=wp_sketch7.add(loop7).extrude(-0.046875)
solid=solid.cut(solid7)
# Generating a workplane for sketch 8
wp_sketch8 = cq.Workplane(cq.Plane(cq.Vector(0.421875, 0.0, 0.015625), cq.Vector(-1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, 1.0, 6.123233995736766e-17)))
loop8=wp_sketch8.moveTo(0.06875, -0.03980263157894737).threePointArc((0.11496504926996903, 0.16292535928691548), (0.2677631578947368, 0.30394736842105263)).lineTo(0.19901315789473684, 0.34375).lineTo(0.0, 0.0).close()
solid8=wp_sketch8.add(loop8).extrude(0.1171875)
solid=solid.union(solid8)
# Generating a workplane for sketch 9
wp_sketch9 = cq.Workplane(cq.Plane(cq.Vector(0.3515625, 0.0, -0.0234375), cq.Vector(-1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, 1.0, 6.123233995736766e-17)))
loop9=wp_sketch9.moveTo(0.12664473684210525, -0.07236842105263158).lineTo(0.3256578947368421, 0.2713815789473684).lineTo(0.19901315789473684, 0.34375).threePointArc((0.04621504926996903, 0.20272799086586285), (0.0, 0.0)).close()
solid9=wp_sketch9.add(loop9).extrude(0.1171875)
solid=solid.union(solid9)
| 3,619
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00016899
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.3671875, 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()
solid0=wp_sketch0.add(loop0).extrude(0.0625)
solid=solid0
| 872
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00015348
|
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.011842105263157895, 0.0).lineTo(0.011842105263157895, 0.0017269736842105265).lineTo(0.0017269736842105265, 0.0017269736842105265).lineTo(0.0017269736842105265, 0.021710526315789475).lineTo(0.011842105263157895, 0.021710526315789475).lineTo(0.011842105263157895, 0.0234375).lineTo(0.0, 0.0234375).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.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.011842105263157895, 0.0).lineTo(0.011842105263157895, 0.0234375).lineTo(0.0, 0.0234375).lineTo(0.0, 0.021710526315789475).lineTo(0.009868421052631578, 0.021710526315789475).lineTo(0.009868421052631578, 0.0017269736842105265).lineTo(0.0, 0.0017269736842105265).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.75)
solid=solid.union(solid1)
| 1,455
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00016655
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6484375, 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.6552631578947369, -0.3685855263157895).lineTo(1.296875, 0.0).lineTo(1.296875, 0.7508223684210527).lineTo(0.6552631578947369, 1.1194078947368422).lineTo(0.0, 0.7508223684210527).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.40625)
solid=solid0
| 1,040
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00015374
|
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.026973684210526316, 0.0).lineTo(0.026973684210526316, 0.0625).lineTo(0.0, 0.0625).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 873
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00010568
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2109375, 0.0, -0.75), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.425, 0.0).lineTo(0.425, 1.0625).lineTo(0.0, 1.0625).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.421875)
solid=solid0
| 926
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017561
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 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.7471217105263158, 0.0).lineTo(0.7471217105263158, -0.1513157894736842).lineTo(0.71875, -0.1513157894736842).threePointArc((0.6761924342105263, -0.19387335526315788), (0.71875, -0.23643092105263158)).lineTo(0.7471217105263158, -0.23643092105263158).lineTo(0.8984375, -0.23643092105263158).lineTo(0.8984375, 0.1513157894736842).lineTo(0.0, 0.1513157894736842).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.1796875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.65625, 0.390625, 0.0390625), cq.Vector(-1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, 1.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.0, 0.1015625).threePointArc((-0.05078125, 0.05078125), (0.0, 0.0)).close()
solid1=wp_sketch1.add(loop1).extrude(-0.75)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.65625, 0.390625, 0.0390625), cq.Vector(-1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, 1.0, 6.123233995736766e-17)))
loop2=wp_sketch2.moveTo(0.0, 0.0).threePointArc((0.05078125, 0.05078125), (0.0, 0.1015625)).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(-0.75)
solid=solid.cut(solid2)
| 1,694
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017575
|
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.22450657894736842, 0.0).lineTo(0.22450657894736842, 0.08980263157894737).lineTo(0.15197368421052632, 0.08980263157894737).lineTo(0.15197368421052632, 0.328125).lineTo(0.0, 0.328125).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(-0.75)
solid=solid0
| 1,035
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00019558
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.25, -0.5, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.24868421052631579, -0.24868421052631579), (0.49736842105263157, 0.0)).lineTo(0.49736842105263157, 0.5052631578947369).threePointArc((0.24868421052631579, 0.7539473684210527), (0.0, 0.5052631578947369)).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.1015625)
solid=solid0
| 1,000
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00014732
|
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, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.0868421052631579, 0.0).threePointArc((0.35131578947368425, 0.19116138137605967), (0.6157894736842106, 0.0)).lineTo(0.7026315789473685, 0.0).lineTo(0.5289473684210526, 0.6157894736842106).threePointArc((0.35131578947368425, 0.7492272228635645), (0.1736842105263158, 0.6157894736842106)).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.35526315789473684, 0.5684210526315789).circle(0.1736842105263158)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0546875)
solid=solid0
| 1,211
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00012343
|
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
|
|
0001/00012425
|
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.40263157894736845, 0.3473684210526316).lineTo(0.3473684210526316, 0.3473684210526316).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.37894736842105264, 0.3315789473684211).circle(0.007894736842105263)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.59375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0234375, 0.3984375, 0.3515625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch1.moveTo(0.5390625, 0.0).lineTo(0.5390625, 0.3461348684210527).lineTo(0.0, 0.3461348684210527).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop2).extrude(-0.3046875)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0234375, 0.0, 0.3515625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch2.moveTo(0.5390625, 0.0).lineTo(0.5390625, 0.3461348684210527).lineTo(0.0, 0.3461348684210527).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop3).extrude(-0.3046875)
solid=solid.cut(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.0234375, 0.3515625, 0.3515625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop4=wp_sketch3.moveTo(0.5390625, 0.0).lineTo(0.5390625, 0.051069078947368424).lineTo(0.0, 0.051069078947368424).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop4).extrude(-0.3046875)
solid=solid.cut(solid3)
| 1,781
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00015438
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1796875, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.18157894736842106, 0.0).circle(0.18157894736842106)
solid0=wp_sketch0.add(loop0).extrude(-0.75, both=True)
solid=solid0
| 915
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00014915
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.09375, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.09473684210526316, 0.0).circle(0.09276315789473684)
loop1=wp_sketch0.moveTo(0.09473684210526316, 0.0).circle(0.07894736842105263)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75)
solid=solid0
| 902
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00014929
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.375, 0.203125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.11842105263157894, 0.0).circle(0.11595394736842105)
solid0=wp_sketch0.add(loop0).extrude(0.6171875)
solid=solid0
| 845
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00013934
|
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.5526315789473685)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.3515625)
solid=solid0
| 900
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00016694
|
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
|
|
0001/00015174
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.71875, 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.7302631578947368, 0.0).circle(0.7302631578947368)
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 835
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00019028
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 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.0009634645355705672, -0.002326009148639959), (0.003289473684210526, -0.003289473684210526)).lineTo(0.009539473684210526, -0.003289473684210526).lineTo(0.009539473684210526, -0.002302631578947368).lineTo(0.003289473684210526, -0.002302631578947368).threePointArc((0.0016612672801625558, -0.0016282064040479703), (0.000986842105263158, 0.0)).lineTo(0.000986842105263158, 0.012335526315789474).threePointArc((0.0016612672801625558, 0.013963732719837444), (0.003289473684210526, 0.014638157894736843)).lineTo(0.009539473684210526, 0.014638157894736843).lineTo(0.009539473684210526, 0.015625).lineTo(0.003289473684210526, 0.015625).threePointArc((0.0009634645355705672, 0.014661535464429432), (0.0, 0.012335526315789474)).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.0078125, -0.0234375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.007648026315789474, 0.0).threePointArc((0.010613687980305424, 0.0012284172828524705), (0.011842105263157895, 0.004194078947368421)).lineTo(0.011842105263157895, 0.01924342105263158).threePointArc((0.010613687980305424, 0.02220908271714753), (0.007648026315789474, 0.0234375)).lineTo(0.0, 0.0234375).lineTo(0.0, 0.022203947368421052).lineTo(0.007648026315789474, 0.022203947368421052).threePointArc((0.00974143454956544, 0.021336829286407545), (0.010608552631578947, 0.01924342105263158)).lineTo(0.010608552631578947, 0.004194078947368421).threePointArc((0.00974143454956544, 0.0021006707135924553), (0.007648026315789474, 0.0012335526315789473)).lineTo(0.0, 0.0012335526315789473).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.0546875)
solid=solid.union(solid1)
| 2,342
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00012169
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.53125, -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.0578947368421052, 0.0).lineTo(1.0578947368421052, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close()
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.5234375, 0.0078125, 0.3828125), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(1.0390625, 0.0).lineTo(1.0390625, 0.7328125).lineTo(0.0, 0.7328125).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(-0.3671875)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.5234375, -0.7421875, 0.3828125), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.5234375, 0.0).lineTo(0.5234375, 0.1796875).lineTo(0.5234375, 0.5625).lineTo(0.5234375, 0.7421875).lineTo(0.0, 0.7421875).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(-0.3671875)
solid=solid.cut(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.0078125, -0.1796875, 0.3828125), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch3.moveTo(0.17368421052631577, 0.0).circle(0.17368421052631577)
solid3=wp_sketch3.add(loop3).extrude(-0.3671875)
solid=solid.cut(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.0078125, -0.5625, 0.3828125), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop4=wp_sketch4.moveTo(0.17368421052631577, 0.0).circle(0.17368421052631577)
solid4=wp_sketch4.add(loop4).extrude(-0.3671875)
solid=solid.cut(solid4)
# Generating a workplane for sketch 5
wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(0.375, -0.7421875, 0.3828125), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop5=wp_sketch5.moveTo(0.1484375, 0.0).lineTo(0.1484375, 0.7421875).lineTo(0.0, 0.7421875).lineTo(0.0, 0.0).close()
solid5=wp_sketch5.add(loop5).extrude(-0.3671875)
solid=solid.cut(solid5)
# Generating a workplane for sketch 6
wp_sketch6 = cq.Workplane(cq.Plane(cq.Vector(0.53125, -0.6328125, 0.328125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop6=wp_sketch6.moveTo(0.019736842105263157, 0.0).circle(0.01932565789473684)
solid6=wp_sketch6.add(loop6).extrude(-0.015625)
solid=solid.cut(solid6)
# Generating a workplane for sketch 7
wp_sketch7 = cq.Workplane(cq.Plane(cq.Vector(-0.53125, 0.59375, 0.328125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop7=wp_sketch7.moveTo(0.019736842105263157, 0.0).circle(0.01932565789473684)
solid7=wp_sketch7.add(loop7).extrude(-0.015625)
solid=solid.cut(solid7)
| 2,539
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017777
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.484375, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.4855263157894737, 0.0).circle(0.4855263157894737)
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.3203125, 0.0, 0.265625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.3236842105263158, 0.0).circle(0.3236842105263158)
solid1=wp_sketch1.add(loop1).extrude(0.375)
solid=solid.union(solid1)
| 1,035
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00013539
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1015625, -0.1015625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.2109375, 0.0).lineTo(0.2109375, 0.2109375).lineTo(0.0, 0.2109375).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.19095394736842106, 0.022203947368421052).lineTo(0.19095394736842106, 0.19095394736842106).lineTo(0.022203947368421052, 0.19095394736842106).lineTo(0.022203947368421052, 0.022203947368421052).close()
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.1015625, 0.1015625, 0.0), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042)))
loop2=wp_sketch1.moveTo(0.2109375, 0.0).lineTo(0.2109375, 0.2109375).lineTo(0.0, 0.2109375).lineTo(0.0, 0.0).close()
loop3=wp_sketch1.moveTo(0.19095394736842106, 0.022203947368421052).lineTo(0.19095394736842106, 0.19095394736842106).lineTo(0.022203947368421052, 0.19095394736842106).lineTo(0.022203947368421052, 0.022203947368421052).close()
solid1=wp_sketch1.add(loop2).add(loop3).extrude(-0.0234375)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.0859375, 0.0859375, 0.0), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042)))
loop4=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(loop4).extrude(-0.0234375)
solid=solid.union(solid2)
| 1,877
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00014530
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6640625, 0.0, 0.6875), 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.06315789473684211, 0.0).circle(0.06315789473684211)
solid0=wp_sketch0.add(loop0).extrude(0.125)
solid=solid0
| 915
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00019014
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.734375, -0.5546875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.1640625, -0.19605263157894737).lineTo(0.6739309210526315, 0.39210526315789473).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.2265625)
solid=solid0
| 890
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00014524
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.0625, 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.18157894736842106, 0.0).lineTo(0.18157894736842106, 0.5052631578947369).threePointArc((0.1010378400322594, 0.614459946632839), (0.09473684210526316, 0.75)).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.2109375)
solid=solid0
| 1,013
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00019799
|
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.22105263157894733, 0.0).circle(0.22105263157894733)
solid0=wp_sketch0.add(loop0).extrude(0.1484375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.078125, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.07894736842105263, 0.0).circle(0.07894736842105263)
solid1=wp_sketch1.add(loop1).extrude(0.1484375)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.421875, -0.1875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.421875, 0.11101973684210525).threePointArc((0.3441611842105263, 0.18873355263157895), (0.421875, 0.26644736842105265)).lineTo(0.0, 0.3774671052631579).threePointArc((0.10999719189504692, 0.18873355263157895), (0.0, 0.0)).close()
solid2=wp_sketch2.add(loop2).extrude(0.1484375)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.71875, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch3.moveTo(0.18157894736842106, 0.0).circle(0.17779605263157894)
solid3=wp_sketch3.add(loop3).extrude(0.046875)
solid=solid.cut(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.0625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop4=wp_sketch4.moveTo(0.05921052631578947, 0.0).circle(0.05921052631578947)
solid4=wp_sketch4.add(loop4).extrude(0.09375)
solid=solid.cut(solid4)
# Generating a workplane for sketch 5
wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(0.078125, -0.3828125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop5=wp_sketch5.moveTo(0.2723684210526316, 0.0).circle(0.2723684210526316)
solid5=wp_sketch5.add(loop5).extrude(0.1484375)
solid=solid.union(solid5)
| 1,959
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00012182
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.21875, 0.078125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.3515625, 0.0).lineTo(0.029605263157894735, 0.01850328947368421).lineTo(0.025904605263157892, 0.01850328947368421).lineTo(0.011101973684210526, 0.011101973684210526).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 1,014
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017788
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.109375, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.10657894736842105, 0.0).circle(0.10657894736842105)
solid0=wp_sketch0.add(loop0).extrude(0.25)
solid=solid0
| 838
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017171
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6484375, 0.0, -0.75), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.6484375, 0.0).lineTo(0.6484375, 0.32763157894736844).lineTo(0.5392269736842106, 0.32763157894736844).lineTo(0.5392269736842106, 0.21842105263157896).lineTo(0.10921052631578948, 0.21842105263157896).lineTo(0.10921052631578948, 0.32763157894736844).lineTo(0.0, 0.32763157894736844).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.4296875)
solid=solid0
| 1,135
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00018242
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.4765625, -0.4375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.9218750000000001, 0.0).lineTo(0.9218750000000001, 0.8345394736842106).lineTo(0.0, 0.8345394736842106).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 902
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00015766
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0390625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.039473684210526314, 0.0).circle(0.039473684210526314)
loop1=wp_sketch0.moveTo(0.039473684210526314, 0.0).circle(0.02796052631578947)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75)
solid=solid0
| 907
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00013303
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.484375, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.4855263157894737, 0.0).circle(0.4855263157894737)
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 908
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017165
|
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.9453125, 0.0).lineTo(0.9453125, 0.07960526315789473).lineTo(0.7462993421052632, 0.07960526315789473).lineTo(0.7462993421052632, 0.27861842105263157).lineTo(0.6666940789473684, 0.27861842105263157).threePointArc((0.47265625, 0.08458059210526316), (0.27861842105263157, 0.27861842105263157)).lineTo(0.19901315789473684, 0.27861842105263157).lineTo(0.19901315789473684, 0.07960526315789473).lineTo(0.0, 0.07960526315789473).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.3515625)
solid=solid0
| 1,256
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00013465
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0390625, 0.0, 0.0234375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((1.5348946199039994e-05, -0.018058347735920504), (0.015625, -0.02713815789473684)).lineTo(0.060032894736842105, -0.02713815789473684).threePointArc((0.07564254579064306, -0.01805834773592049), (0.0756578947368421, 0.0)).lineTo(0.05345394736842105, 0.03865131578947368).threePointArc((0.03782894736842105, 0.047629853366577844), (0.022203947368421052, 0.03865131578947368)).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 1,224
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00019606
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.109375, -0.109375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.10937499999999999, 0.0).threePointArc((0.03203519580772132, 0.03203519580772136), (0.0, 0.10937499999999999)).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.109375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.10937499999999999, 0.0).lineTo(0.10937499999999999, 0.10937499999999999).threePointArc((0.07733980419227864, 0.03203519580772132), (0.0, 0.0)).close()
solid1=wp_sketch1.add(loop1).extrude(0.75)
solid=solid.union(solid1)
| 1,177
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00012035
|
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.34375, 0.0).lineTo(0.34375, 0.2858552631578947).lineTo(0.0, 0.2858552631578947).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.1171875, 0.140625), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.05921052631578947, 0.0).circle(0.05921052631578947)
solid1=wp_sketch1.add(loop1).extrude(0.2890625)
solid=solid.union(solid1)
| 1,180
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017159
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5, 0.0, -0.140625), 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.2421875, 0.0).lineTo(1.2421875, 0.19613486842105265).lineTo(1.0460526315789473, 0.19613486842105265).threePointArc((0.9701808030678467, 0.22486830306784672), (0.9414473684210527, 0.3007401315789474)).lineTo(0.9414473684210527, 0.8891447368421053).lineTo(0.33996710526315793, 0.8891447368421053).lineTo(0.33996710526315793, 0.3007401315789474).threePointArc((0.30162263728103034, 0.20227648064647805), (0.19613486842105265, 0.19613486842105265)).lineTo(0.0, 0.19613486842105265).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.6407072368421053, 0.6014802631578948).circle(0.19613486842105265)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.59375)
solid=solid0
| 1,380
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00012021
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.1640625, 0.0625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.5859375, 0.0).lineTo(0.5859375, 0.5859375).lineTo(0.0, 0.5859375).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0390625)
solid=solid0
| 871
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00012960
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.7421875, 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.429358552631579, 0.0).lineTo(1.429358552631579, 1.4921875).lineTo(0.0, 1.4921875).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.4296875)
solid=solid0
| 957
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00019835
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.46875, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.47368421052631576, 0.0).circle(0.47368421052631576)
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.46875, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.47368421052631576, 0.0).circle(0.47368421052631576)
solid1=wp_sketch1.add(loop1).extrude(0.75)
solid=solid.union(solid1)
| 1,170
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00015564
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0078125, 0.0, -0.0078125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.000529905494563811, -0.0012793050317519783), (0.0018092105263157895, -0.0018092105263157895)).lineTo(0.009868421052631578, -0.0018092105263157895).threePointArc((0.011065489242278294, -0.0012452414164252426), (0.011513157894736841, 0.0)).lineTo(0.011513157894736841, 0.01381578947368421).threePointArc((0.011065489242278294, 0.015061030890109453), (0.009868421052631578, 0.015625)).lineTo(0.0018092105263157895, 0.015625).threePointArc((0.000529905494563811, 0.01509509450543619), (0.0, 0.01381578947368421)).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.0007002235711974851, -0.0008681208212256626), (0.0018092105263157895, -0.000986842105263158)).lineTo(0.009868421052631578, -0.000986842105263158).threePointArc((0.010566223797223568, -0.0006978027445919886), (0.010855263157894736, 0.0)).lineTo(0.010855263157894736, 0.01381578947368421).threePointArc((0.010600287412550303, 0.014595829060381461), (0.009868421052631578, 0.014967105263157894)).lineTo(0.0018092105263157895, 0.014967105263157894).threePointArc((0.0009951073242918018, 0.014629892675708198), (0.0006578947368421052, 0.01381578947368421)).lineTo(0.0006578947368421052, 0.0).close()
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75)
solid=solid0
| 1,897
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017401
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6171875, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.375, 0.0).lineTo(0.375, 0.3078947368421053).lineTo(0.0, 0.3078947368421053).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.328125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.5546875, 0.0, 0.3125), 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.2109375, 0.0).lineTo(0.2109375, 0.17763157894736842).lineTo(0.0, 0.17763157894736842).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.2265625)
solid=solid.union(solid1)
| 1,264
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017367
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.390625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.640625, 0.0).lineTo(0.640625, 0.10789473684210527).lineTo(0.5327302631578947, 0.10789473684210527).threePointArc((0.4945837131201995, 0.12369555522546265), (0.4787828947368421, 0.1618421052631579)).lineTo(0.4787828947368421, 0.5866776315789474).lineTo(0.1618421052631579, 0.5866776315789474).lineTo(0.1618421052631579, 0.1618421052631579).threePointArc((0.14604128687980053, 0.12369555522546265), (0.10789473684210527, 0.10789473684210527)).lineTo(0.0, 0.10789473684210527).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.3203125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.484375, -0.3203125, -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.055263157894736833, 0.0).circle(0.055263157894736833)
solid1=wp_sketch1.add(loop1).extrude(-0.5390625)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.203125, -0.1640625, -0.28125), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.043421052631578944, 0.0).circle(0.043421052631578944)
solid2=wp_sketch2.add(loop2).extrude(-0.5390625)
solid=solid.cut(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.7421875, -0.1640625, -0.28125), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch3.moveTo(0.043421052631578944, 0.0).circle(0.043421052631578944)
solid3=wp_sketch3.add(loop3).extrude(-0.5390625)
solid=solid.cut(solid3)
| 1,996
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00015570
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2265625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.047697368421052634, 0.0).threePointArc((0.2265625, 0.17886513157894737), (0.4054276315789474, 0.0)).lineTo(0.453125, 0.0).threePointArc((0.2265625, 0.2265625), (0.0, 0.0)).close()
solid0=wp_sketch0.add(loop0).extrude(0.1875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.2265625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.04950657894736842, 0.0).threePointArc((0.16796875, 0.11846217105263158), (0.28643092105263157, 0.0)).lineTo(0.3359375, 0.0).threePointArc((0.16796875, 0.16796875), (0.0, 0.0)).close()
solid1=wp_sketch1.add(loop1).extrude(0.1875)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.4140625, -0.046875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(1.1640625, 0.0).lineTo(1.1640625, 0.04901315789473684).lineTo(0.9680098684210526, 0.04901315789473684).lineTo(0.93125, 0.04901315789473684).lineTo(0.6861842105263158, 0.04901315789473684).lineTo(0.6371710526315789, 0.04901315789473684).lineTo(0.5881578947368421, 0.04901315789473684).lineTo(0.2328125, 0.04901315789473684).lineTo(0.19605263157894737, 0.04901315789473684).lineTo(0.0, 0.04901315789473684).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.1875)
solid=solid.union(solid2)
| 1,752
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00013101
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.3359375, 0.0, -0.4609375), 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.42236842105263156, 0.0).lineTo(0.42236842105263156, 0.8359375).lineTo(0.0, 0.8359375).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.1875)
solid=solid0
| 963
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00012223
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5546875, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.14473684210526316, 0.0).lineTo(0.14473684210526316, 0.24605263157894736).lineTo(0.20986842105263157, 0.2894736842105263).lineTo(0.3907894736842105, 0.0).lineTo(0.55, 0.0).lineTo(0.3111842105263158, 0.38355263157894737).lineTo(0.55, 0.6875).lineTo(0.3907894736842105, 0.6875).lineTo(0.2026315789473684, 0.45592105263157895).lineTo(0.14473684210526316, 0.3763157894736842).lineTo(0.14473684210526316, 0.6875).lineTo(0.0, 0.6875).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.5546875, 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.1484375, 0.0).lineTo(0.1484375, 0.06875).lineTo(0.0, 0.06875).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.0625)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.1640625, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop2=wp_sketch2.moveTo(0.1640625, 0.0).lineTo(0.1640625, 0.06735197368421053).lineTo(0.0, 0.06735197368421053).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.0625)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.6875, 0.0), cq.Vector(-1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, 1.0, 6.123233995736766e-17)))
loop3=wp_sketch3.moveTo(0.1640625, 0.0).lineTo(0.1640625, 0.06907894736842105).lineTo(0.0, 0.06907894736842105).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop3).extrude(0.0625)
solid=solid.union(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.40625, 0.6875, 0.0), 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.1484375, 0.0).lineTo(0.1484375, 0.06875).lineTo(0.0, 0.06875).lineTo(0.0, 0.0).close()
solid4=wp_sketch4.add(loop4).extrude(0.0625)
solid=solid.union(solid4)
| 2,370
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00010385
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.515625, 0.0, -0.75), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.3120888157894737, 0.0).lineTo(0.3120888157894737, 0.10855263157894737).threePointArc((0.35958059210526316, 0.061060855263157895), (0.40707236842105265, 0.10855263157894737)).lineTo(0.40707236842105265, 0.0).lineTo(0.7191611842105263, 0.0).lineTo(0.7191611842105263, 1.2890625).lineTo(0.0, 1.2890625).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.352796052631579, 1.1805098684210527).circle(0.054276315789473686)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.125)
solid=solid0
| 1,220
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00018082
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.484375, -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.07500000000000001, 0.0).circle(0.07500000000000001)
solid0=wp_sketch0.add(loop0).extrude(-0.125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.6484375, -0.40625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.16998355263157894, -0.3046875).threePointArc((0.20204524588539924, -0.20355747445980527), (0.3014802631578947, -0.24054276315789475)).lineTo(0.1635690789473684, 0.08659539473684211).threePointArc((0.1200700614158015, -0.029019399633356074), (0.0, 0.0)).close()
solid1=wp_sketch1.add(loop1).extrude(-0.125)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.65625, -0.390625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.009457236842105263, -0.017023026315789475).threePointArc((0.13103875788069919, -0.04532741240402654), (0.17401315789473684, 0.071875)).lineTo(0.17023026315789475, 0.07754934210526315).threePointArc((0.046813401336809515, 0.12285163987683659), (0.0, 0.0)).close()
solid2=wp_sketch2.add(loop2).extrude(-0.125)
solid=solid.union(solid2)
| 1,583
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00013869
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0234375, 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.019736842105263157, 0.0).circle(0.019736842105263157)
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 841
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00012222
|
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, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.14473684210526316, 0.0).lineTo(0.14473684210526316, 0.6875).lineTo(0.0, 0.6875).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.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)))
loop1=wp_sketch1.moveTo(0.1484375, 0.0).lineTo(0.1484375, 0.06875).lineTo(0.0, 0.06875).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.0625)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.6875, 0.0), cq.Vector(-1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, 1.0, 6.123233995736766e-17)))
loop2=wp_sketch2.moveTo(0.1484375, 0.0).lineTo(0.1484375, 0.06875).lineTo(0.0, 0.06875).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.0625)
solid=solid.union(solid2)
| 1,449
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017366
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 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(1.46875, 0.0).lineTo(1.46875, 0.12368421052631579).lineTo(1.1131578947368421, 0.12368421052631579).lineTo(1.1131578947368421, 0.49473684210526314).lineTo(0.9894736842105263, 0.49473684210526314).threePointArc((0.734375, 0.23963815789473683), (0.47927631578947366, 0.49473684210526314)).lineTo(0.3555921052631579, 0.49473684210526314).lineTo(0.3555921052631579, 0.12368421052631579).lineTo(0.0, 0.12368421052631579).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.546875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.4765625, -0.2734375, 0.0234375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.06315789473684211, 0.0).circle(0.06315789473684211)
solid1=wp_sketch1.add(loop1).extrude(-0.609375)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.6328125, -0.265625, 0.0234375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.06315789473684211, 0.0).circle(0.06315789473684211)
solid2=wp_sketch2.add(loop2).extrude(-0.609375)
solid=solid.cut(solid2)
| 1,661
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017372
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.0703125), 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.203125, 0.0).lineTo(1.203125, 0.2026315789473684).lineTo(1.0004934210526315, 0.2026315789473684).threePointArc((0.9288523392745209, 0.23230628664294203), (0.8991776315789474, 0.30394736842105263)).lineTo(0.8991776315789474, 0.7978618421052631).lineTo(0.30394736842105263, 0.7978618421052631).lineTo(0.30394736842105263, 0.30394736842105263).threePointArc((0.274272660725479, 0.23230628664294203), (0.2026315789473684, 0.2026315789473684)).lineTo(0.0, 0.2026315789473684).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.6078947368421053, 0.5445723684210526).circle(0.2026315789473684)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.6015625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.703125, -0.3046875, 0.125), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch1.moveTo(0.05131578947368422, 0.0).circle(0.05131578947368422)
solid1=wp_sketch1.add(loop2).extrude(-1.0)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.3046875, -0.296875, 0.125), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch2.moveTo(0.05131578947368422, 0.0).circle(0.05131578947368422)
solid2=wp_sketch2.add(loop3).extrude(-1.0)
solid=solid.cut(solid2)
| 1,770
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017831
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 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.7471217105263158, 0.0).lineTo(0.7471217105263158, -0.1513157894736842).lineTo(0.71875, -0.1513157894736842).threePointArc((0.6761924342105263, -0.19387335526315788), (0.71875, -0.23643092105263158)).lineTo(0.7471217105263158, -0.23643092105263158).lineTo(0.8984375, -0.23643092105263158).lineTo(0.8984375, 0.1513157894736842).lineTo(0.0, 0.1513157894736842).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.640625, 0.390625, 0.0390625), cq.Vector(-1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, 1.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.0, 0.1015625).threePointArc((-0.05078125, 0.05078125), (0.0, 0.0)).close()
solid1=wp_sketch1.add(loop1).extrude(-0.75)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.640625, 0.390625, 0.0390625), cq.Vector(-1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, 1.0, 6.123233995736766e-17)))
loop2=wp_sketch2.moveTo(0.0, 0.0).threePointArc((0.05078125, 0.05078125), (0.0, 0.1015625)).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(-0.75)
solid=solid.cut(solid2)
| 1,696
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00015798
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1640625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.16578947368421051, 0.0).circle(0.16578947368421051)
loop1=wp_sketch0.moveTo(0.16578947368421051, 0.0).circle(0.11743421052631578)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75)
solid=solid0
| 904
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00010804
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.3203125, 0.0, -0.03125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.703125, 0.029605263157894735).lineTo(0.703125, 0.5180921052631579).lineTo(0.022203947368421052, 0.5180921052631579).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.078125, -0.390625, 0.484375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.10657894736842105, 0.0).circle(0.10435855263157895)
solid1=wp_sketch1.add(loop1).extrude(-0.3203125)
solid=solid.cut(solid1)
| 1,194
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00012752
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.015625, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.015789473684210527, 0.0).circle(0.015789473684210527)
loop1=wp_sketch0.moveTo(0.015789473684210527, 0.0).circle(0.011842105263157895)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.5390625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.0078125, 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.011842105263157895, 0.0).circle(0.011842105263157895)
solid1=wp_sketch1.add(loop2).extrude(0.75)
solid=solid.union(solid1)
| 1,213
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00019607
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.109375, -0.125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.21874999999999997, 0.0).lineTo(0.21874999999999997, 0.12664473684210525).threePointArc((0.10937499999999999, 0.01726973684210526), (0.0, 0.12664473684210525)).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 948
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00018519
|
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.0390625, 0.0).lineTo(0.0390625, 0.0390625).lineTo(0.0, 0.0390625).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 929
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00012034
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.7109375, 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.7223684210526315, 0.0).circle(0.7073190789473685)
loop1=wp_sketch0.moveTo(0.7223684210526315, 0.0).circle(0.15049342105263158)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75)
solid=solid0
| 955
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017164
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.3203125, -0.34375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.0703125, 0.0).lineTo(1.0703125, 1.0703125).lineTo(0.0, 1.0703125).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.5295230263157895, 0.5407894736842105).circle(0.31546052631578947)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.4296875)
solid=solid0
| 951
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00015001
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.0078125, 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.007894736842105263, 0.0).lineTo(0.007894736842105263, 0.1105263157894737).lineTo(0.5921052631578948, 0.6394736842105263).lineTo(0.5921052631578948, 0.75).lineTo(0.5921052631578948, 0.6473684210526316).lineTo(0.0, 0.1105263157894737).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0546875)
solid=solid0
| 1,074
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00014479
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.265625, 0.0, -0.2734375), 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.5390625, 0.0).lineTo(0.5390625, 0.5390625).lineTo(0.0, 0.5390625).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.109375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.265625, 0.0, -0.2734375), 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.5390625, 0.0).lineTo(0.5390625, 0.5390625).lineTo(0.0, 0.5390625).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.109375)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.1171875, -0.109375, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop2=wp_sketch2.moveTo(0.11842105263157894, 0.0).circle(0.11595394736842105)
solid2=wp_sketch2.add(loop2).extrude(0.5390625)
solid=solid.union(solid2)
| 1,513
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017170
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5859375, 0.0, -0.1875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(1.3359375, 0.0).lineTo(1.3359375, 0.1125).lineTo(1.0546875, 0.1125).lineTo(1.0546875, 0.39375).lineTo(0.95625, 0.39375).threePointArc((0.675, 0.1125), (0.39375, 0.39375)).lineTo(0.28125, 0.39375).lineTo(0.28125, 0.1125).lineTo(0.0, 0.1125).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.5078125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.546875, -0.25, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.055263157894736833, 0.0).circle(0.055263157894736833)
solid1=wp_sketch1.add(loop1).extrude(-0.5625)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.5, -0.265625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.05131578947368422, 0.0).circle(0.05024671052631579)
solid2=wp_sketch2.add(loop2).extrude(-0.5625)
solid=solid.cut(solid2)
| 1,463
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017789
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.125, 0.0625), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.2578125, 0.0).threePointArc((0.12890625, 0.0783425279720826), (0.0, 0.0)).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.1328125, -0.0546875), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.0, 0.0).threePointArc((0.1328125, -0.08640400902627034), (0.265625, 0.0)).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.75)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.1328125, -0.0546875), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop2=wp_sketch2.moveTo(0.26192434210526316, 0.0).threePointArc((0.2729423952106201, 0.06252956519951475), (0.25616776315789475, 0.12376644736842105)).lineTo(0.0028782894736842104, 0.12376644736842105).threePointArc((-0.01245719784219903, 0.06220639444186267), (0.0, 0.0)).close()
solid2=wp_sketch2.add(loop2).extrude(0.75)
solid=solid.union(solid2)
| 1,607
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00014525
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.7109375, 0.0, 0.359375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.019736842105263157, 0.0).circle(0.019736842105263157)
solid0=wp_sketch0.add(loop0).extrude(0.03125)
solid=solid0
| 921
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00014531
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.3515625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.07894736842105263, 0.0).lineTo(0.07894736842105263, -0.07894736842105263).lineTo(0.15542763157894737, -0.07894736842105263).lineTo(0.15542763157894737, 0.0).lineTo(0.234375, 0.0).lineTo(0.234375, 0.07894736842105263).lineTo(0.15542763157894737, 0.07894736842105263).lineTo(0.15542763157894737, 0.15542763157894737).lineTo(0.07894736842105263, 0.15542763157894737).lineTo(0.07894736842105263, 0.07894736842105263).lineTo(0.0, 0.07894736842105263).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0546875)
solid=solid0
| 1,279
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017010
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2421875, 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.08289473684210526, -0.08289473684210526).threePointArc((0.24609374999999997, -0.015295492226200047), (0.4092927631578947, -0.08289473684210526)).lineTo(0.49218749999999994, 0.0).threePointArc((0.24609374999999997, 0.10193536886525371), (0.0, 0.0)).close()
solid0=wp_sketch0.add(loop0).extrude(0.578125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.2421875, 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.0, 0.0).threePointArc((0.246875, -0.5960089732108579), (0.49375, 0.0)).lineTo(0.41250000000000003, -0.08125).threePointArc((0.246875, -0.4811041212680438), (0.08125, -0.08125)).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.578125)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.53125, 0.53125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.29078947368421054, -0.29078947368421054).threePointArc((0.53125, -0.19118746246883794), (0.7717105263157895, -0.29078947368421054)).lineTo(1.0625, 0.0).threePointArc((0.53125, 0.22005095501070646), (0.0, 0.0)).close()
solid2=wp_sketch2.add(loop2).extrude(0.234375)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.53125, 0.53125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch3.moveTo(0.0, 0.0).threePointArc((0.5327302631578947, -1.2861246264023773), (1.0654605263157895, 0.0)).lineTo(0.7822368421052632, -0.28322368421052635).threePointArc((0.5327302631578947, -0.8855858510065765), (0.28322368421052635, -0.28322368421052635)).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop3).extrude(0.234375)
solid=solid.union(solid3)
| 2,024
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00012168
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.53125, -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.0578947368421052, 0.0).lineTo(1.0578947368421052, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(1.0578947368421052, 0.015789473684210527).lineTo(1.0578947368421052, 1.4842105263157894).lineTo(0.015789473684210527, 1.4842105263157894).lineTo(0.015789473684210527, 0.015789473684210527).close()
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.390625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.5234375, -0.7421875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch1.moveTo(1.046875, 0.0).lineTo(1.046875, 1.484375).lineTo(0.0, 1.484375).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop2).extrude(0.0078125)
solid=solid.union(solid1)
| 1,287
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00015161
|
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.2723684210526316, 0.0).circle(0.2723684210526316)
loop1=wp_sketch0.moveTo(0.11348684210526316, -0.045394736842105265).lineTo(0.1645559210526316, -0.022697368421052633).threePointArc((0.18150291428411264, 0.062347300475125454), (0.25534539473684215, 0.1078125)).lineTo(0.25534539473684215, 0.15888157894736843).lineTo(0.25534539473684215, 0.215625).threePointArc((0.09208246864996182, 0.1229540214845593), (0.06241776315789474, -0.06241776315789474)).close()
loop2=wp_sketch0.moveTo(0.06241776315789474, -0.06241776315789474).threePointArc((0.2390422607152582, -0.2016507850309807), (0.44827302631578947, -0.11916118421052632)).lineTo(0.4028782894736842, -0.09646381578947369).lineTo(0.3518092105263158, -0.0680921052631579).threePointArc((0.2608685277851184, -0.10873765485698106), (0.1759046052631579, -0.05674342105263158)).lineTo(0.12483552631578948, -0.07376644736842106).lineTo(0.07376644736842106, -0.09646381578947369).close()
loop3=wp_sketch0.moveTo(0.2723684210526316, 0.0).circle(0.05674342105263158)
loop4=wp_sketch0.moveTo(0.07376644736842106, -0.09646381578947369).threePointArc((0.2076668706159966, 0.0027967464810287612), (0.3688322368421053, -0.03972039473684211)).lineTo(0.4142269736842106, -0.0680921052631579).lineTo(0.46529605263157897, -0.09078947368421053).threePointArc((0.4551928419070671, 0.11023184491179022), (0.2837171052631579, 0.215625)).lineTo(0.2837171052631579, 0.15888157894736843).lineTo(0.2837171052631579, 0.1078125).close()
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).extrude(0.75)
solid=solid0
| 2,041
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00015613
|
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.03125)
solid=solid0
| 835
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00013935
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0234375)
solid=solid0
| 842
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00010582
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.4296875), 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.013873889312216349, -0.03349453174041546), (0.04736842105263158, -0.04736842105263158)).lineTo(1.4526315789473685, -0.04736842105263158).threePointArc((1.4861261106877837, -0.03349453174041546), (1.5, 0.0)).lineTo(1.5, 0.868421052631579).threePointArc((1.4828560036164176, 0.894020847529889), (1.4526315789473685, 0.9)).lineTo(0.04736842105263158, 0.9).threePointArc((0.01714399638358253, 0.894020847529889), (0.0, 0.868421052631579)).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0390625)
solid=solid0
| 1,270
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00014928
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.4375, 0.2109375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.09868421052631579, 0.0).circle(0.09868421052631579)
solid0=wp_sketch0.add(loop0).extrude(0.640625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.359375, 0.2109375, 0.640625), 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.109375)
solid=solid.union(solid1)
| 1,053
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00015388
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.109375, -0.03125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.09407894736842105, 0.0).lineTo(0.09407894736842105, 0.34375).lineTo(0.0, 0.34375).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 936
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00014914
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0234375, 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.02368421052631579, 0.0).circle(0.02368421052631579)
loop1=wp_sketch0.moveTo(0.02368421052631579, 0.0).circle(0.017269736842105265)
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
|
|
0001/00015439
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.2109375, 0.0546875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.006907894736842104, -0.05468749999999999).threePointArc((0.005133847634323994, -0.027131552071675412), (0.0, 0.0)).close()
solid0=wp_sketch0.add(loop0).extrude(0.3203125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.2109375, 0.03125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.0, 0.0).threePointArc((0.20114918656502717, 0.18654829009810617), (0.42335526315789473, 0.025657894736842105)).lineTo(0.34638157894736843, 0.609375).threePointArc((0.21167763157894737, 0.45513936212828227), (0.07697368421052632, 0.609375)).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.3203125)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.1328125, 0.6171875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.13421052631578947, 0.0).circle(0.13421052631578947)
loop3=wp_sketch2.moveTo(0.13421052631578947, 0.0).circle(0.07828947368421052)
solid2=wp_sketch2.add(loop2).add(loop3).extrude(0.3203125)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.2109375, 0.0546875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop4=wp_sketch3.moveTo(0.0, 0.0).threePointArc((-0.4292558041956468, -0.09892750245366051), (0.008881578947368421, -0.053289473684210525)).lineTo(0.0, 0.0).close()
loop5=wp_sketch3.moveTo(-0.2087171052631579, -0.053289473684210525).circle(0.15986842105263158)
solid3=wp_sketch3.add(loop4).add(loop5).extrude(0.3203125)
solid=solid.union(solid3)
| 1,896
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00012424
|
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.37894736842105264, -0.6473684210526316).lineTo(1.1210526315789473, -0.6473684210526316).lineTo(1.5, 0.0).lineTo(1.1210526315789473, 0.6473684210526316).lineTo(0.37894736842105264, 0.6473684210526316).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.4296875)
solid=solid0
| 985
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017574
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1015625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.10657894736842105, 0.0).circle(0.10657894736842105)
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 839
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017212
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.4578947368421053).lineTo(0.0, 0.4578947368421053).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.3359375)
solid=solid0
| 943
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00014754
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.4375, -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.06439144736842105, 0.0).lineTo(0.30049342105263155, -0.19317434210526316).lineTo(0.30049342105263155, -0.30049342105263155).lineTo(0.6796875, -0.30049342105263155).lineTo(0.6796875, 0.5723684210526315).lineTo(0.30049342105263155, 0.5723684210526315).lineTo(0.30049342105263155, 0.45789473684210524).lineTo(0.06439144736842105, 0.271875).lineTo(0.0, 0.271875).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 1,126
|
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.