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/00014205
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5859375, -0.6015625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.21875, 0.0).lineTo(1.21875, 1.180263157894737).lineTo(0.0, 1.180263157894737).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.5901315789473685, 0.6029605263157894).circle(0.12828947368421054)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.109375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.1328125, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch1.moveTo(0.13421052631578947, 0.0).circle(0.13421052631578947)
solid1=wp_sketch1.add(loop2).extrude(0.75)
solid=solid.union(solid1)
| 1,155
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00018417
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5703125, -0.2890625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.3203125, 0.0).lineTo(1.3203125, 0.4864309210526316).lineTo(0.0, 0.4864309210526316).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.140625)
solid=solid0
| 891
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017042
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.65625, -0.3671875), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.0, 0.725328947368421).threePointArc((-1.4110470171410459, 0.3626644736842105), (0.0, 0.0)).close()
loop1=wp_sketch0.moveTo(-0.6513157894736842, 0.3700657894736842).circle(0.444078947368421)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.6015625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.375, 0.65625, 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.07500000000000001, 0.0).circle(0.07500000000000001)
solid1=wp_sketch1.add(loop2).extrude(-0.6015625)
solid=solid.cut(solid1)
| 1,280
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00015641
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1953125, 0.0, -0.0703125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.390625, 0.0).lineTo(0.390625, 0.1439144736842105).lineTo(0.0, 0.1439144736842105).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.046875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.1953125, -0.046875, -0.03125), 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.12607022475063415, 0.031578947368421054), (0.0, 0.06315789473684211)).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.421875)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.1953125, -0.046875, -0.03125), 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.0625).threePointArc((-0.007827717505978302, 0.03125), (0.0, 0.0)).close()
solid2=wp_sketch2.add(loop2).extrude(0.421875)
solid=solid.union(solid2)
| 1,575
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017903
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.578125, 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.1526315789473685).lineTo(0.0, 1.1526315789473685).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.34375)
solid=solid0
| 872
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00015872
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2265625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.22894736842105262, 0.0).circle(0.22894736842105262)
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 839
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00013581
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0078125, -0.0078125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.0234375, 0.0).lineTo(0.0234375, 0.0234375).lineTo(0.0, 0.0234375).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.021710526315789475, 0.0017269736842105265).lineTo(0.021710526315789475, 0.021710526315789475).lineTo(0.0017269736842105265, 0.021710526315789475).lineTo(0.0017269736842105265, 0.0017269736842105265).close()
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.375)
solid=solid0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0078125, -0.0078125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.0234375, 0.0).lineTo(0.0234375, 0.0234375).lineTo(0.0, 0.0234375).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.021710526315789475, 0.0017269736842105265).lineTo(0.021710526315789475, 0.021710526315789475).lineTo(0.0017269736842105265, 0.021710526315789475).lineTo(0.0017269736842105265, 0.0017269736842105265).close()
solid0=wp_sketch0.add(loop0).add(loop1).extrude(-0.1015625)
solid=solid.union(solid0)
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.0390625, -0.0703125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch1.moveTo(0.0859375, 0.0).lineTo(0.0859375, 0.0859375).lineTo(0.05337171052631579, 0.0859375).lineTo(0.05337171052631579, 0.06422697368421053).lineTo(0.03256578947368421, 0.06422697368421053).lineTo(0.03256578947368421, 0.0859375).lineTo(0.0, 0.0859375).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop2).extrude(0.0078125)
solid=solid.union(solid1)
| 1,877
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017081
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.7109375, 0.0, 0.0078125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.7421875, 0.0).lineTo(0.7421875, 0.7421875).lineTo(0.0, 0.7421875).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.7421875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.4921875, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.49473684210526314, 0.0).lineTo(0.49473684210526314, 0.5).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.7421875)
solid=solid.union(solid1)
| 1,216
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017095
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.59375), 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.8984375, 0.0).lineTo(0.8984375, 0.1513157894736842).lineTo(0.7471217105263158, 0.1513157894736842).threePointArc((0.6936235001075969, 0.17347547379180736), (0.6714638157894737, 0.22697368421052633)).lineTo(0.6714638157894737, 0.6714638157894737).lineTo(0.22697368421052633, 0.6714638157894737).lineTo(0.22697368421052633, 0.22697368421052633).threePointArc((0.20481399989240315, 0.17347547379180736), (0.1513157894736842, 0.1513157894736842)).lineTo(0.0, 0.1513157894736842).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.4453125)
solid=solid0
| 1,300
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00010103
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.2890625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 0.5842105263157895).lineTo(0.0, 0.5842105263157895).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.015625)
solid=solid0
| 946
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00012066
|
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(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.0036611652351681736, -0.008838834764831827), (0.0125, -0.0125)).lineTo(0.284375, -0.0125).threePointArc((0.2932138347648318, -0.008838834764831827), (0.296875, 0.0)).lineTo(0.296875, 0.178125).threePointArc((0.2932138347648318, 0.18696383476483183), (0.284375, 0.19062500000000002)).lineTo(0.0125, 0.19062500000000002).threePointArc((0.0036611652351681736, 0.18696383476483183), (0.0, 0.178125)).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.040625, 0.028125).circle(0.009375000000000001)
loop2=wp_sketch0.moveTo(0.040625, 0.15000000000000002).circle(0.009375000000000001)
loop3=wp_sketch0.moveTo(0.25625000000000003, 0.028125).circle(0.009375000000000001)
loop4=wp_sketch0.moveTo(0.25625000000000003, 0.15000000000000002).circle(0.009375000000000001)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).extrude(0.015625)
solid=solid0
| 1,440
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00014371
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0078125, 0.0, -0.1171875), 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.010526315789473684, 0.0).lineTo(0.010526315789473684, 0.11447368421052631).lineTo(0.125, 0.11447368421052631).lineTo(0.125, 0.125).lineTo(0.0, 0.125).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 1,015
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017678
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 0.7578947368421053).lineTo(0.0, 0.7578947368421053).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0078125, both=True)
solid=solid0
| 875
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00016228
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.75, -0.734375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 1.468421052631579).lineTo(0.0, 1.468421052631579).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0078125)
solid=solid0
| 926
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017136
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 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(1.2578125, 0.0).lineTo(1.2578125, 0.10592105263157894).lineTo(0.9930098684210525, 0.10592105263157894).lineTo(0.9930098684210525, 0.3707236842105263).lineTo(0.8870888157894736, 0.3707236842105263).threePointArc((0.62890625, 0.11254111842105263), (0.3707236842105263, 0.3707236842105263)).lineTo(0.26480263157894735, 0.3707236842105263).lineTo(0.26480263157894735, 0.10592105263157894).lineTo(0.0, 0.10592105263157894).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.46875)
solid=solid0
| 1,249
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00018211
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1875, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.18947368421052632, 0.0).circle(0.18947368421052632)
loop1=wp_sketch0.moveTo(0.18947368421052632, 0.0).circle(0.12631578947368421)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.2421875)
solid=solid0
| 906
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017122
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.3515625, -0.328125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.5, 0.0).lineTo(0.5, 0.5).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.59375, -0.328125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.75, 0.0).lineTo(0.75, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(-0.75)
solid=solid.union(solid1)
| 1,138
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017644
|
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.18947368421052632, 0.0).circle(0.18552631578947368)
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.234375, 0.1875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.4641447368421053, 0.0).threePointArc((0.23207236842105264, 0.4829857933818281), (0.0, 0.0)).close()
solid1=wp_sketch1.add(loop1).extrude(0.296875)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.234375, 0.1875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.0, 0.0).threePointArc((0.234375, -0.11261606882437679), (0.46875, 0.0)).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.296875)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.375, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch3.moveTo(0.18947368421052632, 0.0).circle(0.18552631578947368)
solid3=wp_sketch3.add(loop3).extrude(0.296875)
solid=solid.union(solid3)
| 1,482
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00015906
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.640625, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.6513157894736843, 0.0).circle(0.6377467105263158)
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 908
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00015912
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.140625, 0.0, 0.0234375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.1953125, 0.0).lineTo(0.1953125, 0.047286184210526314).lineTo(0.0, 0.047286184210526314).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 962
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00019443
|
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.11842105263157894)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.1171875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.21875, -0.1171875, 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.21710526315789475, 0.0).circle(0.21258223684210528)
loop3=wp_sketch1.moveTo(0.21710526315789475, 0.0).circle(0.11759868421052633)
solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.0390625)
solid=solid.union(solid1)
| 1,317
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00016770
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.375, -0.03125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.40296052631578944, 0.0).lineTo(0.40296052631578944, 0.78125).lineTo(0.3782894736842105, 0.78125).lineTo(0.3782894736842105, 0.03289473684210526).lineTo(0.0, 0.03289473684210526).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.03125)
solid=solid0
| 1,022
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00014615
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1875, 0.0078125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.18947368421052632, 0.0).circle(0.18947368421052632)
loop1=wp_sketch0.moveTo(0.18947368421052632, 0.0).circle(0.04736842105263158)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.046875, 0.0078125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch1.moveTo(0.04736842105263158, 0.0).circle(0.04736842105263158)
solid1=wp_sketch1.add(loop2).extrude(0.375)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.046875, 0.0078125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch2.moveTo(0.04736842105263158, 0.0).circle(0.04736842105263158)
solid2=wp_sketch2.add(loop3).extrude(-0.375)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.1796875, -0.0390625, 0.375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop4=wp_sketch3.moveTo(0.28125, 0.0).lineTo(0.28125, 0.05921052631578948).lineTo(0.0059210526315789476, 0.05921052631578948).threePointArc((0.005327070764055962, 0.029368608713068123), (0.0, 0.0)).close()
solid3=wp_sketch3.add(loop4).extrude(0.375)
solid=solid.union(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.03125, -0.0390625, 0.375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop5=wp_sketch4.moveTo(0.14967105263157893, 0.0).threePointArc((0.15532707076405594, 0.029342313774754006), (0.15625, 0.05921052631578947)).lineTo(0.0, 0.05921052631578947).lineTo(0.0, 0.0).close()
solid4=wp_sketch4.add(loop5).extrude(0.375)
solid=solid.union(solid4)
| 1,901
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00010473
|
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, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.48157894736842105, 0.0).circle(0.48157894736842105)
loop1=wp_sketch0.moveTo(0.7123355263157894, -0.24078947368421053).lineTo(0.7123355263157894, 0.24078947368421053).lineTo(0.24078947368421053, 0.24078947368421053).lineTo(0.24078947368421053, -0.24078947368421053).close()
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75)
solid=solid0
| 1,029
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017452
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.5390625, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.5390625, 0.0).lineTo(0.5390625, 0.5106907894736843).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.75)
solid=solid.union(solid1)
| 1,170
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00015251
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.15625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.4765625, 0.0).lineTo(1.4765625, 0.27976973684210527).lineTo(1.3833059210526315, 0.37302631578947365).lineTo(1.3833059210526315, 0.18651315789473683).lineTo(1.352220394736842, 0.18651315789473683).lineTo(1.352220394736842, 0.37302631578947365).lineTo(0.12434210526315789, 0.37302631578947365).lineTo(0.12434210526315789, 0.18651315789473683).lineTo(0.09325657894736841, 0.18651315789473683).lineTo(0.09325657894736841, 0.37302631578947365).lineTo(0.0, 0.27976973684210527).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0078125)
solid=solid0
| 1,233
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00018775
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.578125, 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.5763157894736842).lineTo(0.0, 0.5763157894736842).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.609375)
solid=solid0
| 874
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00016980
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0390625, -0.0390625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.019983552631578947, 0.0).lineTo(0.0703125, 0.0).lineTo(0.0703125, 0.0703125).lineTo(0.0, 0.0703125).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.4296875, -0.0390625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.050328947368421056, 0.0).lineTo(0.0703125, 0.0).lineTo(0.0703125, 0.0703125).lineTo(0.0, 0.0703125).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.75)
solid=solid.union(solid1)
| 1,148
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017320
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.0859375), 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.08355263157894736).lineTo(0.7833059210526315, 0.08355263157894736).lineTo(0.7833059210526315, 0.2924342105263158).lineTo(0.6997532894736842, 0.2924342105263158).threePointArc((0.49609375, 0.08877467105263158), (0.2924342105263158, 0.2924342105263158)).lineTo(0.20888157894736842, 0.2924342105263158).lineTo(0.20888157894736842, 0.08355263157894736).lineTo(0.0, 0.08355263157894736).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.375)
solid=solid0
| 1,248
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00015286
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.4765625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.5078125, 0.0).lineTo(0.5078125, 0.4757401315789474).lineTo(0.0, 0.4757401315789474).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.2565789473684211, 0.24054276315789475).circle(0.11225328947368421)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(-0.0625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.140625, -0.2421875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch1.moveTo(0.11447368421052631, 0.0).circle(0.11447368421052631)
solid1=wp_sketch1.add(loop2).extrude(-0.0625)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.4765625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch2.moveTo(0.5078125, 0.0).lineTo(0.5078125, 0.4757401315789474).lineTo(0.0, 0.4757401315789474).lineTo(0.0, 0.0).close()
loop4=wp_sketch2.moveTo(0.2565789473684211, 0.24054276315789475).circle(0.11225328947368421)
solid2=wp_sketch2.add(loop3).add(loop4).extrude(0.75)
solid=solid.union(solid2)
| 1,474
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00016943
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6015625, 0.0, -0.25), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.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/00015293
|
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).lineTo(0.9609375, 0.0).lineTo(0.9609375, 0.05057565789473684).lineTo(0.5057565789473685, 0.05057565789473684).lineTo(0.5057565789473685, 0.4855263157894737).lineTo(0.4855263157894737, 0.4855263157894737).lineTo(0.4551809210526316, 0.4855263157894737).lineTo(0.4551809210526316, 0.05057565789473684).lineTo(0.0, 0.05057565789473684).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0546875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.0234375, 0.375, 0.0546875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.05468749999999999, 0.0).lineTo(0.05468749999999999, 0.05468749999999999).lineTo(0.0, 0.05468749999999999).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.0546875)
solid=solid.union(solid1)
| 1,394
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00015287
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2578125, -0.2421875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.5078125, 0.0).lineTo(0.5078125, 0.4757401315789474).lineTo(0.0, 0.4757401315789474).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.2565789473684211, 0.24054276315789475).circle(0.13898026315789475)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(-0.0625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.140625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch1.moveTo(0.14210526315789473, 0.0).circle(0.13914473684210527)
solid1=wp_sketch1.add(loop2).extrude(-0.0625)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.2578125, -0.2421875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch2.moveTo(0.5078125, 0.0).lineTo(0.5078125, 0.4757401315789474).lineTo(0.0, 0.4757401315789474).lineTo(0.0, 0.0).close()
loop4=wp_sketch2.moveTo(0.2565789473684211, 0.24054276315789475).circle(0.13898026315789475)
solid2=wp_sketch2.add(loop3).add(loop4).extrude(0.75)
solid=solid.union(solid2)
| 1,480
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00016981
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.2890625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.09473684210526316, 0.0).lineTo(0.09473684210526316, 0.125).lineTo(0.0, 0.125).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.15625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.5625, -0.265625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.18453947368421053, 0.0).lineTo(0.18453947368421053, 0.265625).lineTo(0.0, 0.265625).lineTo(0.0, 0.13700657894736842).lineTo(0.0, 0.09506578947368421).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.15625)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.1328125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.09506578947368421, 0.0).lineTo(0.09506578947368421, 0.1328125).lineTo(0.0, 0.1328125).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.15625)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.09375, -0.171875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch3.moveTo(0.46875, 0.0).lineTo(0.46875, 0.039473684210526314).lineTo(0.0, 0.039473684210526314).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop3).extrude(0.15625)
solid=solid.union(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.171875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop4=wp_sketch4.moveTo(0.09375, 0.0).lineTo(0.09375, 0.041447368421052636).lineTo(0.0, 0.041447368421052636).lineTo(0.0, 0.0).close()
solid4=wp_sketch4.add(loop4).extrude(0.15625)
solid=solid.union(solid4)
| 1,884
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00016759
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.7578947368421053)
loop1=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.37894736842105264)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.078125, both=True)
solid=solid0
| 976
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00013621
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.7578947368421053)
solid0=wp_sketch0.add(loop0).extrude(0.03125)
solid=solid0
| 835
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00014628
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.4140625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.5546875, 0.0).lineTo(0.5546875, 0.41455592105263156).lineTo(0.0, 0.41455592105263156).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0078125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.4140625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.75, 0.0).lineTo(0.75, 0.41842105263157897).lineTo(0.0, 0.41842105263157897).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(-0.0078125)
solid=solid.union(solid1)
| 1,118
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00015536
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.171875, -0.140625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.16932565789473686, -0.16932565789473686), (0.3386513157894737, 0.0)).lineTo(0.3386513157894737, 0.2814144736842105).threePointArc((0.16932565789473686, 0.4507401315789474), (0.0, 0.2814144736842105)).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.17171052631578948, 0.0).circle(0.06677631578947368)
loop2=wp_sketch0.moveTo(0.17171052631578948, 0.2814144736842105).circle(0.06677631578947368)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.75)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.171875, -0.140625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch1.moveTo(0.0, 0.0).threePointArc((0.019208821249565154, 0.08032229704655326), (0.07401315789473685, 0.14210526315789473)).threePointArc((0.019579607868269417, 0.2024079661113415), (0.0, 0.28125)).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop3).extrude(-0.109375)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.09375, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop4=wp_sketch2.moveTo(0.0, 0.0).threePointArc((0.01358360881564006, -0.2902498954715141), (0.2631578947368421, -0.14144736842105263)).lineTo(0.2631578947368421, 0.14144736842105263).threePointArc((0.013583608815640153, 0.2902498954715141), (0.0, 0.0)).close()
loop5=wp_sketch2.moveTo(0.03289473684210526, -0.25).lineTo(0.15460526315789472, -0.25).lineTo(0.21710526315789472, -0.14144736842105263).lineTo(0.15460526315789472, -0.03618421052631579).lineTo(0.03289473684210526, -0.03618421052631579).lineTo(-0.029605263157894735, -0.14144736842105263).close()
loop6=wp_sketch2.moveTo(0.03289473684210526, 0.03618421052631579).lineTo(0.15460526315789472, 0.03618421052631579).lineTo(0.21710526315789472, 0.14144736842105263).lineTo(0.15460526315789472, 0.25).lineTo(0.03289473684210526, 0.25).lineTo(-0.029605263157894735, 0.14144736842105263).close()
solid2=wp_sketch2.add(loop4).add(loop5).add(loop6).extrude(-0.109375)
solid=solid.union(solid2)
| 2,317
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017321
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.046875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.6484375, 0.0).lineTo(0.6484375, 0.32763157894736844).lineTo(0.5392269736842106, 0.32763157894736844).lineTo(0.5392269736842106, 0.21842105263157896).lineTo(0.10921052631578948, 0.21842105263157896).lineTo(0.10921052631578948, 0.32763157894736844).lineTo(0.0, 0.32763157894736844).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.4296875)
solid=solid0
| 1,134
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017335
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.703125, 0.0, -0.0078125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.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,038
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017453
|
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.0078125, 0.0).lineTo(1.0078125, 1.0078125).lineTo(0.0, 1.0078125).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.5092105263157894, 0.5092105263157894).circle(0.2970394736842105)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.40625)
solid=solid0
| 944
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00010472
|
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.15789473684210525, 0.0).circle(0.06315789473684211)
loop2=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.4421052631578948)
loop3=wp_sketch0.moveTo(0.7578947368421053, -0.5842105263157895).circle(0.06315789473684211)
loop4=wp_sketch0.moveTo(0.7578947368421053, 0.5842105263157895).circle(0.06315789473684211)
loop5=wp_sketch0.moveTo(1.3421052631578947, 0.0).circle(0.06315789473684211)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).add(loop5).extrude(0.25)
solid=solid0
| 1,182
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017309
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.3).lineTo(0.0, 0.3).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.6015625, -0.375, 0.296875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.22894736842105262, 0.0).circle(0.22894736842105262)
solid1=wp_sketch1.add(loop1).extrude(-0.75)
solid=solid.cut(solid1)
| 1,106
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00016771
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.0390625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 0.07894736842105263).lineTo(0.0, 0.07894736842105263).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0390625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.015625, -0.0390625, 0.0390625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.03700657894736842, 0.0).lineTo(0.03700657894736842, 0.078125).lineTo(0.0, 0.078125).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.453125, both=True)
solid=solid.union(solid1)
| 1,129
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00019442
|
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/00010843
|
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(1.1396381578947368, 0.0).threePointArc((1.3203125, 0.18067434210526315), (1.1396381578947368, 0.3613486842105263)).lineTo(0.0, 0.3613486842105263).threePointArc((-0.18067434210526315, 0.18067434210526315), (0.0, 0.0)).close()
loop1=wp_sketch0.moveTo(0.0, 0.18067434210526315).circle(0.06949013157894737)
loop2=wp_sketch0.moveTo(1.1396381578947368, 0.18067434210526315).circle(0.06949013157894737)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.09375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.2109375, 0.1796875, 0.09375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch1.moveTo(0.421875, 0.0).lineTo(0.36858552631578945, 0.09325657894736841).lineTo(0.053289473684210525, 0.09325657894736841).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop3).extrude(0.453125)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.3125, 0.0, 0.09375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop4=wp_sketch2.moveTo(0.10657894736842105, -0.17985197368421052).lineTo(0.5262335526315789, -0.17985197368421052).lineTo(0.6328125, 0.0).lineTo(0.5262335526315789, 0.17985197368421052).lineTo(0.10657894736842105, 0.17985197368421052).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop4).extrude(0.453125)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.2109375, -0.1796875, 0.09375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop5=wp_sketch3.moveTo(0.053289473684210525, -0.09325657894736841).lineTo(0.36858552631578945, -0.09325657894736841).lineTo(0.421875, 0.0).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop5).extrude(0.453125)
solid=solid.union(solid3)
| 2,034
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00018204
|
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.3157894736842105).lineTo(0.0, 0.3157894736842105).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.015625)
solid=solid0
| 869
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00016229
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.75, 0.3671875), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.3315789473684211, 0.0).lineTo(0.3315789473684211, -1.105263157894737).lineTo(1.5, -1.105263157894737).lineTo(1.5, 0.3631578947368421).lineTo(0.0, 0.3631578947368421).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0078125)
solid=solid0
| 1,011
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00010116
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1328125, 0.7421875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.01899671052631579, -0.11398026315789475).threePointArc((0.12890625, -0.10451541952091858), (0.23881578947368423, -0.11398026315789475)).lineTo(0.2578125, 0.0).threePointArc((0.12890625, 0.01110074253719425), (0.0, 0.0)).close()
loop1=wp_sketch0.moveTo(0.13026315789473686, -0.04613486842105263).circle(0.04070723684210527)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.046875)
solid=solid0
| 1,070
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017094
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6640625, -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.3046875, 0.0).lineTo(1.3046875, 1.3046875).lineTo(0.0, 1.3046875).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.6592105263157895, 0.6454769736842105).circle(0.3845394736842105)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.5234375)
solid=solid0
| 947
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00019907
|
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.3157894736842105).lineTo(0.0, 0.3157894736842105).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.09375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.4375, 0.3125, 0.0), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042)))
loop1=wp_sketch1.moveTo(0.3125, 0.0).lineTo(0.3125, 0.09210526315789473).lineTo(0.0, 0.09210526315789473).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.5)
solid=solid.union(solid1)
| 1,177
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017080
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.1484375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.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/00019091
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.15625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.04736842105263158, 0.0).circle(0.04736842105263158)
loop1=wp_sketch0.moveTo(0.04736842105263158, 0.0).circle(0.025657894736842105)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0078125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0078125, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch1.moveTo(0.06710526315789474, 0.0).circle(0.06710526315789474)
loop3=wp_sketch1.moveTo(0.06710526315789474, 0.0).circle(0.023766447368421054)
solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.0078125)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.1484375, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop4=wp_sketch2.moveTo(0.07500000000000001, 0.0).circle(0.0734375)
loop5=wp_sketch2.moveTo(0.07500000000000001, 0.0).circle(0.0234375)
solid2=wp_sketch2.add(loop4).add(loop5).extrude(0.0078125)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.3203125, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop6=wp_sketch3.moveTo(0.09473684210526316, 0.0).circle(0.09276315789473684)
loop7=wp_sketch3.moveTo(0.09473684210526316, 0.0).circle(0.02368421052631579)
solid3=wp_sketch3.add(loop6).add(loop7).extrude(0.0078125)
solid=solid.union(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.5234375, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop8=wp_sketch4.moveTo(0.11447368421052631, 0.0).circle(0.11447368421052631)
loop9=wp_sketch4.moveTo(0.11447368421052631, 0.0).circle(0.023848684210526317)
solid4=wp_sketch4.add(loop8).add(loop9).extrude(0.0078125)
solid=solid.union(solid4)
| 1,934
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00015640
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.1171875, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.16578947368421051, 0.0).circle(0.16233552631578946)
solid0=wp_sketch0.add(loop0).extrude(0.7578125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.546875, -0.4375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(1.09375, 0.0).lineTo(1.09375, 0.875).lineTo(0.0, 0.875).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.1484375)
solid=solid.union(solid1)
| 1,054
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00018402
|
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/00018416
|
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.3359375, 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.3355263157894737, 0.0).circle(0.3355263157894737)
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/00018370
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.6796875, 0.421875), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.9375, 0.0).lineTo(0.9375, 0.07894736842105263).lineTo(0.7401315789473684, 0.07894736842105263).lineTo(0.7401315789473684, 0.3256578947368421).lineTo(0.6611842105263157, 0.3256578947368421).threePointArc((0.46875, 0.12600542773352438), (0.2763157894736842, 0.3256578947368421)).lineTo(0.19736842105263158, 0.3256578947368421).lineTo(0.19736842105263158, 0.09868421052631579).lineTo(0.0, 0.09868421052631579).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.3515625)
solid=solid0
| 1,229
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00019720
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.46875, 0.0, -0.28125), 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.9375, 0.0).lineTo(0.9375, 0.28618421052631576).threePointArc((0.7410974632009699, 0.3730401096604649), (0.6611842105263157, 0.5723684210526315)).lineTo(0.0, 0.5723684210526315).lineTo(0.0, 0.39473684210526316).threePointArc((0.11348684210526315, 0.28125), (0.0, 0.16776315789473684)).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.3984375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.46875, 0.0, -0.28125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.0, 0.16578947368421054).threePointArc((-0.1125, 0.27828947368421053), (0.0, 0.3907894736842105)).lineTo(0.0, 0.5625).threePointArc((-0.28125, 0.28125), (0.0, 0.0)).close()
solid1=wp_sketch1.add(loop1).extrude(0.3984375)
solid=solid.union(solid1)
| 1,484
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00019734
|
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.0868421052631579).lineTo(0.6078947368421053, 0.0868421052631579).threePointArc((0.5275442067434717, 0.09078947368421053), (0.6078947368421053, 0.09473684210526316)).lineTo(0.75, 0.09473684210526316).lineTo(0.75, 0.18947368421052632).lineTo(0.0, 0.18947368421052632).lineTo(0.0, 0.09473684210526316).lineTo(0.14210526315789473, 0.09473684210526316).threePointArc((0.2224557932565283, 0.09078947368421053), (0.14210526315789473, 0.0868421052631579)).lineTo(0.0, 0.0868421052631579).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.1875)
solid=solid0
| 1,239
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00015668
|
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.0868421052631579, 0.0).lineTo(0.0868421052631579, 0.6631578947368422).lineTo(0.75, 0.6631578947368422).lineTo(0.75, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.703125)
solid=solid0
| 926
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00014947
|
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.3236842105263158).lineTo(0.05526315789473685, 0.3236842105263158).lineTo(0.0, 0.26842105263157895).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.1105263157894737, 0.1105263157894737).circle(0.015789473684210527)
loop2=wp_sketch0.moveTo(0.6394736842105263, 0.1105263157894737).circle(0.015789473684210527)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.0546875)
solid=solid0
| 1,074
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00014953
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5625, -0.5625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.125, 0.0).lineTo(1.125, 1.125).lineTo(0.0, 1.125).lineTo(0.0, 0.8052631578947369).threePointArc((0.24276315789473685, 0.5625), (0.0, 0.31973684210526315)).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 933
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00015495
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2578125, -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.5210526315789474, 0.0).lineTo(0.5210526315789474, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0234375)
solid=solid0
| 875
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017282
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0078125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.46875, 0.0).lineTo(0.46875, 0.07894736842105263).lineTo(0.38980263157894735, 0.07894736842105263).threePointArc((0.36189052179526787, 0.0905089428478995), (0.350328947368421, 0.11842105263157894)).lineTo(0.350328947368421, 0.3059210526315789).lineTo(0.11842105263157894, 0.3059210526315789).lineTo(0.11842105263157894, 0.11842105263157894).threePointArc((0.10685947820473207, 0.0905089428478995), (0.07894736842105263, 0.07894736842105263)).lineTo(0.0, 0.07894736842105263).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.23684210526315788, 0.19736842105263158).circle(0.07894736842105263)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.234375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.7421875, -0.1171875, 0.0859375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch1.moveTo(0.031578947368421054, 0.0).circle(0.031578947368421054)
solid1=wp_sketch1.add(loop2).extrude(-0.390625)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.3515625, -0.1171875, 0.0859375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch2.moveTo(0.031578947368421054, 0.0).circle(0.031578947368421054)
solid2=wp_sketch2.add(loop3).extrude(-0.390625)
solid=solid.cut(solid2)
| 1,799
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017533
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.4296875, -0.5703125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.8548519736842105, 0.0).lineTo(0.8548519736842105, 1.2890625).lineTo(0.0, 1.2890625).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.4342105263157895, 0.5699013157894737).circle(0.14925986842105263)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.1484375, 0.0, 0.75), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch1.moveTo(0.15000000000000002, 0.0).circle(0.15000000000000002)
solid1=wp_sketch1.add(loop2).extrude(-0.359375)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.3125, 0.0, 0.75), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch2.moveTo(0.15592105263157896, -0.26636513157894737).lineTo(0.4612664473684211, -0.26636513157894737).lineTo(0.6171875, 0.0).lineTo(0.4612664473684211, 0.26636513157894737).lineTo(0.15592105263157896, 0.26636513157894737).lineTo(0.0, 0.0).close()
loop4=wp_sketch2.moveTo(0.3118421052631579, 0.0).circle(0.14942434210526317)
solid2=wp_sketch2.add(loop3).add(loop4).extrude(-0.359375)
solid=solid.cut(solid2)
| 1,575
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00014984
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.7578947368421053)
solid0=wp_sketch0.add(loop0).extrude(0.03125)
solid=solid0
| 835
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00011624
|
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.5684210526315789).lineTo(0.0, 0.5684210526315789).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(-0.0078125)
solid=solid0
| 870
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00015456
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1171875, -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.0, 0.0).threePointArc((0.43359375000000006, 0.43359375000000006), (0.0, 0.8671875000000001)).lineTo(0.0, 0.5111842105263158).threePointArc((0.0775904605263158, 0.43359375000000006), (0.0, 0.35600328947368426)).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.21875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.1171875, -0.1796875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.648108552631579, 0.0).lineTo(0.648108552631579, 0.10953947368421053).lineTo(0.8671875000000001, 0.10953947368421053).lineTo(0.8671875000000001, 0.7576480263157895).lineTo(0.648108552631579, 0.7576480263157895).lineTo(0.648108552631579, 0.8671875000000001).lineTo(0.0, 0.8671875000000001).lineTo(0.0, 0.5111842105263158).threePointArc((0.0775904605263158, 0.43359375000000006), (0.0, 0.35600328947368426)).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.21875)
solid=solid.union(solid1)
| 1,517
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00016639
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.625), 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.03699703816590996, -0.08931875130777447), (0.12631578947368421, -0.12631578947368421)).lineTo(1.3736842105263158, -0.12631578947368421).threePointArc((1.46300296183409, -0.08931875130777447), (1.5, 0.0)).lineTo(1.5, 1.263157894736842).threePointArc((1.459732854762724, 1.344581909202511), (1.3736842105263158, 1.3736842105263158)).lineTo(0.12631578947368421, 1.3736842105263158).threePointArc((0.04026714523727615, 1.344581909202511), (0.0, 1.263157894736842)).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.1736842105263158, 0.04736842105263158).circle(0.04736842105263158)
loop2=wp_sketch0.moveTo(0.1736842105263158, 1.2).circle(0.04736842105263158)
loop3=wp_sketch0.moveTo(1.3263157894736843, 0.04736842105263158).circle(0.04736842105263158)
loop4=wp_sketch0.moveTo(1.3263157894736843, 1.2).circle(0.04736842105263158)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).extrude(0.2421875)
solid=solid0
| 1,580
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00019522
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.4609375, -0.2890625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.9218750000000001, 0.0).lineTo(0.9218750000000001, 0.5822368421052632).lineTo(0.0, 0.5822368421052632).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).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/00017269
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.3984375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(1.4296875, 0.0).lineTo(1.4296875, 0.12039473684210526).lineTo(1.128700657894737, 0.12039473684210526).lineTo(1.128700657894737, 0.42138157894736844).lineTo(0.30098684210526316, 0.42138157894736844).lineTo(0.30098684210526316, 0.12039473684210526).lineTo(0.0, 0.12039473684210526).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.5390625)
solid=solid0
| 1,133
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00019250
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.0546875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.05526315789473685).lineTo(0.0, 0.05526315789473685).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0234375)
solid=solid0
| 878
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00014992
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.0234375, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.027631578947368417, 0.0).circle(0.027631578947368417)
solid0=wp_sketch0.add(loop0).extrude(0.640625)
solid=solid0
| 899
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00014945
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0625, 0.109375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.027735992720659353, -0.0588899244304491), (0.06513157894736842, -0.11217105263157895)).lineTo(0.34375, -0.11217105263157895).lineTo(0.34375, 0.1013157894736842).threePointArc((0.3224985354370374, 0.11317017389380137), (0.32203947368421054, 0.1375)).lineTo(0.1411184210526316, 0.24243421052631578).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.24967105263157893, 0.12302631578947368).circle(0.018092105263157895)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.09375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.203125, 0.3515625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch1.moveTo(0.18388157894736842, -0.10690789473684212).threePointArc((0.203125, -0.09585011687872437), (0.2223684210526316, -0.10690789473684212)).lineTo(0.40625, 0.0).lineTo(0.2694078947368421, 0.23947368421052634).threePointArc((0.203125, 0.24518162582773753), (0.1368421052631579, 0.23947368421052634)).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop2).extrude(0.09375)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.40625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch2.moveTo(0.27754934210526316, 0.0).threePointArc((0.3137851582696051, 0.05280107478757459), (0.34046052631578944, 0.11101973684210525)).lineTo(0.2035361842105263, 0.3515625).lineTo(0.01850328947368421, 0.24794407894736842).threePointArc((0.019884123446570742, 0.22412455011881988), (0.0, 0.2109375)).lineTo(0.0, 0.0).close()
loop4=wp_sketch2.moveTo(0.09251644736842105, 0.23314144736842105).circle(0.01850328947368421)
solid2=wp_sketch2.add(loop3).add(loop4).extrude(0.09375)
solid=solid.union(solid2)
| 2,080
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017294
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.06315789473684211).lineTo(0.5921052631578948, 0.06315789473684211).lineTo(0.5921052631578948, 0.2210526315789474).lineTo(0.5289473684210526, 0.2210526315789474).threePointArc((0.375, 0.06710526315789474), (0.2210526315789474, 0.2210526315789474)).lineTo(0.15789473684210525, 0.2210526315789474).lineTo(0.15789473684210525, 0.06315789473684211).lineTo(0.0, 0.06315789473684211).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.28125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.109375, -0.1484375, 0.0625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.031578947368421054, 0.0).circle(0.031578947368421054)
solid1=wp_sketch1.add(loop1).extrude(-0.3125)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.703125, -0.140625, 0.0625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.031578947368421054, 0.0).circle(0.031578947368421054)
solid2=wp_sketch2.add(loop2).extrude(-0.3125)
solid=solid.cut(solid2)
| 1,634
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017280
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5703125, 0.0, 0.359375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.18552631578947368, 0.0).lineTo(0.12368421052631579, 0.09276315789473684).lineTo(0.6106907894736842, 0.09276315789473684).lineTo(0.5488486842105263, 0.0).lineTo(0.734375, 0.0).lineTo(0.734375, 0.27828947368421053).lineTo(0.6493421052631578, 0.39424342105263155).lineTo(0.0850328947368421, 0.39424342105263155).lineTo(0.0, 0.27828947368421053).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.5703125, -0.4296875, 0.5390625), 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.734375, 0.0).lineTo(0.734375, 0.09276315789473684).lineTo(0.6493421052631578, 0.2087171052631579).lineTo(0.0850328947368421, 0.2087171052631579).lineTo(0.0, 0.09276315789473684).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(-0.3125)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.3203125, -0.2734375, 0.5390625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.11842105263157894, 0.0).circle(0.11842105263157894)
solid2=wp_sketch2.add(loop2).extrude(-0.46875)
solid=solid.cut(solid2)
| 1,800
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00015497
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.75), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0234375)
solid=solid0
| 912
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00010706
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.375, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.37894736842105264, 0.0).circle(0.37894736842105264)
loop1=wp_sketch0.moveTo(0.37894736842105264, 0.0).circle(0.3315789473684211)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75)
solid=solid0
| 899
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017069
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.65625, 0.0, -0.40625), 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.40625, -0.014802631578947368).lineTo(1.40625, 0.10361842105263157).lineTo(1.1101973684210527, 0.10361842105263157).lineTo(1.1101973684210527, 0.3996710526315789).lineTo(0.9917763157894737, 0.3996710526315789).threePointArc((0.703125, 0.1282091874787846), (0.41447368421052627, 0.3996710526315789)).lineTo(0.29605263157894735, 0.3996710526315789).lineTo(0.29605263157894735, 0.10361842105263157).lineTo(0.0, 0.10361842105263157).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.5234375)
solid=solid0
| 1,264
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00011418
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.421875, 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.42236842105263156, 0.0).circle(0.42236842105263156)
solid0=wp_sketch0.add(loop0).extrude(0.3984375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.328125, 0.0, 0.3984375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.32763157894736844, 0.0).circle(0.32763157894736844)
solid1=wp_sketch1.add(loop1).extrude(0.3515625)
solid=solid.union(solid1)
| 1,044
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00010712
|
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.1015625)
solid=solid0
| 900
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00016405
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.7421052631578947)
solid0=wp_sketch0.add(loop0).extrude(0.03125, both=True)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.71875, -0.03125, 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.7263157894736842, 0.0).circle(0.7263157894736842)
loop2=wp_sketch1.moveTo(0.7263157894736842, 0.0).circle(0.6960526315789474)
solid1=wp_sketch1.add(loop1).add(loop2).extrude(0.03125)
solid=solid.union(solid1)
| 1,240
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00015642
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.34375, 0.0, -0.3828125), 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.32195723684210525, 0.0).lineTo(0.32195723684210525, 0.16455592105263156).threePointArc((0.12825128724849202, 0.3863486842105263), (0.32195723684210525, 0.608141447368421)).lineTo(0.32195723684210525, 0.6796875).lineTo(0.0, 0.6796875).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.0, 0.21875), 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.030427631578947366, 0.002056842028946673), (0.06085526315789473, 0.0)).lineTo(0.06085526315789473, 0.078125).lineTo(0.0, 0.078125).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.75)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.03125, 0.0, -0.3828125), 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.3291118421052631, 0.0).lineTo(0.3291118421052631, 0.6796875).lineTo(0.0, 0.6796875).lineTo(0.0, 0.608141447368421).threePointArc((0.19370594959361323, 0.3863486842105263), (0.0, 0.16455592105263156)).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.75)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.03125, 0.0, -0.3828125), 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.029358552631578945, 0.0).lineTo(0.05699013157894737, 0.0).lineTo(0.05699013157894737, 0.1640625).threePointArc((0.028495065789473684, 0.16213629523505393), (0.0, 0.1640625)).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop3).extrude(0.75)
solid=solid.union(solid3)
| 2,244
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00018366
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.4453125, 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.43749999999999994, 0.0).lineTo(0.43749999999999994, 0.07368421052631578).lineTo(0.14736842105263157, 0.14736842105263157).lineTo(0.14736842105263157, 0.22105263157894733).lineTo(0.0, 0.22105263157894733).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.4375)
solid=solid0
| 1,069
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017041
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0234375, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.02368421052631579, 0.0).circle(0.02368421052631579)
loop1=wp_sketch0.moveTo(0.02368421052631579, 0.0).circle(0.009375)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75)
solid=solid0
| 893
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017727
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5, 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.5013157894736842, 0.0).circle(0.4908717105263158)
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 903
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00018414
|
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/00010921
|
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.08552631578947369, 0.0).lineTo(0.08552631578947369, 0.5078125).lineTo(0.0, 0.5078125).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0234375)
solid=solid0
| 882
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017096
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 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(1.125, 0.0).lineTo(1.125, 0.09473684210526316).lineTo(0.8881578947368421, 0.09473684210526316).lineTo(0.8881578947368421, 0.3315789473684211).lineTo(0.793421052631579, 0.3315789473684211).threePointArc((0.5625, 0.10065789473684211), (0.3315789473684211, 0.3315789473684211)).lineTo(0.2368421052631579, 0.3315789473684211).lineTo(0.2368421052631579, 0.09473684210526316).lineTo(0.0, 0.09473684210526316).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.421875)
solid=solid0
| 1,234
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00015859
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.5703125, -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.8281249999999999, 0.0).lineTo(0.8281249999999999, 0.7496710526315788).lineTo(0.0, 0.7496710526315788).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.15625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.7265625, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.16554276315789473, 0.0).lineTo(0.9932565789473684, 0.0).lineTo(1.4296875, 0.0).lineTo(1.4296875, 0.42138157894736844).lineTo(0.0, 0.42138157894736844).lineTo(0.0, 0.0).close()
loop2=wp_sketch1.moveTo(1.3845394736842105, 0.030098684210526316).lineTo(1.3845394736842105, 0.3912828947368421).lineTo(0.030098684210526316, 0.3912828947368421).lineTo(0.030098684210526316, 0.030098684210526316).close()
solid1=wp_sketch1.add(loop1).add(loop2).extrude(0.15625)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.6953125, 0.03125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop3=wp_sketch2.moveTo(1.3515625, 0.0).lineTo(1.3515625, 0.3699013157894737).lineTo(0.0, 0.3699013157894737).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop3).extrude(0.03125)
solid=solid.union(solid2)
| 1,791
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00015695
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.03125, -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.0625, 0.0).lineTo(0.0625, 0.0625).lineTo(0.0, 0.0625).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.05855263157894737, 0.003947368421052632).lineTo(0.05855263157894737, 0.05855263157894737).lineTo(0.003947368421052632, 0.05855263157894737).lineTo(0.003947368421052632, 0.003947368421052632).close()
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75)
solid=solid0
| 1,050
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017082
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.3984375, 0.0, -0.359375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.45).lineTo(0.0, 0.45).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 920
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00013582
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0078125, -0.0078125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.015625, 0.0).lineTo(0.015625, 0.015625).lineTo(0.0, 0.015625).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.014473684210526316, 0.001151315789473684).lineTo(0.014473684210526316, 0.014473684210526316).lineTo(0.001151315789473684, 0.014473684210526316).lineTo(0.001151315789473684, 0.001151315789473684).close()
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0078125, -0.0078125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch1.moveTo(0.015625, 0.0).lineTo(0.015625, 0.015625).lineTo(0.0, 0.015625).lineTo(0.0, 0.0).close()
loop3=wp_sketch1.moveTo(0.014473684210526316, 0.001151315789473684).lineTo(0.014473684210526316, 0.014473684210526316).lineTo(0.001151315789473684, 0.014473684210526316).lineTo(0.001151315789473684, 0.001151315789473684).close()
solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.375)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0234375, -0.0078125, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop4=wp_sketch2.moveTo(0.015625, 0.0).lineTo(0.015625, 0.078125).lineTo(0.0, 0.078125).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop4).extrude(-0.015625)
solid=solid.cut(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.0234375, -0.0078125, 0.09375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop5=wp_sketch3.moveTo(0.014802631578947368, 0.0).lineTo(0.014802631578947368, 0.234375).lineTo(0.0, 0.234375).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop5).extrude(-0.015625)
solid=solid.cut(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.0078125, 0.0, 0.328125), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042)))
loop6=wp_sketch4.moveTo(0.007894736842105263, 0.0).circle(0.007730263157894737)
loop7=wp_sketch4.moveTo(0.007894736842105263, 0.0).circle(0.006414473684210526)
solid4=wp_sketch4.add(loop6).add(loop7).extrude(-0.421875)
solid=solid.union(solid4)
| 2,414
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00014372
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0078125, 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.007236842105263158, 0.0).lineTo(0.007236842105263158, 0.07870065789473685).lineTo(0.0859375, 0.07870065789473685).lineTo(0.0859375, 0.0859375).lineTo(0.0, 0.0859375).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 1,030
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00010114
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.12828947368421054, 0.0).lineTo(0.12828947368421054, 0.2565789473684211).lineTo(0.3078947368421053, 0.2565789473684211).lineTo(0.4810855263157895, 0.2565789473684211).lineTo(0.4810855263157895, 0.0).lineTo(0.609375, 0.0).lineTo(0.609375, 0.11546052631578947).lineTo(0.5259868421052631, 0.11546052631578947).lineTo(0.5259868421052631, 0.3143092105263158).lineTo(0.3078947368421053, 0.3143092105263158).lineTo(0.08338815789473684, 0.3143092105263158).lineTo(0.08338815789473684, 0.11546052631578947).lineTo(0.0, 0.11546052631578947).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.484375, 0.2578125), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042)))
loop1=wp_sketch1.moveTo(0.029605263157894735, 0.0).lineTo(0.029605263157894735, 0.3515625).lineTo(0.0, 0.3515625).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.03125)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.71875, 0.484375, 0.2578125), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042)))
loop2=wp_sketch2.moveTo(0.029605263157894735, 0.0).lineTo(0.029605263157894735, 0.3515625).lineTo(0.0, 0.3515625).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.03125)
solid=solid.union(solid2)
| 1,981
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00018548
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.15625, 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.15789473684210525, 0.0).circle(0.15789473684210525)
loop1=wp_sketch0.moveTo(0.15789473684210525, 0.0).circle(0.0756578947368421)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0234375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.03125, 0.0, -0.15625), 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.484375, -0.09177631578947369).threePointArc((0.27888031876528463, 0.15550986842105263), (0.484375, 0.40279605263157897)).lineTo(0.0, 0.305921052631579).threePointArc((0.18406814551205727, 0.1529605263157895), (0.0, 0.0)).close()
solid1=wp_sketch1.add(loop2).extrude(0.0234375)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.25, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop3=wp_sketch2.moveTo(0.25263157894736843, 0.0).circle(0.25263157894736843)
loop4=wp_sketch2.moveTo(0.25263157894736843, 0.0).circle(0.14736842105263157)
solid2=wp_sketch2.add(loop3).add(loop4).extrude(0.0234375)
solid=solid.union(solid2)
| 1,719
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00019130
|
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.06521381578947369, 0.0).lineTo(0.4765625, 0.0).lineTo(0.4765625, 0.02508223684210526).lineTo(0.41134868421052634, 0.02508223684210526).lineTo(0.0, 0.02508223684210526).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.2109375, both=True)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.40625, 0.0, -0.0234375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.06842105263157895, 0.0).lineTo(0.41052631578947374, 0.0).lineTo(0.7440789473684211, 0.0).lineTo(0.8125, 0.0).lineTo(0.8125, 0.02565789473684211).lineTo(0.41052631578947374, 0.02565789473684211).lineTo(0.0, 0.02565789473684211).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.2109375, both=True)
solid=solid.union(solid1)
| 1,478
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00016217
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.71875, -0.75, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.8359375, 0.0).lineTo(0.8359375, 0.8359375).lineTo(0.0, 0.8359375).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.421875)
solid=solid0
| 866
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017109
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.1875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.9218750000000001, 0.0).lineTo(0.9218750000000001, 0.07763157894736843).lineTo(0.727796052631579, 0.07763157894736843).lineTo(0.727796052631579, 0.2717105263157895).lineTo(0.6501644736842106, 0.2717105263157895).threePointArc((0.46093750000000006, 0.08248355263157896), (0.2717105263157895, 0.2717105263157895)).lineTo(0.19407894736842107, 0.2717105263157895).lineTo(0.19407894736842107, 0.07763157894736843).lineTo(0.0, 0.07763157894736843).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.34375)
solid=solid0
| 1,272
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00010100
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.25, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.25263157894736843).lineTo(0.0, 0.25263157894736843).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.015625)
solid=solid0
| 872
|
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.