image
imagewidth (px) 448
448
| deepcad_id
stringlengths 13
13
| cadquery
stringlengths 283
8.1k
| token_count
int64 807
6.5k
| prompt
stringclasses 1
value | hundred_subset
bool 1
class |
|---|---|---|---|---|---|
0001/00010121
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.703125, 0.25, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.05878153919224983, -0.6190866697761911), (0.5659539473684211, -0.9789473684210527)).lineTo(0.611842105263158, -0.7648026315789475).threePointArc((0.7036184210526316, -0.7732735508848086), (0.7953947368421053, -0.7648026315789475)).lineTo(0.8412828947368421, -0.9789473684210527).threePointArc((1.3484553029130133, -0.6190866697761911), (1.4072368421052632, 0.0)).lineTo(1.193092105263158, -0.07648026315789475).threePointArc((1.1549689567321273, 0.01188348596872032), (1.1013157894736842, 0.09177631578947369)).lineTo(1.2695723684210527, 0.2294407894736842).threePointArc((0.7036184210526316, 0.4886667606050138), (0.13766447368421053, 0.2294407894736842)).lineTo(0.305921052631579, 0.09177631578947369).threePointArc((0.25226788537313594, 0.01188348596872032), (0.21414473684210528, -0.07648026315789475)).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.5506578947368421, -0.24473684210526317).circle(0.045888157894736846)
loop2=wp_sketch0.moveTo(0.7036184210526316, -0.24473684210526317).circle(0.10707236842105264)
loop3=wp_sketch0.moveTo(0.8718750000000001, -0.24473684210526317).circle(0.045888157894736846)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).extrude(0.0390625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.0390625, 0.46875, 0.0390625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop4=wp_sketch1.moveTo(0.039473684210526314, 0.0).circle(0.039473684210526314)
solid1=wp_sketch1.add(loop4).extrude(0.046875)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.4375, -0.2578125, 0.0390625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop5=wp_sketch2.moveTo(0.039473684210526314, 0.0).circle(0.03865131578947368)
solid2=wp_sketch2.add(loop5).extrude(0.046875)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.3515625, -0.2578125, 0.0390625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop6=wp_sketch3.moveTo(0.039473684210526314, 0.0).circle(0.03865131578947368)
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.421875, -0.2578125, 0.09375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop7=wp_sketch4.moveTo(0.02368421052631579, 0.0).circle(0.02368421052631579)
solid4=wp_sketch4.add(loop7).extrude(0.1875)
solid=solid.union(solid4)
# Generating a workplane for sketch 5
wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(0.3671875, -0.2578125, 0.09375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop8=wp_sketch5.moveTo(0.02368421052631579, 0.0).circle(0.02368421052631579)
solid5=wp_sketch5.add(loop8).extrude(0.1875)
solid=solid.union(solid5)
# Generating a workplane for sketch 6
wp_sketch6 = cq.Workplane(cq.Plane(cq.Vector(-0.0234375, 0.46875, 0.09375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop9=wp_sketch6.moveTo(0.02368421052631579, 0.0).circle(0.02368421052631579)
solid6=wp_sketch6.add(loop9).extrude(0.1875)
solid=solid.union(solid6)
| 2,994
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00019663
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.15625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.15789473684210525, 0.0).lineTo(0.15789473684210525, 0.06315789473684211).lineTo(1.2157894736842105, 0.06315789473684211).lineTo(1.2157894736842105, 0.0).lineTo(1.5, 0.0).lineTo(1.5, 0.3157894736842105).lineTo(1.2157894736842105, 0.3157894736842105).lineTo(1.2157894736842105, 0.25263157894736843).lineTo(0.15789473684210525, 0.25263157894736843).lineTo(0.15789473684210525, 0.3157894736842105).lineTo(0.0, 0.3157894736842105).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.1105263157894737, 0.15789473684210525).circle(0.031578947368421054)
loop2=wp_sketch0.moveTo(1.3894736842105264, 0.15789473684210525).circle(0.031578947368421054)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(-0.015625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.53125, 0.0, 0.078125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop3=wp_sketch1.moveTo(0.9765625000000001, 0.0).lineTo(0.9765625000000001, 0.010279605263157895).lineTo(0.0, 0.010279605263157895).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop3).extrude(-0.46875)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.53125, 0.0, -0.0859375), 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.9765625000000001, 0.0).lineTo(0.9765625000000001, 0.010279605263157895).lineTo(0.0, 0.010279605263157895).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop4).extrude(-0.46875)
solid=solid.union(solid2)
| 2,087
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00010109
|
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.5390625, 0.0).lineTo(0.5390625, 0.2723684210526316).lineTo(0.0, 0.2723684210526316).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.2265625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.5390625, 0.09375, 0.109375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.043421052631578944, 0.0).circle(0.043421052631578944)
solid1=wp_sketch1.add(loop1).extrude(0.015625)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.5390625, 0.109375, 0.1328125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop2=wp_sketch2.moveTo(0.0, 0.0).threePointArc((0.026644736842105263, -0.05912759177082916), (0.053289473684210525, 0.0)).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.5390625, 0.015625, 0.109375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop3=wp_sketch3.moveTo(0.019736842105263157, 0.0).circle(0.019736842105263157)
solid3=wp_sketch3.add(loop3).extrude(-0.2265625)
solid=solid.cut(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.5390625, 0.21875, 0.109375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop4=wp_sketch4.moveTo(0.019736842105263157, 0.0).circle(0.019736842105263157)
solid4=wp_sketch4.add(loop4).extrude(-0.2265625)
solid=solid.cut(solid4)
# Generating a workplane for sketch 5
wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.078125, 0.109375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop5=wp_sketch5.moveTo(0.055263157894736833, 0.0).circle(0.055263157894736833)
solid5=wp_sketch5.add(loop5).extrude(0.046875)
solid=solid.union(solid5)
# Generating a workplane for sketch 6
wp_sketch6 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.046875, 0.09375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop6=wp_sketch6.moveTo(0.0062499999999999995, 0.0).lineTo(0.0062499999999999995, 0.015789473684210527).lineTo(0.0062499999999999995, 0.03125).lineTo(0.0, 0.03125).lineTo(0.0, 0.0).close()
solid6=wp_sketch6.add(loop6).extrude(0.046875)
solid=solid.union(solid6)
# Generating a workplane for sketch 7
wp_sketch7 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.2109375, 0.09375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop7=wp_sketch7.moveTo(0.0062499999999999995, 0.0).lineTo(0.0062499999999999995, 0.03125).lineTo(0.0, 0.03125).lineTo(0.0, 0.015789473684210527).lineTo(0.0, 0.0).close()
solid7=wp_sketch7.add(loop7).extrude(0.046875)
solid=solid.union(solid7)
| 2,898
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017100
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.484375, -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.8125, 0.0).lineTo(0.8125, 0.8125).lineTo(0.0, 0.8125).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.4190789473684211, 0.4190789473684211).circle(0.23947368421052634)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.328125)
solid=solid0
| 934
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00012078
|
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.5210526315789474, 0.0).lineTo(0.5210526315789474, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.015625)
solid=solid0
| 869
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00013372
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 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.03125, 0.0).lineTo(0.03125, 0.013486842105263158).lineTo(0.0, 0.013486842105263158).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 952
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00015703
|
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.0, 0.053125000000000006).threePointArc((-0.09531250000000001, 0.1484375), (0.0, 0.24375000000000002)).lineTo(0.0, 0.296875).threePointArc((-0.1484375, 0.1484375), (0.0, 0.0)).close()
solid0=wp_sketch0.add(loop0).extrude(0.296875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.6015625, 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.0, 0.0).threePointArc((0.1484375, 0.1484375), (0.0, 0.296875)).lineTo(0.0, 0.24375000000000002).threePointArc((0.09531250000000001, 0.1484375), (0.0, 0.053125000000000006)).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.296875)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0, 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.6015625, 0.0).lineTo(0.6015625, 0.05699013157894737).threePointArc((0.5343989858330211, 0.08481017004354749), (0.506578947368421, 0.15197368421052632)).lineTo(0.39893092105263156, 0.15197368421052632).threePointArc((0.30078125, 0.053824013157894736), (0.2026315789473684, 0.15197368421052632)).lineTo(0.09498355263157894, 0.15197368421052632).threePointArc((0.06716351416697881, 0.08481017004354749), (0.0, 0.05699013157894737)).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.296875)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.2421875, 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.0).threePointArc((0.06716351416697881, -0.027820038464600128), (0.09498355263157894, -0.09498355263157894)).lineTo(0.2026315789473684, -0.09498355263157894).threePointArc((0.30078125, 0.0031661184210526314), (0.39893092105263156, -0.09498355263157894)).lineTo(0.506578947368421, -0.09498355263157894).threePointArc((0.5343989858330211, -0.027820038464600128), (0.6015625, 0.0)).lineTo(0.6015625, 0.05699013157894737).lineTo(0.0, 0.05699013157894737).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop3).extrude(0.296875)
solid=solid.union(solid3)
| 2,317
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00019139
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.015625, 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.023026315789473683, 0.0).lineTo(0.023026315789473683, 0.023026315789473683).lineTo(0.03125, 0.023026315789473683).lineTo(0.027960526315789474, 0.03125).lineTo(0.0, 0.03125).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 1,036
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017114
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.671875), 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.484375, 0.0).lineTo(0.484375, 0.08157894736842106).lineTo(0.40279605263157897, 0.08157894736842106).threePointArc((0.3735102755683838, 0.0930826439894364), (0.36200657894736843, 0.12236842105263158)).lineTo(0.36200657894736843, 0.3212171052631579).lineTo(0.12236842105263158, 0.3212171052631579).lineTo(0.12236842105263158, 0.12236842105263158).threePointArc((0.11086472443161624, 0.0930826439894364), (0.08157894736842106, 0.08157894736842106)).lineTo(0.0, 0.08157894736842106).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.24473684210526317, 0.20394736842105265).circle(0.08157894736842106)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.2421875)
solid=solid0
| 1,386
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00012939
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2578125, 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.0, 0.0).threePointArc((0.2544407894736842, -1.4147865645903537), (0.5088815789473684, 0.0)).lineTo(0.49391447368421054, -0.05986842105263158).threePointArc((0.2544407894736842, -1.391432246549435), (0.014967105263157894, -0.05986842105263158)).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.03125)
solid=solid0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2578125, 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.0, 0.0).threePointArc((0.2544407894736842, -1.4147865645903537), (0.5088815789473684, 0.0)).lineTo(0.49391447368421054, -0.05986842105263158).threePointArc((0.2544407894736842, -1.391432246549435), (0.014967105263157894, -0.05986842105263158)).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(-0.03125)
solid=solid.union(solid0)
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.2578125, 0.0, 0.6875), 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.02138157894736842, -0.05345394736842105).threePointArc((0.25390625, -0.011635794471364898), (0.4864309210526316, -0.05345394736842105)).lineTo(0.5078125, 0.0).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.03125)
solid_temp=solid1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.2578125, 0.0, 0.6875), 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.02138157894736842, -0.05345394736842105).threePointArc((0.25390625, -0.011635794471364898), (0.4864309210526316, -0.05345394736842105)).lineTo(0.5078125, 0.0).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(-0.03125)
solid_temp=solid_temp.union(solid1)
solid=solid.union(solid_temp)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.25, -0.1875, 0.6875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.5078125, 0.0).lineTo(0.4276315789473684, 0.15501644736842105).lineTo(0.08018092105263158, 0.15501644736842105).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.1484375, 0.03125, 0.6875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch3.moveTo(0.2890625, 0.0).lineTo(0.14605263157894738, 0.2890625).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.171875, -0.03125, 0.6875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop4=wp_sketch4.moveTo(0.3515625, 0.0).lineTo(0.32195723684210525, 0.05921052631578947).lineTo(0.029605263157894735, 0.05921052631578947).lineTo(0.0, 0.0).close()
solid4=wp_sketch4.add(loop4).extrude(0.0625)
solid=solid.union(solid4)
| 3,025
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017855
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0234375)
solid=solid0
| 842
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00014637
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1875, 0.0078125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.18947368421052632, 0.0).circle(0.18947368421052632)
loop1=wp_sketch0.moveTo(0.18947368421052632, 0.0).circle(0.04736842105263158)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.046875, 0.0078125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch1.moveTo(0.04736842105263158, 0.0).circle(0.04736842105263158)
solid1=wp_sketch1.add(loop2).extrude(0.375)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.046875, 0.0078125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch2.moveTo(0.04736842105263158, 0.0).circle(0.04736842105263158)
solid2=wp_sketch2.add(loop3).extrude(-0.375)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.1796875, -0.0390625, 0.375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop4=wp_sketch3.moveTo(0.28125, 0.0).lineTo(0.28125, 0.05921052631578948).lineTo(0.0059210526315789476, 0.05921052631578948).threePointArc((0.005327070764055962, 0.029368608713068123), (0.0, 0.0)).close()
solid3=wp_sketch3.add(loop4).extrude(0.375)
solid=solid.union(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.03125, -0.0390625, 0.375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop5=wp_sketch4.moveTo(0.14967105263157893, 0.0).threePointArc((0.15532707076405594, 0.029342313774754006), (0.15625, 0.05921052631578947)).lineTo(0.0, 0.05921052631578947).lineTo(0.0, 0.0).close()
solid4=wp_sketch4.add(loop5).extrude(0.375)
solid=solid.union(solid4)
| 1,901
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00013158
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.1640625, 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.3315789473684211).lineTo(0.0, 0.3315789473684211).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.1736842105263158, 0.031578947368421054).lineTo(0.3315789473684211, 0.031578947368421054).lineTo(0.4105263157894737, 0.1736842105263158).lineTo(0.3315789473684211, 0.3).lineTo(0.1736842105263158, 0.3).lineTo(0.09473684210526316, 0.1736842105263158).close()
loop2=wp_sketch0.moveTo(0.6789473684210526, 0.031578947368421054).lineTo(0.8210526315789474, 0.031578947368421054).lineTo(0.9, 0.1736842105263158).lineTo(0.8210526315789474, 0.3).lineTo(0.6789473684210526, 0.3).lineTo(0.6, 0.1736842105263158).close()
loop3=wp_sketch0.moveTo(1.168421052631579, 0.031578947368421054).lineTo(1.3263157894736843, 0.031578947368421054).lineTo(1.405263157894737, 0.1736842105263158).lineTo(1.3263157894736843, 0.3).lineTo(1.168421052631579, 0.3).lineTo(1.0894736842105264, 0.1736842105263158).close()
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).extrude(0.046875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.1640625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop4=wp_sketch1.moveTo(1.5, 0.0).lineTo(1.5, 0.3315789473684211).lineTo(0.0, 0.3315789473684211).lineTo(0.0, 0.0).close()
loop5=wp_sketch1.moveTo(0.25263157894736843, 0.1736842105263158).circle(0.1105263157894737)
loop6=wp_sketch1.moveTo(0.7578947368421053, 0.1736842105263158).circle(0.1105263157894737)
loop7=wp_sketch1.moveTo(1.2473684210526317, 0.1736842105263158).circle(0.1105263157894737)
solid1=wp_sketch1.add(loop4).add(loop5).add(loop6).add(loop7).extrude(-0.03125)
solid=solid.union(solid1)
| 2,031
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017458
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.7265625, 0.0, -0.65625), 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.453125, 0.0).lineTo(1.453125, 1.3154605263157895).lineTo(0.0, 1.3154605263157895).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 955
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00019461
|
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.6078947368421053).lineTo(0.0, 0.6078947368421053).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.4609375)
solid=solid0
| 870
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00012252
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.7578947368421053)
solid0=wp_sketch0.add(loop0).extrude(0.0546875)
solid=solid0
| 837
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017302
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2578125, 0.0, -0.234375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.3).lineTo(0.0, 0.3).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.109375, -0.375, 0.0625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.22894736842105262, 0.0).circle(0.22894736842105262)
solid1=wp_sketch1.add(loop1).extrude(-0.75)
solid=solid.cut(solid1)
| 1,113
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017464
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.03125, -0.5625), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(-0.75)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.21875, -0.5625), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.5032894736842105, 0.0).lineTo(0.5032894736842105, 0.5625).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.75)
solid=solid.union(solid1)
| 1,165
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00015267
|
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, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.02532894736842105, -0.04375).threePointArc((0.02732055956214209, -0.04552335455992632), (0.029934210526315785, -0.046052631578947366)).lineTo(0.0794407894736842, -0.046052631578947366).threePointArc((0.0820544404378579, -0.04552335455992632), (0.08404605263157894, -0.04375)).lineTo(0.1082236842105263, 0.0).threePointArc((0.10884572298097893, 0.002302631578947368), (0.1082236842105263, 0.004605263157894736)).lineTo(0.08404605263157894, 0.048355263157894735).threePointArc((0.08205444043785787, 0.05012861771782104), (0.0794407894736842, 0.0506578947368421)).lineTo(0.029934210526315785, 0.0506578947368421).threePointArc((0.02732055956214209, 0.05012861771782104), (0.02532894736842105, 0.048355263157894735)).lineTo(0.0, 0.004605263157894736).threePointArc((-0.0006220387704526247, 0.002302631578947368), (0.0, 0.0)).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 1,573
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017470
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5234375, 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.0421052631578949, 0.0).lineTo(1.0421052631578949, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.9789473684210527, 0.07894736842105263).lineTo(0.9789473684210527, 1.4210526315789473).lineTo(0.07894736842105263, 1.4210526315789473).lineTo(0.07894736842105263, 0.07894736842105263).close()
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0390625, both=True)
solid=solid0
| 1,140
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017316
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.18947368421052632).lineTo(0.0, 0.18947368421052632).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(-0.3828125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.1875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.75, 0.0).lineTo(0.75, 0.0868421052631579).lineTo(0.6236842105263158, 0.20526315789473684).lineTo(0.12631578947368421, 0.20526315789473684).lineTo(0.0, 0.0868421052631579).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(-0.3828125)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.1875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop2=wp_sketch2.moveTo(0.75, 0.0).lineTo(0.75, 0.0868421052631579).lineTo(0.6236842105263158, 0.20526315789473684).lineTo(0.12631578947368421, 0.20526315789473684).lineTo(0.0, 0.0868421052631579).lineTo(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.6640625, 0.0, 0.0859375), 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.08634868421052631, -0.08634868421052631).lineTo(0.4995888157894737, -0.08634868421052631).lineTo(0.5859375, 0.0).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop3).extrude(-0.4140625)
solid=solid.cut(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.4765625, 0.140625, 0.1875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop4=wp_sketch4.moveTo(0.10657894736842105, 0.0).circle(0.10657894736842105)
solid4=wp_sketch4.add(loop4).extrude(-0.4140625)
solid=solid.cut(solid4)
| 2,260
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00015298
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.5), 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.34375, 0.0).lineTo(1.34375, 1.131578947368421).lineTo(0.0, 1.131578947368421).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.484375)
solid=solid0
| 946
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00016975
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1875, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.18947368421052632, 0.0).circle(0.18552631578947368)
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
|
|
0001/00014805
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0234375, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.027631578947368417, 0.0).circle(0.027631578947368417)
loop1=wp_sketch0.moveTo(0.027631578947368417, 0.0).circle(0.02532894736842105)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(-0.75)
solid=solid0
| 907
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00014187
|
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(0.6582236842105263, 0.0).threePointArc((0.7390793462956488, 0.020702377011448107), (0.8013157894736842, 0.07631578947368421)).lineTo(0.8776315789473684, 0.18125).threePointArc((0.8467000883159174, 0.3976509042843771), (0.6296052631578948, 0.37203947368421053)).lineTo(0.5151315789473684, 0.22894736842105262).threePointArc((0.45478174451006265, 0.18533382421336267), (0.3815789473684211, 0.17171052631578948)).lineTo(0.0, 0.17171052631578948).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.7536184210526315, 0.2766447368421053).circle(0.038157894736842106)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.03125)
solid=solid0
| 1,275
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017471
|
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(0.28421052631578947, 0.0).lineTo(0.28421052631578947, 1.2157894736842105).lineTo(0.5526315789473685, 0.4736842105263158).lineTo(0.7578947368421053, 0.4736842105263158).lineTo(0.9473684210526316, 0.4736842105263158).lineTo(1.2157894736842105, 1.2157894736842105).lineTo(1.2157894736842105, 0.0).lineTo(1.5, 0.0).lineTo(1.5, 1.5).lineTo(1.0263157894736843, 1.5).lineTo(0.7578947368421053, 0.7578947368421053).lineTo(0.4736842105263158, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75, both=True)
solid=solid0
| 1,273
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00012509
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -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.5546875, 0.0).lineTo(0.5546875, 0.2277138157894737).lineTo(0.0, 0.2277138157894737).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.140625)
solid=solid0
| 886
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00015266
|
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.018092105263157895, -0.03125).threePointArc((0.019514685401530067, -0.0325166818285188), (0.021381578947368418, -0.03289473684210526)).lineTo(0.056743421052631575, -0.03289473684210526).threePointArc((0.05861031459846993, -0.0325166818285188), (0.060032894736842105, -0.03125)).lineTo(0.07730263157894736, 0.0).threePointArc((0.07774694498641352, 0.001644736842105263), (0.07730263157894736, 0.003289473684210526)).lineTo(0.060032894736842105, 0.03453947368421052).threePointArc((0.05861031459846991, 0.03580615551272932), (0.056743421052631575, 0.03618421052631579)).lineTo(0.021381578947368418, 0.03618421052631579).threePointArc((0.019514685401530067, 0.03580615551272932), (0.018092105263157895, 0.03453947368421052)).lineTo(0.0, 0.003289473684210526).threePointArc((-0.0004443134074661605, 0.001644736842105263), (0.0, 0.0)).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 1,582
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00013617
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.21875, -0.1640625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.28421052631578947, 0.0).threePointArc((-0.7216361787420418, 0.1618421052631579), (0.28421052631578947, 0.3236842105263158)).lineTo(0.0, 0.3236842105263158).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.4296875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.21875, -0.1640625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.2866776315789474, 0.0).threePointArc((0.3130755113564729, 0.1640625), (0.2866776315789474, 0.328125)).lineTo(0.0, 0.328125).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.4296875)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.5, -0.1640625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.24868421052631579, 0.0).lineTo(0.24868421052631579, 0.328125).lineTo(0.0, 0.328125).threePointArc((0.026397879777525536, 0.1640625), (0.0, 0.0)).close()
solid2=wp_sketch2.add(loop2).extrude(0.1328125)
solid=solid.union(solid2)
| 1,499
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017317
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6484375, 0.0, -0.328125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(1.125, 0.0).lineTo(1.125, 0.5684210526315789).lineTo(0.9355263157894738, 0.5684210526315789).lineTo(0.9355263157894738, 0.37894736842105264).lineTo(0.18947368421052632, 0.37894736842105264).lineTo(0.18947368421052632, 0.5684210526315789).lineTo(0.0, 0.5684210526315789).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 1,122
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017303
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.09375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(1.3046875, 0.0).lineTo(1.3046875, 0.10986842105263157).lineTo(1.030016447368421, 0.10986842105263157).lineTo(1.030016447368421, 0.3845394736842105).lineTo(0.9201480263157894, 0.3845394736842105).threePointArc((0.65234375, 0.11673519736842104), (0.3845394736842105, 0.3845394736842105)).lineTo(0.2746710526315789, 0.3845394736842105).lineTo(0.2746710526315789, 0.10986842105263157).lineTo(0.0, 0.10986842105263157).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.4921875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.3671875, -0.2421875, 0.015625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.055263157894736833, 0.0).circle(0.055263157894736833)
solid1=wp_sketch1.add(loop1).extrude(-0.546875)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.671875, -0.2421875, 0.015625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.055263157894736833, 0.0).circle(0.055263157894736833)
solid2=wp_sketch2.add(loop2).extrude(-0.546875)
solid=solid.cut(solid2)
| 1,661
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017465
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.71875, -0.75, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.265625, 0.0).lineTo(1.265625, 1.265625).lineTo(0.0, 1.265625).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(-0.5078125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.46875, -0.1171875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.3828947368421053, 0.0).circle(0.3828947368421053)
solid1=wp_sketch1.add(loop1).extrude(-1.0)
solid=solid.cut(solid1)
| 1,055
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00019460
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.359375, 0.0, -0.34375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.3631578947368421, 0.0).lineTo(0.71875, 0.0).lineTo(0.71875, 0.3480263157894737).lineTo(0.5371710526315789, 0.3480263157894737).lineTo(0.5371710526315789, 0.5976973684210526).lineTo(0.3631578947368421, 0.5976973684210526).lineTo(0.18157894736842106, 0.5976973684210526).lineTo(0.18157894736842106, 0.3480263157894737).lineTo(0.0, 0.3480263157894737).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75, both=True)
solid=solid0
| 1,195
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00016021
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.2890625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 0.5842105263157895).lineTo(0.0, 0.5842105263157895).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0625)
solid=solid0
| 944
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017459
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -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.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.296875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.6015625, 0.0, 0.296875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.22894736842105262, 0.0).circle(0.22894736842105262)
solid1=wp_sketch1.add(loop1).extrude(-1.0)
solid=solid.cut(solid1)
| 1,043
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00019851
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.421875, 0.0, 0.1328125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.90625, 0.0).lineTo(0.90625, 0.6105263157894737).lineTo(0.0, 0.6105263157894737).lineTo(0.0, 0.4674342105263158).lineTo(0.90625, 0.4674342105263158).lineTo(0.90625, 0.16217105263157894).lineTo(0.0, 0.16217105263157894).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.1875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.421875, 0.0, 0.296875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.90625, 0.0).lineTo(0.90625, 0.30526315789473685).lineTo(0.0, 0.30526315789473685).lineTo(0.0, 0.0).close()
loop2=wp_sketch1.moveTo(0.45789473684210524, 0.1430921052631579).circle(0.08585526315789474)
solid1=wp_sketch1.add(loop1).add(loop2).extrude(0.1875)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.421875, -0.1875, 0.28125), 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.90625, 0.0).lineTo(0.90625, 0.3148026315789474).lineTo(0.0, 0.3148026315789474).lineTo(0.0, 0.0).close()
loop4=wp_sketch2.moveTo(0.45789473684210524, 0.15263157894736842).circle(0.08585526315789474)
solid2=wp_sketch2.add(loop3).add(loop4).extrude(0.09375)
solid=solid.union(solid2)
| 1,854
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00012938
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2578125, 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.0, 0.0).threePointArc((0.2544407894736842, -1.4147865645903537), (0.5088815789473684, 0.0)).lineTo(0.49391447368421054, -0.05986842105263158).threePointArc((0.2544407894736842, -1.391432246549435), (0.014967105263157894, -0.05986842105263158)).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.03125)
solid=solid0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2578125, 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.0, 0.0).threePointArc((0.2544407894736842, -1.4147865645903537), (0.5088815789473684, 0.0)).lineTo(0.49391447368421054, -0.05986842105263158).threePointArc((0.2544407894736842, -1.391432246549435), (0.014967105263157894, -0.05986842105263158)).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(-0.03125)
solid=solid.union(solid0)
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.2578125, 0.0, 0.6875), 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.02138157894736842, -0.05345394736842105).threePointArc((0.25390625, -0.011635794471364898), (0.4864309210526316, -0.05345394736842105)).lineTo(0.5078125, 0.0).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.03125)
solid_temp=solid1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.2578125, 0.0, 0.6875), 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.02138157894736842, -0.05345394736842105).threePointArc((0.25390625, -0.011635794471364898), (0.4864309210526316, -0.05345394736842105)).lineTo(0.5078125, 0.0).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(-0.03125)
solid_temp=solid_temp.union(solid1)
solid=solid.union(solid_temp)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.25, -0.25, 0.6875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.5078125, 0.0).lineTo(0.5078125, 0.22450657894736842).lineTo(0.0, 0.22450657894736842).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.25, 0.03125, 0.6875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch3.moveTo(0.5078125, 0.0).lineTo(0.5078125, 0.22450657894736842).lineTo(0.0, 0.22450657894736842).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.25, -0.03125, 0.6875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop4=wp_sketch4.moveTo(0.5078125, 0.0).lineTo(0.5078125, 0.05879934210526316).lineTo(0.0, 0.05879934210526316).lineTo(0.0, 0.0).close()
solid4=wp_sketch4.add(loop4).extrude(0.0625)
solid=solid.union(solid4)
| 2,990
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017115
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.4296875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.9609375, 0.0).lineTo(0.9609375, 0.08092105263157895).lineTo(0.7586348684210527, 0.08092105263157895).lineTo(0.7586348684210527, 0.28322368421052635).lineTo(0.6777138157894737, 0.28322368421052635).threePointArc((0.48046875, 0.08597861842105263), (0.28322368421052635, 0.28322368421052635)).lineTo(0.20230263157894737, 0.28322368421052635).lineTo(0.20230263157894737, 0.08092105263157895).lineTo(0.0, 0.08092105263157895).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.3984375)
solid=solid0
| 1,257
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00013415
|
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.06710526315789474, 0.03774671052631579).lineTo(0.06710526315789474, 0.1328125).lineTo(0.0, 0.1328125).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.1640625)
solid=solid0
| 970
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00014420
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.46875, 0.0, 0.234375), 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.011992751589569585, -0.00891269050241574), (0.026644736842105263, -0.011842105263157895)).lineTo(0.02960526315789474, -0.011842105263157895).lineTo(0.2546052631578947, -0.011842105263157895).threePointArc((0.26925724841043036, -0.00891269050241574), (0.28125, 0.0)).lineTo(0.28125, 0.044407894736842105).threePointArc((0.2692572484104304, 0.053320585239257846), (0.2546052631578947, 0.05625)).lineTo(0.02960526315789474, 0.05625).lineTo(0.026644736842105263, 0.05625).threePointArc((0.011992751589569669, 0.053320585239257846), (0.0, 0.044407894736842105)).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.02960526315789474, 0.020723684210526318).circle(0.017763157894736842)
loop2=wp_sketch0.moveTo(0.2546052631578947, 0.020723684210526318).circle(0.017763157894736842)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.1953125)
solid=solid0
| 1,548
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00019662
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.125, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.12631578947368421, 0.0).circle(0.12631578947368421)
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
|
|
0001/00010652
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -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.75, 0.0).lineTo(0.75, 0.40263157894736845).lineTo(0.0, 0.40263157894736845).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.203125)
solid=solid0
| 878
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00018391
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1015625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.10657894736842105, 0.0).circle(0.10657894736842105)
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 839
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017061
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1171875, -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.8203125000000001, 0.0).lineTo(0.8203125000000001, 0.8203125000000001).lineTo(0.4144736842105263, 0.8203125000000001).lineTo(0.0, 0.8203125000000001).lineTo(0.0, 0.4144736842105263).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.4144736842105263, 0.4144736842105263).circle(0.13815789473684212)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.328125)
solid=solid0
| 1,052
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00013207
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.3828125, -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.7736842105263159, 0.0).lineTo(0.7736842105263159, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.03125)
solid=solid0
| 873
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00013561
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1640625, 0.0, -0.75), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.3315789473684211, 0.0).lineTo(0.3315789473684211, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.18157894736842106, -0.02368421052631579), (0.20526315789473684, 0.15789473684210525)).lineTo(0.20526315789473684, 0.4421052631578948).threePointArc((0.16578947368421054, 0.48157894736842105), (0.12631578947368421, 0.4421052631578948)).lineTo(0.12631578947368421, 0.15789473684210525).close()
loop2=wp_sketch0.moveTo(0.12631578947368421, 0.15789473684210525).threePointArc((0.6157894736842106, 0.5684210526315789), (0.20526315789473684, 1.0578947368421052)).lineTo(0.20526315789473684, 1.3421052631578947).threePointArc((0.16578947368421054, 1.381578947368421), (0.12631578947368421, 1.3421052631578947)).lineTo(0.12631578947368421, 1.0578947368421052).close()
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(-0.0546875)
solid=solid0
| 1,555
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017707
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 837
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017713
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.203125, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.20921052631578946, 0.0).circle(0.20485197368421051)
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 910
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017075
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.2734375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.4765625, 0.0).lineTo(0.4765625, 0.08026315789473684).lineTo(0.39629934210526313, 0.08026315789473684).threePointArc((0.36792203049185573, 0.09201742522869782), (0.3561677631578947, 0.12039473684210526)).lineTo(0.3561677631578947, 0.3160361842105263).lineTo(0.12039473684210526, 0.3160361842105263).lineTo(0.12039473684210526, 0.12039473684210526).threePointArc((0.10864046950814428, 0.09201742522869782), (0.08026315789473684, 0.08026315789473684)).lineTo(0.0, 0.08026315789473684).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.24078947368421053, 0.2006578947368421).circle(0.08026315789473684)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.2421875)
solid=solid0
| 1,389
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00019070
|
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.45).lineTo(0.0, 0.45).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.5625)
solid=solid0
| 839
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00016425
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2109375, -0.5078125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.37894736842105264, 0.0).lineTo(0.37894736842105264, 0.6868421052631579).lineTo(0.37894736842105264, 0.75).lineTo(0.18947368421052632, 0.75).lineTo(0.18947368421052632, 0.6868421052631579).lineTo(0.0, 0.6868421052631579).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 1,008
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00012643
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0078125, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.007894736842105263, 0.0).circle(0.007894736842105263)
loop1=wp_sketch0.moveTo(0.007894736842105263, 0.0).circle(0.006907894736842105)
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
|
|
0001/00017049
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0546875, 0.0, 0.6953125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.05921052631578947, 0.0).circle(0.05797697368421052)
loop1=wp_sketch0.moveTo(0.05921052631578947, 0.0).circle(0.019736842105263157)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.015625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.09375, 0.0, 0.3828125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop2=wp_sketch1.moveTo(0.09868421052631579, 0.0).circle(0.09868421052631579)
solid1=wp_sketch1.add(loop2).extrude(0.015625)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.0546875, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop3=wp_sketch2.moveTo(0.05921052631578947, 0.0).circle(0.05797697368421052)
loop4=wp_sketch2.moveTo(0.05921052631578947, 0.0).circle(0.019736842105263157)
solid2=wp_sketch2.add(loop3).add(loop4).extrude(0.015625)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.21875, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop5=wp_sketch3.moveTo(0.04736842105263158, 0.0).circle(0.04736842105263158)
loop6=wp_sketch3.moveTo(0.04736842105263158, 0.0).circle(0.01875)
solid3=wp_sketch3.add(loop5).add(loop6).extrude(0.015625)
solid=solid.union(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.09375, 0.0, 0.3984375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop7=wp_sketch4.moveTo(0.0, 0.0).threePointArc((0.0962171052631579, 0.08507893764914959), (0.1924342105263158, 0.0)).lineTo(0.15394736842105264, 0.3046875).threePointArc((0.0962171052631579, 0.23939943975130132), (0.03848684210526316, 0.3046875)).lineTo(0.0, 0.0).close()
loop8=wp_sketch4.moveTo(0.07697368421052632, 0.21167763157894737).circle(0.01924342105263158)
solid4=wp_sketch4.add(loop7).add(loop8).extrude(0.015625)
solid=solid.union(solid4)
# Generating a workplane for sketch 5
wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(-0.09375, 0.0, 0.375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop9=wp_sketch5.moveTo(0.03618421052631579, -0.37088815789473684).threePointArc((0.13534712397726925, -0.33052458654904665), (0.09498355263157895, -0.4296875)).lineTo(0.3663651315789474, -0.4206414473684211).threePointArc((0.3170919265813337, -0.37314967105263164), (0.3663651315789474, -0.32565789473684215)).lineTo(0.2080592105263158, -0.32113486842105265).threePointArc((0.1736132592983376, -0.3038557269005082), (0.16282894736842107, -0.266858552631579)).lineTo(0.1899671052631579, 0.0).threePointArc((0.09498355263157895, -0.0860880740310127), (0.0, 0.0)).close()
solid5=wp_sketch5.add(loop9).extrude(0.015625)
solid=solid.union(solid5)
| 3,096
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00018193
|
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, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.27976973684210527, 0.0).threePointArc((0.13988486842105263, 0.31041985679685313), (0.0, 0.0)).close()
solid0=wp_sketch0.add(loop0).extrude(0.75, both=True)
solid=solid0
| 950
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00016196
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.1328125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.2590460526315789, 0.0).lineTo(0.2590460526315789, 0.49218749999999994).lineTo(0.0, 0.49218749999999994).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.25)
solid=solid0
| 974
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017277
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.046875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.46875, 0.0).lineTo(0.46875, 0.07894736842105263).lineTo(0.15789473684210525, 0.15789473684210525).lineTo(0.15789473684210525, 0.23684210526315788).lineTo(0.0, 0.23684210526315788).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.46875)
solid=solid0
| 1,042
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00015460
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.6796875), 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.3578947368421053).lineTo(0.0, 1.3578947368421053).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.46875)
solid=solid0
| 945
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00010530
|
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.3).lineTo(0.0, 0.3).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.2265625, 0.0, 0.078125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.2970394736842105, 0.0).lineTo(0.2970394736842105, 0.18741776315789474).threePointArc((0.14851973684210526, 0.3359375), (0.0, 0.18741776315789474)).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(-0.078125)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.2265625, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop2=wp_sketch2.moveTo(0.296875, 0.0).lineTo(0.296875, 0.07500000000000001).lineTo(0.0, 0.07500000000000001).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(-0.078125)
solid=solid.union(solid2)
| 1,516
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00019272
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.375, -0.6328125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.03685251848557419, -0.08896984993547843), (0.12582236842105263, -0.12582236842105263)).lineTo(0.5662006578947368, -0.12582236842105263).threePointArc((0.6551705078302152, -0.08896984993547843), (0.6920230263157894, 0.0)).lineTo(0.6920230263157894, 1.0694901315789473).threePointArc((0.6551705078302152, 1.1584599815144256), (0.5662006578947368, 1.1953125)).lineTo(0.12582236842105263, 1.1953125).threePointArc((0.03685251848557419, 1.1584599815144256), (0.0, 1.0694901315789473)).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.042064251630564764, -0.07638761309337316), (0.12582236842105263, -0.1006578947368421)).lineTo(0.5662006578947368, -0.1006578947368421).threePointArc((0.6373765378431194, -0.07117587994838277), (0.6668585526315789, 0.0)).lineTo(0.6668585526315789, 1.0694901315789473).threePointArc((0.6373765378431194, 1.14066601152733), (0.5662006578947368, 1.1701480263157893)).lineTo(0.12582236842105263, 1.1701480263157893).threePointArc((0.05464648847267002, 1.14066601152733), (0.025164473684210525, 1.0694901315789473)).lineTo(0.025164473684210525, 0.0).close()
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.140625)
solid=solid0
| 1,753
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00019266
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.421875, 0.0, -0.2734375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(1.171875, 0.0).lineTo(1.171875, 0.5427631578947368).lineTo(0.0, 0.5427631578947368).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.19736842105263158, 0.2713815789473684).circle(0.024671052631578948)
loop2=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.18996087504043987, 0.022479405472898575), (0.30838815789473684, 0.17269736842105263)).lineTo(0.5304276315789473, 0.17269736842105263).threePointArc((0.550427471343252, 0.1860911155957265), (0.5550986842105263, 0.20970394736842105)).lineTo(0.5550986842105263, 0.3330592105263158).threePointArc((0.550427471343252, 0.35667204229901034), (0.5304276315789473, 0.37006578947368424)).lineTo(0.30838815789473684, 0.37006578947368424).threePointArc((0.2883883181304322, 0.35667204229901034), (0.2837171052631579, 0.3330592105263158)).lineTo(0.2837171052631579, 0.20970394736842105).close()
loop3=wp_sketch0.moveTo(0.6537828947368421, 0.2713815789473684).circle(0.024671052631578948)
loop4=wp_sketch0.moveTo(0.9004934210526316, 0.2713815789473684).circle(0.12335526315789475)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).extrude(0.046875)
solid=solid0
| 1,744
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00010242
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0390625), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.010983495705504432, -0.026516504294495525), (0.037500000000000006, -0.037500000000000006)).lineTo(0.259375, -0.037500000000000006).threePointArc((0.28589150429449556, -0.026516504294495525), (0.296875, 0.0)).lineTo(0.296875, 0.22187500000000002).threePointArc((0.28589150429449556, 0.24839150429449558), (0.259375, 0.259375)).lineTo(0.037500000000000006, 0.259375).threePointArc((0.010983495705504432, 0.24839150429449558), (0.0, 0.22187500000000002)).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.037500000000000006, -0.01553300858899105), (0.07500000000000001, 0.0)).lineTo(0.22187500000000002, 0.0).threePointArc((0.24839150429449558, 0.010983495705504432), (0.259375, 0.037500000000000006)).lineTo(0.259375, 0.184375).threePointArc((0.24839150429449558, 0.21089150429449557), (0.22187500000000002, 0.22187500000000002)).lineTo(0.07500000000000001, 0.22187500000000002).threePointArc((0.048483495705504434, 0.21089150429449557), (0.037500000000000006, 0.184375)).lineTo(0.037500000000000006, 0.037500000000000006).close()
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75)
solid=solid0
| 1,751
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00018626
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5078125, 0.03125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.37894736842105264, 0.0).circle(0.37894736842105264)
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 843
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017273
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.109375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.43749999999999994, 0.0).lineTo(0.43749999999999994, 0.43749999999999994).lineTo(0.0, 0.43749999999999994).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.4375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.3125, -0.2890625, 0.109375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.2890625, 0.0).lineTo(0.2890625, 0.2890625).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.4375)
solid=solid.union(solid1)
| 1,238
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00010508
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0234375, -0.015625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.0029706568396895084, -0.0034438168445210184), (0.006414473684210526, -0.006414473684210526)).lineTo(0.040460526315789475, -0.006414473684210526).threePointArc((0.04390434316031049, -0.0034438168445210184), (0.046875, 0.0)).lineTo(0.046875, 0.03453947368421053).threePointArc((0.0438861446985862, 0.037736580002415754), (0.040460526315789475, 0.040460526315789475)).lineTo(0.006414473684210526, 0.040460526315789475).threePointArc((0.0029888553014138035, 0.037736580002415754), (0.0, 0.03453947368421053)).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.015625, 0.0, 0.0), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042)))
loop1=wp_sketch1.moveTo(0.015789473684210527, 0.0).circle(0.015789473684210527)
solid1=wp_sketch1.add(loop1).extrude(-0.046875)
solid=solid.cut(solid1)
| 1,544
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017267
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.7265625, -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.453125, 0.0).lineTo(1.453125, 1.453125).lineTo(0.0, 1.453125).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.578125)
solid=solid0
| 864
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00018168
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1640625, 0.734375, 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.1640625, -1.4794011685071813), (0.328125, 0.0)).lineTo(0.15625, -0.15625).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.296875)
solid=solid0
| 894
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00016623
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.46875, 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.4776315789473684, 0.0).circle(0.4776315789473684)
solid0=wp_sketch0.add(loop0).extrude(0.453125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.1796875, 0.4375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.0, 0.0).threePointArc((0.17578125, 0.0338451618899383), (0.3515625, 0.0)).lineTo(0.2664473684210526, 0.31085526315789475).lineTo(0.17763157894736842, 0.31085526315789475).lineTo(0.08511513157894736, 0.31085526315789475).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.453125)
solid=solid.union(solid1)
| 1,196
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00012445
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.4263157894736842).lineTo(0.0, 0.4263157894736842).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.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.02138157894736842, 0.0).lineTo(0.02138157894736842, 0.40625).lineTo(0.0, 0.40625).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.2109375)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0234375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop2=wp_sketch2.moveTo(0.02138157894736842, 0.0).lineTo(0.02138157894736842, 0.40625).lineTo(0.0, 0.40625).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.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)))
loop3=wp_sketch3.moveTo(0.75, 0.0).lineTo(0.75, 0.02368421052631579).lineTo(0.7263157894736842, 0.02368421052631579).lineTo(0.02368421052631579, 0.02368421052631579).lineTo(0.0, 0.02368421052631579).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop3).extrude(0.2109375)
solid=solid.union(solid3)
| 1,950
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00016192
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5390625, -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.0736842105263158, 0.0).lineTo(1.0736842105263158, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.546875)
solid=solid0
| 874
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017298
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.3828125, 0.0, -0.5546875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(1.1328125, 0.0).lineTo(1.1328125, 1.1328125).lineTo(0.0, 1.1328125).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.5723684210526316, 0.5604440789473685).circle(0.3338815789473684)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.453125)
solid=solid0
| 1,023
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00014949
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2265625, -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.9765625000000001, 0.0).lineTo(0.9765625000000001, 0.17475328947368424).lineTo(0.0, 0.17475328947368424).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.12335526315789475, 0.04111842105263158).circle(0.010279605263157895)
loop2=wp_sketch0.moveTo(0.17475328947368424, 0.04111842105263158).circle(0.010279605263157895)
loop3=wp_sketch0.moveTo(0.78125, 0.08223684210526316).circle(0.04111842105263158)
loop4=wp_sketch0.moveTo(0.9251644736842106, 0.08223684210526316).circle(0.010279605263157895)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).extrude(0.0390625)
solid=solid0
| 1,226
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00014791
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.171875, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.17763157894736842, 0.0).circle(0.17393092105263158)
solid0=wp_sketch0.add(loop0).extrude(0.46875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.1171875, -0.46875, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.11842105263157894, 0.0).circle(0.11842105263157894)
solid1=wp_sketch1.add(loop1).extrude(0.046875)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.078125, -0.515625, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop2=wp_sketch2.moveTo(0.07894736842105263, 0.0).circle(0.07894736842105263)
solid2=wp_sketch2.add(loop2).extrude(0.234375)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.40625, -0.09375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop3=wp_sketch3.moveTo(0.11644736842105263, 0.0).lineTo(0.11644736842105263, 0.1875).lineTo(0.0, 0.1875).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop3).extrude(-0.46875, both=True)
solid=solid.cut(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = 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)))
loop4=wp_sketch4.moveTo(0.1875, 0.0).lineTo(0.1875, 0.11644736842105263).lineTo(0.0, 0.11644736842105263).lineTo(0.0, 0.0).close()
solid4=wp_sketch4.add(loop4).extrude(-0.234375, both=True)
solid=solid.cut(solid4)
| 1,988
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00013203
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.3828125, -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.7736842105263159, 0.0).lineTo(0.7736842105263159, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0390625)
solid=solid0
| 875
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017065
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.484375, 0.0, -0.234375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.12631578947368421).lineTo(0.25263157894736843, 0.25263157894736843).lineTo(0.25263157894736843, 0.37894736842105264).lineTo(0.0, 0.37894736842105264).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 1,037
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00011414
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.171875, 0.0, -0.1328125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.3515625, 0.0).lineTo(0.3515625, 0.26274671052631576).lineTo(0.0, 0.26274671052631576).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.1328125, -0.75, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.043421052631578944, 0.0).circle(0.043421052631578944)
solid1=wp_sketch1.add(loop1).extrude(-0.171875)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.046875, -0.75, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop2=wp_sketch2.moveTo(0.043421052631578944, 0.0).circle(0.043421052631578944)
solid2=wp_sketch2.add(loop2).extrude(-0.171875)
solid=solid.cut(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.1328125, 0.0, 0.0), cq.Vector(-1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, 1.0, 6.123233995736766e-17)))
loop3=wp_sketch3.moveTo(0.043421052631578944, 0.0).circle(0.043421052631578944)
solid3=wp_sketch3.add(loop3).extrude(-0.171875)
solid=solid.cut(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = 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)))
loop4=wp_sketch4.moveTo(0.043421052631578944, 0.0).circle(0.043421052631578944)
solid4=wp_sketch4.add(loop4).extrude(-0.171875)
solid=solid.cut(solid4)
| 2,036
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00018381
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.7421052631578947)
loop1=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.26842105263157895)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.4765625)
solid=solid0
| 901
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00019935
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.5, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 1.0105263157894737).lineTo(0.0, 1.0105263157894737).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.06315789473684211, 0.07894736842105263).circle(0.031578947368421054)
loop2=wp_sketch0.moveTo(0.06315789473684211, 0.9315789473684211).circle(0.031578947368421054)
loop3=wp_sketch0.moveTo(1.436842105263158, 0.07894736842105263).circle(0.031578947368421054)
loop4=wp_sketch0.moveTo(1.436842105263158, 0.9315789473684211).circle(0.031578947368421054)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).extrude(0.03125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.3046875, 0.03125), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop5=wp_sketch1.moveTo(0.21167763157894737, 0.0).lineTo(0.21167763157894737, 0.609375).lineTo(0.0, 0.609375).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop5).extrude(0.296875)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.5390625, -0.3046875, 0.03125), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop6=wp_sketch2.moveTo(0.21167763157894737, 0.0).lineTo(0.21167763157894737, 0.609375).lineTo(0.0, 0.609375).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop6).extrude(0.296875)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.15625, 0.5, 0.0), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042)))
loop7=wp_sketch3.moveTo(0.80625, 0.0).lineTo(0.80625, 1.0078125).lineTo(0.0, 1.0078125).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop7).extrude(0.3203125)
solid=solid.union(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.46875, -0.5, 0.03125), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop8=wp_sketch4.moveTo(0.0, 0.0).threePointArc((0.04296875, -0.00992628901912049), (0.0859375, 0.0)).lineTo(0.0, 0.0).close()
solid4=wp_sketch4.add(loop8).extrude(0.359375)
solid=solid.union(solid4)
# Generating a workplane for sketch 5
wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(0.46875, -0.5, 0.03125), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop9=wp_sketch5.moveTo(0.0868421052631579, 0.0).threePointArc((0.04342105263157895, 0.1879603094035712), (0.0, 0.0)).close()
solid5=wp_sketch5.add(loop9).extrude(0.359375)
solid=solid.union(solid5)
| 2,430
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00018395
|
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.21957236842105263, 0.0).lineTo(0.21957236842105263, 0.08881578947368421).lineTo(0.15049342105263158, 0.08881578947368421).lineTo(0.15049342105263158, 0.234375).lineTo(0.0, 0.234375).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(-0.75)
solid=solid0
| 1,035
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017105
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.3203125, 0.0, -0.1953125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.12631578947368421).lineTo(0.25263157894736843, 0.25263157894736843).lineTo(0.25263157894736843, 0.37894736842105264).lineTo(0.0, 0.37894736842105264).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 1,039
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00013363
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.453125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(1.4607730263157894, -0.8481907894736842).lineTo(1.4921875, -0.7853618421052632).lineTo(0.03141447368421053, 0.047121710526315794).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0234375)
solid=solid0
| 1,000
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00010118
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.7421052631578947)
loop1=wp_sketch0.moveTo(0.14210526315789473, -0.3473684210526316).circle(0.031578947368421054)
loop2=wp_sketch0.moveTo(0.7578947368421053, 0.6947368421052632).circle(0.031578947368421054)
loop3=wp_sketch0.moveTo(1.3578947368421053, -0.3473684210526316).circle(0.031578947368421054)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).extrude(0.046875)
solid=solid0
| 1,077
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00012069
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0625, -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.0021677952050337766, -0.005233520584439908), (0.007401315789473685, -0.007401315789473685)).lineTo(0.06661184210526316, -0.007401315789473685).threePointArc((0.07184536268970307, -0.005233520584439908), (0.07401315789473685, 0.0)).lineTo(0.07401315789473685, 0.13322368421052633).threePointArc((0.07184536268970307, 0.13845720479496623), (0.06661184210526316, 0.140625)).lineTo(0.007401315789473685, 0.140625).threePointArc((0.0021677952050337766, 0.13845720479496623), (0.0, 0.13322368421052633)).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.05921052631578948, 0.007401315789473685).lineTo(0.05921052631578948, 0.12582236842105263).lineTo(0.01480263157894737, 0.12582236842105263).lineTo(0.01480263157894737, 0.007401315789473685).close()
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75)
solid=solid0
| 1,452
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017111
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.3125), 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.7265625, 0.0).lineTo(0.7265625, 0.12236842105263158).lineTo(0.24473684210526317, 0.24473684210526317).lineTo(0.24473684210526317, 0.36710526315789477).lineTo(0.0, 0.36710526315789477).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.7265625)
solid=solid0
| 1,046
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00014430
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.0234375, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.019736842105263157, 0.0).circle(0.019736842105263157)
solid0=wp_sketch0.add(loop0).extrude(0.75, both=True)
solid=solid0
| 899
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00012041
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0078125, 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.016858552631578948, 0.0).lineTo(0.016858552631578948, 0.0390625).lineTo(0.0, 0.0390625).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75, both=True)
solid=solid0
| 966
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017139
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.421875, 0.0, -0.421875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.12631578947368421).lineTo(0.25263157894736843, 0.27631578947368424).lineTo(0.25263157894736843, 0.37894736842105264).lineTo(0.0, 0.37894736842105264).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 1,037
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00010642
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.421875, -0.25, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.7011391795027913, -0.39824423594755615), (0.42105263157894735, 0.35789473684210527)).threePointArc((0.28100935761702556, 0.7359642232369364), (0.631578947368421, 0.5368421052631579)).threePointArc((0.7157894736842105, 0.4105263157894737), (0.8421052631578947, 0.49473684210526314)).threePointArc((0.14096608365510346, 0.8929810780528193), (0.42105263157894735, 0.1368421052631579)).threePointArc((0.5610959055408692, -0.24122738113167283), (0.21052631578947367, -0.042105263157894736)).threePointArc((0.12631578947368421, 0.08421052631578947), (0.0, 0.0)).close()
solid0=wp_sketch0.add(loop0).extrude(0.265625)
solid=solid0
| 1,293
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017878
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.7578947368421053)
solid0=wp_sketch0.add(loop0).extrude(0.296875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.515625, -0.296875, 0.2109375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.0, 0.0).threePointArc((0.25033156510545884, -0.5095401047090151), (0.352796052631579, 0.04884868421052632)).threePointArc((0.14260670458282043, 0.26847277684337284), (0.0, 0.0)).close()
solid1=wp_sketch1.add(loop1).extrude(-0.296875)
solid=solid.cut(solid1)
| 1,290
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00012082
|
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.6473684210526316, 0.0).lineTo(0.6473684210526316, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.12484506709724816, 0.022281556344760353), (0.19736842105263158, 0.12631578947368421)).lineTo(0.4578947368421053, 0.12631578947368421).threePointArc((0.5041891660316757, 0.14876167697769183), (0.5210526315789474, 0.19736842105263158)).lineTo(0.5210526315789474, 0.5526315789473685).threePointArc((0.5041891660316757, 0.6012383230223082), (0.4578947368421053, 0.6236842105263158)).lineTo(0.19736842105263158, 0.6236842105263158).threePointArc((0.14712662344200853, 0.6028733765579916), (0.12631578947368421, 0.5526315789473685)).lineTo(0.12631578947368421, 0.19736842105263158).close()
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0234375)
solid=solid0
| 1,488
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017461
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.37894736842105264).lineTo(0.6236842105263158, 0.37894736842105264).lineTo(0.6236842105263158, 0.24473684210526317).lineTo(0.12631578947368421, 0.24473684210526317).lineTo(0.12631578947368421, 0.37894736842105264).lineTo(0.0, 0.37894736842105264).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.5)
solid=solid0
| 1,113
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00014168
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.25, -0.75), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.5052631578947369, 0.0).lineTo(0.5052631578947369, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.25263157894736843, 0.3).circle(0.09473684210526316)
loop2=wp_sketch0.moveTo(0.25263157894736843, 1.2).circle(0.09473684210526316)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.125)
solid=solid0
| 1,050
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00015510
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.484375, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.4855263157894737, 0.0).lineTo(0.9609375, 0.0).lineTo(0.9609375, 0.05057565789473684).lineTo(0.5057565789473685, 0.05057565789473684).lineTo(0.5057565789473685, 0.4855263157894737).lineTo(0.4855263157894737, 0.4855263157894737).lineTo(0.4551809210526316, 0.4855263157894737).lineTo(0.4551809210526316, 0.05057565789473684).lineTo(0.0, 0.05057565789473684).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0546875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.0234375, 0.375, 0.0546875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.05468749999999999, 0.0).lineTo(0.05468749999999999, 0.05468749999999999).lineTo(0.0, 0.05468749999999999).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.0546875)
solid=solid.union(solid1)
| 1,394
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017307
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.46875, 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.18207236842105262, 0.0).lineTo(0.10115131578947369, 0.10115131578947369).lineTo(0.5462171052631579, 0.10115131578947369).lineTo(0.4585526315789474, 0.0).lineTo(0.640625, 0.0).lineTo(0.640625, 0.18207236842105262).lineTo(0.640625, 0.27648026315789476).lineTo(0.4855263157894737, 0.3506578947368421).lineTo(0.09440789473684211, 0.3506578947368421).lineTo(0.0, 0.27648026315789476).lineTo(0.0, 0.18207236842105262).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.421875)
solid=solid0
| 1,249
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017313
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.390625, 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.0, -0.3).lineTo(0.75, -0.3).lineTo(0.75, 0.0).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.2265625, -0.375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.22894736842105262, 0.0).circle(0.22894736842105262)
solid1=wp_sketch1.add(loop1).extrude(-0.296875)
solid=solid.cut(solid1)
| 1,109
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00013175
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.7578947368421053)
solid0=wp_sketch0.add(loop0).extrude(0.0625)
solid=solid0
| 834
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00019470
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 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.0, 0.0).threePointArc((0.02543546373906293, -0.06140664152409497), (0.0868421052631579, -0.0868421052631579)).lineTo(0.6631578947368422, -0.0868421052631579).threePointArc((0.7245645362609371, -0.06140664152409497), (0.75, 0.0)).lineTo(0.75, 0.0868421052631579).threePointArc((0.7245645362609371, 0.14824874678725286), (0.6631578947368422, 0.1736842105263158)).lineTo(0.48947368421052634, 0.1736842105263158).threePointArc((0.432014411107484, 0.20075472780106204), (0.4105263157894737, 0.2605263157894737)).lineTo(0.4105263157894737, 0.3394736842105263).threePointArc((0.38509085205041077, 0.4008803257346213), (0.3236842105263158, 0.4263157894736842)).lineTo(0.0868421052631579, 0.4263157894736842).threePointArc((0.02543546373906293, 0.4008803257346213), (0.0, 0.3394736842105263)).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.34375)
solid=solid0
| 1,553
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00014626
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1875, 0.0078125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.18947368421052632, 0.0).circle(0.18947368421052632)
loop1=wp_sketch0.moveTo(0.18947368421052632, 0.0).circle(0.04736842105263158)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.046875, 0.0078125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch1.moveTo(0.04736842105263158, 0.0).circle(0.04736842105263158)
solid1=wp_sketch1.add(loop2).extrude(0.375)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.046875, 0.0078125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch2.moveTo(0.04736842105263158, 0.0).circle(0.04736842105263158)
solid2=wp_sketch2.add(loop3).extrude(-0.375)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.1796875, -0.0390625, 0.375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop4=wp_sketch3.moveTo(0.28125, 0.0).lineTo(0.28125, 0.05921052631578948).lineTo(0.0059210526315789476, 0.05921052631578948).threePointArc((0.005327070764055962, 0.029368608713068123), (0.0, 0.0)).close()
solid3=wp_sketch3.add(loop4).extrude(0.375)
solid=solid.union(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.03125, -0.0390625, 0.375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop5=wp_sketch4.moveTo(0.14967105263157893, 0.0).threePointArc((0.15532707076405594, 0.029342313774754006), (0.15625, 0.05921052631578947)).lineTo(0.0, 0.05921052631578947).lineTo(0.0, 0.0).close()
solid4=wp_sketch4.add(loop5).extrude(0.375)
solid=solid.union(solid4)
| 1,901
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017449
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0234375, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.02368421052631579, 0.0).circle(0.02368421052631579)
loop1=wp_sketch0.moveTo(0.02368421052631579, 0.0).circle(0.013322368421052631)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.2265625, -0.0234375, 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)
solid1=wp_sketch1.add(loop2).extrude(0.0234375)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.203125, -0.0234375, 0.0234375), 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.030921052631578946)
solid2=wp_sketch2.add(loop3).extrude(0.0078125)
solid=solid.union(solid2)
| 1,319
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00015288
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.078125, -0.421875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.5078125, 0.0).lineTo(0.5078125, 0.4757401315789474).lineTo(0.0, 0.4757401315789474).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.07899517668983404, 0.0017229835996595585), (0.13363486842105263, 0.05879934210526316)).lineTo(0.3741776315789474, 0.05879934210526316).threePointArc((0.4157550451108867, 0.07602127067858702), (0.43297697368421056, 0.11759868421052631)).lineTo(0.43297697368421056, 0.3581414473684211).threePointArc((0.4157550451108867, 0.39971886090036035), (0.3741776315789474, 0.41694078947368424)).lineTo(0.13363486842105263, 0.41694078947368424).threePointArc((0.09205745488911334, 0.39971886090036035), (0.07483552631578948, 0.3581414473684211)).lineTo(0.07483552631578948, 0.11759868421052631).close()
solid0=wp_sketch0.add(loop0).add(loop1).extrude(-0.0625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.296875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch1.moveTo(0.05296052631578947, 0.08322368421052631).threePointArc((0.02697182125706541, 0.009781757905496472), (0.060526315789473685, -0.060526315789473685)).lineTo(0.2988486842105263, -0.060526315789473685).threePointArc((0.3416472525455016, -0.04279856833497527), (0.359375, 0.0)).lineTo(0.359375, 0.23832236842105264).threePointArc((0.3416472525455016, 0.2811209367560279), (0.2988486842105263, 0.2988486842105263)).lineTo(0.060526315789473685, 0.2988486842105263).threePointArc((0.017727747454498417, 0.2811209367560279), (0.0, 0.23832236842105264)).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop2).extrude(-0.0625)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.078125, -0.421875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch2.moveTo(0.5078125, 0.0).lineTo(0.5078125, 0.4757401315789474).lineTo(0.0, 0.4757401315789474).lineTo(0.0, 0.0).close()
loop4=wp_sketch2.moveTo(0.0, 0.0).threePointArc((0.07899517668983404, 0.0017229835996595585), (0.13363486842105263, 0.05879934210526316)).lineTo(0.3741776315789474, 0.05879934210526316).threePointArc((0.4157550451108867, 0.07602127067858702), (0.43297697368421056, 0.11759868421052631)).lineTo(0.43297697368421056, 0.3581414473684211).threePointArc((0.4157550451108867, 0.39971886090036035), (0.3741776315789474, 0.41694078947368424)).lineTo(0.13363486842105263, 0.41694078947368424).threePointArc((0.09205745488911334, 0.39971886090036035), (0.07483552631578948, 0.3581414473684211)).lineTo(0.07483552631578948, 0.11759868421052631).close()
solid2=wp_sketch2.add(loop3).add(loop4).extrude(0.75)
solid=solid.union(solid2)
| 2,858
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00012256
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.25, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.2565789473684211, 0.0).circle(0.2565789473684211)
solid0=wp_sketch0.add(loop0).extrude(0.3828125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.0625, 0.0, 0.3828125), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.06315789473684211, 0.0).circle(0.06184210526315789)
solid1=wp_sketch1.add(loop1).extrude(0.3671875)
solid=solid.union(solid1)
| 1,036
|
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.