image
imagewidth (px) 448
448
| deepcad_id
stringlengths 13
13
| cadquery
stringlengths 283
8.1k
| token_count
int64 807
6.5k
| prompt
stringclasses 1
value | hundred_subset
bool 1
class |
|---|---|---|---|---|---|
0003/00039094
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.734375, -0.1875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.5232730263157894, 0.0).lineTo(0.5232730263157894, 0.7890625).lineTo(0.0, 0.7890625).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.03125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.5546875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.5234375, 0.0).lineTo(0.5234375, 0.03305921052631579).lineTo(0.0, 0.03305921052631579).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.1953125)
solid=solid.union(solid1)
| 1,127
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00037913
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.171875, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.17368421052631577, 0.0).circle(0.1700657894736842)
loop1=wp_sketch0.moveTo(0.17368421052631577, 0.0).circle(0.054276315789473686)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.421875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.171875, 0.0, 0.421875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch1.moveTo(0.17368421052631577, 0.0).circle(0.1700657894736842)
loop3=wp_sketch1.moveTo(0.17368421052631577, 0.0).circle(0.11578947368421053)
solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.265625)
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
|
|
0003/00033022
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 0.7578947368421053).lineTo(0.0, 0.7578947368421053).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.12631578947368421, 0.20526315789473684).circle(0.015789473684210527)
loop2=wp_sketch0.moveTo(0.5368421052631579, 0.15789473684210525).circle(0.015789473684210527)
loop3=wp_sketch0.moveTo(0.7578947368421053, 0.6473684210526316).circle(0.015789473684210527)
loop4=wp_sketch0.moveTo(0.9631578947368421, 0.6).circle(0.015789473684210527)
loop5=wp_sketch0.moveTo(1.3736842105263158, 0.20526315789473684).circle(0.015789473684210527)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).add(loop5).extrude(0.125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = 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)))
loop6=wp_sketch1.moveTo(1.5, 0.0).lineTo(1.5, 0.7578947368421053).lineTo(0.0, 0.7578947368421053).lineTo(0.0, 0.0).close()
loop7=wp_sketch1.moveTo(0.12631578947368421, 0.20526315789473684).circle(0.015789473684210527)
loop8=wp_sketch1.moveTo(0.5368421052631579, 0.15789473684210525).circle(0.015789473684210527)
loop9=wp_sketch1.moveTo(0.7578947368421053, 0.6473684210526316).circle(0.015789473684210527)
loop10=wp_sketch1.moveTo(0.9631578947368421, 0.6).circle(0.015789473684210527)
loop11=wp_sketch1.moveTo(1.3736842105263158, 0.20526315789473684).circle(0.015789473684210527)
solid1=wp_sketch1.add(loop6).add(loop7).add(loop8).add(loop9).add(loop10).add(loop11).extrude(0.125)
solid=solid.union(solid1)
| 1,868
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00034981
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.18947368421052632).lineTo(0.0, 0.18947368421052632).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.015625)
solid=solid0
| 943
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00035447
|
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.18947368421052632, 0.0).lineTo(0.18947368421052632, 0.5625).lineTo(0.0, 0.5625).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.1875, 0.0, -0.5625), 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.18947368421052632, 0.0).lineTo(0.18947368421052632, 0.5625).lineTo(0.0, 0.5625).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.046875)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop2=wp_sketch2.moveTo(0.1875, 0.0).lineTo(0.1875, 0.1875).lineTo(0.0, 0.1875).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.046875)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.5625, 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_sketch3.moveTo(0.375, 0.0).lineTo(0.375, 0.18947368421052632).lineTo(0.0, 0.18947368421052632).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop3).extrude(0.046875)
solid=solid.union(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.1875, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop4=wp_sketch4.moveTo(0.1875, 0.0).lineTo(0.1875, 0.1875).lineTo(0.0, 0.1875).lineTo(0.0, 0.0).close()
solid4=wp_sketch4.add(loop4).extrude(0.046875)
solid=solid.union(solid4)
| 2,106
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00033778
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.609375, 0.0, 0.1015625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.13671875, 0.13671875), (0.0, 0.2734375)).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.3046875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.375, 0.0, -0.0546875), 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.0004316271210333324, 0.01171875), (0.0, 0.0234375)).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.3046875)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.703125, 0.0, -0.0546875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop2=wp_sketch2.moveTo(0.0, 0.0234375).threePointArc((-0.0004316271210333324, 0.01171875), (0.0, 0.0)).close()
solid2=wp_sketch2.add(loop2).extrude(0.3046875)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.703125, 0.0, -0.03125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop3=wp_sketch3.moveTo(0.0, 0.0).threePointArc((0.1667763157894737, 0.15492727105222917), (0.3335526315789474, 0.0)).lineTo(0.3335526315789474, 0.12508223684210526).lineTo(1.3203125, 0.12508223684210526).lineTo(1.3203125, 0.4030427631578947).lineTo(0.06949013157894737, 0.4030427631578947).threePointArc((0.017474812818819064, 0.3757405616860718), (0.0, 0.31965460526315786)).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop3).extrude(0.3046875)
solid=solid.union(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.703125, 0.0, -0.0546875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop4=wp_sketch4.moveTo(0.0, 0.0).threePointArc((0.1640625, -0.15240626516232586), (0.328125, 0.0)).lineTo(0.328125, 0.024177631578947367).threePointArc((0.1640625, 0.17658389674127317), (0.0, 0.024177631578947367)).lineTo(0.0, 0.0).close()
solid4=wp_sketch4.add(loop4).extrude(0.3046875)
solid=solid.union(solid4)
| 2,474
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00039255
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.703125, 0.0, -0.1015625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(1.125, 0.0).lineTo(1.125, 0.7460526315789474).lineTo(0.0, 0.7460526315789474).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.703125, -0.1875, -0.1015625), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.18947368421052632, 0.0).lineTo(0.18947368421052632, 0.375).lineTo(0.0, 0.375).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(-0.75)
solid=solid.cut(solid1)
| 1,239
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00039241
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1796875, 0.046875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.007565789473684211, -0.09457236842105263).lineTo(0.3518092105263158, -0.09457236842105263).lineTo(0.359375, 0.0).threePointArc((0.1796875, 0.13846389317533186), (0.0, 0.0)).close()
solid0=wp_sketch0.add(loop0).extrude(0.359375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.015625, 0.0625, 0.0), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042)))
loop1=wp_sketch1.moveTo(0.03125, 0.0).lineTo(0.03125, 0.03125).lineTo(0.0, 0.03125).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.078125, 0.0625, 0.0), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042)))
loop2=wp_sketch2.moveTo(0.03125, 0.0).lineTo(0.03125, 0.03125).lineTo(0.0, 0.03125).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.109375, 0.0625, 0.0), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042)))
loop3=wp_sketch3.moveTo(0.03125, 0.0).lineTo(0.03125, 0.03125).lineTo(0.0, 0.03125).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop3).extrude(0.75)
solid=solid.union(solid3)
| 1,821
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00034003
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1328125, 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.06241776315789474, -0.11126644736842106).lineTo(0.1926809210526316, -0.11398026315789475).lineTo(0.2578125, -0.0027138157894736844).lineTo(0.1953947368421053, 0.11126644736842106).lineTo(0.06513157894736843, 0.11126644736842106).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 1,085
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00036827
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2890625, -0.078125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.58125, 0.0).threePointArc((0.5909679222790525, 0.07500000000000001), (0.58125, 0.15000000000000002)).lineTo(0.0, 0.15000000000000002).threePointArc((-0.009717922279052438, 0.07500000000000001), (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.1328125, -0.078125, 0.5703125), 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.13421052631578947, 0.0).circle(0.13421052631578947)
solid1=wp_sketch1.add(loop1).extrude(0.2421875)
solid=solid.union(solid1)
| 1,252
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00035490
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.015625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.5210526315789474, -0.06315789473684211).lineTo(0.75, -0.06315789473684211).threePointArc((0.6710526315789473, 0.015789473684210527), (0.75, 0.09473684210526316)).lineTo(0.5210526315789474, 0.09473684210526316).lineTo(0.0, 0.031578947368421054).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0234375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.078125, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.08289473684210526, 0.0).circle(0.08289473684210526)
loop2=wp_sketch1.moveTo(0.08289473684210526, 0.0).circle(0.05180921052631579)
solid1=wp_sketch1.add(loop1).add(loop2).extrude(0.0234375)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.0234375, -0.0078125), 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.125, 0.0).lineTo(0.125, 0.013157894736842105).lineTo(0.0, 0.013157894736842105).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop3).extrude(0.0078125)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.078125, -0.0234375, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop4=wp_sketch3.moveTo(0.08289473684210526, 0.0).circle(0.08289473684210526)
loop5=wp_sketch3.moveTo(0.08289473684210526, 0.0).circle(0.05180921052631579)
solid3=wp_sketch3.add(loop4).add(loop5).extrude(0.0078125)
solid=solid.union(solid3)
| 2,080
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00033793
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.25263157894736843).lineTo(0.0, 0.25263157894736843).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(-0.25)
solid=solid0
| 939
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00035241
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.53125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 1.0578947368421052).lineTo(0.0, 1.0578947368421052).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.484375)
solid=solid0
| 944
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00038017
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.734375, -0.1953125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.04983552631578947, -0.19934210526315788).lineTo(0.04983552631578947, -0.38207236842105263).lineTo(0.7890625, -0.38207236842105263).lineTo(0.7890625, 0.0).lineTo(0.7392269736842105, 0.19934210526315788).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 991
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00038771
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1015625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.10657894736842105, 0.0).circle(0.10657894736842105)
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 839
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00037442
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0078125, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.011842105263157895, 0.0).circle(0.011842105263157895)
loop1=wp_sketch0.moveTo(0.011842105263157895, 0.0).circle(0.010608552631578947)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75)
solid=solid0
| 980
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00038759
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.7421052631578947)
loop1=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.26842105263157895)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.4765625)
solid=solid0
| 901
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00036012
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.34375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(1.359375, 0.0).lineTo(1.359375, 0.6152960526315789).lineTo(0.0, 0.6152960526315789).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.17171052631578948, 0.45789473684210524).circle(0.04292763157894737)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.140625)
solid=solid0
| 1,035
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00039321
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.09375, 0.0, 0.3515625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.004016303783226114, 0.019326052383971372), (0.003700657894736842, 0.0390625)).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.015625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.0546875, 0.0, 0.6953125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.05921052631578947, 0.0).circle(0.05797697368421052)
loop2=wp_sketch1.moveTo(0.05921052631578947, 0.0).circle(0.019736842105263157)
solid1=wp_sketch1.add(loop1).add(loop2).extrude(0.015625)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.0546875, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop3=wp_sketch2.moveTo(0.05921052631578947, 0.0).circle(0.05797697368421052)
loop4=wp_sketch2.moveTo(0.05921052631578947, 0.0).circle(0.019736842105263157)
solid2=wp_sketch2.add(loop3).add(loop4).extrude(0.015625)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.21875, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop5=wp_sketch3.moveTo(0.04736842105263158, 0.0).circle(0.04736842105263158)
loop6=wp_sketch3.moveTo(0.04736842105263158, 0.0).circle(0.01875)
solid3=wp_sketch3.add(loop5).add(loop6).extrude(0.015625)
solid=solid.union(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.09375, 0.0, 0.3984375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop7=wp_sketch4.moveTo(0.0, 0.0).threePointArc((0.0962171052631579, 0.08507893764914959), (0.1924342105263158, 0.0)).lineTo(0.15394736842105264, 0.3046875).threePointArc((0.0962171052631579, 0.23939943975130132), (0.03848684210526316, 0.3046875)).lineTo(0.0, 0.0).close()
loop8=wp_sketch4.moveTo(0.07697368421052632, 0.21167763157894737).circle(0.01924342105263158)
solid4=wp_sketch4.add(loop7).add(loop8).extrude(0.015625)
solid=solid.union(solid4)
# Generating a workplane for sketch 5
wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(-0.09375, 0.0, 0.375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop9=wp_sketch5.moveTo(0.03618421052631579, -0.3799342105263158).threePointArc((0.12891412192208668, -0.32996602576672046), (0.09498355263157895, -0.4296875)).lineTo(0.3663651315789474, -0.4206414473684211).threePointArc((0.3170919265813337, -0.37314967105263164), (0.3663651315789474, -0.32565789473684215)).lineTo(0.2080592105263158, -0.32113486842105265).threePointArc((0.17381089751637874, -0.3036910283854739), (0.16282894736842107, -0.266858552631579)).lineTo(0.18544407894736842, -0.018092105263157895).threePointArc((0.08539056153348429, -0.08419370151862866), (0.0, 0.0)).close()
solid5=wp_sketch5.add(loop9).extrude(0.015625)
solid=solid.union(solid5)
# Generating a workplane for sketch 6
wp_sketch6 = cq.Workplane(cq.Plane(cq.Vector(0.09375, 0.0, 0.3515625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop10=wp_sketch6.moveTo(0.003947368421052632, 0.041447368421052636).threePointArc((-0.18489804233774923, 0.0385209915008383), (0.0, 0.0)).close()
loop11=wp_sketch6.moveTo(-0.09078947368421053, 0.02960526315789474).circle(0.019736842105263157)
solid6=wp_sketch6.add(loop10).add(loop11).extrude(0.015625)
solid=solid.union(solid6)
| 3,583
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00032274
|
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.14210526315789473, 0.0).lineTo(0.14210526315789473, 0.11842105263157895).lineTo(0.3473684210526316, 0.11842105263157895).lineTo(0.3473684210526316, 0.2605263157894737).lineTo(0.14210526315789473, 0.2605263157894737).lineTo(0.14210526315789473, 0.48947368421052634).lineTo(0.3473684210526316, 0.48947368421052634).lineTo(0.3473684210526316, 0.631578947368421).lineTo(0.14210526315789473, 0.631578947368421).lineTo(0.14210526315789473, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.140625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.203125, -0.2578125, 0.140625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.140625, 0.0).lineTo(0.140625, 0.140625).lineTo(0.0, 0.140625).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.171875)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.203125, -0.6328125, 0.140625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.140625, 0.0).lineTo(0.140625, 0.140625).lineTo(0.0, 0.140625).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.171875)
solid=solid.union(solid2)
| 1,664
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00034611
|
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.039473684210526314).threePointArc((0.6928693892154522, 0.1695044427511353), (0.5605263157894737, 0.2210526315789474)).lineTo(0.4105263157894737, 0.2210526315789474).threePointArc((0.27654818882781207, 0.27654818882781207), (0.2210526315789474, 0.4105263157894737)).lineTo(0.2210526315789474, 0.5605263157894737).threePointArc((0.1695044427511353, 0.6928693892154519), (0.039473684210526314, 0.75)).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 1,179
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00037318
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.359375, -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.7105263157894737, 0.0).lineTo(0.7105263157894737, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.015625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.359375, -0.75, 0.015625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.7105263157894737, 0.0).lineTo(0.7105263157894737, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close()
loop2=wp_sketch1.moveTo(0.7105263157894737, 0.015789473684210527).lineTo(0.7105263157894737, 1.4842105263157894).lineTo(0.015789473684210527, 1.4842105263157894).lineTo(0.015789473684210527, 0.015789473684210527).close()
solid1=wp_sketch1.add(loop1).add(loop2).extrude(0.2734375)
solid=solid.union(solid1)
| 1,297
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00036760
|
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.18947368421052632)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75)
solid=solid0
| 896
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00033618
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.359375, 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.7109375, 0.0).lineTo(0.7109375, 0.7109375).lineTo(0.0, 0.7109375).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.18708881578947367, 0.3592105263157895).circle(0.044901315789473685)
loop2=wp_sketch0.moveTo(0.3592105263157895, 0.5238486842105263).circle(0.03741776315789474)
loop3=wp_sketch0.moveTo(0.3592105263157895, 0.18708881578947367).circle(0.03741776315789474)
loop4=wp_sketch0.moveTo(0.3592105263157895, 0.3592105263157895).circle(0.03741776315789474)
loop5=wp_sketch0.moveTo(0.5238486842105263, 0.3592105263157895).circle(0.044901315789473685)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).add(loop5).extrude(0.03125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.03125, 0.0, 0.3359375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop6=wp_sketch1.moveTo(0.23388157894736844, -0.22088815789473684).lineTo(0.6171875, 0.1819078947368421).lineTo(0.3833059210526316, 0.40279605263157897).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop6).extrude(0.03125)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.6875, 0.0, -0.5), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop7=wp_sketch2.moveTo(0.23026315789473684, -0.23026315789473684).lineTo(0.625, 0.1644736842105263).lineTo(0.39473684210526316, 0.39473684210526316).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop7).extrude(0.03125)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.03125, 0.0, -0.34375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop8=wp_sketch3.moveTo(0.36875, -0.35000000000000003).lineTo(0.59375, -0.11875000000000001).lineTo(0.21875, 0.23750000000000002).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop8).extrude(0.03125)
solid=solid.union(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.40625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop9=wp_sketch4.moveTo(0.41694078947368424, -0.3271381578947368).lineTo(0.609375, -0.06414473684210527).lineTo(0.19884868421052632, 0.2565789473684211).lineTo(0.0, 0.0).close()
solid4=wp_sketch4.add(loop9).extrude(0.03125)
solid=solid.union(solid4)
| 2,715
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00037495
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.75, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(1.4526315789473685, 0.04736842105263158).lineTo(1.4526315789473685, 1.4526315789473685).lineTo(0.04736842105263158, 1.4526315789473685).lineTo(0.04736842105263158, 0.04736842105263158).close()
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.75, -0.25, 0.75), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop2=wp_sketch1.moveTo(0.5, 0.0).lineTo(0.5, 0.25263157894736843).lineTo(0.0, 0.25263157894736843).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop2).extrude(-1.0)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.75, -0.25, 0.5), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop3=wp_sketch2.moveTo(0.5, 0.0).lineTo(0.5, 0.25263157894736843).lineTo(0.0, 0.25263157894736843).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop3).extrude(-1.0)
solid=solid.cut(solid2)
| 1,569
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00035296
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5703125, 0.0, -0.2265625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(1.109375, 0.0).lineTo(1.109375, 0.3970394736842105).lineTo(0.0, 0.3970394736842105).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.65625, 0.0, -0.3125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(1.2890625, 0.0).lineTo(1.2890625, 0.5291940789473685).lineTo(0.0, 0.5291940789473685).lineTo(0.0, 0.0).close()
loop2=wp_sketch1.moveTo(1.194078947368421, 0.08141447368421054).lineTo(1.194078947368421, 0.48848684210526316).lineTo(0.08141447368421054, 0.48848684210526316).lineTo(0.08141447368421054, 0.08141447368421054).close()
solid1=wp_sketch1.add(loop1).add(loop2).extrude(0.125)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch2.moveTo(0.5210526315789474, 0.0).threePointArc((0.5881097632546589, 0.16189023674534112), (0.75, 0.22894736842105265)).lineTo(0.75, 0.41842105263157897).lineTo(0.0, 0.41842105263157897).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop3).extrude(0.125)
solid=solid.union(solid2)
| 1,760
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00039484
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0546875, 0.0, 0.6953125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.05921052631578947, 0.0).circle(0.05797697368421052)
loop1=wp_sketch0.moveTo(0.05921052631578947, 0.0).circle(0.019736842105263157)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.015625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.0546875, 0.0, 0.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.05921052631578947, 0.0).circle(0.05797697368421052)
loop3=wp_sketch1.moveTo(0.05921052631578947, 0.0).circle(0.019736842105263157)
solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.015625)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.21875, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop4=wp_sketch2.moveTo(0.04736842105263158, 0.0).circle(0.04736842105263158)
loop5=wp_sketch2.moveTo(0.04736842105263158, 0.0).circle(0.01875)
solid2=wp_sketch2.add(loop4).add(loop5).extrude(0.015625)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.09375, 0.0, 0.3984375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop6=wp_sketch3.moveTo(0.0, 0.0).threePointArc((0.0962171052631579, 0.08507893764914959), (0.1924342105263158, 0.0)).lineTo(0.15394736842105264, 0.3046875).threePointArc((0.0962171052631579, 0.23939943975130132), (0.03848684210526316, 0.3046875)).lineTo(0.0, 0.0).close()
loop7=wp_sketch3.moveTo(0.07697368421052632, 0.21167763157894737).circle(0.01924342105263158)
solid3=wp_sketch3.add(loop6).add(loop7).extrude(0.015625)
solid=solid.union(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.09375, 0.0, 0.375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop8=wp_sketch4.moveTo(0.03618421052631579, -0.3799342105263158).threePointArc((0.12891412192208668, -0.32996602576672046), (0.09498355263157895, -0.4296875)).lineTo(0.3663651315789474, -0.4206414473684211).threePointArc((0.3170919265813337, -0.37314967105263164), (0.3663651315789474, -0.32565789473684215)).lineTo(0.2080592105263158, -0.32113486842105265).threePointArc((0.1736132592983376, -0.3038557269005082), (0.16282894736842107, -0.266858552631579)).lineTo(0.1899671052631579, 0.0).threePointArc((0.09498355263157895, -0.0860880740310127), (0.0, 0.0)).close()
solid4=wp_sketch4.add(loop8).extrude(0.015625)
solid=solid.union(solid4)
# Generating a workplane for sketch 5
wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(-0.09375, 0.0, 0.3828125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop9=wp_sketch5.moveTo(0.09868421052631579, 0.0).circle(0.09868421052631579)
loop10=wp_sketch5.moveTo(0.09868421052631579, 0.0).circle(0.020559210526315787)
solid5=wp_sketch5.add(loop9).add(loop10).extrude(0.015625)
solid=solid.union(solid5)
| 3,163
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00033803
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1953125, 0.0, 0.2734375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.03550366813577534, -0.08571343712738247), (0.12121710526315789, -0.12121710526315789)).lineTo(0.1928453947368421, -0.12121710526315789).lineTo(0.1928453947368421, -0.23141447368421053).threePointArc((0.2013870822058806, -0.25754579983856846), (0.2259046052631579, -0.2699835526315789)).lineTo(0.4573190789473684, -0.2699835526315789).threePointArc((0.4818366020046457, -0.25754579983856846), (0.49037828947368417, -0.23141447368421053)).lineTo(0.49037828947368417, -0.12121710526315789).lineTo(0.5069078947368421, -0.12121710526315789).threePointArc((0.5230879870745524, -0.11219160803420514), (0.5234375, -0.09366776315789474)).lineTo(0.20386513157894737, 0.4573190789473684).threePointArc((0.19031242614581273, 0.47280416553450866), (0.17080592105263157, 0.47935855263157895)).lineTo(0.07162828947368421, 0.47935855263157895).threePointArc((0.020979440262049166, 0.4583791123695298), (0.0, 0.40773026315789473)).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.09366776315789474, -0.005509868421052631).circle(0.022039473684210525)
loop2=wp_sketch0.moveTo(0.09366776315789474, 0.1763157894736842).circle(0.022039473684210525)
loop3=wp_sketch0.moveTo(0.09366776315789474, 0.3636513157894737).circle(0.022039473684210525)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).extrude(0.046875)
solid=solid0
| 1,941
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00038956
|
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
|
|
0003/00037132
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.0859375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.14210526315789473).lineTo(0.37894736842105264, 0.14210526315789473).lineTo(0.37894736842105264, 0.3315789473684211).lineTo(0.75, 0.3315789473684211).lineTo(0.75, 0.46578947368421053).lineTo(0.0, 0.46578947368421053).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.1875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.0859375, 0.1875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.1875, 0.0).lineTo(0.1875, 0.46875).lineTo(0.0, 0.46875).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.28125)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.5625, 0.0078125, 0.375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop2=wp_sketch2.moveTo(0.28125, 0.0).lineTo(0.28125, 0.09473684210526316).lineTo(0.0, 0.09473684210526316).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(-0.1875)
solid=solid.cut(solid2)
| 1,524
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00037898
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.6015625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.09498355263157894, 0.0).lineTo(0.09498355263157894, -0.15197368421052632).lineTo(0.15830592105263158, -0.15197368421052632).lineTo(0.15830592105263158, 0.0).lineTo(0.2532894736842105, 0.0).lineTo(0.2532894736842105, 0.6015625).lineTo(0.0, 0.6015625).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0234375)
solid=solid0
| 1,030
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00033426
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.046875, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.04736842105263158, 0.0).circle(0.04736842105263158)
solid0=wp_sketch0.add(loop0).extrude(0.5234375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.5625, 0.0, -0.75), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(1.1210526315789473, 0.0).lineTo(1.1210526315789473, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close()
loop2=wp_sketch1.moveTo(0.5684210526315789, 0.7578947368421053).circle(0.04736842105263158)
solid1=wp_sketch1.add(loop1).add(loop2).extrude(0.1484375)
solid=solid.union(solid1)
| 1,290
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00030107
|
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)
solid0=wp_sketch0.add(loop0).extrude(0.1640625)
solid=solid0
| 909
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00039645
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.203125, 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.20526315789473687, 0.0).circle(0.20526315789473687)
solid0=wp_sketch0.add(loop0).extrude(-0.75)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.1953125, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.19342105263157897, 0.0).circle(0.19342105263157897)
solid1=wp_sketch1.add(loop1).extrude(-0.7421875)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.0390625, 0.0, -0.75), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042)))
loop2=wp_sketch2.moveTo(0.039473684210526314, 0.0).circle(0.039473684210526314)
loop3=wp_sketch2.moveTo(0.039473684210526314, 0.0).circle(0.024671052631578948)
solid2=wp_sketch2.add(loop2).add(loop3).extrude(-0.0859375)
solid=solid.union(solid2)
| 1,381
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00030113
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0390625, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.043421052631578944, 0.0).circle(0.043421052631578944)
loop1=wp_sketch0.moveTo(0.043421052631578944, 0.0).circle(0.034375)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75)
solid=solid0
| 968
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00032923
|
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()
loop1=wp_sketch0.moveTo(0.2131578947368421, 0.18947368421052632).circle(0.039473684210526314)
loop2=wp_sketch0.moveTo(0.4263157894736842, 0.18947368421052632).circle(0.039473684210526314)
loop3=wp_sketch0.moveTo(0.6394736842105263, 0.18947368421052632).circle(0.039473684210526314)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).extrude(-0.0703125)
solid=solid0
| 1,156
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00035094
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.125), 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.3782072368421052, 0.0).lineTo(0.3782072368421052, 0.19210526315789472).lineTo(0.19210526315789472, 0.19210526315789472).lineTo(0.19210526315789472, 0.5703125).lineTo(0.0, 0.5703125).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.1875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.5625, -0.1875, 0.0625), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.1875, 0.0).lineTo(0.1875, 0.1875).lineTo(0.0, 0.1875).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.1875)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.5625, 0.0, -0.125), 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.1875, 0.0).lineTo(0.1875, 0.1875).lineTo(0.0, 0.1875).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.1875)
solid=solid.union(solid2)
| 1,578
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00039692
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.7578947368421053)
loop1=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.25263157894736843)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0625)
solid=solid0
| 898
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00039872
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.703125, 0.0, 0.1796875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.11620065789473684, 0.0).threePointArc((0.12911184210526316, -0.00047554707369995157), (0.14202302631578947, 0.0)).lineTo(0.34860197368421053, 0.0).threePointArc((0.6972039473684211, 0.34860197368421053), (1.0458059210526316, 0.0)).lineTo(1.2265625, 0.0).lineTo(1.2265625, 0.09037828947368422).lineTo(0.7875822368421053, 0.5680921052631579).lineTo(0.30986842105263157, 0.5680921052631579).lineTo(0.0, 0.2582236842105263).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.12911184210526316, 0.12911184210526316).circle(0.038733552631578946)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.1328125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.703125, 0.0, 0.0390625), 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.0, 0.0).threePointArc((0.008325432534689174, -0.03411226119665072), (0.025822368421052632, -0.06455592105263158)).lineTo(0.12911184210526316, -0.20657894736842106).lineTo(0.12911184210526316, -0.42606907894736845).lineTo(0.7875822368421053, -0.42606907894736845).lineTo(1.2265625, 0.051644736842105264).lineTo(1.2265625, 0.14202302631578947).lineTo(1.0458059210526316, 0.14202302631578947).threePointArc((0.6972039473684211, -0.20657894736842106), (0.34860197368421053, 0.14202302631578947)).lineTo(0.14202302631578947, 0.14202302631578947).lineTo(0.11620065789473684, 0.14202302631578947).threePointArc((0.03410422025073976, 0.09906360309012366), (0.0, 0.012911184210526316)).lineTo(0.0, 0.0).close()
loop3=wp_sketch1.moveTo(0.12911184210526316, 0.012911184210526316).circle(0.038733552631578946)
solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.1328125)
solid=solid.union(solid1)
| 2,245
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00035090
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 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.21052631578947367, 0.0).lineTo(0.625, 0.0).lineTo(0.625, 0.21052631578947367).lineTo(0.0, 0.21052631578947367).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.2109375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.703125), 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.20921052631578946, 0.0).lineTo(0.20921052631578946, 0.41406249999999994).lineTo(0.0, 0.41406249999999994).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.2109375)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.5390625, 0.0, -0.28125), cq.Vector(-1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, 1.0, 6.123233995736766e-17)))
loop2=wp_sketch2.moveTo(0.2109375, 0.0).lineTo(0.2109375, 0.2109375).lineTo(0.0, 0.2109375).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.2109375)
solid=solid.union(solid2)
| 1,607
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00037877
|
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.45, 0.0).lineTo(0.45, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0703125)
solid=solid0
| 843
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00039682
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.3515625, -0.3203125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.6841282894736842, -0.15074013157894736).lineTo(1.1015625, 0.31307565789473685).lineTo(0.5913651315789473, 0.2087171052631579).lineTo(0.5681743421052632, 0.5913651315789473).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.3359375, both=True)
solid=solid0
| 979
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00035047
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1640625, -0.2265625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.3243421052631579, 0.0).lineTo(0.3243421052631579, 0.453125).lineTo(0.0, 0.453125).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0234375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.109375, -0.0078125, 0.0234375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.2109375, 0.0).lineTo(0.2109375, 0.2109375).lineTo(0.0, 0.2109375).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.0859375)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.0625, 0.1015625, 0.1171875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.06315789473684211, 0.0).circle(0.06315789473684211)
solid2=wp_sketch2.add(loop2).extrude(0.375)
solid=solid.union(solid2)
| 1,322
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00039641
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.3125, 0.0234375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.546875, 0.0).lineTo(0.546875, 0.2475328947368421).threePointArc((0.5198979930040242, 0.31266115089876095), (0.45476973684210525, 0.33963815789473684)).lineTo(0.09210526315789473, 0.33963815789473684).threePointArc((0.026977006995975848, 0.31266115089876095), (0.0, 0.2475328947368421)).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.5625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.5625, -0.09375, 0.1875), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.09473684210526316, 0.0).circle(0.09473684210526316)
solid1=wp_sketch1.add(loop1).extrude(0.1875)
solid=solid.union(solid1)
| 1,365
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00030103
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6953125, -0.46875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.205921052631579, 0.0).lineTo(1.205921052631579, 1.21875).lineTo(0.0, 1.21875).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.328125)
solid=solid0
| 883
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00034832
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2421875, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.24473684210526317, 0.0).circle(0.24473684210526317)
loop1=wp_sketch0.moveTo(0.24473684210526317, 0.0).circle(0.13256578947368422)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75)
solid=solid0
| 976
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00037491
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.375, -0.375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(-0.75)
solid=solid0
| 841
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00039480
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0546875, 0.0, 0.6953125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.05921052631578947, 0.0).circle(0.05797697368421052)
loop1=wp_sketch0.moveTo(0.05921052631578947, 0.0).circle(0.019736842105263157)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.015625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.0546875, 0.0, 0.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.05921052631578947, 0.0).circle(0.05797697368421052)
loop3=wp_sketch1.moveTo(0.05921052631578947, 0.0).circle(0.019736842105263157)
solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.015625)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.21875, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop4=wp_sketch2.moveTo(0.04736842105263158, 0.0).circle(0.04736842105263158)
loop5=wp_sketch2.moveTo(0.04736842105263158, 0.0).circle(0.01875)
solid2=wp_sketch2.add(loop4).add(loop5).extrude(0.015625)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.09375, 0.0, 0.3984375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop6=wp_sketch3.moveTo(0.0, 0.0).threePointArc((0.0962171052631579, 0.08507893764914959), (0.1924342105263158, 0.0)).lineTo(0.15394736842105264, 0.3046875).threePointArc((0.0962171052631579, 0.23939943975130132), (0.03848684210526316, 0.3046875)).lineTo(0.0, 0.0).close()
loop7=wp_sketch3.moveTo(0.07697368421052632, 0.21167763157894737).circle(0.01924342105263158)
solid3=wp_sketch3.add(loop6).add(loop7).extrude(0.015625)
solid=solid.union(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.09375, 0.0, 0.375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop8=wp_sketch4.moveTo(0.03618421052631579, -0.3799342105263158).threePointArc((0.12891412192208668, -0.32996602576672046), (0.09498355263157895, -0.4296875)).lineTo(0.3663651315789474, -0.4206414473684211).threePointArc((0.3170919265813337, -0.37314967105263164), (0.3663651315789474, -0.32565789473684215)).lineTo(0.2080592105263158, -0.32113486842105265).threePointArc((0.1736132592983376, -0.3038557269005082), (0.16282894736842107, -0.266858552631579)).lineTo(0.1899671052631579, 0.0).threePointArc((0.09498355263157895, -0.0860880740310127), (0.0, 0.0)).close()
solid4=wp_sketch4.add(loop8).extrude(0.015625)
solid=solid.union(solid4)
# Generating a workplane for sketch 5
wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(-0.09375, 0.0, 0.3828125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop9=wp_sketch5.moveTo(0.09868421052631579, 0.0).circle(0.09868421052631579)
loop10=wp_sketch5.moveTo(0.09868421052631579, 0.0).circle(0.020559210526315787)
solid5=wp_sketch5.add(loop9).add(loop10).extrude(0.015625)
solid=solid.union(solid5)
| 3,163
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00035251
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.05921052631578947, 0.0).circle(0.05921052631578947)
solid0=wp_sketch0.add(loop0).extrude(0.6015625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.0234375, 0.0, 0.6015625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.019736842105263157, 0.0).circle(0.019736842105263157)
solid1=wp_sketch1.add(loop1).extrude(0.03125)
solid=solid.union(solid1)
| 1,043
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00035537
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.7421875, 0.0, -0.4609375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(1.4921875, 0.0).lineTo(1.4921875, 0.6439967105263158).lineTo(0.0, 0.6439967105263158).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.03125)
solid=solid0
| 962
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00035245
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1640625, 0.0, -0.75), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.3315789473684211, 0.0).lineTo(0.3315789473684211, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.1640625)
solid=solid0
| 947
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00036764
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, -0.75), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.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
| 910
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00039331
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = 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)))
loop0=wp_sketch0.moveTo(0.5390625, 0.0).lineTo(0.5390625, 0.3120888157894737).lineTo(0.2723684210526316, 0.3120888157894737).lineTo(0.2723684210526316, 0.15888157894736843).lineTo(0.0, 0.15888157894736843).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 1,021
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00038985
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.3984375, 0.0, 0.4921875), 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.21175986842105263, -0.49975328947368425).lineTo(0.40657894736842104, -0.49975328947368425).lineTo(0.5929276315789473, -0.49975328947368425).lineTo(0.8046875, 0.0).lineTo(0.6183388157894737, 0.06776315789473684).lineTo(0.5844572368421053, -0.008470394736842106).lineTo(0.40657894736842104, -0.008470394736842106).lineTo(0.22023026315789473, -0.008470394736842106).lineTo(0.18634868421052633, 0.06776315789473684).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 1,251
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00035480
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.015625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.5210526315789474, -0.06315789473684211).lineTo(0.75, -0.06315789473684211).threePointArc((0.6710526315789473, 0.015789473684210527), (0.75, 0.09473684210526316)).lineTo(0.5210526315789474, 0.09473684210526316).lineTo(0.0, 0.031578947368421054).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0234375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.078125, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.08289473684210526, 0.0).circle(0.08289473684210526)
loop2=wp_sketch1.moveTo(0.08289473684210526, 0.0).circle(0.05180921052631579)
solid1=wp_sketch1.add(loop1).add(loop2).extrude(0.0234375)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.078125, 0.0, 0.0234375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch2.moveTo(0.08289473684210526, 0.0).circle(0.08289473684210526)
loop4=wp_sketch2.moveTo(0.08289473684210526, 0.0).circle(0.05180921052631579)
solid2=wp_sketch2.add(loop3).add(loop4).extrude(0.0078125)
solid=solid.union(solid2)
| 1,551
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00035494
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.75, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.046875)
solid=solid0
| 839
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00031143
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0390625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.2116776315789474, 0.0).threePointArc((0.2578125, 0.1890959509841247), (0.30394736842105263, 0.0)).lineTo(0.515625, 0.0).threePointArc((0.2578125, 0.2578125), (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.75, 0.0, -0.390625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.0, 0.0).threePointArc((0.2578125, -0.2578125), (0.515625, 0.0)).lineTo(0.0, 0.0).close()
loop2=wp_sketch1.moveTo(0.2605263157894737, -0.11398026315789475).circle(0.03799342105263158)
solid1=wp_sketch1.add(loop1).add(loop2).extrude(0.21875)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.390625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop3=wp_sketch2.moveTo(0.515625, 0.0).lineTo(0.515625, 0.4287828947368421).lineTo(0.30394736842105263, 0.4287828947368421).threePointArc((0.2578125, 0.41752709537598465), (0.2116776315789474, 0.4287828947368421)).lineTo(0.0, 0.4287828947368421).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop3).extrude(0.21875)
solid=solid.union(solid2)
| 1,796
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00034991
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.640625, 0.0, -0.4140625), 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.7460526315789474).lineTo(0.0, 0.7460526315789474).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.265625, -0.75, -0.0390625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.75, 0.0).lineTo(0.75, 0.37894736842105264).lineTo(0.0, 0.37894736842105264).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(-0.75)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.109375, -0.375, -0.0390625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.12631578947368421, 0.0).circle(0.12631578947368421)
solid2=wp_sketch2.add(loop2).extrude(-0.71875)
solid=solid.cut(solid2)
| 1,454
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00034749
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.25, 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.49218749999999994, 0.0).lineTo(0.49218749999999994, 0.22277960526315788).lineTo(0.0, 0.22277960526315788).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.6484375)
solid=solid0
| 903
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00033026
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.546875, 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.5565789473684211, 0.0).circle(0.5449835526315789)
loop1=wp_sketch0.moveTo(0.5565789473684211, 0.0).circle(0.2087171052631579)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.1484375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.3125, 0.0, 0.1484375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch1.moveTo(0.3118421052631579, 0.0).circle(0.3118421052631579)
loop3=wp_sketch1.moveTo(0.3118421052631579, 0.0).circle(0.20789473684210527)
solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.6015625)
solid=solid.union(solid1)
| 1,165
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00034007
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.28125, 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.2802631578947368, 0.0).circle(0.2802631578947368)
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.0703125, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.07105263157894737, 0.0).circle(0.06957236842105263)
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.046875, -0.046875, 0.75), 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.04590590054881463, -0.020879994835679434), (0.09375, -0.004934210526315789)).lineTo(0.09375, 0.10115131578947367).threePointArc((0.04590590054881467, 0.11709710009883732), (0.0, 0.0962171052631579)).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(-0.09375)
solid=solid.cut(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.046875, -0.71875, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop3=wp_sketch3.moveTo(0.019736842105263157, 0.0).circle(0.019736842105263157)
solid3=wp_sketch3.add(loop3).extrude(-0.09375)
solid=solid.cut(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.046875, -0.0234375, 0.6953125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop4=wp_sketch4.moveTo(0.019736842105263157, 0.0).circle(0.01932565789473684)
solid4=wp_sketch4.add(loop4).extrude(-0.0859375)
solid=solid.cut(solid4)
# Generating a workplane for sketch 5
wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(-0.046875, -0.0234375, 0.6953125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop5=wp_sketch5.moveTo(0.019736842105263157, 0.0).circle(0.01932565789473684)
solid5=wp_sketch5.add(loop5).extrude(0.265625)
solid=solid.cut(solid5)
| 2,161
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00036610
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6953125, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.1484375, 0.0).lineTo(1.1484375, 0.19342105263157894).lineTo(1.1242598684210525, 0.19342105263157894).lineTo(1.1242598684210525, 0.08462171052631579).lineTo(0.024177631578947367, 0.08462171052631579).lineTo(0.024177631578947367, 0.18133223684210525).lineTo(0.0, 0.18133223684210525).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.296875)
solid=solid0
| 1,063
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00034761
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2578125, -0.3359375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.375, 0.0).lineTo(0.375, 0.24868421052631579).lineTo(0.0, 0.24868421052631579).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.2578125, -0.0859375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.37894736842105264, 0.0).lineTo(1.0, 0.0).lineTo(1.0, 0.25263157894736843).lineTo(0.0, 0.25263157894736843).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
|
|
0003/00039251
|
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.53125, 0.0).lineTo(0.53125, 0.53125).lineTo(0.0, 0.53125).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.53125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.53125, 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.3984375, 0.0).lineTo(0.3984375, 0.3984375).lineTo(0.0, 0.3984375).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(-0.3984375)
solid=solid.cut(solid1)
| 1,226
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00039537
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.75, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 0.9947368421052631).threePointArc((1.3520118473363611, 1.3520118473363611), (0.9947368421052631, 1.5)).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.25263157894736843, 0.25263157894736843).circle(0.09473684210526316)
loop2=wp_sketch0.moveTo(0.9947368421052631, 0.5052631578947369).lineTo(0.9947368421052631, 0.9947368421052631).lineTo(0.5052631578947369, 0.9947368421052631).lineTo(0.5052631578947369, 0.5052631578947369).close()
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.1484375)
solid=solid0
| 1,190
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00039906
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.703125, 0.0, -0.09375), 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.09958881578947369, 0.0).lineTo(0.3841282894736842, 0.0).threePointArc((0.7682565789473684, 0.4034625596041434), (1.1523848684210527, 0.0)).lineTo(1.3515625, 0.0).lineTo(1.3515625, 0.09958881578947369).lineTo(0.8678453947368422, 0.6402138157894737).lineTo(0.34144736842105267, 0.6259868421052632).lineTo(0.0, 0.28453947368421056).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.09958881578947369, 0.14226973684210528).circle(0.04268092105263158)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.1484375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.703125, 0.0, -0.3515625), 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.14226973684210528, -0.12804276315789476).lineTo(0.14226973684210528, -0.3699013157894737).lineTo(0.8678453947368422, -0.3699013157894737).lineTo(1.3515625, 0.14226973684210528).lineTo(1.3515625, 0.2560855263157895).lineTo(1.1523848684210527, 0.2560855263157895).threePointArc((0.7682565789473684, -0.10963500775000197), (0.3841282894736842, 0.2560855263157895)).lineTo(0.09958881578947369, 0.2560855263157895).threePointArc((-0.03805279557297294, 0.16220556450644852), (0.0, 0.0)).close()
loop3=wp_sketch1.moveTo(0.09958881578947369, 0.11381578947368422).circle(0.04268092105263158)
solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.1484375)
solid=solid.union(solid1)
| 1,982
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00039912
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0390625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.020723684210526318, -0.028865131578947368).lineTo(0.05625, -0.025164473684210528).lineTo(0.0703125, 0.007401315789473685).lineTo(0.04958881578947369, 0.03626644736842105).lineTo(0.0140625, 0.032565789473684215).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 996
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00030936
|
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.75, 0.0).lineTo(0.75, 0.007894736842105263).lineTo(0.0, 0.007894736842105263).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.5)
solid=solid0
| 869
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00037917
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.75, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.8210526315789474, 0.031578947368421054).lineTo(0.8210526315789474, 0.6789473684210526).lineTo(1.468421052631579, 0.6789473684210526).lineTo(1.468421052631579, 1.468421052631579).lineTo(0.6789473684210526, 1.468421052631579).lineTo(0.6789473684210526, 0.8210526315789474).lineTo(0.031578947368421054, 0.8210526315789474).lineTo(0.031578947368421054, 0.031578947368421054).close()
loop2=wp_sketch0.moveTo(0.631578947368421, 0.868421052631579).lineTo(0.631578947368421, 1.468421052631579).lineTo(0.031578947368421054, 1.468421052631579).lineTo(0.031578947368421054, 0.868421052631579).close()
loop3=wp_sketch0.moveTo(1.468421052631579, 0.031578947368421054).lineTo(1.468421052631579, 0.631578947368421).lineTo(0.868421052631579, 0.631578947368421).lineTo(0.868421052631579, 0.031578947368421054).close()
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).extrude(0.1484375)
solid=solid0
| 1,563
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00031427
|
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.5234375, 0.0).lineTo(0.5234375, 0.5234375).lineTo(0.0, 0.5234375).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.03125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.5234375, 0.0, 0.03125), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.5234375, 0.0).lineTo(0.5234375, 0.03305921052631579).lineTo(0.0, 0.03305921052631579).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.1328125)
solid_temp=solid1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.5234375, 0.0, 0.03125), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.5234375, 0.0).lineTo(0.5234375, 0.03305921052631579).lineTo(0.0, 0.03305921052631579).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(-0.78125)
solid_temp=solid_temp.union(solid1)
solid=solid.union(solid_temp)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.03125), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.5234375, 0.0).lineTo(0.5234375, 0.03305921052631579).lineTo(0.0, 0.03305921052631579).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.1328125)
solid_temp=solid2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.03125), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.5234375, 0.0).lineTo(0.5234375, 0.03305921052631579).lineTo(0.0, 0.03305921052631579).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(-0.78125)
solid_temp=solid_temp.union(solid2)
solid=solid.union(solid_temp)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.5234375, 0.03125), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch3.moveTo(0.0350328947368421, 0.0).lineTo(0.0350328947368421, 0.5546875).lineTo(0.0, 0.5546875).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop3).extrude(0.1328125)
solid_temp=solid3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.5234375, 0.03125), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch3.moveTo(0.0350328947368421, 0.0).lineTo(0.0350328947368421, 0.5546875).lineTo(0.0, 0.5546875).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop3).extrude(-0.78125)
solid_temp=solid_temp.union(solid3)
solid=solid.union(solid_temp)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.03125, 0.03125), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop4=wp_sketch4.moveTo(0.031085526315789473, 0.0).lineTo(0.031085526315789473, 0.49218749999999994).lineTo(0.0, 0.49218749999999994).lineTo(0.0, 0.0).close()
solid4=wp_sketch4.add(loop4).extrude(0.1328125)
solid_temp=solid4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.03125, 0.03125), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop4=wp_sketch4.moveTo(0.031085526315789473, 0.0).lineTo(0.031085526315789473, 0.49218749999999994).lineTo(0.0, 0.49218749999999994).lineTo(0.0, 0.0).close()
solid4=wp_sketch4.add(loop4).extrude(-0.78125)
solid_temp=solid_temp.union(solid4)
solid=solid.union(solid_temp)
| 2,840
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00036348
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.171875, 0.0, -0.75), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.14383223684210528, 0.0).lineTo(0.14383223684210528, 0.26151315789473684).lineTo(0.14383223684210528, 0.47072368421052635).threePointArc((-0.10475096687893555, 0.7518503289473685), (0.14383223684210528, 1.0329769736842105)).lineTo(0.14383223684210528, 1.2421875).lineTo(0.0, 1.2421875).lineTo(0.0, 1.0329769736842105).threePointArc((-0.15698560185484697, 0.7518503289473685), (0.0, 0.47072368421052635)).lineTo(0.0, 0.26151315789473684).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.6953125)
solid=solid0
| 1,262
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00035899
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.75, -0.4375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.12631578947368421, 0.0).lineTo(0.2210526315789474, 0.15789473684210525).lineTo(0.2210526315789474, 0.18947368421052632).lineTo(0.3, 0.18947368421052632).lineTo(0.3, 0.15789473684210525).lineTo(0.37894736842105264, 0.0).lineTo(0.9947368421052631, 0.0).lineTo(0.9947368421052631, 0.15789473684210525).lineTo(1.5, 0.15789473684210525).lineTo(1.5, 0.4421052631578948).lineTo(0.7578947368421053, 0.4421052631578948).lineTo(0.0, 0.4421052631578948).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(-0.59375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.390625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.09868421052631579, 0.0).circle(0.09868421052631579)
solid1=wp_sketch1.add(loop1).extrude(-0.53125)
solid=solid.cut(solid1)
| 1,443
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00034239
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -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.5, 0.0).lineTo(1.5, 1.2).lineTo(0.0, 1.2).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.12631578947368421, 0.6).circle(0.09473684210526316)
loop2=wp_sketch0.moveTo(0.7578947368421053, 0.6).circle(0.3315789473684211)
loop3=wp_sketch0.moveTo(1.3736842105263158, 0.6).circle(0.09473684210526316)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).extrude(-0.1484375)
solid=solid0
| 1,037
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00038403
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.0234375, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.027631578947368417, 0.0).circle(0.027631578947368417)
solid0=wp_sketch0.add(loop0).extrude(0.75, both=True)
solid=solid0
| 899
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00031355
|
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.4609375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.6875, 0.0, 0.4609375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.6986842105263158, 0.0).circle(0.6986842105263158)
loop2=wp_sketch1.moveTo(0.6986842105263158, 0.0).circle(0.11644736842105263)
solid1=wp_sketch1.add(loop1).add(loop2).extrude(-0.203125)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.6875, 0.0, 0.0), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042)))
loop3=wp_sketch2.moveTo(0.6986842105263158, 0.0).circle(0.6986842105263158)
loop4=wp_sketch2.moveTo(0.6986842105263158, 0.0).circle(0.11644736842105263)
solid2=wp_sketch2.add(loop3).add(loop4).extrude(-0.203125)
solid=solid.cut(solid2)
| 1,432
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00033224
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.1171875, 0.0).lineTo(0.1171875, 0.01356907894736842).lineTo(0.01356907894736842, 0.01356907894736842).lineTo(0.01356907894736842, 0.1171875).lineTo(0.0, 0.1171875).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 945
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00037042
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.296875, 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.6).lineTo(0.0, 0.6).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.3473684210526316, 0.3).circle(0.14210526315789473)
loop2=wp_sketch0.moveTo(1.1526315789473685, 0.3).circle(0.14210526315789473)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.3515625)
solid=solid0
| 972
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00032112
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.2131578947368421).lineTo(0.0, 0.2131578947368421).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.015625)
solid=solid0
| 941
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00036412
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, -0.75), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.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.75, -0.28125, -0.25), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.125, 0.0).lineTo(0.125, 0.1118421052631579).lineTo(0.0, 0.1118421052631579).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(-0.71875)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.75, -0.5625, -0.2578125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop2=wp_sketch2.moveTo(0.1328125, 0.0).lineTo(0.1328125, 0.11883223684210527).lineTo(0.0, 0.11883223684210527).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(-0.71875)
solid=solid.cut(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.75, -0.53125, -0.6015625), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop3=wp_sketch3.moveTo(0.34375, 0.0).lineTo(0.34375, 0.14473684210526316).lineTo(0.0, 0.14473684210526316).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop3).extrude(-0.71875)
solid=solid.cut(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.2421875, -0.21875, -0.75), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042)))
loop4=wp_sketch4.moveTo(0.21875, 0.0).lineTo(0.21875, 0.2734375).lineTo(0.0, 0.2734375).lineTo(0.0, 0.0).close()
solid4=wp_sketch4.add(loop4).extrude(-0.7109375)
solid=solid.cut(solid4)
| 2,083
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00039721
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.2109375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.703125, 0.0).lineTo(0.703125, 0.20723684210526314).lineTo(0.0, 0.20723684210526314).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.015625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.046875, -0.2578125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.796875, 0.0).lineTo(0.796875, 0.30197368421052634).lineTo(0.4194078947368421, 0.30197368421052634).lineTo(0.3774671052631579, 0.30197368421052634).lineTo(0.0, 0.30197368421052634).lineTo(0.0, 0.0).close()
loop2=wp_sketch1.moveTo(0.7465460526315789, 0.050328947368421056).lineTo(0.7465460526315789, 0.2600328947368421).lineTo(0.050328947368421056, 0.2600328947368421).lineTo(0.050328947368421056, 0.050328947368421056).close()
solid1=wp_sketch1.add(loop1).add(loop2).extrude(0.1015625)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.328125, 0.046875, 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).lineTo(0.04736842105263158, 0.1875).lineTo(0.0, 0.1875).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop3).extrude(0.1015625)
solid=solid.union(solid2)
| 1,645
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00032660
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.46875, -0.265625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.5659539473684211, 0.0).lineTo(0.5659539473684211, 0.16060855263157894).lineTo(0.7265625, 0.16060855263157894).lineTo(0.7265625, 0.611842105263158).lineTo(0.0, 0.611842105263158).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.3125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.1015625, -0.5625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.6484375, 0.0).lineTo(0.6484375, 0.4504934210526316).lineTo(0.15699013157894737, 0.4504934210526316).lineTo(0.15699013157894737, 0.2935032894736842).lineTo(0.0, 0.2935032894736842).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.3125)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.1015625, -0.265625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.15625, 0.0).lineTo(0.15625, 0.15625).lineTo(0.0, 0.15625).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.3125)
solid=solid.union(solid2)
| 1,508
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00032661
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.40625, 0.0, 0.4609375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.12171052631578946, 0.05940328259126961), (0.24342105263157893, 0.0)).threePointArc((0.4016447368421053, -0.08582466607532009), (0.5598684210526316, 0.0)).threePointArc((0.6876644736842105, 0.06237344672083292), (0.8154605263157895, 0.0)).threePointArc((1.1641912941650356, 0.10345394736842105), (0.8154605263157895, 0.2069078947368421)).threePointArc((0.6876644736842105, 0.14453444801600918), (0.5598684210526316, 0.2069078947368421)).threePointArc((0.4016447368421053, 0.2927325608121622), (0.24342105263157893, 0.2069078947368421)).threePointArc((0.12171052631578946, 0.14750461214557248), (0.0, 0.2069078947368421)).threePointArc((-0.3487307678492463, 0.10345394736842105), (0.0, 0.0)).close()
solid0=wp_sketch0.add(loop0).extrude(0.1875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.40625, 0.0, -0.1015625), 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.125, 0.06100877671535781), (0.25, 0.0)).threePointArc((0.5976219259800912, 0.10312500000000001), (0.25, 0.20625000000000002)).threePointArc((0.125, 0.14524122328464203), (0.0, 0.20625000000000002)).threePointArc((-0.34762192598009123, 0.10312500000000001), (0.0, 0.0)).close()
solid1=wp_sketch1.add(loop1).extrude(0.1875)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.375, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop2=wp_sketch2.moveTo(0.18947368421052632, 0.0).circle(0.18552631578947368)
solid2=wp_sketch2.add(loop2).extrude(0.1875)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.375, 0.0, -0.5625), 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.18947368421052632, 0.0).circle(0.18552631578947368)
solid3=wp_sketch3.add(loop3).extrude(0.1875)
solid=solid.union(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.1875, 0.0, -0.5625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop4=wp_sketch4.moveTo(0.18947368421052632, 0.0).circle(0.18552631578947368)
solid4=wp_sketch4.add(loop4).extrude(0.1875)
solid=solid.union(solid4)
# Generating a workplane for sketch 5
wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.5625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop5=wp_sketch5.moveTo(0.18947368421052632, 0.0).circle(0.18552631578947368)
solid5=wp_sketch5.add(loop5).extrude(0.1875)
solid=solid.union(solid5)
| 2,991
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00039046
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.125, 0.0, -0.75), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.25263157894736843, 0.0).lineTo(0.25263157894736843, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.12631578947368421, 0.15789473684210525).circle(0.07894736842105263)
loop2=wp_sketch0.moveTo(0.12631578947368421, 0.39473684210526316).circle(0.07894736842105263)
loop3=wp_sketch0.moveTo(0.12631578947368421, 1.105263157894737).circle(0.07894736842105263)
loop4=wp_sketch0.moveTo(0.12631578947368421, 1.3578947368421053).circle(0.07894736842105263)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).extrude(0.078125)
solid=solid0
| 1,265
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00035640
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.546875, -0.46875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.027534729549986262, -0.05470211255527689), (0.08223684210526315, -0.08223684210526315)).lineTo(0.11101973684210525, -0.08223684210526315).threePointArc((0.16578903658156016, 0.083552194476297), (0.0, 0.028782894736842105)).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.1484375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.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(0.0, 0.0).threePointArc((0.16578903658156016, -0.0547692997394549), (0.11101973684210525, 0.11101973684210525)).lineTo(0.08223684210526315, 0.11101973684210525).threePointArc((0.027534729549986262, 0.08348500729211905), (0.0, 0.028782894736842105)).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.1484375)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.4375, 0.546875, 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.0547692997394549, -0.16578903658156016), (0.11101973684210525, -0.11101973684210525)).lineTo(0.11101973684210525, -0.08223684210526315).threePointArc((0.083485007292119, -0.027534729549986262), (0.028782894736842105, 0.0)).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.1484375)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.4375, -0.546875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch3.moveTo(0.028782894736842105, 0.0).threePointArc((0.083485007292119, 0.027534729549986203), (0.11101973684210525, 0.08223684210526315)).lineTo(0.11101973684210525, 0.11101973684210525).threePointArc((-0.0547692997394549, 0.16578903658156016), (0.0, 0.0)).close()
solid3=wp_sketch3.add(loop3).extrude(0.1484375)
solid=solid.union(solid3)
| 2,150
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00035126
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.375, 0.0).lineTo(0.375, 0.375).lineTo(0.0, 0.375).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.375)
solid=solid0
| 844
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00039085
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.09375, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.09473684210526316, 0.0).circle(0.09276315789473684)
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.0703125, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.07105263157894737, 0.0).circle(0.07105263157894737)
solid1=wp_sketch1.add(loop1).extrude(0.015625)
solid=solid.union(solid1)
| 1,032
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00037916
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.234375, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.23684210526315788, 0.0).circle(0.23684210526315788)
loop1=wp_sketch0.moveTo(0.23684210526315788, 0.0).circle(0.12335526315789473)
solid0=wp_sketch0.add(loop0).add(loop1).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
|
|
0003/00039913
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.703125), 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.4455592105263158, -0.80625).lineTo(1.0078125, 0.0).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.328125)
solid=solid0
| 928
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00030937
|
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.3, 0.0).lineTo(0.75, 0.5763157894736842).lineTo(0.7342105263157895, 0.5842105263157895).lineTo(0.29210526315789476, 0.015789473684210527).lineTo(0.0, 0.015789473684210527).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.421875)
solid=solid0
| 957
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00030923
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -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.5842105263157895, -0.32861842105263156).lineTo(1.15625, 0.0).lineTo(1.15625, 0.669407894736842).lineTo(0.5842105263157895, 0.9980263157894737).lineTo(0.0, 0.669407894736842).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.5842105263157895, 0.32861842105263156).circle(0.47467105263157894)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0390625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.6484375, 0.046875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch1.moveTo(0.4855263157894737, 0.0).circle(0.4855263157894737)
solid1=wp_sketch1.add(loop2).extrude(0.0390625)
solid=solid.union(solid1)
| 1,245
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00039250
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.671875, 0.0, -0.4765625), 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.421875, 0.0).lineTo(1.421875, 0.9429276315789473).lineTo(1.0626644736842106, 0.9429276315789473).lineTo(1.0626644736842106, 0.718421052631579).lineTo(0.718421052631579, 0.718421052631579).lineTo(0.718421052631579, 0.4789473684210526).lineTo(0.3592105263157895, 0.4789473684210526).lineTo(0.3592105263157895, 0.2394736842105263).lineTo(0.0, 0.2394736842105263).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.7109375)
solid=solid0
| 1,209
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00032463
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5234375, 0.0, 0.03125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.06555106298679243, 0.051026601334950336), (0.1411184210526316, 0.08552631578947369)).threePointArc((-0.13143809625812472, 0.3760587140890636), (0.0, 0.0)).close()
solid0=wp_sketch0.add(loop0).extrude(0.3125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.2109375, 0.0, 0.1171875), 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.07797521751221285, -0.027298445494322195), (0.1475328947368421, -0.071875)).threePointArc((0.24352187633919128, 0.3125078542031598), (0.0, 0.0)).close()
solid1=wp_sketch1.add(loop1).extrude(0.3125)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.6328125, 0.0, -0.2265625), 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.35526315789473684, 0.0).circle(0.35526315789473684)
solid2=wp_sketch2.add(loop2).extrude(0.3125)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.53125, 0.0, -0.1171875), 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.06710526315789474, 0.0).circle(0.06570723684210526)
solid3=wp_sketch3.add(loop3).extrude(-0.15625)
solid=solid.cut(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.21875, 0.0, -0.109375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop4=wp_sketch4.moveTo(0.06315789473684211, 0.0).circle(0.06184210526315789)
solid4=wp_sketch4.add(loop4).extrude(-0.15625)
solid=solid.cut(solid4)
| 2,202
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00034012
|
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.0, 1.5).threePointArc((-0.75, 0.75), (0.0, 0.0)).close()
solid0=wp_sketch0.add(loop0).extrude(0.296875)
solid=solid0
| 829
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00034006
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, -0.6875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.4342105263157895, 0.0).lineTo(0.4342105263157895, 0.6875).lineTo(0.0, 0.6875).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.203125)
solid=solid0
| 948
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00032311
|
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.390625, 0.0).lineTo(0.390625, 0.390625).lineTo(0.0, 0.390625).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0234375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.390625, 0.0, 0.0234375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.390625, 0.0).lineTo(0.390625, 0.024671052631578948).lineTo(0.0, 0.024671052631578948).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.09375)
solid_temp=solid1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.390625, 0.0, 0.0234375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.390625, 0.0).lineTo(0.390625, 0.024671052631578948).lineTo(0.0, 0.024671052631578948).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(-0.578125)
solid_temp=solid_temp.union(solid1)
solid=solid.union(solid_temp)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0234375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.390625, 0.0).lineTo(0.390625, 0.024671052631578948).lineTo(0.0, 0.024671052631578948).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.09375)
solid_temp=solid2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0234375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.390625, 0.0).lineTo(0.390625, 0.024671052631578948).lineTo(0.0, 0.024671052631578948).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(-0.578125)
solid_temp=solid_temp.union(solid2)
solid=solid.union(solid_temp)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.390625, 0.0234375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch3.moveTo(0.026151315789473682, 0.0).lineTo(0.026151315789473682, 0.41406249999999994).lineTo(0.0, 0.41406249999999994).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop3).extrude(0.09375)
solid_temp=solid3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.390625, 0.0234375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch3.moveTo(0.026151315789473682, 0.0).lineTo(0.026151315789473682, 0.41406249999999994).lineTo(0.0, 0.41406249999999994).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop3).extrude(-0.578125)
solid_temp=solid_temp.union(solid3)
solid=solid.union(solid_temp)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0234375, 0.0234375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop4=wp_sketch4.moveTo(0.022697368421052633, 0.0).lineTo(0.022697368421052633, 0.359375).lineTo(0.0, 0.359375).lineTo(0.0, 0.0).close()
solid4=wp_sketch4.add(loop4).extrude(0.09375)
solid_temp=solid4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0234375, 0.0234375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop4=wp_sketch4.moveTo(0.022697368421052633, 0.0).lineTo(0.022697368421052633, 0.359375).lineTo(0.0, 0.359375).lineTo(0.0, 0.0).close()
solid4=wp_sketch4.add(loop4).extrude(-0.578125)
solid_temp=solid_temp.union(solid4)
solid=solid.union(solid_temp)
| 2,854
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00034748
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5703125, -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.1526315789473685, 0.0).lineTo(0.5684210526315789, 1.5).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.046875)
solid=solid0
| 862
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00031630
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.4564144736842105, 0.0).lineTo(0.4564144736842105, 0.5859375).lineTo(0.0, 0.5859375).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.4453125, both=True)
solid=solid0
| 956
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00037241
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.10937499999999999, 0.0).lineTo(0.10937499999999999, 0.055263157894736833).lineTo(0.0, 0.055263157894736833).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 971
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00037533
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 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.75, 0.0).lineTo(0.75, 0.18947368421052632).lineTo(0.7263157894736842, 0.18947368421052632).lineTo(0.7263157894736842, 0.02368421052631579).lineTo(0.02368421052631579, 0.02368421052631579).lineTo(0.02368421052631579, 0.18947368421052632).lineTo(0.0, 0.18947368421052632).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.640625)
solid=solid0
| 1,120
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00031142
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0859375, 0.0, 0.140625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.15378289473684212, 0.0).threePointArc((0.1786595394736842, 0.005107148802615793), (0.20353618421052633, 0.0)).lineTo(0.3573190789473684, 0.0).lineTo(0.3573190789473684, 0.4296875).lineTo(0.20353618421052633, 0.4296875).threePointArc((0.1786595394736842, 0.42458035119738424), (0.15378289473684212, 0.4296875)).lineTo(0.0, 0.4296875).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.1640625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.0859375, 0.0, 0.5703125), 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.1796875, -0.1796875), (0.359375, 0.0)).lineTo(0.2042763157894737, 0.0).threePointArc((0.1796875, 0.11977078768119877), (0.1550986842105263, 0.0)).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.0078125)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.0859375, 0.0, 0.140625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop2=wp_sketch2.moveTo(0.0, 0.0).threePointArc((0.1796875, -0.1796875), (0.359375, 0.0)).lineTo(0.2042763157894737, 0.0).threePointArc((0.1796875, -0.11977078768119877), (0.1550986842105263, 0.0)).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.0078125)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.0859375, 0.0, 0.140625), 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.15378289473684212, 0.0).threePointArc((0.1786595394736842, 0.005107148802615793), (0.20353618421052633, 0.0)).lineTo(0.3573190789473684, 0.0).lineTo(0.3573190789473684, 0.4296875).lineTo(0.20353618421052633, 0.4296875).threePointArc((0.1786595394736842, 0.42458035119738424), (0.15378289473684212, 0.4296875)).lineTo(0.0, 0.4296875).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop3).extrude(0.0078125)
solid=solid.union(solid3)
| 2,457
|
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.