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 |
|---|---|---|---|---|---|
0000/00001211
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.1875, 0.40625, 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.20309646890677113, -0.18547594542618961), (0.2590460526315789, -0.45476973684210525)).lineTo(0.29934210526315785, -0.45476973684210525).threePointArc((0.4058567494417209, -0.3518040883888738), (0.546875, -0.397203947368421)).threePointArc((0.39086640588577026, 0.04326532737008078), (0.0, 0.29934210526315785)).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.20388308688917922, -0.1598858844393874), (0.29358552631578944, -0.40296052631578944)).threePointArc((0.37498226339033713, -0.33063840844263687), (0.48355263157894735, -0.3223684210526316)).threePointArc((0.33629785721532535, 0.019887758322479895), (0.028782894736842105, 0.23026315789473684)).lineTo(0.028782894736842105, 0.01726973684210526).close()
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.03125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.1875, 0.7109375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch1.moveTo(0.03782894736842105, 0.022697368421052633).threePointArc((0.41245510694954957, -0.25121933454472206), (0.5447368421052632, -0.6960526315789474)).threePointArc((0.5554581765736076, -0.7080286655316556), (0.5674342105263158, -0.71875)).threePointArc((0.41380379511340626, -0.24847017559795698), (0.0, 0.022697368421052633)).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop2).extrude(0.09375)
solid=solid.union(solid1)
| 1,871
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00000696
|
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.48947368421052634).lineTo(0.0, 0.48947368421052634).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.375)
solid=solid0
| 868
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00009843
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.6328125, -0.09375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.03355263157894737, 0.0).lineTo(0.0, 0.09375).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.6328125, -0.2578125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.0625, 0.0).lineTo(0.0625, 0.0625).lineTo(0.0, 0.0625).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.75)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.671875, -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.03355263157894737, 0.0).lineTo(0.03355263157894737, 0.09375).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.75)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.703125, -0.2578125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch3.moveTo(0.0625, 0.0).lineTo(0.0625, 0.0625).lineTo(0.0, 0.0625).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop3).extrude(0.75)
solid=solid.union(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.2578125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop4=wp_sketch4.moveTo(0.6328125, 0.0).lineTo(0.6328125, 0.06661184210526316).lineTo(0.6328125, 0.16652960526315788).lineTo(0.6328125, 0.2597861842105263).lineTo(0.0, 0.2597861842105263).lineTo(0.0, 0.0).close()
solid4=wp_sketch4.add(loop4).extrude(0.75)
solid=solid.union(solid4)
# Generating a workplane for sketch 5
wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(-0.6328125, -0.2578125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop5=wp_sketch5.moveTo(0.6328125, 0.0).lineTo(0.6328125, 0.2597861842105263).lineTo(0.0, 0.2597861842105263).lineTo(0.0, 0.16652960526315788).lineTo(0.0, 0.06661184210526316).lineTo(0.0, 0.0).close()
solid5=wp_sketch5.add(loop5).extrude(0.75)
solid=solid.union(solid5)
| 2,082
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00004383
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.1953125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.35526315789473684, -0.22894736842105265).lineTo(0.7342105263157895, -0.031578947368421054).lineTo(0.75, 0.39473684210526316).lineTo(0.39473684210526316, 0.6236842105263158).lineTo(0.015789473684210527, 0.4263157894736842).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(-0.3125)
solid=solid0
| 1,010
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00005062
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.015625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.004849400792596651, -0.0109400728916141), (0.015789473684210527, -0.015789473684210527)).lineTo(0.75, -0.0868421052631579).lineTo(0.75, 0.015789473684210527).lineTo(0.0, 0.015789473684210527).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.16578947368421054, -0.007894736842105263).circle(0.007894736842105263)
loop2=wp_sketch0.moveTo(0.2131578947368421, -0.007894736842105263).circle(0.015789473684210527)
loop3=wp_sketch0.moveTo(0.26842105263157895, -0.007894736842105263).circle(0.015789473684210527)
loop4=wp_sketch0.moveTo(0.3157894736842105, -0.015789473684210527).circle(0.015789473684210527)
loop5=wp_sketch0.moveTo(0.37105263157894736, -0.015789473684210527).circle(0.02368421052631579)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).add(loop5).extrude(0.0234375)
solid=solid0
| 1,481
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00001562
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5, -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.0, 0.0).lineTo(1.0, 1.0).lineTo(0.0, 1.0).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.5, both=True)
solid=solid0
| 836
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00001210
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.3125, 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.3078947368421053, -0.75).lineTo(0.3078947368421053, -0.4736842105263158).threePointArc((0.22420859269912646, -0.19117230948240987), (0.0, 0.0)).close()
solid0=wp_sketch0.add(loop0).extrude(0.140625)
solid=solid0
| 919
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00002719
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.3984375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.06842105263157895, 0.0).lineTo(0.06842105263157895, 0.3263157894736842).lineTo(0.43157894736842106, 0.3263157894736842).lineTo(0.43157894736842106, 0.0).lineTo(0.5, 0.0).lineTo(0.5, 0.39473684210526316).lineTo(0.0, 0.39473684210526316).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 1,013
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00003407
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.53125, 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.011898787014296542, -0.028726212985703506), (0.040625, -0.040625)).lineTo(0.284375, -0.040625).threePointArc((0.2932138347648318, -0.03696383476483183), (0.296875, -0.028125)).lineTo(0.296875, 0.140625).threePointArc((0.28497621298570347, 0.16935121298570346), (0.25625000000000003, 0.18125000000000002)).lineTo(0.0125, 0.18125000000000002).threePointArc((0.0036611652351681736, 0.17758883476483184), (0.0, 0.16875)).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.046875)
solid=solid0
| 1,176
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00009664
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2109375, 0.0, 0.0390625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.05131578947368422, 0.0).circle(0.05024671052631579)
loop1=wp_sketch0.moveTo(0.0352796052631579, -0.02672697368421053).lineTo(0.06628289473684211, -0.02672697368421053).lineTo(0.08125, 0.0).lineTo(0.06628289473684211, 0.02672697368421053).lineTo(0.0352796052631579, 0.02672697368421053).lineTo(0.0203125, 0.0).close()
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.046875, both=True)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.2578125, 0.0, 0.0234375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop2=wp_sketch1.moveTo(0.0037006578947368423, -0.022944078947368423).threePointArc((0.03330592105263158, -0.011939494067385892), (0.06291118421052631, -0.022944078947368423)).threePointArc((0.04568349648697057, 0.01931312381336339), (0.0703125, 0.057730263157894736)).threePointArc((0.03284886916294023, 0.03167540311126373), (0.0, 0.0)).close()
solid1=wp_sketch1.add(loop2).extrude(0.046875, both=True)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.375, 0.0, 0.0078125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop3=wp_sketch2.moveTo(0.0012335526315789473, -0.022203947368421052).threePointArc((0.061406189574479304, -0.03200199377201752), (0.1171875, -0.007401315789473684)).lineTo(0.11348684210526315, 0.016036184210526314).threePointArc((0.05972382945762683, -0.013074028914703375), (0.0, 0.0)).close()
solid2=wp_sketch2.add(loop3).extrude(0.046875, both=True)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.15625, 0.0, 0.1640625), 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.039473684210526314, 0.0).circle(0.039473684210526314)
solid3=wp_sketch3.add(loop4).extrude(0.046875, both=True)
solid=solid.union(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.2109375, 0.0, 0.0390625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop5=wp_sketch4.moveTo(0.05131578947368422, 0.0).circle(0.05024671052631579)
loop6=wp_sketch4.moveTo(0.0352796052631579, -0.02672697368421053).lineTo(0.06628289473684211, -0.02672697368421053).lineTo(0.08125, 0.0).lineTo(0.06628289473684211, 0.02672697368421053).lineTo(0.0352796052631579, 0.02672697368421053).lineTo(0.0203125, 0.0).close()
solid4=wp_sketch4.add(loop5).add(loop6).extrude(0.25, both=True)
solid=solid.union(solid4)
# Generating a workplane for sketch 5
wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(-0.1875, 0.0, 0.078125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop7=wp_sketch5.moveTo(0.021875, 0.0).threePointArc((0.06405674169862238, -0.009426317473627694), (0.0725328947368421, -0.051809210526315784)).threePointArc((0.08773991644289544, 0.007350543669994537), (0.10937499999999999, 0.06447368421052631)).threePointArc((0.06849773964115907, 0.040970532610733086), (0.03453947368421052, 0.07368421052631578)).threePointArc((0.028692992964342055, 0.03148745395585939), (0.0, 0.0)).close()
solid5=wp_sketch5.add(loop7).extrude(0.078125, both=True)
solid=solid.union(solid5)
| 3,446
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00006225
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0078125, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.015625, 0.0).lineTo(0.015625, 0.001644736842105263).lineTo(0.008552631578947369, 0.001644736842105263).lineTo(0.008552631578947369, 0.015625).lineTo(0.007072368421052631, 0.015625).lineTo(0.007072368421052631, 0.001644736842105263).lineTo(0.0, 0.001644736842105263).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 1,115
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00000132
|
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(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.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.39473684210526316)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.171875)
solid=solid0
| 954
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00004817
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.1953125, 0.0, -0.125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.078125, 0.0).lineTo(0.078125, 0.033717105263157895).lineTo(0.04769736842105263, 0.033717105263157895).lineTo(0.04769736842105263, 0.022203947368421052).lineTo(0.030427631578947366, 0.022203947368421052).lineTo(0.030427631578947366, 0.033717105263157895).lineTo(0.0, 0.033717105263157895).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.3671875)
solid=solid0
| 1,144
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00008022
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5546875, -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.0, 0.0).threePointArc((0.5562088815789473, -0.0859969650585715), (1.1124177631578946, 0.0)).threePointArc((1.3084993819692468, 0.26780427631578946), (1.1124177631578946, 0.5356085526315789)).threePointArc((0.5562088815789473, 0.6216055176901504), (0.0, 0.5356085526315789)).threePointArc((-0.19608161881135217, 0.26780427631578946), (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.546875, -0.25, 0.0234375), 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.5462171052631579, -0.0844521093988367), (1.0924342105263158, 0.0)).threePointArc((1.2751185745593707, 0.24950657894736844), (1.0924342105263158, 0.4990131578947369)).threePointArc((0.5462171052631579, 0.5834652672935735), (0.0, 0.4990131578947369)).threePointArc((-0.18268436403305488, 0.24950657894736844), (0.0, 0.0)).close()
solid1=wp_sketch1.add(loop1).extrude(0.015625)
solid=solid.union(solid1)
| 1,538
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00001006
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.015625, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.019736842105263157, 0.0).circle(0.019736842105263157)
solid0=wp_sketch0.add(loop0).extrude(0.75, both=True)
solid=solid0
| 898
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00007463
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = 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)))
loop0=wp_sketch0.moveTo(0.009210526315789473, -0.009210526315789473).lineTo(0.11578947368421053, -0.009210526315789473).lineTo(0.125, 0.0).lineTo(0.125, 0.10657894736842105).lineTo(0.11578947368421053, 0.11578947368421053).lineTo(0.009210526315789473, 0.11578947368421053).lineTo(0.0, 0.10657894736842105).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.015789473684210527, 0.007894736842105263).circle(0.003947368421052632)
loop2=wp_sketch0.moveTo(0.015789473684210527, 0.09999999999999999).circle(0.003947368421052632)
loop3=wp_sketch0.moveTo(0.06315789473684211, 0.05394736842105263).circle(0.03289473684210526)
loop4=wp_sketch0.moveTo(0.10921052631578947, 0.007894736842105263).circle(0.003947368421052632)
loop5=wp_sketch0.moveTo(0.10921052631578947, 0.09999999999999999).circle(0.003947368421052632)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).add(loop5).extrude(-0.1171875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = 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)))
loop6=wp_sketch1.moveTo(0.031578947368421054, 0.0).circle(0.030921052631578946)
loop7=wp_sketch1.moveTo(0.031578947368421054, 0.0).circle(0.01118421052631579)
solid1=wp_sketch1.add(loop6).add(loop7).extrude(-0.1171875)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.015625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop8=wp_sketch2.moveTo(0.011842105263157895, 0.0).circle(0.011842105263157895)
solid2=wp_sketch2.add(loop8).extrude(-0.1171875)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = 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)))
loop9=wp_sketch3.moveTo(0.031578947368421054, 0.0).circle(0.030921052631578946)
loop10=wp_sketch3.moveTo(0.031578947368421054, 0.0).circle(0.01118421052631579)
solid3=wp_sketch3.add(loop9).add(loop10).extrude(0.0078125)
solid=solid.union(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.015625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop11=wp_sketch4.moveTo(0.011842105263157895, 0.0).circle(0.011842105263157895)
solid4=wp_sketch4.add(loop11).extrude(0.75)
solid=solid.union(solid4)
| 2,393
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00008750
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0703125, 0.0, 0.6875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.06447368421052631, 0.0).lineTo(0.10921052631578947, -0.046052631578947366).lineTo(0.125, -0.03684210526315789).lineTo(0.07894736842105263, 0.009210526315789473).lineTo(0.125, 0.05394736842105263).lineTo(0.10921052631578947, 0.06315789473684211).lineTo(0.06447368421052631, 0.017105263157894738).lineTo(0.0, 0.017105263157894738).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0859375)
solid=solid0
| 1,179
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00002533
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.140625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.14605263157894738, 0.0).circle(0.14300986842105262)
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 838
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00000330
|
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.38281250000000006, 0.0).lineTo(0.38281250000000006, 0.08059210526315791).lineTo(0.0, 0.08059210526315791).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.203125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.046875, 0.0078125, 0.203125), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.28125, 0.0).lineTo(0.28125, 0.05625).lineTo(0.0, 0.05625).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(-0.046875)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.3828125, 0.078125, 0.0), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042)))
loop2=wp_sketch2.moveTo(0.35945723684210523, 0.030921052631578946).threePointArc((0.3665504195127023, 0.038651315789473686), (0.35945723684210523, 0.04638157894736842)).lineTo(0.0, 0.07730263157894737).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(-0.2109375)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.3671875, 0.046875, 0.0), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042)))
loop3=wp_sketch3.moveTo(0.3671875, -0.030921052631578946).lineTo(0.3671875, 0.04638157894736842).lineTo(0.0, 0.015460526315789473).threePointArc((-0.007093182670597039, 0.007730263157894737), (0.0, 0.0)).close()
solid3=wp_sketch3.add(loop3).extrude(-0.2109375)
solid=solid.union(solid3)
| 1,920
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00002241
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1875, -0.40625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.2069078947368421, -0.2069078947368421).lineTo(0.42598684210526316, 0.0).lineTo(0.42598684210526316, 0.9493421052631579).lineTo(0.2069078947368421, 1.15625).lineTo(0.0, 0.9493421052631579).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.32861842105263156, 0.14605263157894738).lineTo(0.32861842105263156, 0.7911184210526315).lineTo(0.09736842105263158, 0.7911184210526315).lineTo(0.09736842105263158, 0.14605263157894738).close()
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.2734375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.09375, -0.2578125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch1.moveTo(0.23207236842105264, 0.0).lineTo(0.23207236842105264, 0.6484375).lineTo(0.0, 0.6484375).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop2).extrude(0.234375)
solid=solid.union(solid1)
| 1,414
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00006812
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0390625, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.017763157894736842, 0.0).lineTo(0.017763157894736842, 0.5625).lineTo(0.0, 0.5625).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0234375)
solid=solid0
| 956
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00006190
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.21875, 0.0, -0.2109375), 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.11217105263157895, 0.0).lineTo(0.11217105263157895, 0.42828947368421055).lineTo(0.3263157894736842, 0.42828947368421055).lineTo(0.3263157894736842, 0.0).lineTo(0.5710526315789474, 0.0).lineTo(0.5710526315789474, 0.3773026315789474).lineTo(0.7138157894736843, 0.3773026315789474).lineTo(0.7138157894736843, 0.0).lineTo(0.96875, 0.0).lineTo(0.96875, 0.5200657894736842).lineTo(0.0, 0.5200657894736842).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.046875)
solid=solid0
| 1,237
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00001614
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5, -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.0, 0.0).lineTo(1.0, 1.0).lineTo(0.0, 1.0).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.25)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.5, 0.0, 0.25), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.5, 0.0).lineTo(0.5, 0.5).lineTo(0.0, 0.5).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.25)
solid=solid.union(solid1)
| 1,019
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00001172
|
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.07105263157894737).lineTo(0.0, 0.07105263157894737).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.015625)
solid=solid0
| 943
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00005314
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0703125, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.07500000000000001, 0.0).circle(0.07500000000000001)
loop1=wp_sketch0.moveTo(0.07500000000000001, 0.0).circle(0.028125)
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.0, -0.0703125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch1.moveTo(0.5703125, 0.0).lineTo(0.5703125, 0.15008223684210525).lineTo(0.0, 0.15008223684210525).threePointArc((0.07504111842105263, 0.07504111842105263), (0.0, 0.0)).close()
solid1=wp_sketch1.add(loop2).extrude(0.0546875)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.5703125, -0.0703125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch2.moveTo(0.1171875, 0.009375000000000001).threePointArc((0.05234375, 0.07421875), (0.1171875, 0.1390625)).lineTo(0.0, 0.1484375).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop3).extrude(0.0546875)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.6875, -0.0625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop4=wp_sketch3.moveTo(0.0, 0.04753289473684211).threePointArc((-0.018873355263157896, 0.06640625), (0.0, 0.08527960526315789)).lineTo(0.0, 0.1328125).threePointArc((-0.06640625, 0.06640625), (0.0, 0.0)).close()
solid3=wp_sketch3.add(loop4).extrude(0.0546875)
solid=solid.union(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.6875, -0.0625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop5=wp_sketch4.moveTo(0.0, 0.0).threePointArc((0.06640625, 0.06640625), (0.0, 0.1328125)).lineTo(0.0, 0.08527960526315789).threePointArc((0.018873355263157896, 0.06640625), (0.0, 0.04753289473684211)).lineTo(0.0, 0.0).close()
solid4=wp_sketch4.add(loop5).extrude(0.0546875)
solid=solid.union(solid4)
| 2,057
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00005466
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.078125, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.07894736842105263, 0.0).circle(0.07894736842105263)
loop1=wp_sketch0.moveTo(0.07894736842105263, 0.0).circle(0.018092105263157895)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.078125, both=True)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.3828125, 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.3828947368421053, 0.0).circle(0.3828947368421053)
loop3=wp_sketch1.moveTo(0.3828947368421053, 0.0).circle(0.3350328947368421)
solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.078125, both=True)
solid=solid.union(solid1)
| 1,316
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00008397
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.0625, 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.12631578947368421).lineTo(0.0, 0.12631578947368421).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.6953125, 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.04736842105263158, 0.0).circle(0.04638157894736842)
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.6015625, 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.296875)
solid=solid.cut(solid2)
| 1,261
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00005670
|
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.16373355263157893, -0.2381578947368421).lineTo(0.32746710526315786, 0.0).lineTo(0.2530427631578947, 0.0).threePointArc((0.7516858552631579, 0.49864309210526314), (1.250328947368421, 0.0)).lineTo(1.250328947368421, -0.2381578947368421).lineTo(1.4140625, -0.2381578947368421).lineTo(1.4140625, 0.0).threePointArc((0.7516858552631579, 0.6623766447368421), (0.08930921052631578, 0.0)).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0859375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.71875, -0.015625, 0.0), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042)))
loop1=wp_sketch1.moveTo(0.07236842105263158, 0.0).threePointArc((0.7163580095866338, -0.6665949266766809), (1.375, -0.014473684210526316)).lineTo(1.375, 0.2026315789473684).lineTo(1.2447368421052631, 0.2026315789473684).lineTo(1.2447368421052631, -0.014473684210526316).threePointArc((0.7163580095866338, -0.5347233097623975), (0.2026315789473684, 0.0)).lineTo(0.275, 0.0).lineTo(0.13026315789473683, 0.2026315789473684).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(-0.078125)
solid=solid.cut(solid1)
| 1,717
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00001402
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.3046875, 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.6157894736842106).lineTo(0.0, 0.6157894736842106).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.015625, both=True)
solid=solid0
| 878
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00005894
|
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.49736842105263157).lineTo(0.49736842105263157, 0.49736842105263157).lineTo(0.0, 0.12631578947368421).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.25)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.5, -0.125, 0.5), 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.12631578947368421).lineTo(0.0, 0.12631578947368421).lineTo(0.0, 0.0).close()
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.0, 0.0, 0.5), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.5, -0.12631578947368421).lineTo(0.5, 0.0).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.75, -0.125, 0.125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop3=wp_sketch3.moveTo(0.12631578947368421, 0.0).lineTo(0.0, 0.375).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop3).extrude(-0.75)
solid=solid.union(solid3)
| 1,645
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00008418
|
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.631578947368421)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.1875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch1.moveTo(0.631578947368421, 0.0).circle(0.631578947368421)
loop3=wp_sketch1.moveTo(0.631578947368421, 0.0).circle(0.5)
solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.5625)
solid=solid.union(solid1)
| 1,128
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00009060
|
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.035526315789473684, 0.0).circle(0.035526315789473684)
solid0=wp_sketch0.add(loop0).extrude(0.7421875)
solid=solid0
| 846
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00003203
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, -0.75), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.3, 0.0).lineTo(0.3, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0546875, both=True)
solid=solid0
| 917
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00001400
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0859375, 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.171875, 0.0).lineTo(0.171875, 0.171875).lineTo(0.0, 0.171875).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75, both=True)
solid=solid0
| 941
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00001399
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.4375, 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.44210526315789467, 0.0).circle(0.44210526315789467)
loop1=wp_sketch0.moveTo(0.44210526315789467, 0.0).circle(0.24868421052631576)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75, both=True)
solid=solid0
| 959
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00008395
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.5, 0.0).lineTo(0.5, 0.25263157894736843).lineTo(0.0, 0.25263157894736843).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.25, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.5, 0.0).lineTo(0.5, 0.25263157894736843).lineTo(0.0, 0.25263157894736843).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.0625)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.5, -0.25, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.5, 0.0).lineTo(0.5, 0.25263157894736843).lineTo(0.0, 0.25263157894736843).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.0625)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.5, -0.25, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch3.moveTo(0.0, 0.25263157894736843).lineTo(0.0, 0.5).threePointArc((-0.25, 0.25), (0.0, 0.0)).close()
solid3=wp_sketch3.add(loop3).extrude(0.0625)
solid=solid.union(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = 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)))
loop4=wp_sketch4.moveTo(0.5, 0.0).lineTo(0.5, 0.25263157894736843).lineTo(0.0, 0.25263157894736843).lineTo(0.0, 0.0).close()
solid4=wp_sketch4.add(loop4).extrude(0.0625)
solid=solid.union(solid4)
# Generating a workplane for sketch 5
wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(0.5, -0.25, 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.25, 0.25), (0.0, 0.5)).lineTo(0.0, 0.25263157894736843).lineTo(0.0, 0.0).close()
solid5=wp_sketch5.add(loop5).extrude(0.0625)
solid=solid.union(solid5)
| 1,951
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00009935
|
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
|
|
0000/00008168
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0703125, -0.0859375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.14292763157894736, 0.0).lineTo(0.14292763157894736, 0.171875).lineTo(0.0, 0.171875).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(-0.75)
solid=solid0
| 887
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00005316
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.3125, 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.3157894736842105, 0.0).circle(0.3157894736842105)
loop1=wp_sketch0.moveTo(0.3157894736842105, 0.0).circle(0.125)
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.3125, 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.3157894736842105, 0.0).circle(0.3157894736842105)
loop3=wp_sketch1.moveTo(0.3157894736842105, 0.0).circle(0.125)
solid1=wp_sketch1.add(loop2).add(loop3).extrude(-0.0625)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.5, 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.5052631578947369, 0.0).circle(0.5052631578947369)
loop5=wp_sketch2.moveTo(0.5052631578947369, 0.0).circle(0.3157894736842105)
solid2=wp_sketch2.add(loop4).add(loop5).extrude(-0.0625)
solid=solid.union(solid2)
| 1,370
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00001170
|
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.6394736842105263, 0.0).lineTo(0.6394736842105263, -0.015789473684210527).lineTo(0.75, -0.015789473684210527).lineTo(0.75, 0.039473684210526314).lineTo(0.7105263157894737, 0.0868421052631579).lineTo(0.0, 0.0868421052631579).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.015625)
solid=solid0
| 1,055
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00001164
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.28125, -0.28125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.5625, 0.0).lineTo(0.5625, 0.5625).lineTo(0.0, 0.5625).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.28125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.1875, 0.0, 0.28125), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.18947368421052632, 0.0).circle(0.18947368421052632)
solid1=wp_sketch1.add(loop1).extrude(0.28125)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.1875, 0.0, 0.5625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.18947368421052632, 0.0).circle(0.18947368421052632)
loop3=wp_sketch2.moveTo(0.18947368421052632, 0.0).circle(0.09473684210526316)
solid2=wp_sketch2.add(loop2).add(loop3).extrude(0.1875)
solid=solid.union(solid2)
| 1,309
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00003954
|
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.37894736842105264, 0.0).lineTo(0.37894736842105264, 0.75).lineTo(0.0, 0.75).threePointArc((-0.375, 0.375), (0.0, 0.0)).close()
loop1=wp_sketch0.moveTo(-0.3236842105263158, 0.37894736842105264).circle(0.02368421052631579)
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.375), 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.37894736842105264, 0.0).threePointArc((0.7539473684210527, 0.375), (0.37894736842105264, 0.75)).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close()
loop3=wp_sketch1.moveTo(0.6947368421052632, 0.37894736842105264).circle(0.02368421052631579)
solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.015625)
solid=solid.union(solid1)
| 1,450
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00003149
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.40625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.4144736842105263, 0.0).circle(0.4144736842105263)
loop1=wp_sketch0.moveTo(0.4144736842105263, 0.0).circle(0.3885690789473685)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.09375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.2734375, 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.055263157894736833, 0.0).circle(0.05411184210526315)
loop3=wp_sketch1.moveTo(0.055263157894736833, 0.0).circle(0.04720394736842105)
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.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop4=wp_sketch2.moveTo(0.06710526315789474, 0.0).circle(0.06710526315789474)
loop5=wp_sketch2.moveTo(0.06710526315789474, 0.0).circle(0.04613486842105263)
solid2=wp_sketch2.add(loop4).add(loop5).extrude(-0.046875)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.25, 0.1484375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop6=wp_sketch3.moveTo(0.209375, -0.2).threePointArc((0.20493270530546015, -0.1078317421422776), (0.296875, -0.1)).lineTo(0.07500000000000001, 0.084375).threePointArc((0.08126996391995817, 0.00328086540448167), (0.0, 0.0)).close()
solid3=wp_sketch3.add(loop6).extrude(-0.046875)
solid=solid.union(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.265625, 0.1875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop7=wp_sketch4.moveTo(0.04736842105263158, 0.0).circle(0.04736842105263158)
solid4=wp_sketch4.add(loop7).extrude(-0.046875)
solid=solid.union(solid4)
# Generating a workplane for sketch 5
wp_sketch5 = 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)))
loop8=wp_sketch5.moveTo(0.04736842105263158, 0.0).circle(0.04736842105263158)
solid5=wp_sketch5.add(loop8).extrude(-0.046875)
solid=solid.union(solid5)
# Generating a workplane for sketch 6
wp_sketch6 = cq.Workplane(cq.Plane(cq.Vector(-0.265625, 0.1875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop9=wp_sketch6.moveTo(0.04736842105263158, 0.0).circle(0.04736842105263158)
solid6=wp_sketch6.add(loop9).extrude(0.09375)
solid=solid.union(solid6)
# Generating a workplane for sketch 7
wp_sketch7 = 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)))
loop10=wp_sketch7.moveTo(0.04736842105263158, 0.0).circle(0.04736842105263158)
solid7=wp_sketch7.add(loop10).extrude(-0.09375)
solid=solid.union(solid7)
# Generating a workplane for sketch 8
wp_sketch8 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0234375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop11=wp_sketch8.moveTo(0.09868421052631579, 0.0).circle(0.09662828947368421)
loop12=wp_sketch8.moveTo(0.09868421052631579, 0.0).circle(0.049342105263157895)
solid8=wp_sketch8.add(loop11).add(loop12).extrude(0.09375)
solid=solid.union(solid8)
| 2,784
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00004154
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.078125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.021677952050337762, -0.052335205844399074), (0.07401315789473684, -0.07401315789473684)).lineTo(0.6291118421052632, -0.07401315789473684).threePointArc((0.6814470479496622, -0.052335205844399074), (0.703125, 0.0)).lineTo(0.703125, 0.25164473684210525).threePointArc((0.6829799106393654, 0.3076806005812412), (0.6291118421052632, 0.33305921052631576)).lineTo(0.07401315789473684, 0.33305921052631576).threePointArc((0.020145089360634656, 0.3076806005812412), (0.0, 0.25164473684210525)).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.21875)
solid=solid0
| 1,245
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00001776
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.2890625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.6960526315789474, 0.060526315789473685).lineTo(0.6960526315789474, 0.6960526315789474).lineTo(0.5296052631578947, 0.71875).lineTo(0.4993421052631579, 0.5069078947368421).lineTo(0.3555921052631579, 0.5069078947368421).lineTo(0.31776315789473686, 0.33289473684210524).lineTo(0.11348684210526316, 0.33289473684210524).lineTo(0.11348684210526316, 0.15888157894736843).lineTo(0.0, 0.15888157894736843).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.6484375)
solid=solid0
| 1,242
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00006958
|
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
| 839
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00001979
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.109375, 0.109375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.033576739064634195, -0.08106141883010255), (0.11463815789473684, -0.11463815789473684)).lineTo(0.3439144736842105, -0.11463815789473684).threePointArc((0.4585526315789474, 0.0), (0.3439144736842105, 0.11463815789473684)).threePointArc((0.26285305485410787, 0.14821489695937104), (0.2292763157894737, 0.2292763157894737)).lineTo(0.2292763157894737, 0.5259868421052631).threePointArc((0.11463815789473684, 0.640625), (0.0, 0.5259868421052631)).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.11463815789473684, 0.5259868421052631).circle(0.026973684210526316)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0234375)
solid=solid0
| 1,295
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00004342
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0546875, 0.078125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.019736842105263157, 0.0).circle(0.01932565789473684)
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(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.04144736842105263, 0.0).threePointArc((0.10937499999999999, 0.06792763157894736), (0.17730263157894735, 0.0)).lineTo(0.21874999999999997, 0.0).lineTo(0.21874999999999997, 0.11052631578947367).lineTo(0.0, 0.11052631578947367).lineTo(0.0, 0.0).close()
loop2=wp_sketch1.moveTo(0.03453947368421052, 0.07368421052631578).circle(0.018421052631578946)
loop3=wp_sketch1.moveTo(0.18421052631578946, 0.07368421052631578).circle(0.018421052631578946)
solid1=wp_sketch1.add(loop1).add(loop2).add(loop3).extrude(0.75)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.09375, 0.078125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop4=wp_sketch2.moveTo(0.019736842105263157, 0.0).circle(0.01932565789473684)
solid2=wp_sketch2.add(loop4).extrude(0.75)
solid=solid.union(solid2)
| 1,558
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00005706
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.234375, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.23684210526315788, 0.0).circle(0.23684210526315788)
loop1=wp_sketch0.moveTo(0.23684210526315788, 0.0).circle(0.09375)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75)
solid=solid0
| 891
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00003377
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.375, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.37894736842105264, 0.0).circle(0.37894736842105264)
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 835
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00003411
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.7421052631578947)
loop1=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.26842105263157895)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.4765625)
solid=solid0
| 973
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00003405
|
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(0.7109375, 0.0).lineTo(0.7109375, 0.4115953947368421).lineTo(0.0, 0.4115953947368421).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.1875)
solid=solid0
| 878
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00008550
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.078125, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.07894736842105263, 0.0).circle(0.07894736842105263)
loop1=wp_sketch0.moveTo(0.07894736842105263, 0.0).circle(0.07072368421052631)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75)
solid=solid0
| 903
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00005921
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5859375, -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.3359375, 0.0).lineTo(1.3359375, 0.84375).lineTo(0.0, 0.84375).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.4765625, -0.203125, 0.265625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.06710526315789474, 0.0).circle(0.06710526315789474)
solid1=wp_sketch1.add(loop1).extrude(-0.5546875)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.46875, 0.3515625, 0.265625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.06710526315789474, 0.0).circle(0.06710526315789474)
solid2=wp_sketch2.add(loop2).extrude(-0.5546875)
solid=solid.cut(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.4609375, 0.359375, 0.265625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch3.moveTo(0.06710526315789474, 0.0).circle(0.06710526315789474)
solid3=wp_sketch3.add(loop3).extrude(-0.5546875)
solid=solid.cut(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.46875, -0.1875, 0.265625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop4=wp_sketch4.moveTo(0.06710526315789474, 0.0).circle(0.06710526315789474)
solid4=wp_sketch4.add(loop4).extrude(-0.5546875)
solid=solid.cut(solid4)
| 1,688
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00002096
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6171875, 0.6484375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.8108552631578947, -1.3001644736842106).threePointArc((0.8825293834009255, -1.3212022592445725), (0.9226973684210527, -1.2582236842105263)).lineTo(0.9226973684210527, -0.5032894736842105).lineTo(0.08388157894736842, 0.08388157894736842).threePointArc((0.007520873082021621, 0.0763607058653468), (0.0, 0.0)).close()
solid0=wp_sketch0.add(loop0).extrude(0.2890625)
solid=solid0
| 1,070
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00000695
|
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.7105263157894737, 0.0).lineTo(0.7105263157894737, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.328125)
solid=solid0
| 869
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00002900
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.21875), 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.03898026315789474, 0.0).lineTo(0.03898026315789474, -0.03248355263157895).lineTo(0.5457236842105263, -0.03248355263157895).lineTo(0.5457236842105263, 0.0).lineTo(0.5847039473684211, 0.0).lineTo(0.5847039473684211, 0.5847039473684211).lineTo(0.5457236842105263, 0.5847039473684211).lineTo(0.5457236842105263, 0.6171875).lineTo(0.03898026315789474, 0.6171875).lineTo(0.03898026315789474, 0.5847039473684211).lineTo(0.0, 0.5847039473684211).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.4287828947368421, 0.15592105263157896).lineTo(0.4287828947368421, 0.24037828947368423).threePointArc((0.3735608552631579, 0.29560032894736843), (0.4287828947368421, 0.35082236842105263)).lineTo(0.4287828947368421, 0.4287828947368421).lineTo(0.15592105263157896, 0.4287828947368421).lineTo(0.15592105263157896, 0.35082236842105263).threePointArc((0.10069901315789474, 0.29560032894736843), (0.15592105263157896, 0.24037828947368423)).lineTo(0.15592105263157896, 0.15592105263157896).close()
loop2=wp_sketch0.moveTo(0.1819078947368421, 0.5587171052631579).lineTo(0.1819078947368421, 0.5847039473684211).lineTo(0.1234375, 0.5847039473684211).lineTo(0.1234375, 0.5587171052631579).close()
loop3=wp_sketch0.moveTo(0.3248355263157895, 0.0).lineTo(0.3248355263157895, 0.02598684210526316).lineTo(0.2598684210526316, 0.02598684210526316).lineTo(0.2598684210526316, 0.0).close()
loop4=wp_sketch0.moveTo(0.4677631578947369, 0.5587171052631579).lineTo(0.4677631578947369, 0.5847039473684211).lineTo(0.40279605263157897, 0.5847039473684211).lineTo(0.40279605263157897, 0.5587171052631579).close()
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).extrude(0.078125)
solid=solid0
| 2,229
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00002083
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.75), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.078125)
solid=solid0
| 911
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00005920
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5, -0.515625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.25, 0.0).lineTo(1.25, 0.881578947368421).lineTo(0.0, 0.881578947368421).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.359375)
solid=solid0
| 872
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00001213
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.2109375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.34449013157894737, 0.0).threePointArc((0.5546875, 0.21019736842105263), (0.34449013157894737, 0.42039473684210527)).lineTo(0.0, 0.42039473684210527).threePointArc((-0.21019736842105263, 0.21019736842105263), (0.0, 0.0)).close()
loop1=wp_sketch0.moveTo(0.0, 0.05838815789473684).lineTo(0.13429276315789473, 0.13429276315789473).lineTo(0.13429276315789473, 0.28610197368421053).lineTo(0.0, 0.3678453947368421).lineTo(-0.13429276315789473, 0.28610197368421053).lineTo(-0.13429276315789473, 0.13429276315789473).close()
loop2=wp_sketch0.moveTo(0.3736842105263158, 0.09342105263157895).lineTo(0.4787828947368421, 0.1518092105263158).lineTo(0.4787828947368421, 0.26858552631578947).lineTo(0.3736842105263158, 0.3328125).lineTo(0.2744243421052632, 0.26858552631578947).lineTo(0.2744243421052632, 0.1518092105263158).close()
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.75)
solid=solid0
| 1,493
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00005707
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.265625, 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.2723684210526316, 0.0).circle(0.2723684210526316)
loop1=wp_sketch0.moveTo(0.2723684210526316, 0.0).circle(0.1078125)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75)
solid=solid0
| 890
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00007676
|
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.125, 0.0).lineTo(0.125, 0.125).lineTo(0.0, 0.125).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.1015625, 0.0703125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.02368421052631579, 0.0).circle(0.02368421052631579)
solid1=wp_sketch1.add(loop1).extrude(0.140625)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.7109375, 0.0703125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop2=wp_sketch2.moveTo(0.02368421052631579, 0.0).circle(0.02368421052631579)
solid2=wp_sketch2.add(loop2).extrude(0.140625)
solid=solid.cut(solid2)
| 1,423
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00000119
|
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.296875, 0.0).lineTo(0.296875, 0.296875).lineTo(0.0, 0.296875).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 925
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00005049
|
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.2131578947368421, 0.0).circle(0.2087171052631579)
solid0=wp_sketch0.add(loop0).extrude(0.109375)
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)))
loop1=wp_sketch1.moveTo(0.10657894736842105, 0.0).circle(0.10657894736842105)
solid1=wp_sketch1.add(loop1).extrude(0.0625)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.2578125, 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.09473684210526316, 0.0).circle(0.09276315789473684)
solid2=wp_sketch2.add(loop2).extrude(0.0234375)
solid=solid.union(solid2)
| 1,224
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00000131
|
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(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.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.39473684210526316)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.2109375)
solid=solid0
| 955
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00006226
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.7109375, -0.5390625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.4296875, 0.0).lineTo(1.4296875, 1.0685032894736841).lineTo(0.0, 1.0685032894736841).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.7109375, 0.5703125, -0.0234375), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042)))
loop1=wp_sketch1.moveTo(1.4301809210526315, 0.0).lineTo(1.4609375, 0.0).lineTo(1.4609375, 1.1072368421052632).lineTo(1.4301809210526315, 1.1072368421052632).lineTo(1.4301809210526315, 0.03075657894736842).lineTo(0.0, 0.03075657894736842).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(-0.6953125)
solid=solid.union(solid1)
| 1,336
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00008784
|
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.023026315789473683)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75)
solid=solid0
| 908
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00001978
|
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.6171875, 0.0).lineTo(0.6171875, 0.3248355263157895).lineTo(0.0, 0.3248355263157895).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.4375)
solid=solid0
| 877
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00005277
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5546875, -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.0, 0.0).threePointArc((0.5562088815789473, -0.0859969650585715), (1.1124177631578946, 0.0)).threePointArc((1.3084993819692468, 0.26780427631578946), (1.1124177631578946, 0.5356085526315789)).threePointArc((0.5562088815789473, 0.6216055176901504), (0.0, 0.5356085526315789)).threePointArc((-0.19608161881135217, 0.26780427631578946), (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.546875, -0.25, 0.0234375), 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.5462171052631579, -0.0844521093988367), (1.0924342105263158, 0.0)).threePointArc((1.2751185745593707, 0.24950657894736844), (1.0924342105263158, 0.4990131578947369)).threePointArc((0.5462171052631579, 0.5834652672935735), (0.0, 0.4990131578947369)).threePointArc((-0.18268436403305488, 0.24950657894736844), (0.0, 0.0)).close()
solid1=wp_sketch1.add(loop1).extrude(0.015625)
solid=solid.union(solid1)
| 1,538
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00001005
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.296875, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.30394736842105263, 0.0).circle(0.30394736842105263)
loop1=wp_sketch0.moveTo(0.30394736842105263, 0.0).circle(0.09498355263157894)
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.09375, 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.09473684210526316, 0.0).circle(0.09473684210526316)
loop3=wp_sketch1.moveTo(0.09473684210526316, 0.0).circle(0.07302631578947369)
solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.75)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.09375, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop4=wp_sketch2.moveTo(0.09473684210526316, 0.0).circle(0.09473684210526316)
loop5=wp_sketch2.moveTo(0.09473684210526316, 0.0).circle(0.07302631578947369)
solid2=wp_sketch2.add(loop4).add(loop5).extrude(0.375)
solid=solid.cut(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.1484375, 0.203125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop6=wp_sketch3.moveTo(0.043421052631578944, 0.0).circle(0.043421052631578944)
solid3=wp_sketch3.add(loop6).extrude(-0.375, both=True)
solid=solid.cut(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.6875, 0.203125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop7=wp_sketch4.moveTo(0.043421052631578944, 0.0).circle(0.04251644736842105)
solid4=wp_sketch4.add(loop7).extrude(-0.375, both=True)
solid=solid.cut(solid4)
# Generating a workplane for sketch 5
wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.71875, 0.203125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop8=wp_sketch5.moveTo(0.07500000000000001, 0.0).circle(0.0734375)
solid5=wp_sketch5.add(loop8).extrude(0.75)
solid=solid.cut(solid5)
# Generating a workplane for sketch 6
wp_sketch6 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.1796875, 0.203125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop9=wp_sketch6.moveTo(0.07500000000000001, 0.0).circle(0.07500000000000001)
solid6=wp_sketch6.add(loop9).extrude(0.75)
solid=solid.cut(solid6)
| 2,626
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00004141
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1484375, -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.29095394736842106, 0.0).lineTo(0.29095394736842106, 0.453125).lineTo(0.0, 0.453125).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.2861842105263158, 0.009539473684210526).lineTo(0.2861842105263158, 0.19078947368421054).lineTo(0.2575657894736842, 0.19078947368421054).lineTo(0.2575657894736842, 0.21463815789473684).lineTo(0.2861842105263158, 0.21463815789473684).lineTo(0.2861842105263158, 0.44358552631578946).lineTo(0.009539473684210526, 0.44358552631578946).lineTo(0.009539473684210526, 0.21463815789473684).lineTo(0.009539473684210526, 0.19078947368421054).lineTo(0.009539473684210526, 0.009539473684210526).close()
solid0=wp_sketch0.add(loop0).add(loop1).extrude(-0.1484375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.140625, -0.03125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch1.moveTo(0.25, 0.0).lineTo(0.25, 0.021052631578947368).lineTo(0.0, 0.021052631578947368).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop2).extrude(-0.0078125)
solid=solid.union(solid1)
| 1,584
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00002530
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.4375, 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.44210526315789467, 0.0).circle(0.44210526315789467)
solid0=wp_sketch0.add(loop0).extrude(-0.75)
solid=solid0
| 836
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00005465
|
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, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.12236842105263158, 0.0).circle(0.12236842105263158)
loop1=wp_sketch0.moveTo(0.12236842105263158, 0.0).circle(0.03569078947368421)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0625, both=True)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.3828125, 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.39078947368421046, 0.0).circle(0.39078947368421046)
loop3=wp_sketch1.moveTo(0.39078947368421046, 0.0).circle(0.3256578947368421)
solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.0625, both=True)
solid=solid.union(solid1)
| 1,311
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00001171
|
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.07105263157894737).lineTo(0.0, 0.07105263157894737).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.015625)
solid=solid0
| 871
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00005317
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.1171875, -0.3125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.6416118421052632, 0.23207236842105264).lineTo(0.6416118421052632, 0.39588815789473686).lineTo(0.0, 0.6279605263157895).threePointArc((-0.4458177195345761, 0.31398026315789473), (0.0, 0.0)).close()
loop1=wp_sketch0.moveTo(-0.11603618421052632, 0.31398026315789473).circle(0.08190789473684211)
loop2=wp_sketch0.moveTo(0.4300164473684211, 0.31398026315789473).circle(0.06143092105263158)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.25)
solid=solid0
| 1,124
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00003766
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.5078125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 1.0105263157894737).lineTo(0.0, 1.0105263157894737).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.36867224849869745, 0.04152540497228218), (0.6, 0.3315789473684211)).lineTo(0.9, 0.3315789473684211).threePointArc((0.9223296878269438, 0.34082820690989835), (0.9315789473684211, 0.3631578947368421)).lineTo(0.9315789473684211, 0.6631578947368422).threePointArc((0.9190595807555771, 0.6775928457216807), (0.9, 0.6789473684210526)).lineTo(0.6, 0.6789473684210526).threePointArc((0.5809404192444229, 0.6775928457216807), (0.5684210526315789, 0.6631578947368422)).lineTo(0.5684210526315789, 0.3631578947368421).close()
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.046875)
solid=solid0
| 1,350
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00007266
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.3046875, 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).threePointArc((0.75, -0.17549482473862152), (1.1210526315789473, 0.0)).lineTo(1.5, 0.0).lineTo(1.5, 0.6).lineTo(1.1210526315789473, 0.6).threePointArc((0.75, 0.7754948247386213), (0.37894736842105264, 0.6)).lineTo(0.0, 0.6).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.7578947368421053, 0.3).circle(0.3)
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.75, -0.3046875, 0.109375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch1.moveTo(0.37894736842105264, 0.0).threePointArc((0.75, -0.17549482473862152), (1.1210526315789473, 0.0)).lineTo(1.5, 0.0).lineTo(1.5, 0.6).lineTo(1.1210526315789473, 0.6).threePointArc((0.75, 0.7754948247386213), (0.37894736842105264, 0.6)).lineTo(0.0, 0.6).lineTo(0.0, 0.0).close()
loop3=wp_sketch1.moveTo(0.48947368421052634, 0.18947368421052632).threePointArc((0.75, 0.019982724089644265), (1.0105263157894737, 0.18947368421052632)).lineTo(1.3421052631578947, 0.18947368421052632).lineTo(1.3421052631578947, 0.4263157894736842).lineTo(1.0105263157894737, 0.4263157894736842).threePointArc((0.75, 0.5958067495945663), (0.48947368421052634, 0.4263157894736842)).lineTo(0.15789473684210525, 0.4263157894736842).lineTo(0.15789473684210525, 0.18947368421052632).close()
solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.3671875)
solid=solid.union(solid1)
| 1,847
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00004747
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.71875, 0.0, -0.6875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(1.46875, 0.0).lineTo(1.46875, 1.2213815789473683).lineTo(0.0, 1.2213815789473683).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0546875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.0234375, 0.0, -0.0234375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.0, 0.0).threePointArc((0.04634046052631578, 0.0025904605263157893), (0.04375, 0.048930921052631575)).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.28125)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.1015625, 0.0, 0.046875), 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.04202302631578947, 0.046628289473684206).threePointArc((-0.002302631578947368, 0.04432565789473684), (0.0, 0.0)).close()
solid2=wp_sketch2.add(loop2).extrude(0.28125)
solid=solid.cut(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.1015625, 0.0, 0.046875), 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.08157894736842106, -0.07368421052631578).threePointArc((0.07894736842105263, -0.02763157894736842), (0.125, -0.024999999999999998)).lineTo(0.043421052631578944, 0.04868421052631579).threePointArc((0.046052631578947366, 0.002631578947368421), (0.0, 0.0)).close()
solid3=wp_sketch3.add(loop3).extrude(0.28125)
solid=solid.cut(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.0234375, 0.0, -0.0234375), 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.04202302631578947, 0.046628289473684206).threePointArc((-0.002302631578947368, 0.04432565789473684), (0.0, 0.0)).close()
solid4=wp_sketch4.add(loop4).extrude(0.28125)
solid=solid.cut(solid4)
# Generating a workplane for sketch 5
wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(-0.1015625, 0.0, 0.046875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop5=wp_sketch5.moveTo(0.0, 0.0).threePointArc((0.04634046052631578, 0.0025904605263157893), (0.04375, 0.048930921052631575)).lineTo(0.0, 0.0).close()
solid5=wp_sketch5.add(loop5).extrude(0.28125)
solid=solid.cut(solid5)
| 2,706
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00007528
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0546875, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.055263157894736833, 0.0).circle(0.055263157894736833)
loop1=wp_sketch0.moveTo(0.055263157894736833, 0.0).circle(0.032236842105263154)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75)
solid=solid0
| 908
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00004035
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.625, -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.15789473684210525, 0.0).lineTo(0.3315789473684211, 0.4105263157894737).lineTo(0.9157894736842106, 0.4105263157894737).lineTo(1.0894736842105264, 0.0).lineTo(1.2473684210526317, 0.0).lineTo(0.631578947368421, 1.5).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.8526315789473684, 0.5526315789473685).lineTo(0.631578947368421, 1.105263157894737).lineTo(0.39473684210526316, 0.5526315789473685).close()
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75, both=True)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.75, -0.625), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop2=wp_sketch1.moveTo(1.3984375, 0.0).lineTo(1.3984375, 0.14720394736842107).lineTo(0.35328947368421054, 0.14720394736842107).lineTo(1.3984375, 0.6182565789473684).lineTo(0.35328947368421054, 1.104029605263158).lineTo(1.3984375, 1.104029605263158).lineTo(1.3984375, 1.251233552631579).lineTo(0.0, 1.251233552631579).lineTo(0.0, 1.104029605263158).lineTo(1.0451480263157895, 0.6182565789473684).lineTo(0.0, 0.14720394736842107).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop2).extrude(0.625, both=True)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.4609375, 0.0, -0.625), 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.9210526315789473, 0.0).lineTo(0.9210526315789473, 0.14473684210526316).lineTo(0.5394736842105263, 0.14473684210526316).lineTo(0.5394736842105263, 1.25).lineTo(0.381578947368421, 1.25).lineTo(0.381578947368421, 0.14473684210526316).lineTo(0.0, 0.14473684210526316).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop3).extrude(0.75, both=True)
solid=solid.union(solid2)
| 2,177
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00004753
|
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.6157894736842106)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(-0.0390625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.609375, 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.6157894736842106, 0.0).circle(0.6157894736842106)
solid1=wp_sketch1.add(loop2).extrude(-0.0390625)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.609375, 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.6157894736842106, 0.0).circle(0.6157894736842106)
solid2=wp_sketch2.add(loop3).extrude(-0.0234375)
solid=solid.cut(solid2)
| 1,286
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00008394
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.296875, 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.30394736842105263, 0.0).circle(0.30394736842105263)
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 838
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00001398
|
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(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.18947368421052632, 0.0).circle(0.18947368421052632)
loop1=wp_sketch0.moveTo(0.18947368421052632, 0.0).circle(0.10657894736842105)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75, both=True)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.265625, 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.030921052631578946, 0.0).circle(0.031578947368421054)
solid1=wp_sketch1.add(loop2).extrude(-0.2265625, both=True)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.15625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch2.moveTo(0.031578947368421054, 0.0).circle(0.031578947368421054)
solid2=wp_sketch2.add(loop3).extrude(-0.2265625, both=True)
solid=solid.cut(solid2)
| 1,360
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00009049
|
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(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.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.5842105263157895)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.375)
solid=solid0
| 950
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00003558
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.296875, -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.59375, 0.0).lineTo(0.59375, 0.44375000000000003).lineTo(0.0, 0.44375000000000003).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.1875, both=True)
solid=solid0
| 890
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00001411
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.015625, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.015789473684210527, 0.0).circle(0.015789473684210527)
solid0=wp_sketch0.add(loop0).extrude(0.75, both=True)
solid=solid0
| 916
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00001405
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.046875, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.04736842105263158, 0.0).circle(0.04736842105263158)
solid0=wp_sketch0.add(loop0).extrude(0.75, both=True)
solid=solid0
| 914
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00003212
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, -0.1875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.18947368421052632).lineTo(0.0, 0.18947368421052632).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.2131578947368421, 0.09473684210526316).circle(0.007894736842105263)
loop2=wp_sketch0.moveTo(0.5368421052631579, 0.09473684210526316).circle(0.007894736842105263)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.0078125, both=True)
solid=solid0
| 1,113
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00005893
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.25263157894736843).lineTo(0.37894736842105264, 0.25263157894736843).lineTo(0.37894736842105264, 0.49736842105263157).lineTo(0.0, 0.49736842105263157).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.5)
solid=solid0
| 1,026
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00002681
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2421875, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.24473684210526317, 0.0).circle(0.24473684210526317)
loop1=wp_sketch0.moveTo(0.24473684210526317, 0.0).circle(0.10707236842105264)
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
|
|
0000/00001175
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.75, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.125, both=True)
solid=solid0
| 840
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00009529
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.2734375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 0.5526315789473685).lineTo(0.0, 0.5526315789473685).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.3125, -0.203125, 0.078125), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.43749999999999994, 0.0).lineTo(0.43749999999999994, 0.40986842105263155).lineTo(0.0, 0.40986842105263155).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.28125)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.1875, 0.078125), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.3304276315789474, 0.0).lineTo(0.3304276315789474, 0.38281250000000006).lineTo(0.0, 0.38281250000000006).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.125)
solid=solid.union(solid2)
| 1,396
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00007504
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1015625, 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.203125, 0.0).lineTo(0.203125, 0.20098684210526316).lineTo(0.0, 0.20098684210526316).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 959
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00000257
|
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.4263157894736842)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.296875)
solid=solid0
| 899
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00000525
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.03125, -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.03289473684210526, 0.0).lineTo(0.03289473684210526, 0.7483552631578947).lineTo(0.36184210526315785, 0.7483552631578947).lineTo(0.36184210526315785, 0.78125).lineTo(0.0, 0.78125).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.3125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.3359375, 0.0).lineTo(0.3359375, 0.3147203947368421).lineTo(0.0, 0.3147203947368421).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(-0.0390625, both=True)
solid=solid.union(solid1)
| 1,204
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00006801
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.359375, 0.0, 0.7265625), 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.022697368421052633, 0.0).lineTo(0.6960526315789474, 0.0).lineTo(0.71875, 0.0).lineTo(0.71875, 0.022697368421052633).lineTo(0.0, 0.022697368421052633).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.359375, 0.0, -0.75), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.71875, 0.0).lineTo(0.71875, 0.022697368421052633).lineTo(0.6960526315789474, 0.022697368421052633).lineTo(0.022697368421052633, 0.022697368421052633).lineTo(0.0, 0.022697368421052633).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.0625)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.3359375, 0.0, -0.7265625), 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.030592105263157896, 0.0).lineTo(0.030592105263157896, 1.453125).lineTo(0.0, 1.453125).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.0625)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.359375, 0.0, -0.7265625), 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.030592105263157896, 0.0).lineTo(0.030592105263157896, 1.453125).lineTo(0.0, 1.453125).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop3).extrude(0.0625)
solid=solid.union(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.359375, 0.0, 0.7265625), 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.71875, 0.0).lineTo(0.71875, 0.022697368421052633).lineTo(0.0, 0.022697368421052633).lineTo(0.0, 0.0).close()
solid4=wp_sketch4.add(loop4).extrude(0.0078125)
solid=solid.union(solid4)
# Generating a workplane for sketch 5
wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(0.359375, 0.0, -0.75), 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.7149671052631579, 0.0).lineTo(0.7149671052631579, 1.4765625).lineTo(0.0, 1.4765625).lineTo(0.0, 0.0).close()
solid5=wp_sketch5.add(loop5).extrude(0.0078125)
solid=solid.union(solid5)
| 2,667
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00008838
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.703125, -0.203125, 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.030592105263157896, -0.1529605263157895), (0.12236842105263158, -0.18355263157894738)).lineTo(0.5353618421052632, 0.10707236842105264).threePointArc((0.5495234172005702, 0.1169893498093861), (0.5659539473684211, 0.12236842105263158)).lineTo(0.8412828947368421, 0.12236842105263158).threePointArc((0.857713424904693, 0.1169893498093861), (0.8718750000000001, 0.10707236842105264)).lineTo(1.2848684210526315, -0.18355263157894738).threePointArc((1.4378289473684212, -0.1529605263157895), (1.4072368421052632, 0.0)).lineTo(0.9789473684210527, 0.290625).threePointArc((0.9721000191244621, 0.2990737033349884), (0.9636513157894737, 0.305921052631579)).lineTo(0.7953947368421053, 0.58125).threePointArc((0.7036184210526316, 0.632499358394035), (0.611842105263158, 0.58125)).lineTo(0.4435855263157895, 0.305921052631579).threePointArc((0.43513682298080114, 0.2990737033349884), (0.42828947368421055, 0.290625)).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0546875)
solid=solid0
| 1,614
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00006008
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.15625, 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.0, 0.0).threePointArc((0.15625, 0.019271599396365434), (0.3125, 0.0)).lineTo(0.3125, 0.09539473684210525).threePointArc((0.15625, 0.11175265443864468), (0.0, 0.09539473684210525)).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.1171875)
solid=solid0
| 962
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00008757
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.078125, 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.671875, 0.0).lineTo(0.671875, 0.028289473684210528).lineTo(0.0, 0.028289473684210528).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0390625)
solid=solid0
| 964
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0000/00009307
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.5390625), 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.06315789473684211, 0.0).lineTo(0.06315789473684211, 0.4736842105263158).lineTo(0.7578947368421053, 0.4736842105263158).lineTo(1.436842105263158, 0.4736842105263158).lineTo(1.436842105263158, 0.0).lineTo(1.5, 0.0).lineTo(1.5, 0.5368421052631579).lineTo(0.7578947368421053, 0.5368421052631579).lineTo(0.0, 0.5368421052631579).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.3203125)
solid=solid0
| 1,169
|
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.