image
imagewidth (px) 448
448
| deepcad_id
stringlengths 13
13
| cadquery
stringlengths 283
8.1k
| token_count
int64 807
6.5k
| prompt
stringclasses 1
value | hundred_subset
bool 1
class |
|---|---|---|---|---|---|
0003/00030981
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0859375, 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.0868421052631579, 0.0).lineTo(0.0868421052631579, 0.75).lineTo(0.07105263157894737, 0.75).lineTo(0.07105263157894737, 0.015789473684210527).lineTo(0.0, 0.015789473684210527).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.1328125)
solid=solid0
| 966
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00038305
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.7578947368421053)
solid0=wp_sketch0.add(loop0).extrude(0.4140625)
solid=solid0
| 837
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00037036
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.046875, 0.0, -0.1015625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((-0.05934742644031698, -0.3194747527017318), (0.06143092105263158, -0.6211348684210527)).threePointArc((0.05448038271058511, -0.6482293659211507), (0.02730263157894737, -0.6416118421052632)).threePointArc((-0.11336931974784288, -0.25489752269179045), (0.013651315789473685, 0.13651315789473684)).threePointArc((0.02400779662733321, 0.16722861842105263), (0.013651315789473685, 0.19794407894736843)).threePointArc((0.03028706066726418, 0.2553267562265765), (0.08190789473684211, 0.2252467105263158)).lineTo(0.0955592105263158, 0.10921052631578948).threePointArc((0.09012732370388453, 0.07203270028146755), (0.06143092105263158, 0.0477796052631579)).threePointArc((0.025657950511598186, 0.030392315507644495), (0.0, 0.0)).close()
loop1=wp_sketch0.moveTo(0.040953947368421055, 0.10238486842105264).circle(0.02730263157894737)
loop2=wp_sketch0.moveTo(0.03412828947368421, 0.2115953947368421).circle(0.0068256578947368425)
loop3=wp_sketch0.moveTo(0.05460526315789474, 0.2252467105263158).circle(0.0068256578947368425)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).extrude(0.015625)
solid=solid0
| 1,756
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00032628
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6171875, 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(1.2421875, 0.0).lineTo(1.2421875, 1.1245065789473685).lineTo(0.7845394736842106, 1.1245065789473685).lineTo(0.7845394736842106, 0.3268914473684211).lineTo(0.4576480263157895, 0.3268914473684211).lineTo(0.4576480263157895, 1.1245065789473685).lineTo(0.0, 1.1245065789473685).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.328125, both=True)
solid=solid0
| 1,131
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00034259
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2734375, 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.2734375, 0.0).lineTo(0.2734375, 0.1957236842105263).lineTo(0.0, 0.1957236842105263).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 953
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00039755
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.3).lineTo(0.0, 0.3).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.1484375)
solid=solid0
| 913
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00039027
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.4453125, 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.44605263157894737, 0.0).circle(0.44605263157894737)
loop1=wp_sketch0.moveTo(0.44605263157894737, 0.0).circle(0.26949013157894736)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75)
solid=solid0
| 904
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00034503
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.109375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.1105263157894737).lineTo(0.0, 0.1105263157894737).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.078125)
solid=solid0
| 874
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00034265
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0390625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.039473684210526314, 0.0).circle(0.039473684210526314)
loop1=wp_sketch0.moveTo(0.039473684210526314, 0.0).circle(0.01644736842105263)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.015625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.6484375, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch1.moveTo(0.043421052631578944, 0.0).circle(0.04251644736842105)
loop3=wp_sketch1.moveTo(0.043421052631578944, 0.0).circle(0.0171875)
solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.015625)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.21875, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop4=wp_sketch2.moveTo(0.039473684210526314, 0.0).circle(0.039473684210526314)
loop5=wp_sketch2.moveTo(0.039473684210526314, 0.0).circle(0.018914473684210526)
solid2=wp_sketch2.add(loop4).add(loop5).extrude(0.109375)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.0390625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop6=wp_sketch3.moveTo(0.039473684210526314, 0.0).circle(0.039473684210526314)
loop7=wp_sketch3.moveTo(0.039473684210526314, 0.0).circle(0.01644736842105263)
solid3=wp_sketch3.add(loop6).add(loop7).extrude(-0.046875)
solid=solid.union(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.6484375, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop8=wp_sketch4.moveTo(0.043421052631578944, 0.0).circle(0.04251644736842105)
loop9=wp_sketch4.moveTo(0.043421052631578944, 0.0).circle(0.0171875)
solid4=wp_sketch4.add(loop8).add(loop9).extrude(-0.046875)
solid=solid.union(solid4)
# Generating a workplane for sketch 5
wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(-0.0390625, 0.015625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop10=wp_sketch5.moveTo(0.0, 0.0).threePointArc((0.07103357459404369, 0.0169728801441593), (0.041529605263157895, -0.04983552631578947)).lineTo(0.5398848684210527, -0.04983552631578947).threePointArc((0.5635705645771896, -0.06183764837369409), (0.5897203947368421, -0.06644736842105263)).lineTo(0.7309210526315789, -0.06644736842105263).threePointArc((0.7849095394736841, -0.012458881578947367), (0.7309210526315789, 0.041529605263157895)).lineTo(0.041529605263157895, 0.041529605263157895).threePointArc((0.01125382359777181, 0.03027578166538632), (0.0, 0.0)).close()
loop11=wp_sketch5.moveTo(0.2990131578947368, -0.008305921052631579).circle(0.041529605263157895)
solid5=wp_sketch5.add(loop10).add(loop11).extrude(-0.0234375)
solid=solid.union(solid5)
# Generating a workplane for sketch 6
wp_sketch6 = cq.Workplane(cq.Plane(cq.Vector(0.21875, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop12=wp_sketch6.moveTo(0.039473684210526314, 0.0).circle(0.039473684210526314)
loop13=wp_sketch6.moveTo(0.039473684210526314, 0.0).circle(0.018914473684210526)
solid6=wp_sketch6.add(loop12).add(loop13).extrude(-0.0234375)
solid=solid.union(solid6)
# Generating a workplane for sketch 7
wp_sketch7 = cq.Workplane(cq.Plane(cq.Vector(0.6328125, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop14=wp_sketch7.moveTo(0.05797697368421052, 0.0).circle(0.05797697368421052)
loop15=wp_sketch7.moveTo(0.05797697368421052, 0.0).circle(0.04564144736842105)
solid7=wp_sketch7.add(loop14).add(loop15).extrude(-0.0234375)
solid=solid.union(solid7)
| 3,173
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00030003
|
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.08980263157894737, 0.0).lineTo(0.08980263157894737, 0.3271381578947368).threePointArc((0.09676738010977777, 0.3375380745721753), (0.10904605263157895, 0.3399671052631579)).lineTo(0.4297697368421053, 0.3399671052631579).threePointArc((0.43884117252180116, 0.33620959357443275), (0.44259868421052634, 0.3271381578947368)).lineTo(0.44259868421052634, 0.0).lineTo(0.609375, 0.0).lineTo(0.609375, 0.4361842105263158).lineTo(0.0705592105263158, 0.609375).lineTo(0.0, 0.5580592105263158).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 1,219
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00034270
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.265625, -0.109375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.578125, 0.0).lineTo(0.578125, 0.2555921052631579).lineTo(0.0, 0.2555921052631579).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.109375)
solid=solid0
| 887
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00032601
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1171875, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.11447368421052631, 0.0).circle(0.11447368421052631)
loop1=wp_sketch0.moveTo(0.15263157894736842, -0.09539473684210527).lineTo(0.15263157894736842, 0.09539473684210527).lineTo(0.07393092105263158, 0.09539473684210527).lineTo(0.07393092105263158, -0.09539473684210527).close()
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.0390625, -0.09375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch1.moveTo(0.075, 0.0).lineTo(0.075, 0.1875).lineTo(0.0, 0.1875).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop2).extrude(0.75)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.0390625, -0.09375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch2.moveTo(0.075, 0.0).lineTo(0.075, 0.1875).lineTo(0.0, 0.1875).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop3).extrude(-0.1796875)
solid=solid.union(solid2)
| 1,447
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00037779
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.75, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.28421052631578947, 0.0).lineTo(0.28421052631578947, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.046875)
solid=solid0
| 872
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00036301
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = 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)))
loop0=wp_sketch0.moveTo(0.13026315789473686, 0.0).circle(0.13026315789473686)
loop1=wp_sketch0.moveTo(0.13026315789473686, 0.0).circle(0.09498355263157895)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.4140625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.125, -0.3125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch1.moveTo(0.13026315789473686, 0.0).circle(0.13026315789473686)
loop3=wp_sketch1.moveTo(0.13026315789473686, 0.0).circle(0.09498355263157895)
solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.2578125)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.125, -0.625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop4=wp_sketch2.moveTo(0.13026315789473686, 0.0).circle(0.13026315789473686)
loop5=wp_sketch2.moveTo(0.13026315789473686, 0.0).circle(0.09498355263157895)
solid2=wp_sketch2.add(loop4).add(loop5).extrude(0.0546875)
solid=solid.union(solid2)
| 1,424
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00037037
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.6484375, -0.1015625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.1015625, 0.1015625), (0.0, 0.203125)).lineTo(0.0, 0.1518092105263158).threePointArc((0.05024671052631579, 0.1015625), (0.0, 0.05131578947368422)).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.1328125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.6484375, -0.1015625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.0, 0.05131578947368422).threePointArc((-0.05024671052631579, 0.1015625), (0.0, 0.1518092105263158)).lineTo(0.0, 0.203125).threePointArc((-0.1015625, 0.1015625), (0.0, 0.0)).close()
solid1=wp_sketch1.add(loop1).extrude(0.1328125)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.6484375, -0.1015625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(1.296875, 0.0).lineTo(1.296875, 0.05460526315789474).threePointArc((1.2490953947368422, 0.10238486842105264), (1.296875, 0.15016447368421054)).lineTo(1.296875, 0.20476973684210528).lineTo(0.0, 0.20476973684210528).lineTo(0.0, 0.15016447368421054).threePointArc((0.0477796052631579, 0.10238486842105264), (0.0, 0.05460526315789474)).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.1328125)
solid=solid.union(solid2)
| 1,706
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00038304
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6328125, -0.640625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.96875, 0.0).lineTo(0.96875, 0.17335526315789473).lineTo(0.0, 0.17335526315789473).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.078125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.1796875, -0.640625, 0.046875), 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.027631578947368417, 0.0).circle(0.027631578947368417)
solid1=wp_sketch1.add(loop1).extrude(0.109375)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.6171875, -0.6171875, 0.078125), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.9375, 0.0).lineTo(0.9375, 0.1381578947368421).lineTo(0.0, 0.1381578947368421).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(-0.078125)
solid=solid.cut(solid2)
| 1,409
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00030980
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.125, 0.0, 0.015625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.125, -0.015789473684210527).lineTo(0.125, -0.013157894736842105).lineTo(0.0, 0.002631578947368421).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 967
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00039768
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.75, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.75, 0.375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.37894736842105264, 0.0).lineTo(0.37894736842105264, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.375)
solid=solid.union(solid1)
| 1,062
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00039797
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.06315789473684211).lineTo(0.6078947368421053, 0.06315789473684211).lineTo(0.46578947368421053, 0.06315789473684211).lineTo(0.28421052631578947, 0.06315789473684211).threePointArc((0.14210526315789473, 0.009341183421977244), (0.0, 0.06315789473684211)).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0625)
solid=solid0
| 1,099
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00030943
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.2578125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.06447368421052631, 0.0).lineTo(0.06447368421052631, 0.43749999999999994).lineTo(0.0, 0.43749999999999994).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 957
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00035191
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.2578125), 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.03891407091354933, -0.09657747790140647), (0.13026315789473686, -0.14654605263157897)).threePointArc((0.17393009531166298, -0.14185607540867334), (0.2116776315789474, -0.11940789473684212)).threePointArc((0.3299689403496293, -0.0038644112263231563), (0.47763157894736846, 0.0705592105263158)).threePointArc((0.49589546465250517, 0.10087752727854934), (0.515625, 0.13026315789473686)).threePointArc((0.4647540725218741, 0.25307644094292675), (0.3419407894736842, 0.30394736842105263)).threePointArc((0.1728376201988026, 0.24376622432485498), (0.04884868421052632, 0.11398026315789475)).threePointArc((0.019516645404608915, 0.05909343016494209), (0.0, 0.0)).close()
solid0=wp_sketch0.add(loop0).extrude(0.046875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.234375, 0.0, -0.390625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.0, 0.7734374999999999).threePointArc((-0.1251280700846626, 0.38671874999999994), (0.0, 0.0)).close()
solid1=wp_sketch1.add(loop1).extrude(0.046875)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.234375, 0.0, -0.390625), 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.47220394736842103, 0.0).lineTo(0.47220394736842103, 0.7734374999999999).lineTo(0.0, 0.7734374999999999).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.046875)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.234375, 0.0, 0.390625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop3=wp_sketch3.moveTo(0.46875, 0.0).threePointArc((0.234375, 0.07109687897047091), (0.0, 0.0)).close()
solid3=wp_sketch3.add(loop3).extrude(0.046875)
solid=solid.union(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.234375, 0.0, -0.390625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop4=wp_sketch4.moveTo(0.0, 0.0).threePointArc((0.1251280700846626, 0.38671874999999994), (0.0, 0.7734374999999999)).lineTo(0.0, 0.0).close()
solid4=wp_sketch4.add(loop4).extrude(0.046875)
solid=solid.union(solid4)
# Generating a workplane for sketch 5
wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(-0.234375, 0.0, -0.390625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop5=wp_sketch5.moveTo(0.0, 0.0).threePointArc((0.234375, -0.18060507805478063), (0.46875, 0.0)).lineTo(0.0, 0.0).close()
solid5=wp_sketch5.add(loop5).extrude(0.046875)
solid=solid.union(solid5)
# Generating a workplane for sketch 6
wp_sketch6 = cq.Workplane(cq.Plane(cq.Vector(0.234375, 0.0, 0.390625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop6=wp_sketch6.moveTo(0.0, 0.0).threePointArc((0.01972953534749505, -0.02938563061618735), (0.03799342105263158, -0.05970394736842106)).threePointArc((0.18565605965037055, -0.13412756912106008), (0.30394736842105263, -0.24967105263157896)).threePointArc((0.3416949046883369, -0.2721192333034102), (0.3853618421052632, -0.2768092105263158)).threePointArc((0.4767109290864507, -0.22684063579614341), (0.515625, -0.13026315789473686)).threePointArc((0.4958746547525028, -0.07388354351926844), (0.4667763157894737, -0.021710526315789475)).threePointArc((0.34343186884814897, 0.11078925064064445), (0.1736842105263158, 0.1736842105263158)).threePointArc((0.050870927478125896, 0.1228132830481899), (0.0, 0.0)).close()
solid6=wp_sketch6.add(loop6).extrude(0.046875)
solid=solid.union(solid6)
| 3,786
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00030957
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.3515625, 0.0, 0.0), cq.Vector(1.0, 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.0, 0.75).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.015625)
solid=solid0
| 875
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00039556
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.046875, 0.0078125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.004523026315789474, -0.029851973684210525).lineTo(0.027138157894736843, -0.048848684210526315).lineTo(0.05699013157894737, -0.048848684210526315).lineTo(0.08050986842105264, -0.03075657894736842).lineTo(0.0859375, -0.0009046052631578947).lineTo(0.07146381578947368, 0.02532894736842105).lineTo(0.043421052631578944, 0.0352796052631579).lineTo(0.01537828947368421, 0.02532894736842105).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.015625, 0.0, 0.0), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042)))
loop1=wp_sketch1.moveTo(0.015789473684210527, 0.0).circle(0.015789473684210527)
solid1=wp_sketch1.add(loop1).extrude(-0.140625)
solid=solid.cut(solid1)
| 1,434
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00038890
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.484375, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.4855263157894737, 0.0).circle(0.4855263157894737)
solid0=wp_sketch0.add(loop0).extrude(0.265625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.3359375, 0.0, 0.265625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.3355263157894737, 0.0).circle(0.3355263157894737)
solid1=wp_sketch1.add(loop1).extrude(0.375)
solid=solid.union(solid1)
| 1,035
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00037553
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.1640625, 0.1796875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.30616776315789473, 0.0).lineTo(0.30616776315789473, 0.5703125).lineTo(0.0, 0.5703125).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.3828125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.1640625, 0.671875, 0.3828125), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.07500000000000001, 0.0).circle(0.07500000000000001)
solid1=wp_sketch1.add(loop1).extrude(0.0390625)
solid=solid.union(solid1)
| 1,101
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00037221
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.25, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 0.5052631578947369).lineTo(0.0, 0.5052631578947369).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.125)
solid=solid0
| 866
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00035436
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.484375, 0.0, 0.4609375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.8671875000000001, 0.0).lineTo(0.7667763157894737, 0.10041118421052632).lineTo(0.0, 0.29210526315789476).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0390625)
solid=solid0
| 983
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00031136
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.71875, -0.40625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.46875, 0.0).lineTo(1.46875, 0.3092105263157895).lineTo(0.0, 0.3092105263157895).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.015625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.6484375, -0.125, 0.015625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.3960526315789474, -0.21217105263157895).lineTo(0.3960526315789474, -0.14144736842105263).lineTo(0.7072368421052632, -0.22631578947368422).lineTo(0.7072368421052632, -0.14144736842105263).lineTo(1.0042763157894736, -0.24046052631578949).lineTo(1.0042763157894736, -0.14144736842105263).lineTo(1.34375, -0.22631578947368422).lineTo(0.9052631578947369, 0.014144736842105264).lineTo(0.9052631578947369, -0.07072368421052631).lineTo(0.5516447368421052, 0.028289473684210528).lineTo(0.5516447368421052, -0.07072368421052631).lineTo(0.24046052631578949, 0.014144736842105264).lineTo(0.24046052631578949, -0.07072368421052631).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(-0.0078125)
solid=solid.cut(solid1)
| 1,603
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00033906
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -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.3046875, 0.0).lineTo(1.3046875, 0.9064144736842105).lineTo(0.0, 0.9064144736842105).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.5)
solid=solid0
| 881
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00038853
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.7421052631578947)
loop1=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.26842105263157895)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.4765625)
solid=solid0
| 901
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00035387
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.3046875, 0.0, 0.078125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.22631578947368422, -0.05374648052153161), (0.45263157894736844, 0.0)).lineTo(0.45263157894736844, 0.671875).lineTo(0.0, 0.671875).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.3359375)
solid=solid0
| 1,019
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00034933
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.75), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.7578947368421053, 0.7578947368421053).circle(0.37894736842105264)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.453125, both=True)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.078125, 0.5234375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop2=wp_sketch1.moveTo(0.07500000000000001, 0.0).circle(0.07500000000000001)
solid1=wp_sketch1.add(loop2).extrude(-0.828125, both=True)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.078125, -0.5234375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop3=wp_sketch2.moveTo(0.07500000000000001, 0.0).circle(0.07500000000000001)
solid2=wp_sketch2.add(loop3).extrude(-0.828125, both=True)
solid=solid.cut(solid2)
| 1,510
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00039350
|
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.578125, 0.0).lineTo(0.578125, 0.32861842105263156).lineTo(0.0, 0.32861842105263156).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.265625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.578125, 0.0625, 0.1328125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.02532894736842105, -0.02532894736842105).lineTo(0.19342105263157894, -0.02532894736842105).lineTo(0.21874999999999997, 0.0).lineTo(0.21874999999999997, 0.020723684210526314).threePointArc((0.2142265583360293, 0.02934160684534047), (0.20493421052631577, 0.032236842105263154)).lineTo(0.013815789473684208, 0.032236842105263154).threePointArc((0.004523441663970669, 0.02934160684534047), (0.0, 0.020723684210526314)).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.171875)
solid=solid.union(solid1)
| 1,469
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00030406
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.4765625, -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.05526315789473684, 0.0).lineTo(0.05526315789473684, 0.1640625).lineTo(0.0, 0.1640625).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.4765625, 0.0390625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.054276315789473686, 0.0).lineTo(0.09950657894736842, 0.0).lineTo(0.14473684210526316, 0.0).lineTo(0.1899671052631579, 0.0).lineTo(0.2261513157894737, 0.0).lineTo(0.2713815789473684, 0.0).lineTo(0.859375, 0.0).lineTo(0.859375, 0.1356907894736842).lineTo(0.0, 0.1356907894736842).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.140625)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.2890625, 0.0390625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.03980263157894737, -0.0859375).lineTo(0.08050986842105264, 0.0).lineTo(0.03980263157894737, 0.0).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.140625)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.3828125, -0.0390625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch3.moveTo(0.04613486842105263, 0.0).lineTo(0.04613486842105263, 0.0859375).lineTo(0.0, 0.0859375).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop3).extrude(0.140625)
solid=solid.union(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.4609375, 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.09868421052631579, 0.0).circle(0.09868421052631579)
solid4=wp_sketch4.add(loop4).extrude(0.140625)
solid=solid.union(solid4)
# Generating a workplane for sketch 5
wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(0.375, 0.0390625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop5=wp_sketch5.moveTo(0.0, 0.0).threePointArc((0.3710223655759153, 0.06907894736842106), (0.0, 0.13815789473684212)).lineTo(0.0, 0.0).close()
loop6=wp_sketch5.moveTo(0.18157894736842106, 0.07105263157894737).circle(0.09868421052631579)
solid5=wp_sketch5.add(loop5).add(loop6).extrude(0.140625)
solid=solid.union(solid5)
| 2,321
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00039344
|
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.1736842105263158, -0.37894736842105264).circle(0.031578947368421054)
loop2=wp_sketch0.moveTo(0.9789473684210527, 0.6473684210526316).circle(0.031578947368421054)
loop3=wp_sketch0.moveTo(1.1368421052631579, -0.5842105263157895).circle(0.031578947368421054)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).extrude(0.1015625)
solid=solid0
| 1,078
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00034106
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.0859375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 0.1736842105263158).lineTo(0.0, 0.1736842105263158).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0390625)
solid=solid0
| 947
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00030348
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1796875, 0.0, 0.015625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.020723684210526314, -0.020723684210526314).threePointArc((0.49218749999999994, 0.22757172402777345), (0.9636513157894736, -0.020723684210526314)).lineTo(0.9843749999999999, 0.0).threePointArc((0.49218749999999994, 0.2592094921169064), (0.0, 0.0)).close()
solid0=wp_sketch0.add(loop0).extrude(-0.1796875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.140625, 0.0625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.0, 0.0).threePointArc((0.0022159684318122617, -0.005349821041871895), (0.007565789473684211, -0.007565789473684211)).lineTo(0.3518092105263158, -0.007565789473684211).threePointArc((0.35715903156818773, -0.005349821041871895), (0.359375, 0.0)).lineTo(0.359375, 0.04917763157894737).threePointArc((0.3563755684156728, 0.05263600525239827), (0.3518092105263158, 0.05296052631578947)).lineTo(0.007565789473684211, 0.05296052631578947).threePointArc((0.0029994315843271833, 0.05263600525239827), (0.0, 0.04917763157894737)).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.296875)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.09375, 0.09375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.015789473684210527, 0.0).circle(0.015460526315789473)
solid2=wp_sketch2.add(loop2).extrude(0.328125)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.703125, 0.09375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch3.moveTo(0.015789473684210527, 0.0).circle(0.015460526315789473)
solid3=wp_sketch3.add(loop3).extrude(0.328125)
solid=solid.union(solid3)
| 2,098
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00035542
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 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.20419407894736843, 0.0).lineTo(0.20419407894736843, 0.09424342105263159).lineTo(1.2879934210526316, 0.09424342105263159).lineTo(1.2879934210526316, 0.0).lineTo(1.4921875, 0.0).lineTo(1.4921875, 0.28273026315789473).lineTo(0.0, 0.28273026315789473).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.03125)
solid=solid0
| 1,101
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00033655
|
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.2210526315789474).lineTo(0.0, 0.2210526315789474).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.015625)
solid=solid0
| 941
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00031042
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.171875, 0.0, -0.171875), 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.0).lineTo(0.34375, 0.34375).lineTo(0.0, 0.34375).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.17368421052631577, 0.17368421052631577).circle(0.02894736842105263)
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.15625, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop2=wp_sketch1.moveTo(0.15394736842105264, 0.0).circle(0.15074013157894736)
solid1=wp_sketch1.add(loop2).extrude(0.03125)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.03125, -0.0546875, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop3=wp_sketch2.moveTo(0.031578947368421054, 0.0).circle(0.031578947368421054)
solid2=wp_sketch2.add(loop3).extrude(0.6953125)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.0546875, -0.0546875, -0.0546875), 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.1015625, 0.0).lineTo(0.1015625, 0.1015625).lineTo(0.0, 0.1015625).lineTo(0.0, 0.0).close()
loop5=wp_sketch3.moveTo(0.05131578947368422, 0.05131578947368422).circle(0.02886513157894737)
solid3=wp_sketch3.add(loop4).add(loop5).extrude(0.6953125)
solid=solid.union(solid3)
| 1,940
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00039393
|
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.609375, 0.0).lineTo(0.609375, 0.13470394736842106).lineTo(0.0, 0.13470394736842106).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.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)))
loop1=wp_sketch1.moveTo(0.140625, 0.06513157894736843).lineTo(0.0, 0.1317434210526316).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.0234375)
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
|
|
0003/00037396
|
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.5, 0.0).lineTo(0.5, 0.5).lineTo(0.0, 0.5).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 833
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00032761
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1328125, -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.27828947368421053, 0.0).lineTo(0.27828947368421053, 1.46875).lineTo(0.0, 1.46875).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.046875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.1015625, -0.671875, 0.046875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.17072368421052633, 0.0).lineTo(0.17072368421052633, 1.3515625).lineTo(0.0, 1.3515625).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(-0.0390625)
solid=solid.cut(solid1)
| 1,134
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00036513
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.1328125, 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.13421052631578947, 0.0).circle(0.13421052631578947)
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 893
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00036275
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.03125, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.027631578947368417, 0.0).circle(0.027631578947368417)
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.046875, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.043421052631578944, 0.0).circle(0.043421052631578944)
loop2=wp_sketch1.moveTo(0.043421052631578944, 0.0).circle(0.028042763157894737)
solid1=wp_sketch1.add(loop1).add(loop2).extrude(0.015625, both=True)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.0625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch2.moveTo(0.06315789473684211, 0.0).circle(0.06315789473684211)
loop4=wp_sketch2.moveTo(0.06315789473684211, 0.0).circle(0.043421052631578944)
solid2=wp_sketch2.add(loop3).add(loop4).extrude(-0.0390625)
solid=solid.union(solid2)
| 1,365
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00038270
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0078125, 0.0, -0.0078125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.014657796045690752, -0.005681710581842137), (0.030263157894736843, -0.0037828947368421053)).threePointArc((0.03858837974693956, -0.0010531364928070403), (0.047286184210526314, 0.0)).lineTo(0.14942434210526315, 0.0).lineTo(0.17401315789473684, 0.0037828947368421053).threePointArc((0.17896892746164794, 0.009457236842105263), (0.17401315789473684, 0.015131578947368421)).lineTo(0.14942434210526315, 0.018914473684210526).lineTo(0.047286184210526314, 0.018914473684210526).threePointArc((0.03868152539978557, 0.019021886492807012), (0.030263157894736843, 0.020805921052631578)).threePointArc((0.014894687496529587, 0.02365046058184214), (0.0, 0.018914473684210526)).threePointArc((-0.0051298527020071745, 0.009457236842105263), (0.0, 0.0)).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 1,529
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00033443
|
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.5210526315789474)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.5859375)
solid=solid0
| 972
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00031240
|
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.01611842105263158, 0.0).lineTo(0.01611842105263158, 0.7495065789473685).lineTo(0.27401315789473685, 0.7495065789473685).lineTo(0.27401315789473685, 0.0).lineTo(0.28207236842105265, 0.0).lineTo(0.28207236842105265, 0.7656250000000001).lineTo(0.0, 0.7656250000000001).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.2421875)
solid=solid0
| 1,114
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00039191
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2421875, -0.25, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.9921875, 0.0).lineTo(0.9921875, 0.5013157894736842).lineTo(0.0, 0.5013157894736842).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.6171875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.2421875, -0.25, 0.375), 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.24473684210526314, 0.25).lineTo(0.0, 0.25).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(-0.5)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.125, -0.25, 0.25), 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.24868421052631579, 0.0).lineTo(0.24868421052631579, 0.375).lineTo(0.0, 0.375).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(-0.5)
solid=solid.cut(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.5, -0.25, 0.6171875), 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.25, -0.25).lineTo(0.25, 0.0).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop3).extrude(-0.5)
solid=solid.cut(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.0078125, -0.25, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop4=wp_sketch4.moveTo(0.5, 0.0).lineTo(0.5, 0.12631578947368421).lineTo(0.0, 0.12631578947368421).lineTo(0.0, 0.0).close()
solid4=wp_sketch4.add(loop4).extrude(-0.5)
solid=solid.cut(solid4)
| 2,003
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00035973
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.7421875, -0.09375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.22098160348414098, -0.2065315240270127), (0.28273026315789473, -0.5026315789473684)).threePointArc((0.3662250797673313, -0.5550607638476122), (0.4555098684210526, -0.596875)).threePointArc((0.74609375, -0.5048184543596197), (1.0366776315789474, -0.596875)).threePointArc((1.1181088018116165, -0.5545782661772554), (1.19375, -0.5026315789473684)).threePointArc((1.2633522780948059, -0.20404350927997525), (1.4921875, 0.0)).threePointArc((1.4979774720442847, 0.09424342105263159), (1.4921875, 0.18848684210526317)).threePointArc((1.2633522780948063, 0.3925303513852384), (1.19375, 0.6911184210526315)).threePointArc((1.1181088018116165, 0.7430651082825186), (1.0366776315789474, 0.7853618421052632)).threePointArc((0.74609375, 0.6933052964648829), (0.4555098684210526, 0.7853618421052632)).threePointArc((0.3662250797673313, 0.7435476059528753), (0.28273026315789473, 0.6911184210526315)).threePointArc((0.22098160348414098, 0.3950183661322761), (0.0, 0.18848684210526317)).threePointArc((-0.005789972044284929, 0.09424342105263159), (0.0, 0.0)).close()
loop1=wp_sketch0.moveTo(0.7382401315789474, 0.09424342105263159).circle(0.07853618421052631)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.203125)
solid=solid0
| 1,829
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00031297
|
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.25263157894736843, 0.0).lineTo(0.25263157894736843, 0.25263157894736843).lineTo(0.49736842105263157, 0.25263157894736843).lineTo(0.49736842105263157, 0.0).lineTo(0.75, 0.0).lineTo(0.75, 0.49736842105263157).lineTo(0.49736842105263157, 0.49736842105263157).lineTo(0.49736842105263157, 0.75).lineTo(0.25263157894736843, 0.75).lineTo(0.25263157894736843, 0.49736842105263157).lineTo(0.0, 0.49736842105263157).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.25)
solid=solid0
| 1,157
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00030189
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.3394736842105263).lineTo(0.0, 0.3394736842105263).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.4765625)
solid=solid0
| 871
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00039813
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0859375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.1069078947368421, 0.0).lineTo(0.2886513157894737, 0.0).threePointArc((0.5773026315789473, -0.2886513157894737), (0.8659539473684211, 0.0)).lineTo(1.015625, 0.0).lineTo(1.015625, 0.07483552631578948).lineTo(0.6521381578947368, 0.47039473684210525).lineTo(0.2565789473684211, 0.47039473684210525).lineTo(0.0, 0.2138157894736842).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.1069078947368421, 0.1069078947368421).circle(0.032072368421052634)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.109375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.7265625, 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.08355263157894736, -0.11488486842105262).lineTo(0.08355263157894736, -0.2924342105263158).lineTo(0.6266447368421052, -0.2924342105263158).lineTo(0.9921875, 0.10444078947368421).lineTo(0.9921875, 0.17754934210526316).lineTo(0.8459703947368421, 0.17754934210526316).threePointArc((0.5587582236842105, -0.10966282894736841), (0.27154605263157894, 0.17754934210526316)).lineTo(0.08355263157894736, 0.17754934210526316).threePointArc((-0.012925032008174976, 0.1145164817809369), (0.0, 0.0)).close()
loop3=wp_sketch1.moveTo(0.08355263157894736, 0.06266447368421052).circle(0.03133223684210526)
solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.109375)
solid=solid.union(solid1)
| 1,980
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00033480
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.4921875, 0.0, -0.453125), 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.9765625000000001, 0.0).lineTo(0.9765625000000001, 0.9046052631578948).lineTo(0.0, 0.9046052631578948).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 976
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00032952
|
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.3631578947368421)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.734375)
solid=solid0
| 971
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00034388
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2109375, 0.234375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.21241776315789473, -0.2435032894736842).lineTo(0.49218749999999994, -0.2435032894736842).lineTo(0.49218749999999994, -0.23314144736842105).lineTo(0.21241776315789473, -0.23314144736842105).lineTo(0.010361842105263157, 0.010361842105263157).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 1,028
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00033418
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.1875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.004029605263157895, 0.0).threePointArc((0.0020148026315789476, 0.32835765642472026), (0.0, 0.0)).close()
loop1=wp_sketch0.moveTo(0.0, 0.19342105263157897).circle(0.12088815789473685)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.2421875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.1875, 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.19012316995923711, -0.18654926790359755), (0.0059210526315789476, -0.37894736842105264)).lineTo(0.5625, -0.3730263157894737).threePointArc((0.3730263157894737, -0.18947368421052632), (0.5565789473684211, 0.0)).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop2).extrude(0.2421875)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.375, 0.0078125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch2.moveTo(0.18947368421052632, 0.0).circle(0.18552631578947368)
loop4=wp_sketch2.moveTo(0.18157894736842106, -0.003947368421052632).circle(0.12236842105263158)
solid2=wp_sketch2.add(loop3).add(loop4).extrude(0.2421875)
solid=solid.union(solid2)
| 1,584
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00032048
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.7421875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.7421052631578947).lineTo(0.0, 0.7421052631578947).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.3515625)
solid=solid0
| 877
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00030893
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5546875, -0.75, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.1144736842105263, 0.0).lineTo(1.1144736842105263, 1.375).lineTo(0.0, 1.375).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.1875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.5546875, 0.375, 0.1875), 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.25).lineTo(0.0, 0.25).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.1875)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.5546875, -0.75, 0.1875), 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.25).lineTo(0.0, 0.25).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.1875)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.3125, 0.375, 0.1875), 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.25).lineTo(0.0, 0.25).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop3).extrude(0.1875)
solid=solid.union(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.3125, -0.75, 0.1875), 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.25).lineTo(0.0, 0.25).lineTo(0.0, 0.0).close()
solid4=wp_sketch4.add(loop4).extrude(0.1875)
solid=solid.union(solid4)
| 1,676
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00033424
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.453125, 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.8984375, 0.0).lineTo(0.8984375, 0.3026315789473684).lineTo(0.0, 0.3026315789473684).threePointArc((-0.1513157894736842, 0.1513157894736842), (0.0, 0.0)).close()
loop1=wp_sketch0.moveTo(0.0, 0.1513157894736842).circle(0.03782894736842105)
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.453125, -0.296875, -0.0625), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop2=wp_sketch1.moveTo(0.296875, 0.0).lineTo(0.296875, 0.11875000000000001).lineTo(0.0, 0.11875000000000001).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop2).extrude(0.296875)
solid=solid.union(solid1)
| 1,367
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00039486
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0546875, 0.0, 0.6953125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.05921052631578947, 0.0).circle(0.05797697368421052)
loop1=wp_sketch0.moveTo(0.05921052631578947, 0.0).circle(0.019736842105263157)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.015625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, -0.0546875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop2=wp_sketch1.moveTo(0.265625, 0.008388157894736842).threePointArc((0.23044485458522684, 0.02154977637197392), (0.21529605263157894, 0.05592105263157895)).lineTo(0.05592105263157895, 0.05592105263157895).threePointArc((0.03934166327046985, 0.016579389361109104), (0.0, 0.0)).close()
solid1=wp_sketch1.add(loop2).extrude(0.015625)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.09375, 0.0, 0.3984375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop3=wp_sketch2.moveTo(0.0, 0.0).threePointArc((0.0962171052631579, 0.08507893764914959), (0.1924342105263158, 0.0)).lineTo(0.15394736842105264, 0.3046875).threePointArc((0.0962171052631579, 0.23939943975130132), (0.03848684210526316, 0.3046875)).lineTo(0.0, 0.0).close()
loop4=wp_sketch2.moveTo(0.08659539473684211, 0.21167763157894737).circle(0.00962171052631579)
solid2=wp_sketch2.add(loop3).add(loop4).extrude(0.015625)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.21875, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop5=wp_sketch3.moveTo(0.04736842105263158, 0.0).circle(0.04736842105263158)
loop6=wp_sketch3.moveTo(0.04736842105263158, 0.0).circle(0.009868421052631578)
solid3=wp_sketch3.add(loop5).add(loop6).extrude(0.015625)
solid=solid.union(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.0546875, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop7=wp_sketch4.moveTo(0.05921052631578947, 0.0).circle(0.05797697368421052)
loop8=wp_sketch4.moveTo(0.05921052631578947, 0.0).circle(0.009868421052631578)
solid4=wp_sketch4.add(loop7).add(loop8).extrude(0.015625)
solid=solid.union(solid4)
# Generating a workplane for sketch 5
wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(-0.09375, 0.0, 0.3828125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop9=wp_sketch5.moveTo(0.09868421052631579, 0.0).circle(0.09868421052631579)
loop10=wp_sketch5.moveTo(0.09868421052631579, 0.0).circle(0.010279605263157894)
solid5=wp_sketch5.add(loop9).add(loop10).extrude(0.015625)
solid=solid.union(solid5)
# Generating a workplane for sketch 6
wp_sketch6 = cq.Workplane(cq.Plane(cq.Vector(-0.09375, 0.0, 0.375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop11=wp_sketch6.moveTo(0.040296052631578955, -0.38281250000000006).threePointArc((0.09459431293315156, -0.32154372265456055), (0.153125, -0.3787828947368421)).lineTo(0.3183388157894737, -0.3787828947368421).threePointArc((0.3323274941200286, -0.3444163099095023), (0.36669407894736844, -0.3304276315789474)).lineTo(0.21356907894736843, -0.32236842105263164).threePointArc((0.17797291385867461, -0.3067161716203328), (0.1652138157894737, -0.26998355263157897)).lineTo(0.19342105263157897, 0.0).threePointArc((0.09671052631578948, -0.0876533117406675), (0.0, 0.0)).close()
solid6=wp_sketch6.add(loop11).extrude(0.015625)
solid=solid.union(solid6)
| 3,623
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00038798
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5703125, -0.2890625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.3203125, 0.0).lineTo(1.3203125, 0.4864309210526316).lineTo(0.0, 0.4864309210526316).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.140625)
solid=solid0
| 891
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00038954
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.234375, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.23684210526315788, 0.0).circle(0.23684210526315788)
loop1=wp_sketch0.moveTo(0.23684210526315788, 0.0).circle(0.12335526315789473)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.1015625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.21875, -0.1015625, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop2=wp_sketch1.moveTo(0.22105263157894733, 0.0).circle(0.22105263157894733)
loop3=wp_sketch1.moveTo(0.22105263157894733, 0.0).circle(0.12434210526315788)
solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.03125)
solid=solid.union(solid1)
| 1,315
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00035280
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.265625, 0.3359375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.2026315789473684, 0.0).lineTo(0.2026315789473684, 0.06332236842105263).lineTo(0.2026315789473684, 0.2912828947368421).lineTo(0.39893092105263156, 0.2912828947368421).lineTo(0.39893092105263156, 0.06332236842105263).lineTo(0.39893092105263156, 0.0).lineTo(0.6015625, 0.0).lineTo(0.6015625, 0.3925986842105263).lineTo(0.6015625, 0.4115953947368421).lineTo(0.0, 0.4115953947368421).lineTo(0.0, 0.3925986842105263).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.1640625)
solid=solid0
| 1,178
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00035294
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6015625, 0.0, -0.75), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(1.2, 0.0).lineTo(1.2, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.6, 0.7578947368421053).circle(0.09473684210526316)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75)
solid=solid0
| 976
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00034607
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.75, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.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.0078125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.03125, -0.6875, 0.0078125), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.6875, 0.0).lineTo(0.6875, 0.6585526315789474).lineTo(0.0, 0.6585526315789474).lineTo(0.0, 0.0).close()
loop2=wp_sketch1.moveTo(0.6585526315789474, 0.02894736842105263).lineTo(0.6585526315789474, 0.6223684210526316).lineTo(0.02894736842105263, 0.6223684210526316).lineTo(0.02894736842105263, 0.02894736842105263).close()
solid1=wp_sketch1.add(loop1).add(loop2).extrude(0.03125)
solid=solid.union(solid1)
| 1,269
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00039323
|
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.4368421052631579)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(-0.4296875)
solid=solid0
| 1,048
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00031019
|
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.5447368421052632).lineTo(0.0, 0.5447368421052632).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.6789473684210526, 0.07105263157894737).lineTo(0.6789473684210526, 0.4736842105263158).lineTo(0.07105263157894737, 0.4736842105263158).lineTo(0.07105263157894737, 0.07105263157894737).close()
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0234375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.046875, 0.046875, 0.0234375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch1.moveTo(0.65625, 0.0).lineTo(0.65625, 0.44901315789473684).lineTo(0.0, 0.44901315789473684).lineTo(0.0, 0.0).close()
loop3=wp_sketch1.moveTo(0.6355263157894737, 0.020723684210526314).lineTo(0.6355263157894737, 0.4282894736842105).lineTo(0.020723684210526314, 0.4282894736842105).lineTo(0.020723684210526314, 0.020723684210526314).close()
solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.125)
solid=solid.union(solid1)
| 1,494
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00034161
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0234375, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.02368421052631579, 0.0).circle(0.02368421052631579)
loop1=wp_sketch0.moveTo(0.02368421052631579, 0.0).circle(0.020723684210526318)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(-0.75)
solid=solid0
| 905
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00032504
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6015625, 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.0, 0.023026315789473683).threePointArc((0.11369243421052631, 0.13671875), (0.0, 0.2504111842105263)).lineTo(0.0, 0.2734375).threePointArc((-0.13671875, 0.13671875), (0.0, 0.0)).close()
solid0=wp_sketch0.add(loop0).extrude(0.1796875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.6171875, 0.0, -0.1484375), 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.13671875, 0.13671875), (0.0, 0.2734375)).lineTo(0.0, 0.2504111842105263).threePointArc((0.11369243421052631, 0.13671875), (0.0, 0.023026315789473683)).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.1796875)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.6015625, 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(1.216282894736842, 0.0).lineTo(1.216282894736842, 0.027960526315789474).threePointArc((1.328125, 0.13980263157894737), (1.216282894736842, 0.25164473684210525)).lineTo(1.216282894736842, 0.27960526315789475).lineTo(0.0, 0.27960526315789475).lineTo(0.0, 0.25164473684210525).threePointArc((0.1118421052631579, 0.13980263157894737), (0.0, 0.027960526315789474)).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.1796875)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = 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)))
loop3=wp_sketch3.moveTo(0.0, 0.0).threePointArc((0.11328125, 0.11328125), (0.0, 0.2265625)).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop3).extrude(0.3671875)
solid=solid.union(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = 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)))
loop4=wp_sketch4.moveTo(0.0, 0.0).threePointArc((0.11328125, 0.11328125), (0.0, 0.2265625)).lineTo(0.0, 0.0).close()
solid4=wp_sketch4.add(loop4).extrude(0.3671875)
solid=solid.union(solid4)
| 2,539
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00036762
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.328125, 0.0, -0.203125), 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.5, 0.0).lineTo(0.5, 0.5).lineTo(0.0, 0.5).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 915
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00039451
|
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.5210526315789474)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.1484375)
solid=solid0
| 900
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00036992
|
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.007894736842105263).lineTo(0.0, 0.007894736842105263).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 869
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00039479
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.09375, 0.0, 0.3984375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.0962171052631579, 0.08507893764914959), (0.1924342105263158, 0.0)).lineTo(0.15394736842105264, 0.29827302631578945).threePointArc((0.0928067804501273, 0.2400944165233427), (0.03848684210526316, 0.3046875)).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.07697368421052632, 0.21167763157894737).circle(0.01924342105263158)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.015625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.09375, 0.0, 0.3984375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop2=wp_sketch1.moveTo(0.004111842105263158, -0.04317434210526316).threePointArc((0.1967139695404186, -0.0030483092918899336), (0.0, 0.0)).close()
loop3=wp_sketch1.moveTo(0.09662828947368421, -0.012335526315789474).circle(0.020559210526315787)
solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.015625)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.09375, 0.0, 0.3515625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop4=wp_sketch2.moveTo(0.034868421052631576, -0.3617598684210526).threePointArc((0.12962534635699488, -0.3129562845133305), (0.09588815789473684, -0.41406249999999994)).lineTo(0.3617598684210526, -0.40534539473684206).threePointArc((0.3120173948044141, -0.3574013157894737), (0.3617598684210526, -0.30945723684210524)).lineTo(0.20921052631578946, -0.30074013157894736).threePointArc((0.17383787881667556, -0.28503937314611766), (0.16126644736842105, -0.24843749999999998)).lineTo(0.1874177631578947, 0.021792763157894735).threePointArc((0.10253998000691548, -0.06505106490157868), (0.0, 0.0)).close()
solid2=wp_sketch2.add(loop4).extrude(0.015625)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, -0.0546875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop5=wp_sketch3.moveTo(0.003700657894736842, 0.0).threePointArc((0.001850328947368421, 0.10050755769375384), (0.0, 0.0)).close()
loop6=wp_sketch3.moveTo(0.0, 0.05921052631578947).circle(0.019736842105263157)
solid3=wp_sketch3.add(loop5).add(loop6).extrude(0.015625)
solid=solid.union(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.21875, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop7=wp_sketch4.moveTo(0.04736842105263158, 0.0).circle(0.04736842105263158)
loop8=wp_sketch4.moveTo(0.04736842105263158, 0.0).circle(0.01875)
solid4=wp_sketch4.add(loop7).add(loop8).extrude(0.015625)
solid=solid.union(solid4)
# Generating a workplane for sketch 5
wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(-0.0546875, 0.0, 0.6953125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop9=wp_sketch5.moveTo(0.05921052631578947, 0.0).circle(0.05797697368421052)
loop10=wp_sketch5.moveTo(0.05921052631578947, 0.0).circle(0.019736842105263157)
solid5=wp_sketch5.add(loop9).add(loop10).extrude(0.015625)
solid=solid.union(solid5)
| 3,318
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00037440
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.109375, -0.6328125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.10916940789473684, -0.11897455500703136), (0.21833881578947367, 0.0)).threePointArc((0.751115015946863, 0.6331825657894737), (0.21833881578947367, 1.2663651315789475)).threePointArc((0.10916940789473684, 1.3853396865859788), (0.0, 1.2663651315789475)).threePointArc((-0.5327762001573894, 0.6331825657894737), (0.0, 0.0)).close()
loop1=wp_sketch0.moveTo(0.11644736842105263, 0.6259046052631579).circle(0.1455592105263158)
loop2=wp_sketch0.moveTo(0.3347861842105263, 0.6259046052631579).circle(0.058223684210526316)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.21875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.109375, 0.6328125, 0.21875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch1.moveTo(0.0, 0.0).threePointArc((0.10937499999999999, 0.009418811849740574), (0.21874999999999997, 0.0)).threePointArc((0.10937499999999999, 0.11919861254941753), (0.0, 0.0)).close()
solid1=wp_sketch1.add(loop3).extrude(-0.0859375)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.109375, -0.6328125, 0.21875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop4=wp_sketch2.moveTo(0.0, 0.0).threePointArc((0.10937499999999999, -0.11919861254941758), (0.21874999999999997, 0.0)).threePointArc((0.10937499999999999, -0.009418811849740574), (0.0, 0.0)).close()
solid2=wp_sketch2.add(loop4).extrude(-0.0859375)
solid=solid.cut(solid2)
| 1,847
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00033626
|
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.37894736842105264, 0.0).lineTo(0.37894736842105264, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.6157894736842106).lineTo(0.3315789473684211, 0.6157894736842106).lineTo(0.3315789473684211, 0.25263157894736843).lineTo(0.0, 0.25263157894736843).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.3671875, 0.078125, 0.25), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.06315789473684211, 0.0).circle(0.06184210526315789)
solid1=wp_sketch1.add(loop1).extrude(-0.5)
solid=solid.cut(solid1)
| 1,262
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00033949
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.4609375, 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.9157894736842106).lineTo(0.0, 0.9157894736842106).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.359375)
solid=solid0
| 874
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00033791
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.3984375, 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.40657894736842104, 0.0).circle(0.40657894736842104)
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.375)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.2109375, -0.1875, 0.75), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.4296875, 0.0).lineTo(0.21710526315789475, 0.37088815789473684).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(-0.375)
solid=solid.cut(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.265625, 0.0, 0.1015625), 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.5390625, 0.0).lineTo(0.5390625, 0.1078125).lineTo(0.0, 0.1078125).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop3).extrude(-0.4296875, both=True)
solid=solid.cut(solid3)
| 1,634
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00039257
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.7109375, 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.30394736842105263, 0.0).lineTo(0.30394736842105263, 0.17730263157894735).lineTo(0.6078947368421053, 0.17730263157894735).lineTo(0.6078947368421053, 0.0).lineTo(0.8991776315789474, 0.0).lineTo(0.8991776315789474, 0.4685855263157895).lineTo(1.203125, 0.4685855263157895).lineTo(1.203125, 0.747203947368421).lineTo(0.0, 0.747203947368421).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.453125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.7265625, 0.0, -0.7421875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(1.203125, 0.0).lineTo(1.203125, 0.6078947368421053).lineTo(0.8991776315789474, 0.6078947368421053).lineTo(0.8991776315789474, 0.15197368421052632).lineTo(0.6078947368421053, 0.15197368421052632).lineTo(0.6078947368421053, 0.30394736842105263).lineTo(0.30394736842105263, 0.30394736842105263).lineTo(0.30394736842105263, 0.15197368421052632).lineTo(0.0, 0.15197368421052632).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.453125)
solid=solid.union(solid1)
| 1,752
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00039531
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.3984375, 0.0, -0.2578125), 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.1484375, 0.0).lineTo(1.1484375, 0.41101973684210524).lineTo(0.0, 0.41101973684210524).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.5802631578947368, 0.3022203947368421).circle(0.09671052631578947)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(-0.0078125)
solid=solid0
| 1,045
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00039243
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.7578947368421053)
solid0=wp_sketch0.add(loop0).extrude(0.2109375)
solid=solid0
| 837
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00032316
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2890625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.12031249999999999, 0.0).lineTo(0.12031249999999999, 0.41562499999999997).lineTo(0.91875, 0.41562499999999997).lineTo(0.91875, 0.0).lineTo(1.0390625, 0.0).lineTo(1.0390625, 0.0546875).lineTo(0.9624999999999999, 0.0546875).lineTo(0.9624999999999999, 0.459375).lineTo(0.07656249999999999, 0.459375).lineTo(0.07656249999999999, 0.0546875).lineTo(0.0, 0.0546875).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.1875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.2265625, 0.046875, 0.09375), cq.Vector(-1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, 1.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.0, 0.0).threePointArc((0.027343749999999997, -0.027343749999999997), (0.05468749999999999, 0.0)).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(-0.3125)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.2265625, 0.046875, 0.09375), cq.Vector(-1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, 1.0, 6.123233995736766e-17)))
loop2=wp_sketch2.moveTo(0.0, 0.0).threePointArc((0.027343749999999997, -0.027343749999999997), (0.05468749999999999, 0.0)).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(-0.3125)
solid=solid.cut(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.7421875, 0.046875, 0.09375), cq.Vector(-1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, 1.0, 6.123233995736766e-17)))
loop3=wp_sketch3.moveTo(0.0, 0.0).threePointArc((0.027343749999999997, -0.027343749999999997), (0.05468749999999999, 0.0)).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop3).extrude(-0.3125)
solid=solid.cut(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.7421875, 0.046875, 0.09375), cq.Vector(-1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, 1.0, 6.123233995736766e-17)))
loop4=wp_sketch4.moveTo(0.0, 0.0).threePointArc((0.027343749999999997, -0.027343749999999997), (0.05468749999999999, 0.0)).lineTo(0.0, 0.0).close()
solid4=wp_sketch4.add(loop4).extrude(-0.3125)
solid=solid.cut(solid4)
| 2,413
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00031637
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.546875, -0.2265625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.8515625, 0.0).lineTo(0.8515625, 0.5647203947368421).lineTo(0.0, 0.5647203947368421).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.265625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.2265625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.21011513157894735, 0.0).lineTo(0.21011513157894735, 0.5703125).lineTo(0.0, 0.5703125).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.078125)
solid=solid.union(solid1)
| 1,130
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00031145
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6953125, 0.0, 0.4453125), 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.049738291054007046, -0.024332506436241835), (0.057812499999999996, -0.07911184210526316)).threePointArc((0.17217443104500058, -0.04254995050843567), (0.2890625, -0.06998355263157895)).threePointArc((0.1570515077647476, 0.016722331842950314), (0.0, 0.0)).close()
solid0=wp_sketch0.add(loop0).extrude(0.703125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.6796875, 0.0, 0.3359375), 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.028769583580212154, 0.014052849253990408), (0.046875, 0.040460526315789475)).threePointArc((0.022069978002375996, 0.021814587423434742), (0.0, 0.0)).close()
solid1=wp_sketch1.add(loop1).extrude(0.703125)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.6796875, 0.0, 0.3359375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop2=wp_sketch2.moveTo(0.0, 0.0).threePointArc((0.020911472309691048, 0.020621004567353687), (0.044407894736842105, 0.038240131578947366)).threePointArc((-0.05033879445070145, 0.10336324983748693), (0.0, 0.0)).close()
loop3=wp_sketch2.moveTo(-0.011101973684210526, 0.05797697368421052).circle(0.029605263157894735)
solid2=wp_sketch2.add(loop2).add(loop3).extrude(0.703125)
solid=solid.union(solid2)
| 1,954
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00037534
|
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.6394736842105263).lineTo(0.0, 0.6394736842105263).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0234375)
solid=solid0
| 942
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00035323
|
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.1328125, 0.0).lineTo(0.1328125, 0.1118421052631579).lineTo(0.0, 0.1118421052631579).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 947
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00035445
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.109375, 0.0, -0.484375), 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.2744243421052632, 0.0).lineTo(0.2744243421052632, 0.3671875).lineTo(0.0, 0.3671875).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(-0.0234375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.109375, 0.0, 0.15625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.2744243421052632, 0.0).lineTo(0.2744243421052632, 0.3671875).lineTo(0.0, 0.3671875).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.1640625, 0.0, -0.1171875), 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.3671875, 0.0).lineTo(0.3671875, 0.2744243421052632).lineTo(0.0, 0.2744243421052632).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.75, 0.0, -0.1171875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop3=wp_sketch3.moveTo(0.2734375, 0.0).lineTo(0.2734375, 0.2734375).lineTo(0.0, 0.2734375).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop3).extrude(-0.0234375)
solid=solid.union(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.4765625, 0.0, -0.1171875), 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.3671875, 0.0).lineTo(0.3671875, 0.2744243421052632).lineTo(0.0, 0.2744243421052632).lineTo(0.0, 0.0).close()
solid4=wp_sketch4.add(loop4).extrude(-0.0234375)
solid=solid.union(solid4)
# Generating a workplane for sketch 5
wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(-0.109375, 0.0, -0.1171875), 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.27055921052631576, 0.0).lineTo(0.27055921052631576, 0.0028782894736842104).lineTo(0.27055921052631576, 0.2734375).lineTo(0.0, 0.2734375).lineTo(0.0, 0.0028782894736842104).lineTo(0.0, 0.0).close()
solid5=wp_sketch5.add(loop5).extrude(-0.0234375)
solid=solid.union(solid5)
| 2,593
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00034983
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, -0.6953125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.015005960141511503, -0.036227592490067344), (0.05123355263157895, -0.05123355263157895)).lineTo(0.3147203947368421, -0.05123355263157895).threePointArc((0.3382740761314265, -0.04870380734164792), (0.35863486842105263, -0.036595394736842105)).lineTo(0.6294407894736842, 0.28544407894736845).threePointArc((0.6400505984014576, 0.3024254843236276), (0.6440789473684211, 0.32203947368421054)).lineTo(0.6440789473684211, 0.6440789473684211).threePointArc((0.6254134477532254, 0.6818223707405281), (0.5855263157894737, 0.6953125)).lineTo(0.05123355263157895, 0.6953125).threePointArc((0.015005960141511503, 0.6803065398584885), (0.0, 0.6440789473684211)).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0234375)
solid=solid0
| 1,463
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00033034
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.15625, 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.0, 0.0).threePointArc((0.004528283317181578, -0.010932242998607785), (0.015460526315789473, -0.015460526315789473)).lineTo(0.23963815789473683, -0.015460526315789473).threePointArc((0.24670526931439737, -0.009331253078251316), (0.24736842105263157, 0.0)).lineTo(0.24736842105263157, 0.7189144736842105).threePointArc((0.24670526931439737, 0.7282457267624618), (0.23963815789473683, 0.734375)).lineTo(0.015460526315789473, 0.734375).threePointArc((0.004528283317181578, 0.7298467166828184), (0.0, 0.7189144736842105)).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.07730263157894737, 0.06184210526315789).circle(0.02319078947368421)
loop2=wp_sketch0.moveTo(0.07730263157894737, 0.6570723684210527).circle(0.02319078947368421)
loop3=wp_sketch0.moveTo(0.17779605263157894, 0.06184210526315789).circle(0.02319078947368421)
loop4=wp_sketch0.moveTo(0.17779605263157894, 0.6570723684210527).circle(0.02319078947368421)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).extrude(0.0234375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.109375, 0.0, 0.3125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop5=wp_sketch1.moveTo(0.02368421052631579, 0.0).circle(0.02319078947368421)
loop6=wp_sketch1.moveTo(0.02368421052631579, 0.0).circle(0.013815789473684212)
solid1=wp_sketch1.add(loop5).add(loop6).extrude(0.75)
solid=solid.union(solid1)
| 1,981
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00037911
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.171875, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.17368421052631577, 0.0).circle(0.1700657894736842)
loop1=wp_sketch0.moveTo(0.17368421052631577, 0.0).circle(0.054276315789473686)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.421875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.171875, 0.0, 0.421875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch1.moveTo(0.17368421052631577, 0.0).circle(0.1700657894736842)
loop3=wp_sketch1.moveTo(0.17368421052631577, 0.0).circle(0.11578947368421053)
solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.265625)
solid=solid.union(solid1)
| 1,170
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00039914
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.6328125, 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.0, 0.0).threePointArc((0.1171875, 0.1171875), (0.0, 0.234375)).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.6328125, 0.0, -0.1171875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.0, 0.234375).threePointArc((-0.1171875, 0.1171875), (0.0, 0.0)).close()
solid1=wp_sketch1.add(loop1).extrude(0.09375)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.6328125, 0.0, -0.1171875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop2=wp_sketch2.moveTo(1.265625, 0.0).lineTo(1.265625, 0.23980263157894738).lineTo(0.0, 0.23980263157894738).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.09375)
solid=solid.union(solid2)
| 1,529
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00036399
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.5078125, -0.265625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.1986019736842105, 0.0).threePointArc((-1.2738003333555246, 0.26480263157894735), (0.1986019736842105, 0.5296052631578947)).lineTo(0.0, 0.5296052631578947).threePointArc((-1.085363568928488, 0.26480263157894735), (0.0, 0.0)).close()
solid0=wp_sketch0.add(loop0).extrude(0.2734375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.046875, 0.65625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.04736842105263158, 0.0).circle(0.04736842105263158)
solid1=wp_sketch1.add(loop1).extrude(0.109375)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.7109375, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.04736842105263158, 0.0).circle(0.04638157894736842)
solid2=wp_sketch2.add(loop2).extrude(0.109375)
solid=solid.cut(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.046875, -0.65625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch3.moveTo(0.04736842105263158, 0.0).circle(0.04736842105263158)
solid3=wp_sketch3.add(loop3).extrude(0.109375)
solid=solid.cut(solid3)
| 1,587
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00039900
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.375, 0.0, -0.375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.7460526315789474, 0.0).threePointArc((1.119078947368421, 0.3730263157894737), (0.7460526315789474, 0.7460526315789474)).lineTo(0.0, 0.7460526315789474).threePointArc((-0.3730263157894737, 0.3730263157894737), (0.0, 0.0)).close()
loop1=wp_sketch0.moveTo(0.0, 0.37894736842105264).circle(0.18947368421052632)
loop2=wp_sketch0.moveTo(0.7460526315789474, 0.37894736842105264).circle(0.13026315789473686)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.046875, -0.1875, 0.375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch1.moveTo(0.04736842105263158, 0.0).circle(0.04736842105263158)
solid1=wp_sketch1.add(loop3).extrude(-0.75)
solid=solid.cut(solid1)
| 1,394
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00039733
|
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.1105263157894737, 0.20526315789473684).circle(0.015789473684210527)
loop2=wp_sketch0.moveTo(0.3631578947368421, -0.5368421052631579).circle(0.015789473684210527)
loop3=wp_sketch0.moveTo(0.7578947368421053, 0.6631578947368422).circle(0.015789473684210527)
loop4=wp_sketch0.moveTo(1.1368421052631579, -0.5368421052631579).circle(0.015789473684210527)
loop5=wp_sketch0.moveTo(1.3894736842105264, 0.20526315789473684).circle(0.015789473684210527)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).add(loop5).extrude(0.015625)
solid=solid0
| 1,238
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00039055
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0546875, 0.0, 0.6953125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.05921052631578947, 0.0).circle(0.05921052631578947)
loop1=wp_sketch0.moveTo(0.05921052631578947, 0.0).circle(0.019736842105263157)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.109375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.09375, 0.0, 0.3984375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop2=wp_sketch1.moveTo(0.0, 0.0).threePointArc((0.0962171052631579, 0.08507893764914959), (0.1924342105263158, 0.0)).lineTo(0.15394736842105264, 0.3046875).threePointArc((0.0962171052631579, 0.23939943975130132), (0.03848684210526316, 0.3046875)).lineTo(0.0, 0.0).close()
loop3=wp_sketch1.moveTo(0.08659539473684211, 0.21167763157894737).circle(0.01924342105263158)
solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.109375)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.09375, 0.0, 0.3828125), 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.09868421052631579, 0.0).circle(0.09868421052631579)
loop5=wp_sketch2.moveTo(0.09868421052631579, 0.0).circle(0.020559210526315787)
solid2=wp_sketch2.add(loop4).add(loop5).extrude(0.109375)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.09375, 0.0, 0.375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop6=wp_sketch3.moveTo(0.03618421052631579, -0.3799342105263158).threePointArc((0.12896091268401655, -0.3270274687849359), (0.09950657894736842, -0.4296875)).lineTo(0.3663651315789474, -0.4206414473684211).threePointArc((0.3170919265813337, -0.37314967105263164), (0.3663651315789474, -0.32565789473684215)).lineTo(0.2080592105263158, -0.32113486842105265).threePointArc((0.1736132592983376, -0.3038557269005082), (0.16282894736842107, -0.266858552631579)).lineTo(0.1899671052631579, 0.0).threePointArc((0.09498355263157895, -0.0860880740310127), (0.0, 0.0)).close()
solid3=wp_sketch3.add(loop6).extrude(0.109375)
solid=solid.union(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, -0.0546875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop7=wp_sketch4.moveTo(0.003700657894736842, 0.0).threePointArc((0.05813146688128181, 0.05859375), (0.003700657894736842, 0.1171875)).lineTo(0.0, 0.1171875).threePointArc((-0.05859375, 0.05859375), (0.0, 0.0)).close()
loop8=wp_sketch4.moveTo(0.0, 0.05921052631578947).circle(0.019736842105263157)
solid4=wp_sketch4.add(loop7).add(loop8).extrude(0.109375)
solid=solid.union(solid4)
# Generating a workplane for sketch 5
wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(0.21875, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop9=wp_sketch5.moveTo(0.04736842105263158, 0.0).circle(0.04638157894736842)
loop10=wp_sketch5.moveTo(0.04736842105263158, 0.0).circle(0.01875)
solid5=wp_sketch5.add(loop9).add(loop10).extrude(0.109375)
solid=solid.union(solid5)
| 3,270
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00032114
|
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.5342927631578946, 0.0).lineTo(0.5342927631578946, 0.5703125).lineTo(0.0, 0.5703125).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.375)
solid=solid0
| 948
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00030065
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0234375, -0.0234375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.0390625, 0.0).lineTo(0.0390625, 0.0390625).lineTo(0.0, 0.0390625).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.03618421052631579, 0.0028782894736842104).lineTo(0.03618421052631579, 0.03618421052631579).lineTo(0.0028782894736842104, 0.03618421052631579).lineTo(0.0028782894736842104, 0.0028782894736842104).close()
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch1.moveTo(0.015789473684210527, 0.0).circle(0.015789473684210527)
loop3=wp_sketch1.moveTo(0.015789473684210527, 0.0).circle(0.008223684210526315)
solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.046875)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0625, -0.0546875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop4=wp_sketch2.moveTo(0.007894736842105263, 0.0).circle(0.007730263157894737)
solid2=wp_sketch2.add(loop4).extrude(0.1015625)
solid=solid.union(solid2)
| 1,532
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00039727
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5859375, 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.5960526315789474, 0.0).circle(0.5836348684210526)
loop1=wp_sketch0.moveTo(0.5960526315789474, 0.0).circle(0.11175986842105264)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.3203125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.109375, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch1.moveTo(0.10657894736842105, 0.0).circle(0.10657894736842105)
solid1=wp_sketch1.add(loop2).extrude(0.75)
solid=solid.union(solid1)
| 1,096
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00036414
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.5, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 0.9947368421052631).lineTo(0.0, 0.9947368421052631).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.03125)
solid=solid0
| 867
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0003/00034559
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1171875, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.1171875, -0.025904605263157892).lineTo(0.1171875, 0.03207236842105263).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.1484375, -0.0234375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.1171875, 0.025904605263157892).lineTo(0.0, 0.05921052631578947).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.03125)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.0234375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.140625, 0.0).lineTo(0.140625, 0.05625).lineTo(0.0, 0.05625).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.03125)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.0546875, 0.0, 0.03125), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch3.moveTo(0.13026315789473686, -0.013569078947368422).lineTo(0.2578125, 0.0).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop3).extrude(0.71875)
solid=solid.union(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.0546875, 0.0, 0.03125), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop4=wp_sketch4.moveTo(0.2578125, 0.0).lineTo(0.13026315789473686, 0.013569078947368422).lineTo(0.0, 0.0).close()
solid4=wp_sketch4.add(loop4).extrude(0.71875)
solid=solid.union(solid4)
# Generating a workplane for sketch 5
wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.015625, 0.0), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042)))
loop5=wp_sketch5.moveTo(0.140625, 0.0).lineTo(0.140625, 0.028125).lineTo(0.0, 0.028125).lineTo(0.0, 0.0).close()
solid5=wp_sketch5.add(loop5).extrude(0.2890625)
solid=solid.union(solid5)
| 2,060
|
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.