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 |
|---|---|---|---|---|---|
0002/00020861
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.0546875, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.05921052631578947, 0.0).circle(0.05921052631578947)
solid0=wp_sketch0.add(loop0).extrude(0.75, both=True)
solid=solid0
| 897
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00025919
|
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.16578947368421054).lineTo(0.16578947368421054, 0.16578947368421054).lineTo(0.16578947368421054, 0.48947368421052634).lineTo(0.0, 0.48947368421052634).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.1640625)
solid=solid0
| 1,032
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00022904
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2578125, 0.0, -0.0234375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(1.0078125, 0.0).lineTo(1.0078125, 0.10608552631578948).lineTo(0.7001644736842105, 0.10608552631578948).threePointArc((0.6701589556667551, 0.11851421882464985), (0.6577302631578947, 0.14851973684210526)).threePointArc((0.50390625, -0.005304276315789474), (0.35008223684210527, 0.14851973684210526)).threePointArc((0.3323492680174554, 0.1163171156360754), (0.2970394736842105, 0.10608552631578948)).lineTo(0.0, 0.10608552631578948).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.5092105263157894, 0.14851973684210526).circle(0.10608552631578948)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.3046875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.546875, -0.1484375, 0.078125), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch1.moveTo(0.05131578947368422, 0.0).circle(0.05131578947368422)
solid1=wp_sketch1.add(loop2).extrude(-0.203125)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.15625, -0.1484375, 0.078125), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch2.moveTo(0.05131578947368422, 0.0).circle(0.05131578947368422)
solid2=wp_sketch2.add(loop3).extrude(-0.203125)
solid=solid.cut(solid2)
| 1,749
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00022092
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.25, -0.625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.5210526315789473, 0.0).lineTo(0.5210526315789473, 0.6223684210526316).lineTo(0.506578947368421, 1.2881578947368422).lineTo(0.506578947368421, 1.375).lineTo(0.0, 1.375).lineTo(0.0, 1.2881578947368422).lineTo(0.0, 0.6223684210526316).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.6875)
solid=solid0
| 1,008
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00025931
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.4765625, 0.0, -0.0234375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.08922697368421052, 0.0).lineTo(0.13527960526315788, -0.046052631578947366).lineTo(0.25616776315789475, -0.046052631578947366).lineTo(0.2734375, -0.025904605263157892).lineTo(0.2734375, 0.06620065789473684).lineTo(0.2504111842105263, 0.08922697368421052).lineTo(0.08922697368421052, 0.08922697368421052).lineTo(0.08922697368421052, 0.023026315789473683).lineTo(0.0, 0.023026315789473683).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.1611842105263158, 0.03741776315789473).lineTo(0.1611842105263158, 0.06332236842105263).lineTo(0.13527960526315788, 0.06332236842105263).lineTo(0.13527960526315788, 0.03741776315789473).close()
loop2=wp_sketch0.moveTo(0.23026315789473684, 0.048930921052631575).circle(0.03741776315789473)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.0234375)
solid=solid0
| 1,507
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00022086
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.015625, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.011842105263157895, 0.0).circle(0.011842105263157895)
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 912
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00025500
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.4140625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.42236842105263156, 0.0).circle(0.42236842105263156)
loop1=wp_sketch0.moveTo(0.42236842105263156, 0.0).circle(0.3255756578947368)
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
|
|
0002/00022509
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.3046875), 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.24078947368421053, 0.0).circle(0.24078947368421053)
loop1=wp_sketch0.moveTo(0.08026315789473684, 0.0).circle(0.02508223684210526)
loop2=wp_sketch0.moveTo(0.24078947368421053, -0.16052631578947368).circle(0.02508223684210526)
loop3=wp_sketch0.moveTo(0.24078947368421053, 0.0).circle(0.02508223684210526)
loop4=wp_sketch0.moveTo(0.24078947368421053, 0.16052631578947368).circle(0.02508223684210526)
loop5=wp_sketch0.moveTo(0.39629934210526313, 0.0).circle(0.02508223684210526)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).add(loop5).extrude(0.046875)
solid=solid0
| 1,273
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00025266
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0234375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(1.234375, 0.0).lineTo(1.234375, 0.3638157894736842).lineTo(0.0, 0.3638157894736842).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.359375)
solid=solid0
| 956
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00028742
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.015625, -0.0078125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.0877467105263158, 0.0).lineTo(0.0877467105263158, 0.7578125).lineTo(0.0, 0.7578125).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0078125)
solid=solid0
| 891
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00026960
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1484375, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.15000000000000002, 0.0).circle(0.15000000000000002)
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
|
|
0002/00021969
|
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.75, both=True)
solid=solid0
| 914
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00021799
|
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.02368421052631579).lineTo(0.0, 0.02368421052631579).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.6796875)
solid=solid0
| 872
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00022290
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1484375, 0.0, -0.046875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.296875, 0.0).lineTo(0.296875, 0.1).lineTo(0.0, 0.1).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75, both=True)
solid=solid0
| 930
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00026784
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.125, -0.1171875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.25, 0.0).lineTo(0.25, 0.06842105263157895).lineTo(0.0, 0.06842105263157895).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.5)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.125, 0.046875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.25, 0.0).lineTo(0.25, 0.06842105263157895).lineTo(0.0, 0.06842105263157895).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.5)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.125, -0.046875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.25, 0.0).lineTo(0.25, 0.09999999999999999).lineTo(0.0, 0.09999999999999999).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.5)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.125, -0.1171875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch3.moveTo(0.25, 0.0).lineTo(0.25, 0.06842105263157895).lineTo(0.0, 0.06842105263157895).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop3).extrude(-0.0859375)
solid=solid.union(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.125, 0.046875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop4=wp_sketch4.moveTo(0.25, 0.0).lineTo(0.25, 0.06842105263157895).lineTo(0.0, 0.06842105263157895).lineTo(0.0, 0.0).close()
solid4=wp_sketch4.add(loop4).extrude(-0.0859375)
solid=solid.union(solid4)
| 1,787
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00021955
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.4296875, 0.0, 0.4296875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.1618421052631579, 0.0).circle(0.1584703947368421)
loop1=wp_sketch0.moveTo(0.0640625, 0.0).circle(0.023601973684210527)
loop2=wp_sketch0.moveTo(0.1618421052631579, 0.0).circle(0.06069078947368421)
loop3=wp_sketch0.moveTo(0.1618421052631579, -0.09440789473684211).circle(0.023601973684210527)
loop4=wp_sketch0.moveTo(0.1618421052631579, 0.09440789473684211).circle(0.023601973684210527)
loop5=wp_sketch0.moveTo(0.25625, 0.0).circle(0.023601973684210527)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).add(loop5).extrude(0.1015625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.53125, 0.0, 0.4296875), 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.05921052631578947, 0.0).circle(0.05921052631578947)
loop7=wp_sketch1.moveTo(0.05921052631578947, 0.0).circle(0.0234375)
solid1=wp_sketch1.add(loop6).add(loop7).extrude(0.203125)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.53125, 0.0, 0.4296875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop8=wp_sketch2.moveTo(0.05921052631578947, 0.0).circle(0.05921052631578947)
loop9=wp_sketch2.moveTo(0.05921052631578947, 0.0).circle(0.0234375)
solid2=wp_sketch2.add(loop8).add(loop9).extrude(-0.09375)
solid=solid.union(solid2)
| 1,907
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00021957
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.28125, 0.0, -0.2265625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.7707236842105264, 0.0).lineTo(1.03125, 0.0).lineTo(1.03125, 0.3473684210526316).lineTo(0.7707236842105264, 0.3473684210526316).lineTo(0.5536184210526316, 0.3473684210526316).lineTo(0.2605263157894737, 0.3473684210526316).lineTo(0.0, 0.3473684210526316).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.2605263157894737, 0.1736842105263158).circle(0.010855263157894738)
loop2=wp_sketch0.moveTo(0.5536184210526316, 0.1736842105263158).circle(0.010855263157894738)
loop3=wp_sketch0.moveTo(0.7707236842105264, 0.1736842105263158).circle(0.010855263157894738)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).extrude(0.0390625)
solid=solid0
| 1,351
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00026989
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.1640625, 0.0, 0.34375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.10263157894736843, 0.0).circle(0.10049342105263158)
solid0=wp_sketch0.add(loop0).extrude(0.4140625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.546875, 0.0, 0.2109375), 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.10263157894736843, 0.0).circle(0.10263157894736843)
solid1=wp_sketch1.add(loop1).extrude(0.6171875)
solid=solid.union(solid1)
| 1,193
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00021980
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5234375, 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.5289473684210526, 0.0).circle(0.5289473684210526)
loop1=wp_sketch0.moveTo(0.12121710526315789, 0.12121710526315789).circle(0.0881578947368421)
loop2=wp_sketch0.moveTo(0.5289473684210526, 0.0).circle(0.2975328947368421)
loop3=wp_sketch0.moveTo(0.39671052631578946, -0.39671052631578946).circle(0.0881578947368421)
loop4=wp_sketch0.moveTo(0.6501644736842105, 0.39671052631578946).circle(0.0881578947368421)
loop5=wp_sketch0.moveTo(0.9256578947368421, -0.12121710526315789).circle(0.0881578947368421)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).add(loop5).extrude(0.109375, both=True)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.296875, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop6=wp_sketch1.moveTo(0.30394736842105263, 0.0).circle(0.30394736842105263)
solid1=wp_sketch1.add(loop6).extrude(0.2265625, both=True)
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)))
loop7=wp_sketch2.moveTo(0.7578947368421053, 0.0).circle(0.7578947368421053)
loop8=wp_sketch2.moveTo(0.7578947368421053, 0.0).circle(0.5210526315789474)
solid2=wp_sketch2.add(loop7).add(loop8).extrude(0.2265625, both=True)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.109375, -0.2265625, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop9=wp_sketch3.moveTo(0.11447368421052631, 0.0).circle(0.11447368421052631)
solid3=wp_sketch3.add(loop9).extrude(-0.453125)
solid=solid.cut(solid3)
| 2,169
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00021994
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.019736842105263157, 0.0).circle(0.01932565789473684)
solid0=wp_sketch0.add(loop0).extrude(0.6484375)
solid=solid0
| 914
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00026745
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1796875, 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.078125, 0.0).lineTo(0.078125, 0.078125).lineTo(0.0, 0.078125).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 937
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00028740
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.671875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.9730263157894736, 0.0).lineTo(0.9730263157894736, 1.359375).lineTo(0.0, 1.359375).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.015625)
solid=solid0
| 883
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00025264
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6875, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(1.4375, 0.0).lineTo(1.4375, 0.3631578947368421).lineTo(0.0, 0.3631578947368421).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.4296875)
solid=solid0
| 949
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00027301
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1484375, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.15000000000000002, 0.0).circle(0.15000000000000002)
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.109375, 0.0, 0.0), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042)))
loop1=wp_sketch1.moveTo(0.10657894736842105, 0.0).circle(0.10657894736842105)
solid1=wp_sketch1.add(loop1).extrude(-0.15625)
solid=solid.cut(solid1)
| 1,113
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00026584
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0078125, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.011842105263157895, 0.0).circle(0.011842105263157895)
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
|
|
0002/00029106
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1875, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.18947368421052632, 0.0).circle(0.18552631578947368)
loop1=wp_sketch0.moveTo(0.18947368421052632, 0.0).circle(0.1736842105263158)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75)
solid=solid0
| 900
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00028218
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0234375, -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.03125, 0.0).lineTo(0.03125, 0.019736842105263157).lineTo(0.0, 0.019736842105263157).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 886
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00022735
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.3515625, 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.7105263157894737, 0.0).lineTo(0.7105263157894737, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.3473684210526316, 0.4421052631578948).circle(0.06315789473684211)
loop2=wp_sketch0.moveTo(0.3473684210526316, 1.0578947368421052).circle(0.06315789473684211)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.03125)
solid=solid0
| 1,103
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00029674
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0234375)
solid=solid0
| 842
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00027671
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2109375, 0.0, 0.0078125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.10115131578947369, 0.0).circle(0.10115131578947369)
loop1=wp_sketch0.moveTo(0.9609375, -0.26299342105263157).lineTo(0.9609375, 0.0).threePointArc((0.7749730685662353, 0.0770289896188668), (0.6979440789473684, 0.26299342105263157)).lineTo(0.10115131578947369, 0.26299342105263157).threePointArc((0.36414473684210524, 0.0), (0.10115131578947369, -0.26299342105263157)).close()
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.390625)
solid=solid0
| 1,191
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00021214
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.24868421052631579, 0.0).lineTo(0.24868421052631579, 0.375).lineTo(0.0, 0.375).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.5)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.75), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.24868421052631579, 0.0).lineTo(0.24868421052631579, 0.375).lineTo(0.0, 0.375).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.3359375)
solid=solid.union(solid1)
| 1,243
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00022682
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.2368421052631579, 0.0).lineTo(0.2368421052631579, 0.6868421052631579).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.109375)
solid=solid0
| 937
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00025847
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.1640625, 0.0546875), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.11447368421052631, 0.0).circle(0.11447368421052631)
solid0=wp_sketch0.add(loop0).extrude(0.0546875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.75, 0.0703125), 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.0546875)
solid=solid.union(solid1)
| 1,155
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00020917
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5546875, 0.0, -0.1328125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.09254128938486186, -0.015480658116793061), (0.17023026315789475, -0.0680921052631579)).threePointArc((0.44259868421052634, -0.1848469443523636), (0.7149671052631579, -0.0680921052631579)).threePointArc((0.7926560790361908, -0.015480658116793061), (0.8851973684210527, 0.0)).threePointArc((1.0794745766973581, 0.18725328947368422), (0.8851973684210527, 0.37450657894736844)).threePointArc((0.7926560790361908, 0.38998723706416166), (0.7149671052631579, 0.44259868421052634)).threePointArc((0.44259868421052634, 0.5593535232997321), (0.17023026315789475, 0.44259868421052634)).threePointArc((0.09254128938486186, 0.38998723706416166), (0.0, 0.37450657894736844)).threePointArc((-0.1942772082763054, 0.18725328947368422), (0.0, 0.0)).close()
loop1=wp_sketch0.moveTo(-0.011348684210526316, 0.18157894736842106).circle(0.07944078947368421)
loop2=wp_sketch0.moveTo(0.44259868421052634, 0.18157894736842106).circle(0.2610197368421053)
loop3=wp_sketch0.moveTo(0.8965460526315789, 0.18157894736842106).circle(0.07944078947368421)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).extrude(0.0390625)
solid=solid0
| 1,759
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00029714
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.46875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 0.9315789473684211).lineTo(0.0, 0.9315789473684211).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.375)
solid=solid0
| 941
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00020056
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.234375, -0.1640625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.9843749999999999, 0.0).lineTo(0.9843749999999999, 0.3108552631578947).lineTo(0.0, 0.3108552631578947).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0234375)
solid=solid0
| 909
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00022641
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.421875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.0234375, 0.0).lineTo(1.0234375, 0.8187500000000001).lineTo(0.0, 0.8187500000000001).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.18314144736842106, 0.4201480263157895).circle(0.02154605263157895)
loop2=wp_sketch0.moveTo(0.3986019736842105, 0.430921052631579).circle(0.02154605263157895)
loop3=wp_sketch0.moveTo(0.7541118421052632, 0.4201480263157895).circle(0.02154605263157895)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).extrude(0.15625)
solid=solid0
| 1,121
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00024542
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.015625, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.015789473684210527, 0.0).circle(0.015789473684210527)
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 912
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00027711
|
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.38684210526315793).lineTo(0.0, 0.38684210526315793).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.0, 0.28125, 0.1640625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.75, 0.0).lineTo(0.75, 0.10263157894736842).lineTo(0.0, 0.10263157894736842).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.2109375)
solid=solid.union(solid1)
| 1,106
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00020718
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 837
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00021189
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2265625, -0.390625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.953125, 0.0).lineTo(0.953125, 0.030098684210526316).lineTo(0.030098684210526316, 0.030098684210526316).lineTo(0.030098684210526316, 0.32105263157894737).lineTo(0.0, 0.32105263157894737).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.171875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.2265625, -0.0703125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.0234375, 0.0).lineTo(0.0234375, 0.0234375).lineTo(0.0, 0.0234375).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.171875)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.203125, -0.0703125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.9230263157894737, 0.0).lineTo(0.9230263157894737, -0.30098684210526316).lineTo(0.953125, -0.30098684210526316).lineTo(0.953125, 0.030098684210526316).lineTo(0.0, 0.030098684210526316).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.171875)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.7265625, -0.390625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch3.moveTo(0.0234375, 0.0).lineTo(0.0234375, 0.0234375).lineTo(0.0, 0.0234375).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop3).extrude(0.171875)
solid=solid.union(solid3)
| 1,761
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00022480
|
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.1484375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.1484375, -0.1484375, 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.15000000000000002, 0.0).circle(0.15000000000000002)
solid1=wp_sketch1.add(loop1).extrude(0.375)
solid=solid.union(solid1)
| 1,179
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00023985
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.6484375), 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.19917763157894738, -0.2560855263157895).lineTo(0.5975328947368421, -0.7113486842105263).lineTo(1.3515625, -0.6971217105263159).lineTo(1.3088815789473685, 0.0).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.40625)
solid=solid0
| 1,024
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00022325
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.34375, -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.3473684210526316, 0.0).lineTo(0.3473684210526316, 0.75).lineTo(0.3236842105263158, 0.75).lineTo(0.3236842105263158, 0.02368421052631579).lineTo(0.0, 0.02368421052631579).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.484375)
solid=solid0
| 960
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00027249
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.046875, 0.703125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.022203947368421052, -1.206090692325046), (0.044407894736842105, 0.0)).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.044407894736842105, -0.6957236842105263).circle(0.47368421052631576)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.046875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.046875, 0.703125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch1.moveTo(0.0, 0.0).threePointArc((0.022683742710540786, 0.0011579867013107197), (0.045394736842105265, 0.0014802631578947369)).lineTo(0.045394736842105265, 0.046875).lineTo(0.0, 0.046875).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop2).extrude(0.046875)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.703125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch2.moveTo(0.046875, 0.0).lineTo(0.046875, 0.046875).lineTo(0.0, 0.046875).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop3).extrude(0.046875)
solid=solid.union(solid2)
| 1,510
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00020240
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1875, 0.0, 0.1640625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.11842105263157894, 0.0).circle(0.11842105263157894)
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 914
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00026619
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -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.0, 0.1640625).threePointArc((-0.08203125, 0.08203125), (0.0, 0.0)).close()
solid0=wp_sketch0.add(loop0).extrude(0.0390625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.484375, 0.078125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.1640625, 0.0).lineTo(0.1640625, 0.12261513157894736).lineTo(0.0, 0.12261513157894736).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.0390625)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.078125, 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.08203125, 0.08203125), (0.0, 0.1640625)).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.0390625)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.078125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch3.moveTo(0.640625, 0.0).lineTo(0.640625, 0.1618421052631579).lineTo(0.4787828947368421, 0.1618421052631579).lineTo(0.0, 0.1618421052631579).threePointArc((0.08092105263157895, 0.08092105263157895), (0.0, 0.0)).close()
solid3=wp_sketch3.add(loop3).extrude(0.0390625)
solid=solid.union(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.640625, 0.171875, 0.0390625), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop4=wp_sketch4.moveTo(0.029605263157894735, 0.0).lineTo(0.029605263157894735, 0.078125).lineTo(0.0, 0.078125).lineTo(0.0, 0.0).close()
solid4=wp_sketch4.add(loop4).extrude(0.109375)
solid_temp=solid4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.640625, 0.171875, 0.0390625), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop4=wp_sketch4.moveTo(0.029605263157894735, 0.0).lineTo(0.029605263157894735, 0.078125).lineTo(0.0, 0.078125).lineTo(0.0, 0.0).close()
solid4=wp_sketch4.add(loop4).extrude(-0.1640625)
solid_temp=solid_temp.union(solid4)
solid=solid.union(solid_temp)
# Generating a workplane for sketch 5
wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(0.640625, 0.171875, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop5=wp_sketch5.moveTo(0.029194078947368418, 0.0).lineTo(0.029194078947368418, 0.0390625).lineTo(0.0, 0.0390625).lineTo(0.0, 0.0).close()
solid5=wp_sketch5.add(loop5).extrude(0.109375)
solid_temp=solid5
wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(0.640625, 0.171875, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop5=wp_sketch5.moveTo(0.029194078947368418, 0.0).lineTo(0.029194078947368418, 0.0390625).lineTo(0.0, 0.0390625).lineTo(0.0, 0.0).close()
solid5=wp_sketch5.add(loop5).extrude(-0.1640625)
solid_temp=solid_temp.union(solid5)
solid=solid.union(solid_temp)
| 2,844
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00023013
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = 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)))
loop0=wp_sketch0.moveTo(0.1640625, 0.0).lineTo(0.1640625, 0.0034539473684210525).lineTo(0.0, 0.0034539473684210525).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 886
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00023775
|
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.6789473684210526)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.1796875)
solid=solid0
| 900
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00023012
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = 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)))
loop0=wp_sketch0.moveTo(0.1640625, 0.0).lineTo(0.1640625, 0.0034539473684210525).lineTo(0.0, 0.0034539473684210525).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 886
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00023774
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0390625, -0.0625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.7890625, 0.0).lineTo(0.7890625, 0.13289473684210526).lineTo(0.0, 0.13289473684210526).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.0390625, 0.0390625, 0.0234375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.7890625, 0.0).lineTo(0.7890625, 0.024917763157894735).lineTo(0.0, 0.024917763157894735).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.4375)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.0390625, -0.0625, 0.0234375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.7890625, 0.0).lineTo(0.7890625, 0.024917763157894735).lineTo(0.0, 0.024917763157894735).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.4375)
solid=solid.union(solid2)
| 1,390
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00026618
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6015625, 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.6078947368421053, 0.0).circle(0.6078947368421053)
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 837
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00027506
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.5546875), 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.12680952701462656, -0.19320647727015924), (0.35328947368421054, -0.14720394736842107)).threePointArc((0.7507401315789474, 0.017425505505688128), (1.1481907894736842, -0.14720394736842107)).threePointArc((1.2683507978292738, -0.20411279081959582), (1.3984375, -0.17664473684210527)).threePointArc((0.8461055249625662, 0.1888277523321088), (0.22080592105263158, -0.029440789473684212)).threePointArc((0.1689210114882057, -0.02235323809437183), (0.17664473684210527, 0.029440789473684212)).lineTo(0.14720394736842107, 0.04416118421052632).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.2265625, both=True)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.53125, 0.0, 0.53125), 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.06393147775816317, -0.0731690086821209), (0.11743421052631578, -0.15427631578947368)).threePointArc((0.19294384037774112, -0.07849261171106042), (0.21874999999999997, 0.02532894736842105)).lineTo(0.08059210526315788, 0.06907894736842105).lineTo(0.0506578947368421, 0.05296052631578947).threePointArc((0.05213618262498627, 0.0008385598690062734), (0.0, 0.0)).close()
solid1=wp_sketch1.add(loop1).extrude(0.2265625, both=True)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.7734375, -0.2578125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(1.578125, 0.0).lineTo(1.578125, 0.1495065789473684).lineTo(0.9634868421052631, 0.1495065789473684).threePointArc((0.7724506578947368, 0.039732143202037114), (0.5814144736842105, 0.1495065789473684)).lineTo(0.0, 0.1495065789473684).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.9296875)
solid=solid.cut(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.125, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch3.moveTo(0.12236842105263158, 0.0).circle(0.12236842105263158)
solid3=wp_sketch3.add(loop3).extrude(0.9296875)
solid=solid.cut(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.7734375, 0.109375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop4=wp_sketch4.moveTo(0.5814144736842105, 0.0).threePointArc((0.7724506578947368, 0.1097744357453313), (0.9634868421052631, 0.0)).lineTo(1.578125, 0.0).lineTo(1.578125, 0.1495065789473684).lineTo(0.0, 0.1495065789473684).lineTo(0.0, 0.0).close()
solid4=wp_sketch4.add(loop4).extrude(0.9296875)
solid=solid.cut(solid4)
| 2,825
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00028635
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1875, 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.37894736842105264, 0.0).lineTo(0.37894736842105264, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0078125)
solid=solid0
| 946
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00027248
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.40625, -0.0078125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.09473684210526316, 0.0).circle(0.09276315789473684)
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 843
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00024999
|
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.4263157894736842, 0.0).lineTo(0.24473684210526317, 0.28421052631578947).lineTo(0.6157894736842106, 0.28421052631578947).lineTo(0.6157894736842106, 0.0).lineTo(0.75, 0.0).lineTo(0.75, 0.4105263157894737).lineTo(0.0, 0.4105263157894737).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.6796875)
solid=solid0
| 1,083
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00026630
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.625, 0.0, -0.34375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.6496710526315789, 0.0).threePointArc((0.7771381578947368, 0.12746710526315788), (0.6496710526315789, 0.25493421052631576)).lineTo(0.0, 0.25493421052631576).threePointArc((0.12746710526315788, 0.12746710526315788), (0.0, 0.0)).close()
solid0=wp_sketch0.add(loop0).extrude(0.2578125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.6953125, -0.2578125, -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.07894736842105263, 0.0).circle(0.07894736842105263)
solid1=wp_sketch1.add(loop1).extrude(-0.2578125)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.046875, -0.2578125, -0.21875), 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.07894736842105263, 0.0).circle(0.07730263157894736)
solid2=wp_sketch2.add(loop2).extrude(-0.2578125)
solid=solid.cut(solid2)
| 1,620
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00026142
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.5859375), 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.05087092747812586, -0.12281328304818993), (0.1736842105263158, -0.1736842105263158)).lineTo(1.3263157894736843, -0.1736842105263158).threePointArc((1.4491290725218742, -0.12281328304818993), (1.5, 0.0)).lineTo(1.5, 1.168421052631579).threePointArc((1.4458589654505076, 1.2833395988376637), (1.3263157894736843, 1.3263157894736843)).lineTo(0.1736842105263158, 1.3263157894736843).threePointArc((0.05414103454949249, 1.2833395988376637), (0.0, 1.168421052631579)).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(1.2157894736842105, 0.1105263157894737).lineTo(1.2157894736842105, 1.0578947368421052).lineTo(0.28421052631578947, 1.0578947368421052).lineTo(0.28421052631578947, 0.1105263157894737).close()
solid0=wp_sketch0.add(loop0).add(loop1).extrude(-0.296875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.46875, 0.0, -0.46875), 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.9375, 0.0).lineTo(0.9375, 0.9375).lineTo(0.0, 0.9375).lineTo(0.0, 0.0).close()
loop3=wp_sketch1.moveTo(0.07894736842105263, 0.07894736842105263).circle(0.039473684210526314)
loop4=wp_sketch1.moveTo(0.07894736842105263, 0.8585526315789473).circle(0.039473684210526314)
loop5=wp_sketch1.moveTo(0.47368421052631576, 0.47368421052631576).circle(0.3256578947368421)
loop6=wp_sketch1.moveTo(0.8585526315789473, 0.07894736842105263).circle(0.039473684210526314)
loop7=wp_sketch1.moveTo(0.8585526315789473, 0.8585526315789473).circle(0.039473684210526314)
solid1=wp_sketch1.add(loop2).add(loop3).add(loop4).add(loop5).add(loop6).add(loop7).extrude(-0.296875)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.46875, 0.0, -0.46875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop8=wp_sketch2.moveTo(0.9375, 0.0).lineTo(0.9375, 0.9375).lineTo(0.0, 0.9375).lineTo(0.0, 0.0).close()
loop9=wp_sketch2.moveTo(0.07894736842105263, 0.07894736842105263).circle(0.039473684210526314)
loop10=wp_sketch2.moveTo(0.07894736842105263, 0.8585526315789473).circle(0.039473684210526314)
loop11=wp_sketch2.moveTo(0.47368421052631576, 0.47368421052631576).circle(0.3256578947368421)
loop12=wp_sketch2.moveTo(0.8585526315789473, 0.07894736842105263).circle(0.039473684210526314)
loop13=wp_sketch2.moveTo(0.8585526315789473, 0.8585526315789473).circle(0.039473684210526314)
solid2=wp_sketch2.add(loop8).add(loop9).add(loop10).add(loop11).add(loop12).add(loop13).extrude(-0.046875)
solid=solid.cut(solid2)
| 2,861
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00026817
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.46875, 0.125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.15000000000000002, 0.0).circle(0.146875)
solid0=wp_sketch0.add(loop0).extrude(0.453125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.0703125, 0.140625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.15000000000000002, 0.0).circle(0.15000000000000002)
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.3828125, 0.015625, 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.029687500000000002, 0.3014222458821375), (0.059375000000000004, 0.0)).lineTo(0.059375000000000004, 0.053125000000000006).lineTo(0.0, 0.053125000000000006).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.6015625)
solid=solid.union(solid2)
| 1,353
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00024543
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6015625, 0.0, -0.3046875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.8984375, 0.0).lineTo(0.8984375, 0.6241776315789473).lineTo(0.0, 0.6241776315789473).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.3026315789473684, 0.3120888157894737).circle(0.018914473684210526)
loop2=wp_sketch0.moveTo(0.5958059210526315, 0.3120888157894737).circle(0.018914473684210526)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.75)
solid=solid0
| 1,119
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00022640
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.421875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.0234375, 0.0).lineTo(1.0234375, 0.8187500000000001).lineTo(0.0, 0.8187500000000001).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.18314144736842106, 0.4201480263157895).circle(0.02154605263157895)
loop2=wp_sketch0.moveTo(0.5386513157894737, 0.430921052631579).circle(0.02154605263157895)
loop3=wp_sketch0.moveTo(0.7541118421052632, 0.4201480263157895).circle(0.02154605263157895)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).extrude(0.15625)
solid=solid0
| 1,121
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00027738
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.359375, 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.75, 0.0).lineTo(0.75, 0.02368421052631579).lineTo(0.0, 0.02368421052631579).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 950
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00029926
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.125, 0.0, 0.0625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.59375, 0.0).lineTo(0.59375, 0.39375000000000004).threePointArc((0.296875, 0.096875), (0.0, 0.39375000000000004)).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.30000000000000004, 0.39375000000000004).circle(0.15000000000000002)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.1484375)
solid=solid0
| 1,058
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00022697
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.234375, 0.0, -0.1171875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.390625, 0.0).lineTo(0.390625, 0.10279605263157894).lineTo(0.0, 0.10279605263157894).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.16858552631578946, 0.049342105263157895).circle(0.004111842105263158)
loop2=wp_sketch0.moveTo(0.234375, 0.049342105263157895).circle(0.004111842105263158)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.03125)
solid=solid0
| 1,116
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00024379
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.7578947368421053)
loop1=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.6)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.109375)
solid=solid0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.7578947368421053)
loop1=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.6)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(-0.109375)
solid=solid.union(solid0)
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.609375, 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.6118421052631579, 0.0).circle(0.6118421052631579)
loop3=wp_sketch1.moveTo(0.6118421052631579, 0.0).circle(0.3569078947368421)
solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.0390625)
solid_temp=solid1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.609375, 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.6118421052631579, 0.0).circle(0.6118421052631579)
loop3=wp_sketch1.moveTo(0.6118421052631579, 0.0).circle(0.3569078947368421)
solid1=wp_sketch1.add(loop2).add(loop3).extrude(-0.0390625)
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.359375, 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.3592105263157895, 0.0).circle(0.3592105263157895)
loop5=wp_sketch2.moveTo(0.3592105263157895, 0.0).circle(0.17960526315789474)
solid2=wp_sketch2.add(loop4).add(loop5).extrude(0.109375)
solid_temp=solid2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.359375, 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.3592105263157895, 0.0).circle(0.3592105263157895)
loop5=wp_sketch2.moveTo(0.3592105263157895, 0.0).circle(0.17960526315789474)
solid2=wp_sketch2.add(loop4).add(loop5).extrude(-0.109375)
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.1796875, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop6=wp_sketch3.moveTo(0.18157894736842106, 0.0).circle(0.18157894736842106)
solid3=wp_sketch3.add(loop6).extrude(0.5, both=True)
solid=solid.union(solid3)
| 2,837
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00025932
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.5703125, 0.0, -0.0234375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.04350328947368421, -0.04350328947368421).lineTo(0.16077302631578946, -0.04350328947368421).lineTo(0.1796875, -0.024588815789473684).lineTo(0.1796875, 0.05296052631578947).lineTo(0.15699013157894737, 0.07376644736842106).lineTo(0.0, 0.07376644736842106).lineTo(0.0, 0.022697368421052633).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.071875, 0.017023026315789475).lineTo(0.071875, 0.041611842105263155).lineTo(0.045394736842105265, 0.041611842105263155).lineTo(0.045394736842105265, 0.017023026315789475).close()
loop2=wp_sketch0.moveTo(0.1361842105263158, 0.0).circle(0.026480263157894736)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.0234375)
solid=solid0
| 1,386
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00022091
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.3046875, 0.0, -0.46875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.3704769736842105, 0.0).lineTo(0.3704769736842105, 0.6640625).lineTo(0.0, 0.6640625).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.015625)
solid=solid0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.3046875, 0.0, -0.46875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.3704769736842105, 0.0).lineTo(0.3704769736842105, 0.6640625).lineTo(0.0, 0.6640625).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(-0.0390625)
solid=solid.union(solid0)
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0703125, -0.53125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.3182565789473684, 0.0).lineTo(0.3182565789473684, 0.671875).lineTo(0.0, 0.671875).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.0234375)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0390625, 0.0, -0.1484375), 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.34342105263157896, 0.0).lineTo(0.34342105263157896, 0.6796875).lineTo(0.0, 0.6796875).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.0234375)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.3046875, -0.1875), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop3=wp_sketch3.moveTo(0.34654605263157895, 0.0).lineTo(0.34654605263157895, 0.671875).lineTo(0.0, 0.671875).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop3).extrude(0.0234375)
solid=solid.union(solid3)
| 2,171
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00022278
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.3984375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.13980263157894737, 0.0).lineTo(0.13980263157894737, 0.13980263157894737).lineTo(0.13980263157894737, 0.6640625).lineTo(0.0, 0.6640625).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.75, 0.0, 0.2734375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.14210526315789473, 0.0).lineTo(0.14210526315789473, -0.5210526315789474).lineTo(0.8368421052631579, -0.5210526315789474).lineTo(0.8368421052631579, -0.6631578947368422).lineTo(1.5, -0.6631578947368422).lineTo(1.5, -0.1736842105263158).lineTo(0.4105263157894737, 0.12631578947368421).lineTo(0.0, 0.12631578947368421).lineTo(0.0, 0.0).close()
loop2=wp_sketch1.moveTo(1.2473684210526317, -0.4105263157894737).circle(0.1105263157894737)
solid1=wp_sketch1.add(loop1).add(loop2).extrude(0.140625)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.609375, 0.0, -0.3984375), 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.6875, 0.0).lineTo(0.6875, 0.14473684210526316).lineTo(0.0, 0.14473684210526316).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop3).extrude(0.140625)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.3984375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop4=wp_sketch3.moveTo(0.13980263157894737, 0.0).lineTo(0.13980263157894737, 0.6640625).lineTo(0.0, 0.6640625).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop4).extrude(0.4375)
solid=solid.union(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.609375, 0.0, -0.3984375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop5=wp_sketch4.moveTo(0.6875, 0.0).lineTo(0.6875, 0.14473684210526316).lineTo(0.0, 0.14473684210526316).lineTo(0.0, 0.0).close()
solid4=wp_sketch4.add(loop5).extrude(0.4375)
solid=solid.union(solid4)
| 2,522
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00022244
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.7421875, 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(1.4921875, 0.0).lineTo(1.4921875, 0.5026315789473684).lineTo(0.4398026315789474, 0.7853618421052632).lineTo(0.0, 0.7853618421052632).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(1.2408717105263158, 0.2513157894736842).circle(0.10995065789473685)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.140625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.7421875, -0.4375, -0.3515625), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop2=wp_sketch1.moveTo(0.44037828947368424, 0.0).lineTo(0.44037828947368424, 0.2865953947368421).lineTo(0.2236842105263158, 0.6640625).lineTo(0.0, 0.6640625).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop2).extrude(-0.140625)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.7421875, -0.578125, -0.3515625), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop3=wp_sketch2.moveTo(0.13980263157894737, 0.0).lineTo(0.13980263157894737, 0.6640625).lineTo(0.0, 0.6640625).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop3).extrude(-0.140625)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.7421875, 0.0, -0.3515625), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042)))
loop4=wp_sketch3.moveTo(0.8281249999999999, 0.0).lineTo(0.8281249999999999, 0.1394736842105263).lineTo(0.1394736842105263, 0.1394736842105263).lineTo(0.1394736842105263, 0.575328947368421).lineTo(0.0, 0.575328947368421).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop4).extrude(-0.140625)
solid=solid.union(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.6015625, -0.140625, -0.3515625), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042)))
loop5=wp_sketch4.moveTo(0.6875, 0.0).lineTo(0.0, 0.44144736842105264).lineTo(0.0, 0.0).close()
solid4=wp_sketch4.add(loop5).extrude(-0.140625)
solid=solid.union(solid4)
| 2,450
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00022522
|
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.11447368421052631, 0.0).circle(0.11208881578947369)
loop1=wp_sketch0.moveTo(0.05008223684210526, 0.0023848684210526316).circle(0.01669407894736842)
loop2=wp_sketch0.moveTo(0.11447368421052631, 0.0).circle(0.0453125)
loop3=wp_sketch0.moveTo(0.11208881578947369, -0.06200657894736842).circle(0.01669407894736842)
loop4=wp_sketch0.moveTo(0.11447368421052631, 0.06200657894736842).circle(0.01669407894736842)
loop5=wp_sketch0.moveTo(0.17648026315789475, -0.0023848684210526316).circle(0.01669407894736842)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).add(loop5).extrude(0.0703125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.6796875, 0.0, 0.28125), 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.04736842105263158, 0.0).circle(0.04736842105263158)
loop7=wp_sketch1.moveTo(0.04736842105263158, 0.0).circle(0.017763157894736842)
solid1=wp_sketch1.add(loop6).add(loop7).extrude(0.0703125)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.6796875, 0.0, 0.28125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop8=wp_sketch2.moveTo(0.04736842105263158, 0.0).circle(0.04736842105263158)
loop9=wp_sketch2.moveTo(0.04736842105263158, 0.0).circle(0.017763157894736842)
solid2=wp_sketch2.add(loop8).add(loop9).extrude(-0.0234375)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.6796875, 0.0, 0.28125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop10=wp_sketch3.moveTo(0.04736842105263158, 0.0).circle(0.04736842105263158)
loop11=wp_sketch3.moveTo(0.04736842105263158, 0.0).circle(0.017763157894736842)
solid3=wp_sketch3.add(loop10).add(loop11).extrude(0.09375)
solid=solid.union(solid3)
| 2,314
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00026744
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.125, 0.0, 0.1484375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.34375, -0.14835526315789474).lineTo(0.34375, -0.06513157894736842).lineTo(0.0, 0.08322368421052631).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 969
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00026988
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5234375, 0.0, 0.0234375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(1.2734375, 0.0).lineTo(1.2734375, 0.2546875).lineTo(0.0, 0.2546875).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(1.0991776315789474, 0.13404605263157895).circle(0.02680921052631579)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0546875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.6015625, 0.0, 0.0859375), 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.026644736842105263, 0.0).circle(0.026644736842105263)
loop3=wp_sketch1.moveTo(0.026644736842105263, 0.1287828947368421).circle(0.026644736842105263)
loop4=wp_sketch1.moveTo(0.0, 0.0).threePointArc((0.13766447368421053, 0.05550986842105263), (0.08215460526315789, 0.19317434210526316)).lineTo(0.08215460526315789, -0.06439144736842105).close()
solid1=wp_sketch1.add(loop2).add(loop3).add(loop4).extrude(0.0546875)
solid=solid.union(solid1)
| 1,545
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00026036
|
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.0859375, 0.0).lineTo(0.0859375, 0.012664473684210526).lineTo(0.0, 0.012664473684210526).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 951
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00026963
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0859375, -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.1875, 0.0).lineTo(0.1875, 0.05526315789473685).lineTo(0.0, 0.05526315789473685).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 882
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00024806
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5546875, -0.4296875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.78125, 0.0).lineTo(0.78125, 0.78125).lineTo(0.0, 0.78125).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.375)
solid=solid0
| 862
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00021956
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.5390625, 0.0, 0.46875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.10657894736842105, 0.0).circle(0.10657894736842105)
loop1=wp_sketch0.moveTo(0.10657894736842105, 0.0).circle(0.026644736842105263)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.1171875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.5390625, 0.0, 0.46875), 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.10657894736842105, 0.0).circle(0.10657894736842105)
loop3=wp_sketch1.moveTo(0.10657894736842105, 0.0).circle(0.026644736842105263)
solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.1171875)
solid=solid.union(solid1)
| 1,324
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00027499
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.328125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 0.6631578947368422).lineTo(0.0, 0.6631578947368422).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0390625)
solid=solid0
| 946
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00026793
|
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.7894736842105263).lineTo(0.0, 0.7894736842105263).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0390625)
solid=solid0
| 871
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00022293
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.421875, 0.0, -0.7421875), 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.84375, 0.0).lineTo(0.84375, 1.484375).lineTo(0.0, 1.484375).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.125)
solid=solid0
| 935
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00026797
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.1484375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.16578947368421051, 0.0).circle(0.16578947368421051)
solid0=wp_sketch0.add(loop0).extrude(0.390625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.6171875, 0.0, 0.125), 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.031578947368421054, 0.0).circle(0.030921052631578946)
solid1=wp_sketch1.add(loop1).extrude(-0.3828125, both=True)
solid=solid.cut(solid1)
| 1,120
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00020494
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.4296875, 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.14802631578947367, -0.6439144736842105).lineTo(0.5550986842105263, -0.6439144736842105).lineTo(0.703125, 0.0).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.171875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.125, 0.0, -0.2890625), 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.46529605263157897, 0.0).lineTo(0.46529605263157897, 0.640625).lineTo(0.14835526315789474, 0.640625).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.3515625)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.2890625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop2=wp_sketch2.moveTo(0.46529605263157897, 0.0).lineTo(0.3236842105263158, 0.640625).lineTo(0.0, 0.640625).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.3515625)
solid=solid.union(solid2)
| 1,624
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00022283
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.3671875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(1.1015625, 0.0).lineTo(1.1015625, 0.37105263157894736).lineTo(0.3014802631578947, 0.5797697368421052).lineTo(0.0, 0.5797697368421052).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.9160361842105262, 0.18552631578947368).circle(0.08116776315789473)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.1015625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.3203125, -0.359375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop2=wp_sketch1.moveTo(0.32639802631578946, 0.0).lineTo(0.32639802631578946, 0.21241776315789473).lineTo(0.16578947368421051, 0.49218749999999994).lineTo(0.0, 0.49218749999999994).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop2).extrude(-0.1015625)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.6484375, -0.1015625, -0.3671875), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042)))
loop3=wp_sketch2.moveTo(0.5078125, 0.0).lineTo(0.0, 0.3207236842105263).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop3).extrude(-0.1015625)
solid=solid.union(solid2)
| 1,744
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00020325
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0234375)
solid=solid0
| 842
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00026998
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0078125, 0.0, -0.1171875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.07500000000000001, 0.0).circle(0.07500000000000001)
loop1=wp_sketch0.moveTo(0.07500000000000001, 0.0).circle(0.0234375)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.03125, both=True)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0078125, 0.0, -0.6796875), 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.07401315789473685, 0.07401315789473685), (0.1480263157894737, 0.0)).lineTo(0.1480263157894737, 0.5625).threePointArc((0.07401315789473685, 0.48848684210526316), (0.0, 0.5625)).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop2).extrude(0.03125, both=True)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0078125, 0.0, -0.6796875), 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.07500000000000001, 0.0).circle(0.07500000000000001)
loop4=wp_sketch2.moveTo(0.07500000000000001, 0.0).circle(0.0234375)
solid2=wp_sketch2.add(loop3).add(loop4).extrude(0.03125, both=True)
solid=solid.union(solid2)
| 1,722
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00020457
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.7109375, 0.0, -0.7109375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(1.4609375, 0.0).lineTo(1.4609375, 1.16875).lineTo(0.0, 1.16875).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.390625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.015625, -0.390625, -0.46875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.0, 0.0).threePointArc((0.3350870490479725, 0.34765625), (0.0, 0.6953125)).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(-0.1953125, both=True)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.015625, -0.390625, -0.515625), 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.7109375).threePointArc((-0.3688024737700175, 0.35546875), (0.0, 0.0)).close()
solid2=wp_sketch2.add(loop2).extrude(-0.390625)
solid=solid.cut(solid2)
| 1,542
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00022095
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.7109375, 0.0, -0.3828125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(1.4609375, 0.0).lineTo(1.4609375, 0.4921052631578947).lineTo(0.0, 0.4921052631578947).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.59375, -0.03125, -0.078125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.06710526315789474, 0.0).circle(0.06710526315789474)
solid1=wp_sketch1.add(loop1).extrude(-0.125)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.3515625, -0.03125, -0.078125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop2=wp_sketch2.moveTo(0.06710526315789474, 0.0).circle(0.06710526315789474)
solid2=wp_sketch2.add(loop2).extrude(-0.125)
solid=solid.cut(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.109375, -0.03125, -0.078125), 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.06710526315789474)
solid3=wp_sketch3.add(loop3).extrude(-0.125)
solid=solid.cut(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.1328125, -0.03125, -0.078125), 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.06710526315789474, 0.0).circle(0.06570723684210526)
solid4=wp_sketch4.add(loop4).extrude(-0.125)
solid=solid.cut(solid4)
# Generating a workplane for sketch 5
wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(0.3828125, -0.03125, -0.3046875), 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.2439967105263158, 0.0).lineTo(0.2439967105263158, 0.3359375).lineTo(0.0, 0.3359375).lineTo(0.0, 0.0).close()
solid5=wp_sketch5.add(loop5).extrude(-0.125)
solid=solid.cut(solid5)
| 2,367
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00025922
|
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.07894736842105263).lineTo(0.0, 0.07894736842105263).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.078125)
solid=solid0
| 943
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00025936
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.7578947368421053)
loop1=wp_sketch0.moveTo(0.7578947368421053, -0.48947368421052634).lineTo(0.868421052631579, -0.48947368421052634).lineTo(0.868421052631579, -0.12631578947368421).lineTo(0.7578947368421053, -0.12631578947368421).lineTo(0.631578947368421, -0.12631578947368421).lineTo(0.631578947368421, -0.48947368421052634).close()
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.1875)
solid=solid0
| 1,177
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00028221
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6796875, -0.3359375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.3828125, 0.0).lineTo(1.3828125, 0.43667763157894735).lineTo(0.0, 0.43667763157894735).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 889
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00027648
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6484375, -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.6552631578947369, -0.3685855263157895).lineTo(1.296875, 0.0).lineTo(1.296875, 0.7508223684210527).lineTo(0.6552631578947369, 1.1194078947368422).lineTo(0.0, 0.7508223684210527).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.6552631578947369, 0.3685855263157895).circle(0.3822368421052632)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(-0.609375)
solid=solid0
| 1,047
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00028209
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.40625, -0.4296875, 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.17368421052631577)
solid0=wp_sketch0.add(loop0).extrude(0.0625)
solid=solid0
| 845
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00022042
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.109375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.07500000000000001, 0.0).circle(0.07500000000000001)
loop1=wp_sketch0.moveTo(0.07500000000000001, 0.0).circle(0.0125)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0390625, both=True)
solid=solid0
| 972
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00029936
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.203125, 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.20526315789473687, 0.0).circle(0.20526315789473687)
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 892
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00022877
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.03125, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.031578947368421054, 0.0).circle(0.031578947368421054)
solid0=wp_sketch0.add(loop0).extrude(0.75, both=True)
solid=solid0
| 915
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00025842
|
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
|
|
0002/00026378
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2890625, 0.0, -0.109375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(1.0390625, 0.0).lineTo(1.0390625, 0.24062499999999998).lineTo(0.0, 0.24062499999999998).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.2890625, -0.0859375, 0.0078125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.015789473684210527, 0.0).circle(0.015789473684210527)
solid1=wp_sketch1.add(loop1).extrude(-0.2578125)
solid=solid.cut(solid1)
| 1,228
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00022644
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.7578947368421053)
loop1=wp_sketch0.moveTo(0.3315789473684211, 0.0).circle(0.1105263157894737)
loop2=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.3)
loop3=wp_sketch0.moveTo(0.7578947368421053, -0.4263157894736842).circle(0.1105263157894737)
loop4=wp_sketch0.moveTo(0.7578947368421053, 0.4263157894736842).circle(0.1105263157894737)
loop5=wp_sketch0.moveTo(1.168421052631579, 0.0).circle(0.1105263157894737)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).add(loop5).extrude(0.2265625, both=True)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.296875, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop6=wp_sketch1.moveTo(0.30394736842105263, 0.0).circle(0.30394736842105263)
loop7=wp_sketch1.moveTo(0.30394736842105263, 0.0).circle(0.11398026315789474)
solid1=wp_sketch1.add(loop6).add(loop7).extrude(0.375, both=True)
solid=solid.union(solid1)
| 1,574
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00020735
|
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.043421052631578944, 0.0).circle(0.043421052631578944)
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 912
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00029077
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.3203125, -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.0, 0.0).threePointArc((0.3203125, -0.178867608373447), (0.640625, 0.0)).lineTo(0.640625, 0.39786184210526315).threePointArc((0.3203125, 0.5767294504787102), (0.0, 0.39786184210526315)).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.3236842105263158, 0.1955592105263158).circle(0.25625)
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.3203125, 0.1953125, 0.0), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042)))
loop2=wp_sketch1.moveTo(0.0, 0.3984375).threePointArc((-0.056449513975117, 0.19921875), (0.0, 0.0)).close()
solid1=wp_sketch1.add(loop2).extrude(-0.1875)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.3203125, 0.1953125, 0.0), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042)))
loop3=wp_sketch2.moveTo(0.0, 0.0).threePointArc((0.05644951397511706, 0.19921875), (0.0, 0.3984375)).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop3).extrude(-0.1875)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.25, 0.0, 0.0), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042)))
loop4=wp_sketch3.moveTo(0.2565789473684211, 0.0).circle(0.2565789473684211)
solid3=wp_sketch3.add(loop4).extrude(-0.1875)
solid=solid.union(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.3203125, 0.1953125, 0.0), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042)))
loop5=wp_sketch4.moveTo(0.0, 0.0).threePointArc((0.3203125, -0.178867608373447), (0.640625, 0.0)).lineTo(0.640625, 0.39786184210526315).threePointArc((0.3203125, 0.5767294504787102), (0.0, 0.39786184210526315)).lineTo(0.0, 0.0).close()
loop6=wp_sketch4.moveTo(0.3236842105263158, 0.1955592105263158).circle(0.25625)
solid4=wp_sketch4.add(loop5).add(loop6).extrude(-0.1875)
solid=solid.union(solid4)
| 2,369
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00026807
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.3984375, 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.7493421052631579, 0.0).lineTo(0.7493421052631579, 1.046875).lineTo(0.4738486842105263, 1.046875).threePointArc((0.38018092105263157, 0.9532072368421052), (0.28651315789473686, 1.046875)).lineTo(0.0, 1.046875).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.09375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.3984375, 0.0, 0.296875), 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.375, -0.375), (0.75, 0.0)).lineTo(0.46578947368421053, 0.0).threePointArc((0.375, -0.09078947368421053), (0.28421052631578947, 0.0)).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.09375)
solid=solid.union(solid1)
| 1,425
|
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.