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/00018475
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5078125, -0.6328125, 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.03410664455919825, -0.08234072386185459), (0.11644736842105263, -0.11644736842105263)).lineTo(0.9024671052631579, -0.11644736842105263).threePointArc((0.9848078291250123, -0.08234072386185459), (1.0189144736842106, 0.0)).lineTo(1.0189144736842106, 0.9024671052631579).threePointArc((0.8782245648775183, 1.2421225911933078), (0.5385690789473684, 1.3828125)).lineTo(0.4803453947368421, 1.3828125).threePointArc((0.14068990880669224, 1.2421225911933078), (0.0, 0.9024671052631579)).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.015625)
solid=solid0
| 1,246
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017746
|
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/00016458
|
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, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.17960526315789474, 0.0).lineTo(0.3592105263157895, 0.0).lineTo(0.3592105263157895, 0.1421875).lineTo(0.23199013157894735, 0.284375).lineTo(0.23199013157894735, 0.7109375).lineTo(0.17960526315789474, 0.7109375).lineTo(0.1272203947368421, 0.7109375).lineTo(0.1272203947368421, 0.284375).lineTo(0.0, 0.1421875).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.17960526315789474, 0.03741776315789474).lineTo(0.24695723684210527, 0.08980263157894737).lineTo(0.17960526315789474, 0.08980263157894737).lineTo(0.10476973684210526, 0.08980263157894737).close()
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0078125, both=True)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.25, -0.0390625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch1.moveTo(0.49835526315789475, 0.0).lineTo(0.49835526315789475, 0.7890625).lineTo(0.0, 0.7890625).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop2).extrude(0.0703125, both=True)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.1953125, -0.0390625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch2.moveTo(0.38684210526315793, 0.0).lineTo(0.38684210526315793, 0.18536184210526319).lineTo(0.2659539473684211, 0.3304276315789474).lineTo(0.2659539473684211, 0.7656250000000001).lineTo(0.12088815789473685, 0.7656250000000001).lineTo(0.12088815789473685, 0.3304276315789474).lineTo(0.0, 0.18536184210526319).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop3).extrude(-0.015625, both=True)
solid=solid.cut(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.0546875, 0.0625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop4=wp_sketch3.moveTo(0.055263157894736833, 0.0).circle(0.05411184210526315)
solid3=wp_sketch3.add(loop4).extrude(-0.2890625, both=True)
solid=solid.cut(solid3)
| 2,165
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00019743
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.03125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.008863873727249262, -0.02139928416748758), (0.030263157894736843, -0.030263157894736843)).lineTo(0.46907894736842104, -0.030263157894736843).threePointArc((0.49047823153590864, -0.02139928416748758), (0.4993421052631579, 0.0)).lineTo(0.4993421052631579, 0.6884868421052631).threePointArc((0.49047823153590864, 0.7098861262727507), (0.46907894736842104, 0.71875)).lineTo(0.030263157894736843, 0.71875).threePointArc((0.008863873727249262, 0.7098861262727507), (0.0, 0.6884868421052631)).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.24967105263157896, 0.3404605263157895).circle(0.09078947368421053)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.15625, 0.375, 0.125), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch1.moveTo(0.09473684210526316, 0.0).circle(0.09473684210526316)
loop3=wp_sketch1.moveTo(0.09473684210526316, 0.0).circle(0.031578947368421054)
solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.125)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.125, 0.03125, 0.125), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop4=wp_sketch2.moveTo(0.0, 0.0).threePointArc((0.008863873727249262, -0.02139928416748758), (0.030263157894736843, -0.030263157894736843)).lineTo(0.2194078947368421, -0.030263157894736843).threePointArc((0.24080717890432968, -0.02139928416748758), (0.24967105263157896, 0.0)).lineTo(0.24967105263157896, 0.6884868421052631).threePointArc((0.24080717890432968, 0.7098861262727507), (0.2194078947368421, 0.71875)).lineTo(0.030263157894736843, 0.71875).threePointArc((0.008863873727249262, 0.7098861262727507), (0.0, 0.6884868421052631)).lineTo(0.0, 0.0).close()
loop5=wp_sketch2.moveTo(0.12861842105263158, 0.3404605263157895).circle(0.09078947368421053)
solid2=wp_sketch2.add(loop4).add(loop5).extrude(0.125)
solid=solid.union(solid2)
| 2,260
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00013093
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.2734375, 0.1328125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.06315789473684211, 0.0).circle(0.06184210526315789)
solid0=wp_sketch0.add(loop0).extrude(0.53125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.53125, -0.2578125, 0.0859375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.0859375, 0.0).lineTo(0.0859375, 0.0859375).lineTo(0.0, 0.0859375).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.21875)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.2578125, 0.0859375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop2=wp_sketch2.moveTo(0.0859375, 0.0).lineTo(0.0859375, 0.0859375).lineTo(0.0, 0.0859375).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.21875)
solid=solid.union(solid2)
| 1,462
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00014930
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.453125, -0.25, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.203125, 0.0).lineTo(1.203125, 0.3546052631578947).lineTo(0.0, 0.3546052631578947).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.1015625)
solid=solid0
| 884
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00014918
|
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(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.1881578947368421, -0.06513157894736842).threePointArc((0.09459208209123049, 0.09769736842105263), (0.1881578947368421, 0.26052631578947366)).lineTo(0.1881578947368421, 0.6875).lineTo(0.0, 0.6875).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.09407894736842105, 0.49934210526315786).circle(0.021710526315789472)
loop2=wp_sketch0.moveTo(0.09407894736842105, 0.6223684210526316).circle(0.021710526315789472)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.0625)
solid=solid0
| 1,140
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00015347
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.328125, -0.0234375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.02368421052631579).lineTo(0.0, 0.02368421052631579).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0234375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0234375, -0.328125, -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.0234375, 0.0).lineTo(0.0234375, 0.0234375).lineTo(0.0, 0.0234375).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.7265625)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0234375, 0.390625, -0.0234375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop2=wp_sketch2.moveTo(0.0234375, 0.0).lineTo(0.0234375, 0.0234375).lineTo(0.0, 0.0234375).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.7265625)
solid=solid.union(solid2)
| 1,507
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00016896
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.4140625, -0.3125, 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.0).lineTo(1.1640625, 0.6004111842105263).lineTo(0.0, 0.6004111842105263).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.453125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.3125, -0.3125, 0.453125), 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.48046875, -0.29200396789594424), (0.9609375, 0.0)).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(-0.5546875, both=True)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.2734375, -0.3125, 0.453125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop2=wp_sketch2.moveTo(0.0, 0.0).threePointArc((0.43749999999999994, -0.2549825973340519), (0.8749999999999999, 0.0)).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(-0.703125)
solid=solid.cut(solid2)
| 1,515
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017578
|
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/00014067
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.171875, -0.21875, 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.011754267333960977, -0.028377311613407515), (0.04013157894736842, -0.04013157894736842)).lineTo(0.30098684210526316, -0.04013157894736842).threePointArc((0.3293641537186706, -0.028377311613407515), (0.34111842105263157, 0.0)).lineTo(0.3361019736842105, 0.4364309210526316).threePointArc((0.32434770635024956, 0.46480823266603905), (0.2959703947368421, 0.4765625)).lineTo(0.04514802631578947, 0.4765625).threePointArc((0.01677071470238203, 0.46480823266603905), (0.005016447368421053, 0.4364309210526316)).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.014871088136357154, -0.020852640560775935), (0.04013157894736842, -0.02508223684210526)).lineTo(0.30098684210526316, -0.02508223684210526).threePointArc((0.31872266186364284, -0.01773581975837969), (0.3260690789473684, 0.0)).lineTo(0.32105263157894737, 0.4364309210526316).threePointArc((0.31266727422775636, 0.4516585171268007), (0.2959703947368421, 0.4564967105263158)).lineTo(0.04514802631578947, 0.4564967105263158).threePointArc((0.030959370509085753, 0.4506195768593353), (0.02508223684210526, 0.4364309210526316)).lineTo(0.02006578947368421, 0.0).close()
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75, both=True)
solid=solid0
| 1,789
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00019557
|
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.265625)
solid=solid0
| 836
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00013734
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.3671875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.15779322188726147, -0.22115414653379162), (0.37894736842105264, -0.37894736842105264)).lineTo(1.1210526315789473, -0.37894736842105264).threePointArc((1.3422067781127391, -0.22115414653379117), (1.5, 0.0)).lineTo(1.5, 0.7263157894736842).threePointArc((1.3435267973762082, 0.9553646728495812), (1.1210526315789473, 1.1210526315789473)).lineTo(0.37894736842105264, 1.1210526315789473).threePointArc((0.15647320262379183, 0.9553646728495812), (0.0, 0.7263157894736842)).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0234375)
solid=solid0
| 1,303
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00016880
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.49736842105263157, 0.0).lineTo(0.49736842105263157, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0234375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.046875, 0.0625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.019736842105263157, 0.0).circle(0.01932565789473684)
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.046875, 0.6875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.019736842105263157, 0.0).circle(0.01932565789473684)
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.421875, 0.6875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch3.moveTo(0.019736842105263157, 0.0).circle(0.01932565789473684)
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.421875, 0.0625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop4=wp_sketch4.moveTo(0.019736842105263157, 0.0).circle(0.01932565789473684)
solid4=wp_sketch4.add(loop4).extrude(0.3125)
solid=solid.cut(solid4)
| 1,656
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00015386
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2734375, -0.0859375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.0861842105263158, 0.0).lineTo(0.0861842105263158, 0.0430921052631579).lineTo(0.0430921052631579, 0.0430921052631579).lineTo(0.0430921052631579, 0.0861842105263158).lineTo(0.9803453947368421, 0.0861842105263158).lineTo(0.9803453947368421, 0.0430921052631579).lineTo(0.9372532894736842, 0.0430921052631579).lineTo(0.9372532894736842, 0.0).lineTo(1.0234375, 0.0).lineTo(1.0234375, 0.12927631578947368).lineTo(0.0, 0.12927631578947368).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.140625)
solid=solid0
| 1,199
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00016857
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2265625, 0.0, -0.1796875), 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.026973684210526316, 0.0).lineTo(0.026973684210526316, 0.3203125).lineTo(0.0, 0.3203125).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.3046875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.203125, -0.3046875, 0.0859375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.3046875, 0.0).lineTo(0.3046875, 0.04810855263157895).lineTo(0.0, 0.04810855263157895).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.390625)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.1484375, 0.0, 0.0859375), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042)))
loop2=wp_sketch2.moveTo(0.0352796052631579, 0.0).lineTo(0.0352796052631579, 0.3046875).lineTo(0.0, 0.3046875).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.3046875)
solid=solid.union(solid2)
| 1,597
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00014926
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.3203125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.2131578947368421, 0.0).circle(0.2131578947368421)
solid0=wp_sketch0.add(loop0).extrude(0.0703125)
solid=solid0
| 843
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00013085
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.3984375, 0.0, 0.46875), 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.23848684210526316, 0.0).lineTo(0.8943256578947368, 0.0).lineTo(1.1328125, 0.0).lineTo(1.1328125, 0.09539473684210527).lineTo(0.5604440789473685, 0.27425986842105265).threePointArc((0.2658322177904466, 0.22991541057239043), (0.0, 0.09539473684210527)).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.109375, both=True)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.1640625, 0.0, 0.46875), 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.07178210280665051, -0.0768221151620326), (0.16077302631578946, -0.1328125)).lineTo(0.16077302631578946, -0.4683388157894737).lineTo(0.5032894736842105, -0.4683388157894737).lineTo(0.5032894736842105, -0.1328125).threePointArc((0.5922803971933495, -0.0768221151620326), (0.6640625, 0.0)).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.078125, both=True)
solid=solid.union(solid1)
| 1,614
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00018339
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1875, 0.0, -0.1796875), 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.3592105263157895).lineTo(0.0, 0.3592105263157895).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.1875, both=True)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.1875, 0.0, 0.1796875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.1875, 0.0).lineTo(0.1875, 0.1875).lineTo(0.0, 0.1875).lineTo(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.0859375, -0.1875, 0.0546875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop2=wp_sketch2.moveTo(0.10115131578947367, 0.0).lineTo(0.10115131578947367, 0.1171875).lineTo(0.0, 0.1171875).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.375)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.1875, -0.1875, -0.1796875), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop3=wp_sketch3.moveTo(0.375, 0.0).lineTo(0.375, 0.17763157894736842).lineTo(0.0, 0.17763157894736842).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop3).extrude(0.5625)
solid=solid.union(solid3)
| 1,768
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00019741
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5703125, -0.1796875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.09728618421052632, 0.0).lineTo(0.09728618421052632, 0.7226973684210526).lineTo(1.084046052631579, 0.7226973684210526).lineTo(1.084046052631579, 0.3613486842105263).lineTo(1.3203125, 0.3613486842105263).lineTo(1.3203125, 0.4725328947368421).lineTo(1.1813322368421053, 0.4725328947368421).lineTo(1.1813322368421053, 0.819983552631579).lineTo(0.0, 0.819983552631579).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.2421875)
solid=solid0
| 1,142
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00019999
|
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/00016300
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.7578947368421053)
solid0=wp_sketch0.add(loop0).extrude(0.0078125)
solid=solid0
| 837
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00015609
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.21875, -0.1640625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.28421052631578947, 0.0).threePointArc((-0.7216361787420418, 0.1618421052631579), (0.28421052631578947, 0.3236842105263158)).lineTo(0.0, 0.3236842105263158).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.4296875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.21875, -0.1640625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.2866776315789474, 0.0).threePointArc((0.3130755113564729, 0.1640625), (0.2866776315789474, 0.328125)).lineTo(0.0, 0.328125).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.4296875)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.5, -0.1640625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.24868421052631579, 0.0).lineTo(0.24868421052631579, 0.328125).lineTo(0.0, 0.328125).threePointArc((0.026397879777525536, 0.1640625), (0.0, 0.0)).close()
solid2=wp_sketch2.add(loop2).extrude(0.1328125)
solid=solid.union(solid2)
| 1,499
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00019782
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.53125), 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.9218750000000001, 0.0).lineTo(0.9218750000000001, 0.46578947368421053).lineTo(0.7666118421052632, 0.46578947368421053).lineTo(0.7666118421052632, 0.3105263157894737).lineTo(0.15526315789473685, 0.3105263157894737).lineTo(0.15526315789473685, 0.46578947368421053).lineTo(0.0, 0.46578947368421053).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.6171875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.171875, -0.4609375, -0.53125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.3046875, 0.0).lineTo(0.3046875, 0.15394736842105264).lineTo(0.0, 0.15394736842105264).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(-0.765625)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.5234375, -0.3046875, -0.2265625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.07894736842105263, 0.0).circle(0.07730263157894736)
solid2=wp_sketch2.add(loop2).extrude(-0.765625)
solid=solid.cut(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.2109375, -0.3046875, -0.2265625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch3.moveTo(0.07894736842105263, 0.0).circle(0.07894736842105263)
solid3=wp_sketch3.add(loop3).extrude(-0.765625)
solid=solid.cut(solid3)
| 1,865
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00018488
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.640625, 0.0859375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.03453947368421052, -0.0805921052631579).lineTo(1.0476973684210527, 0.17269736842105263).lineTo(1.0476973684210527, -0.0805921052631579).lineTo(1.09375, -0.09210526315789473).lineTo(1.09375, 0.26480263157894735).lineTo(0.05756578947368421, -0.03453947368421052).lineTo(0.046052631578947366, 0.011513157894736841).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.375)
solid=solid0
| 1,091
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00015812
|
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/00019966
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.7421052631578947)
loop1=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.26842105263157895)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.4765625)
solid=solid0
| 901
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017787
|
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.09078947368421053, 0.0).circle(0.09078947368421053)
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.1484375, 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.15000000000000002, 0.0).circle(0.15000000000000002)
loop2=wp_sketch1.moveTo(0.15000000000000002, 0.0).circle(0.09062500000000001)
solid1=wp_sketch1.add(loop1).add(loop2).extrude(0.75)
solid=solid.union(solid1)
| 1,093
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00015769
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0234375, -0.0703125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.04884868421052631, 0.0).lineTo(0.04884868421052631, 0.008141447368421052).threePointArc((0.0835898204501012, 0.0329696412413714), (0.09769736842105262, 0.07327302631578947)).lineTo(0.09769736842105262, 0.11398026315789472).lineTo(0.6350328947368421, 0.11398026315789472).lineTo(0.6350328947368421, 0.07327302631578947).threePointArc((0.6450697190235829, 0.03425924050816034), (0.6757401315789473, 0.008141447368421052)).lineTo(0.6757401315789473, 0.0).lineTo(0.7245888157894737, 0.0).lineTo(0.7245888157894737, 0.008141447368421052).threePointArc((0.7706052534039559, 0.08761938682360822), (0.7001644736842104, 0.14654605263157894)).lineTo(0.024424342105263154, 0.14654605263157894).threePointArc((-0.046016437614482306, 0.08761938682360845), (0.0, 0.008141447368421052)).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.024424342105263154, 0.07327302631578947).circle(0.05699013157894736)
loop2=wp_sketch0.moveTo(0.7001644736842104, 0.07327302631578947).circle(0.05699013157894736)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.234375)
solid=solid0
| 1,655
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00016260
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.03125, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.030345394736842106, 0.0).lineTo(0.030345394736842106, 0.0703125).lineTo(0.010361842105263159, 0.0703125).lineTo(0.010361842105263159, 0.057730263157894736).lineTo(0.0, 0.057730263157894736).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(-0.75)
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/00010611
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0625, -0.0390625), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.55, 0.0).threePointArc((0.6839448757455208, 0.03618421052631579), (0.55, 0.07236842105263158)).lineTo(0.0, 0.07236842105263158).threePointArc((-0.13394487574552075, 0.03618421052631579), (0.0, 0.0)).close()
loop1=wp_sketch0.moveTo(-0.06513157894736842, 0.03618421052631579).circle(0.021710526315789472)
loop2=wp_sketch0.moveTo(0.6151315789473684, 0.03618421052631579).circle(0.021710526315789472)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(-0.0234375)
solid=solid0
| 1,186
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017142
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.25, 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.9921875, 0.0).lineTo(0.9921875, 0.16710526315789473).lineTo(0.8250822368421052, 0.16710526315789473).threePointArc((0.7660016044666503, 0.19157726236138725), (0.7415296052631578, 0.2506578947368421)).lineTo(0.7415296052631578, 0.6579769736842105).lineTo(0.2506578947368421, 0.6579769736842105).lineTo(0.2506578947368421, 0.2506578947368421).threePointArc((0.22618589553334956, 0.19157726236138725), (0.16710526315789473, 0.16710526315789473)).lineTo(0.0, 0.16710526315789473).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.5013157894736842, 0.4073190789473684).circle(0.16710526315789473)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.5)
solid=solid0
| 1,371
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00015755
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0546875, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.055263157894736833, 0.0).circle(0.055263157894736833)
loop1=wp_sketch0.moveTo(0.055263157894736833, 0.0).circle(0.03914473684210526)
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/00019609
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.06315789473684211, 0.0).circle(0.06315789473684211)
loop1=wp_sketch0.moveTo(0.06315789473684211, 0.0).circle(0.042105263157894736)
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/00018265
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.671875, -0.6953125, 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.01782409390805558, -0.04303116924983916), (0.06085526315789474, -0.06085526315789474)).lineTo(1.2931743421052633, -0.06085526315789474).threePointArc((1.3362055113551023, -0.04303116924983916), (1.354029605263158, 0.0)).lineTo(1.354029605263158, 1.3844572368421053).threePointArc((1.3362055113551023, 1.4274884060919444), (1.2931743421052633, 1.4453125)).lineTo(0.06085526315789474, 1.4453125).threePointArc((0.01782409390805558, 1.4274884060919444), (0.0, 1.3844572368421053)).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.07606907894736842, 0.015213815789473685).circle(0.03042763157894737)
loop2=wp_sketch0.moveTo(0.07606907894736842, 1.3692434210526316).circle(0.03042763157894737)
loop3=wp_sketch0.moveTo(1.2779605263157896, 0.015213815789473685).circle(0.03042763157894737)
loop4=wp_sketch0.moveTo(1.2779605263157896, 1.3692434210526316).circle(0.03042763157894737)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).extrude(0.015625)
solid=solid0
| 1,566
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017156
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5703125, 0.0, 0.3671875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.12631578947368421).lineTo(0.25263157894736843, 0.25263157894736843).lineTo(0.25263157894736843, 0.37894736842105264).lineTo(0.0, 0.37894736842105264).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 1,039
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00010639
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.234375, 0.0, -0.109375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.039473684210526314, 0.0).lineTo(0.056743421052631575, 0.15296052631578946).threePointArc((0.06917364414529804, 0.1760040948121055), (0.09375, 0.1850328947368421)).lineTo(0.234375, 0.1850328947368421).lineTo(0.234375, 0.2220394736842105).lineTo(0.0, 0.2220394736842105).lineTo(0.0, 0.0).close()
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.0, 0.0, 0.0703125), 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.140625, 0.0).threePointArc((0.16520135585470194, -0.009028799924736602), (0.17763157894736842, -0.03207236842105263)).lineTo(0.19490131578947367, -0.1850328947368421).lineTo(0.234375, -0.1850328947368421).lineTo(0.234375, 0.03700657894736842).lineTo(0.0, 0.03700657894736842).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.5859375)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.1796875, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop2=wp_sketch2.moveTo(0.3315789473684211, 0.0).lineTo(0.3315789473684211, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.1875)
solid=solid.union(solid2)
| 1,876
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017803
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.375, 0.0, -0.375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.375, both=True)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.375, 0.375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.375, 0.0).lineTo(0.375, 0.375).lineTo(0.0, 0.375).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.375)
solid=solid.union(solid1)
| 1,116
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00015796
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.06710526315789474, 0.0).circle(0.06710526315789474)
loop1=wp_sketch0.moveTo(0.06710526315789474, 0.0).circle(0.04753289473684211)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75)
solid=solid0
| 901
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017368
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(1.4296875, 0.0).lineTo(1.4296875, 0.3160361842105263).lineTo(0.0, 0.3160361842105263).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.734375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.59375, -0.734375, 0.15625), 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.16463815789473685, -0.16463815789473685).lineTo(0.9643092105263158, -0.16463815789473685).lineTo(1.1171875, 0.0).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(-0.796875)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.1953125, -0.453125, 0.3203125), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.20131578947368423, 0.0).circle(0.20131578947368423)
solid2=wp_sketch2.add(loop2).extrude(-0.796875)
solid=solid.cut(solid2)
| 1,501
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00019423
|
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/00012238
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6015625, 0.6875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.23157894736842105, -0.42697368421052634).lineTo(0.23157894736842105, -0.6875).lineTo(0.3763157894736842, -0.6875).lineTo(0.3763157894736842, -0.41973684210526313).lineTo(0.6006578947368421, 0.0).lineTo(0.44144736842105264, 0.0).lineTo(0.30394736842105263, -0.2822368421052632).lineTo(0.15921052631578947, 0.0).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.375, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.140625, 0.0).lineTo(0.140625, 0.06513157894736843).lineTo(0.0, 0.06513157894736843).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.15625, 0.0).lineTo(0.15625, 0.06743421052631579).lineTo(0.0, 0.06743421052631579).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.4375, 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.15625, 0.0).lineTo(0.15625, 0.06578947368421052).lineTo(0.0, 0.06578947368421052).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop3).extrude(0.0625)
solid=solid.union(solid3)
| 1,995
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017383
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.625, 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.631578947368421, 0.0).circle(0.631578947368421)
solid0=wp_sketch0.add(loop0).extrude(0.375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.375, 0.375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.37894736842105264, 0.0).circle(0.37894736842105264)
loop2=wp_sketch1.moveTo(0.37894736842105264, 0.18947368421052632).circle(0.06315789473684211)
solid1=wp_sketch1.add(loop1).add(loop2).extrude(0.3125)
solid_temp=solid1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.375, 0.375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.37894736842105264, 0.0).circle(0.37894736842105264)
loop2=wp_sketch1.moveTo(0.37894736842105264, 0.18947368421052632).circle(0.06315789473684211)
solid1=wp_sketch1.add(loop1).add(loop2).extrude(-0.3125)
solid_temp=solid_temp.union(solid1)
solid=solid.union(solid_temp)
| 1,487
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00015581
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.2578125, 0.3203125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.24868421052631579, 0.0).circle(0.2435032894736842)
solid0=wp_sketch0.add(loop0).extrude(-0.34375)
solid=solid0
| 901
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00018099
|
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)
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/00013866
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.578125, -0.046875), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.46249999999999997, 0.0).threePointArc((0.5281972089427944, 0.012237240800908858), (0.5842105263157895, 0.04868421052631579)).threePointArc((0.6341383173729951, 0.08392069380549788), (0.69375, 0.09736842105263158)).lineTo(1.15625, 0.09736842105263158).lineTo(1.15625, 0.12171052631578946).lineTo(0.69375, 0.12171052631578946).threePointArc((0.6207567782951913, 0.10459824564531597), (0.5598684210526316, 0.06085526315789473)).threePointArc((0.5148156698649906, 0.03291479264072695), (0.46249999999999997, 0.024342105263157894)).lineTo(0.0, 0.024342105263157894).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.7578125, both=True)
solid=solid0
| 1,359
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00015230
|
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(1.5, 0.0).lineTo(1.5, 0.28421052631578947).lineTo(1.405263157894737, 0.37894736842105264).lineTo(1.405263157894737, 0.18947368421052632).lineTo(1.3736842105263158, 0.18947368421052632).lineTo(1.3736842105263158, 0.37894736842105264).lineTo(0.12631578947368421, 0.37894736842105264).lineTo(0.12631578947368421, 0.18947368421052632).lineTo(0.09473684210526316, 0.18947368421052632).lineTo(0.09473684210526316, 0.37894736842105264).lineTo(0.0, 0.28421052631578947).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.015625)
solid=solid0
| 1,222
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017341
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.25, 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.75, 0.0).lineTo(0.75, 0.12631578947368421).lineTo(0.25263157894736843, 0.25263157894736843).lineTo(0.25263157894736843, 0.37894736842105264).lineTo(0.0, 0.37894736842105264).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 1,034
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00019344
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5859375, -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.168421052631579, 0.0).lineTo(1.168421052631579, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.6484375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.5546875, -0.71875, 0.6484375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(1.1197368421052631, 0.0).lineTo(1.1197368421052631, 1.4375).lineTo(0.0, 1.4375).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(-0.625)
solid=solid.cut(solid1)
| 1,111
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00013669
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.06315789473684211, 0.0).circle(0.06315789473684211)
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 836
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00016711
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.109375, 0.0, -0.078125), 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.21874999999999997, 0.0).lineTo(0.21874999999999997, 0.1519736842105263).lineTo(0.0, 0.1519736842105263).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.03125, -0.75, 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.035526315789473684, 0.0).circle(0.034786184210526316)
solid1=wp_sketch1.add(loop1).extrude(-0.09375)
solid=solid.cut(solid1)
| 1,244
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017180
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.34375, 0.0, 0.46875), 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.007976973684210527, -0.37491776315789477).lineTo(0.7578125, -0.37491776315789477).lineTo(0.7578125, -0.24728618421052634).lineTo(0.24728618421052634, -0.12763157894736843).lineTo(0.24728618421052634, 0.0).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 1,062
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00015797
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.06710526315789474, 0.0).circle(0.06710526315789474)
loop1=wp_sketch0.moveTo(0.06710526315789474, 0.0).circle(0.04753289473684211)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75)
solid=solid0
| 901
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00012991
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.75, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.02368421052631579, 0.0).lineTo(0.02368421052631579, 0.7263157894736842).lineTo(0.75, 0.7263157894736842).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
| 924
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017157
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.1484375, 0.109375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.12631578947368421, 0.0).lineTo(0.375, 0.24868421052631579).lineTo(0.375, 0.375).lineTo(0.0, 0.375).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.2734375, 0.109375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.25, 0.0).lineTo(0.25, 0.25).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.375)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.2734375, 0.109375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop2=wp_sketch2.moveTo(0.25, 0.0).lineTo(0.25, 0.25).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.75)
solid=solid.union(solid2)
| 1,434
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00013325
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.4140625, -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.8368421052631579, 0.0).lineTo(0.8368421052631579, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0078125)
solid=solid0
| 929
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017143
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5078125, 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.21932565789473682, 0.0).lineTo(0.10444078947368421, 0.11488486842105262).lineTo(0.8773026315789473, 0.11488486842105262).lineTo(0.7728618421052631, 0.0).lineTo(0.9921875, 0.0).lineTo(0.9921875, 0.21932565789473682).lineTo(0.0, 0.21932565789473682).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.5078125, 0.0, -0.75), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.21932565789473682, 0.0).lineTo(0.10444078947368421, 0.11488486842105262).lineTo(0.8773026315789473, 0.11488486842105262).lineTo(0.7728618421052631, 0.0).lineTo(0.9921875, 0.0).lineTo(0.9921875, 0.21932565789473682).lineTo(0.0, 0.21932565789473682).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.140625)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.5078125, 0.0, -0.53125), 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.9921875, 0.0).lineTo(0.9921875, 0.17754934210526316).lineTo(0.8250822368421052, 0.27154605263157894).lineTo(0.16710526315789473, 0.27154605263157894).lineTo(0.0, 0.16710526315789473).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.140625)
solid=solid.union(solid2)
| 1,959
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00011532
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.421875, -0.1796875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.8515625, 0.0).lineTo(0.8515625, 0.36751644736842104).lineTo(0.0, 0.36751644736842104).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.5)
solid=solid0
| 887
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00019608
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.06315789473684211, 0.0).circle(0.06315789473684211)
loop1=wp_sketch0.moveTo(0.06315789473684211, 0.0).circle(0.042105263157894736)
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/00018258
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 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(1.5, 0.0).lineTo(1.5, 1.0578947368421052).lineTo(1.0105263157894737, 1.3263157894736843).lineTo(0.48947368421052634, 1.3263157894736843).lineTo(0.0, 1.0578947368421052).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.7421052631578947, 0.6947368421052632).circle(0.25263157894736843)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.265625)
solid=solid0
| 1,107
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00016261
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0078125, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.010115131578947369, 0.0).lineTo(0.010115131578947369, 0.0234375).lineTo(0.003453947368421053, 0.0234375).lineTo(0.003453947368421053, 0.01924342105263158).lineTo(0.0, 0.01924342105263158).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(-0.75)
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/00015191
|
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.11842105263157895, 0.0).lineTo(0.11842105263157895, -0.5052631578947369).lineTo(0.631578947368421, -0.5052631578947369).lineTo(0.631578947368421, 0.0).lineTo(0.75, 0.0).lineTo(0.75, 0.19736842105263158).lineTo(0.0, 0.19736842105263158).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0625)
solid=solid0
| 1,007
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00019797
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.03125, 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.0625, 0.0).lineTo(0.0625, 0.0625).lineTo(0.0, 0.0625).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.05460526315789473, 0.007894736842105263).lineTo(0.05460526315789473, 0.05460526315789473).lineTo(0.007894736842105263, 0.05460526315789473).lineTo(0.007894736842105263, 0.007894736842105263).close()
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75, both=True)
solid=solid0
| 1,126
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00015813
|
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/00019783
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.46875, 0.0, -0.1328125), 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.2694078947368421, 0.0).lineTo(0.1411184210526316, 0.1411184210526316).lineTo(1.0776315789473685, 0.1411184210526316).lineTo(0.9493421052631579, 0.0).lineTo(1.21875, 0.0).lineTo(1.21875, 0.2694078947368421).lineTo(0.0, 0.2694078947368421).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.6171875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.0234375, -0.390625, 0.1328125), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.16973684210526316, 0.0).circle(0.16973684210526316)
solid1=wp_sketch1.add(loop1).extrude(-0.671875)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.46875, -0.1640625, 0.1328125), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(1.21875, 0.0).lineTo(1.21875, 0.1667763157894737).lineTo(0.0, 0.1667763157894737).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.3359375)
solid=solid.union(solid2)
| 1,546
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00018476
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.390625, -0.65625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.026013542460405232, -0.06280224701327898), (0.08881578947368421, -0.08881578947368421)).lineTo(0.6957236842105263, -0.08881578947368421).threePointArc((0.7585259312238053, -0.06280224701327898), (0.7845394736842105, 0.0)).lineTo(0.7845394736842105, 1.0361842105263157).threePointArc((0.6761497134325217, 1.2978602397483112), (0.41447368421052627, 1.40625)).lineTo(0.3700657894736842, 1.40625).threePointArc((0.10838976025168881, 1.2978602397483112), (0.0, 1.0361842105263157)).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.015625)
solid=solid0
| 1,241
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017023
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.8203125, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(1.4609375, 0.0).lineTo(1.4609375, 0.41521381578947364).lineTo(0.0, 0.41521381578947364).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0859375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.8203125, -0.0859375, 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.5234375, 0.0).lineTo(0.5234375, 0.41874999999999996).lineTo(0.0, 0.41874999999999996).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(-0.0390625)
solid=solid.cut(solid1)
| 1,278
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00010980
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.625, -0.5234375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.0308308651382583, -0.07443229275647872), (0.10526315789473684, -0.10526315789473684)).lineTo(1.144736842105263, -0.10526315789473684).threePointArc((1.2191691348617417, -0.07443229275647872), (1.25, 0.0)).lineTo(1.25, 1.0526315789473684).threePointArc((1.2164440456356032, 1.1204849243354258), (1.144736842105263, 1.144736842105263)).lineTo(0.9210526315789473, 1.144736842105263).threePointArc((0.8875379767331913, 1.1345984871627621), (0.8684210526315789, 1.1052631578947367)).lineTo(0.8289473684210525, 0.8552631578947368).lineTo(0.42105263157894735, 0.8552631578947368).lineTo(0.381578947368421, 1.1052631578947367).threePointArc((0.3624620232668082, 1.1345984871627621), (0.3289473684210526, 1.144736842105263)).lineTo(0.10526315789473684, 1.144736842105263).threePointArc((0.03355595436439678, 1.1204849243354258), (0.0, 1.0526315789473684)).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 1,558
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017037
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.046875, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.04736842105263158, 0.0).circle(0.04638157894736842)
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 838
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00019754
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.578125, 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.578125, 0.0).lineTo(0.578125, 0.17648026315789472).threePointArc((0.4533346091754662, 0.2281701354912557), (0.4016447368421053, 0.35296052631578945)).lineTo(0.0, 0.35296052631578945).threePointArc((-0.17648026315789472, 0.17648026315789472), (0.0, 0.0)).close()
loop1=wp_sketch0.moveTo(0.0, 0.17648026315789472).circle(0.07302631578947369)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.140625)
solid=solid0
| 1,151
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00016301
|
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.7421052631578947)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.1953125)
solid=solid0
| 900
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00019998
|
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/00019740
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.671875, -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.3125, 0.0).lineTo(1.3125, 1.3125).lineTo(0.0, 1.3125).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.03125)
solid=solid0
| 854
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017584
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0078125, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.007894736842105263, 0.0).circle(0.007894736842105263)
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 841
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00014927
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.7421875, 0.28125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.4697368421052631, 0.0).circle(0.4599506578947368)
loop1=wp_sketch0.moveTo(0.4697368421052631, 0.0).circle(0.01957236842105263)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0390625)
solid=solid0
| 910
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00013906
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.640625, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(1.2735197368421054, 0.0).threePointArc((1.3831773619301149, 0.15139918778688666), (1.200328947368421, 0.19029605263157895)).threePointArc((1.1741515533779827, 0.1694600511387714), (1.1417763157894738, 0.16101973684210527)).lineTo(0.14638157894736842, 0.16101973684210527).threePointArc((0.1140063413588594, 0.1694600511387714), (0.08782894736842106, 0.19029605263157895)).threePointArc((-0.10233854614064125, 0.162649420081106), (0.0, 0.0)).close()
solid0=wp_sketch0.add(loop0).extrude(0.0625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.6875, -0.0625, 0.109375), 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.05131578947368422, 0.0).circle(0.05024671052631579)
solid1=wp_sketch1.add(loop1).extrude(0.015625)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.5859375, -0.0625, 0.109375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop2=wp_sketch2.moveTo(0.05131578947368422, 0.0).circle(0.05024671052631579)
solid2=wp_sketch2.add(loop2).extrude(0.015625)
solid=solid.union(solid2)
| 1,793
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00013721
|
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.5684210526315789)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0234375)
solid=solid0
| 900
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00016895
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.4140625, -0.3125, 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.0).lineTo(1.1640625, 0.6004111842105263).lineTo(0.0, 0.6004111842105263).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.453125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.3125, -0.3125, 0.453125), 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.48046875, -0.29200396789594424), (0.9609375, 0.0)).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(-0.59375)
solid=solid.cut(solid1)
| 1,188
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00015378
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.75, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.600328947368421, 0.0).lineTo(0.600328947368421, 0.08223684210526315).lineTo(0.34539473684210525, 0.03289473684210526).lineTo(0.03289473684210526, 0.03289473684210526).lineTo(0.03289473684210526, 0.3536184210526316).lineTo(0.6496710526315789, 0.3536184210526316).lineTo(0.6496710526315789, 0.78125).lineTo(0.0, 0.78125).lineTo(0.0, 0.7483552631578947).lineTo(0.6167763157894737, 0.7483552631578947).lineTo(0.6167763157894737, 0.38651315789473684).lineTo(0.0, 0.38651315789473684).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.390625)
solid=solid0
| 1,230
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017231
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.390625, -0.453125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(1.140625, 0.0).lineTo(1.140625, 0.7564144736842104).lineTo(0.0, 0.7564144736842104).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.21875)
solid=solid0
| 940
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017557
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.49736842105263157, 0.0).lineTo(0.49736842105263157, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.296875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.296875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.15, 0.0).lineTo(0.15, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(-0.1484375)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.2265625, 0.375, 0.296875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.10263157894736843, 0.0).circle(0.10263157894736843)
solid2=wp_sketch2.add(loop2).extrude(-1.0)
solid=solid.cut(solid2)
| 1,267
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00016113
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6875, 0.171875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.20921052631578946, 0.0).circle(0.20921052631578946)
solid0=wp_sketch0.add(loop0).extrude(0.25)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.4140625, 0.390625, 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.16102593614242428, -0.20111395861121836), (0.028618421052631578, -0.42212171052631575)).lineTo(0.6796875, -0.2790296052631579).threePointArc((0.57014603125918, -0.20792803059026932), (0.6439144736842105, -0.10016447368421053)).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.25)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.4765625, -0.0546875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.08585526315789474, 0.019078947368421053).threePointArc((-0.05392827014495281, 0.4453910314417611), (0.0, 0.0)).close()
loop3=wp_sketch2.moveTo(-0.004769736842105263, 0.22417763157894738).circle(0.21463815789473684)
solid2=wp_sketch2.add(loop2).add(loop3).extrude(0.25)
solid=solid.union(solid2)
| 1,551
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00014062
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.59375, 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.5921052631578948).lineTo(0.0, 0.5921052631578948).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.3125)
solid=solid0
| 871
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00010210
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1484375, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.15000000000000002, 0.0).circle(0.15000000000000002)
loop1=wp_sketch0.moveTo(0.15000000000000002, 0.0).circle(0.08125)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75)
solid=solid0
| 964
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00016107
|
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.019736842105263157, 0.0).circle(0.019736842105263157)
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 894
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00014923
|
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.07894736842105263)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.296875)
solid=solid0
| 900
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00015383
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.75, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.03125)
solid=solid0
| 838
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00013916
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5859375, -0.640625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.3359375, 0.0).lineTo(1.3359375, 1.3359375).lineTo(0.0, 1.3359375).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(1.2796875, 0.05625).lineTo(1.2796875, 1.2796875).lineTo(0.05625, 1.2796875).lineTo(0.05625, 0.05625).close()
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.3359375)
solid=solid0
| 978
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017033
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.015625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.011842105263157895, 0.0).circle(0.011842105263157895)
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.0078125, 0.0, 0.0), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042)))
loop1=wp_sketch1.moveTo(0.003947368421052632, 0.0).circle(0.003947368421052632)
solid1=wp_sketch1.add(loop1).extrude(-0.0546875)
solid=solid.cut(solid1)
| 1,119
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00015630
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0078125, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.007894736842105263, 0.0).circle(0.007894736842105263)
loop1=wp_sketch0.moveTo(0.007894736842105263, 0.0).circle(0.007072368421052631)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75, both=True)
solid=solid0
| 984
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00012639
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.5703125), 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.15, -0.5763157894736842).lineTo(0.75, -0.5763157894736842).lineTo(0.6631578947368422, -0.24473684210526317).threePointArc((0.6513612811346979, -0.22757092339935014), (0.631578947368421, -0.2210526315789474)).lineTo(0.6, -0.2210526315789474).threePointArc((0.5783745255025403, -0.23491945214362947), (0.5763157894736842, -0.2605263157894737)).lineTo(0.6078947368421053, -0.37894736842105264).threePointArc((0.5998298963633404, -0.43211776955960157), (0.5526315789473685, -0.4578947368421053)).lineTo(0.3631578947368421, -0.4578947368421053).threePointArc((0.2932542498745287, -0.43310703126016925), (0.25263157894736843, -0.37105263157894736)).lineTo(0.14210526315789473, 0.031578947368421054).threePointArc((0.12112845101397027, 0.06063246299850556), (0.0868421052631579, 0.07105263157894737)).lineTo(0.05526315789473685, 0.07105263157894737).threePointArc((0.010021514325625216, 0.04922303271749618), (0.0, 0.0)).close()
solid0=wp_sketch0.add(loop0).extrude(0.234375)
solid=solid0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.5703125), 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.15, -0.5763157894736842).lineTo(0.75, -0.5763157894736842).lineTo(0.6631578947368422, -0.24473684210526317).threePointArc((0.6513612811346979, -0.22757092339935014), (0.631578947368421, -0.2210526315789474)).lineTo(0.6, -0.2210526315789474).threePointArc((0.5783745255025403, -0.23491945214362947), (0.5763157894736842, -0.2605263157894737)).lineTo(0.6078947368421053, -0.37894736842105264).threePointArc((0.5998298963633404, -0.43211776955960157), (0.5526315789473685, -0.4578947368421053)).lineTo(0.3631578947368421, -0.4578947368421053).threePointArc((0.2932542498745287, -0.43310703126016925), (0.25263157894736843, -0.37105263157894736)).lineTo(0.14210526315789473, 0.031578947368421054).threePointArc((0.12112845101397027, 0.06063246299850556), (0.0868421052631579, 0.07105263157894737)).lineTo(0.05526315789473685, 0.07105263157894737).threePointArc((0.010021514325625216, 0.04922303271749618), (0.0, 0.0)).close()
solid0=wp_sketch0.add(loop0).extrude(-0.234375)
solid=solid.union(solid0)
| 2,647
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00019744
|
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.718421052631579, 0.0).threePointArc((0.75, 0.031578947368421054), (0.718421052631579, 0.06315789473684211)).lineTo(0.0, 0.06315789473684211).threePointArc((-0.031578947368421054, 0.031578947368421054), (0.0, 0.0)).close()
loop1=wp_sketch0.moveTo(0.0, 0.031578947368421054).circle(0.007894736842105263)
loop2=wp_sketch0.moveTo(0.24473684210526317, 0.031578947368421054).circle(0.007894736842105263)
loop3=wp_sketch0.moveTo(0.718421052631579, 0.031578947368421054).circle(0.015789473684210527)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).extrude(0.015625)
solid=solid0
| 1,205
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00019963
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.2734375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.7471217105263158, 0.0).lineTo(0.7471217105263158, -0.1796875).lineTo(0.71875, -0.1796875).threePointArc((0.6761924342105263, -0.22224506578947367), (0.71875, -0.26480263157894735)).lineTo(0.7471217105263158, -0.26480263157894735).lineTo(0.8984375, -0.26480263157894735).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.421875, 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.0).threePointArc((0.05078125, 0.05078125), (0.0, 0.1015625)).lineTo(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.578125, 0.421875, 0.140625), 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.016552365368030196, -0.002492957138092855), (0.031578947368421054, -0.009868421052631578)).threePointArc((0.04627658200039086, -0.0025438165836808484), (0.0625, 0.0)).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.578125, 0.421875, 0.0390625), 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.0625, 0.0).threePointArc((0.04627658200039087, 0.0025438165836808484), (0.031578947368421054, 0.009868421052631578)).threePointArc((0.016552365368030196, 0.002492957138092846), (0.0, 0.0)).close()
solid3=wp_sketch3.add(loop3).extrude(-0.75)
solid=solid.cut(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.609375, 0.421875, 0.046875), 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.014116029063509667, -0.006729464525143207), (0.02960526315789474, -0.008881578947368421)).lineTo(0.02960526315789474, 0.09375).threePointArc((0.014116029063509667, 0.0915978855777748), (0.0, 0.08486842105263158)).threePointArc((0.02201636358621608, 0.04243421052631579), (0.0, 0.0)).close()
solid4=wp_sketch4.add(loop4).extrude(-0.75)
solid=solid.cut(solid4)
# Generating a workplane for sketch 5
wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(-0.609375, 0.421875, 0.046875), cq.Vector(-1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, 1.0, 6.123233995736766e-17)))
loop5=wp_sketch5.moveTo(0.0, 0.0).threePointArc((-0.022016363586216066, 0.04243421052631579), (0.0, 0.08486842105263158)).threePointArc((-0.08178744940963101, 0.04243421052631579), (0.0, 0.0)).close()
solid5=wp_sketch5.add(loop5).extrude(-0.75)
solid=solid.cut(solid5)
# Generating a workplane for sketch 6
wp_sketch6 = cq.Workplane(cq.Plane(cq.Vector(-0.609375, 0.421875, 0.046875), 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.0, 0.0).threePointArc((0.022293701499608336, 0.04296875), (0.0, 0.0859375)).threePointArc((-0.022293701499608336, 0.04296875), (0.0, 0.0)).close()
solid6=wp_sketch6.add(loop6).extrude(-0.75)
solid=solid.cut(solid6)
| 3,380
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00015181
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.25, -0.5859375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.06167763157894737, 0.0).lineTo(0.06167763157894737, 1.171875).lineTo(0.0, 1.171875).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0078125)
solid=solid0
| 887
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00010953
|
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/00019977
|
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/00018499
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0625, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.06710526315789474, 0.0).circle(0.06710526315789474)
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.0625, 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.06315789473684211, 0.0).circle(0.06315789473684211)
solid1=wp_sketch1.add(loop1).extrude(0.7421875)
solid=solid.cut(solid1)
| 1,173
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00015817
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.03125, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.027631578947368417, 0.0).circle(0.027631578947368417)
loop1=wp_sketch0.moveTo(0.027631578947368417, 0.0).circle(0.01957236842105263)
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/00015036
|
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, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.23684210526315788, 0.0).circle(0.23684210526315788)
loop1=wp_sketch0.moveTo(0.23684210526315788, 0.0).circle(0.15789473684210525)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.671875)
solid=solid0
| 907
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00013447
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.7578947368421053)
solid0=wp_sketch0.add(loop0).extrude(0.2109375)
solid=solid0
| 837
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.