image
imagewidth (px) 448
448
| deepcad_id
stringlengths 13
13
| cadquery
stringlengths 283
8.1k
| token_count
int64 807
6.5k
| prompt
stringclasses 1
value | hundred_subset
bool 1
class |
|---|---|---|---|---|---|
0002/00026080
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.1484375, -0.15625, 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.6036145573325585, 0.15513980263157895), (0.0, 0.3102796052631579)).threePointArc((-0.36191376233147177, 0.15513980263157895), (0.0, 0.0)).close()
loop1=wp_sketch0.moveTo(-0.14564144736842105, 0.15830592105263158).circle(0.14564144736842105)
loop2=wp_sketch0.moveTo(0.27861842105263157, 0.15830592105263158).circle(0.24695723684210524)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.109375)
solid=solid0
| 1,100
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00026094
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.078125, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.07500000000000001, 0.0).circle(0.07500000000000001)
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 838
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00024654
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6796875, 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.4296875, 0.0).lineTo(1.4296875, 0.15049342105263158).lineTo(1.038404605263158, 0.15049342105263158).threePointArc((0.9426311785679077, 0.19016407330474977), (0.9029605263157895, 0.2859375)).threePointArc((0.6847450657894737, 0.5041529605263158), (0.4665296052631579, 0.2859375)).threePointArc((0.4268589530110397, 0.19016407330474977), (0.33108552631578947, 0.15049342105263158)).lineTo(0.0, 0.15049342105263158).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.6772203947368421, 0.2859375).circle(0.15049342105263158)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.4296875)
solid=solid0
| 1,316
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00023885
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.078125, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.07500000000000001, 0.0).circle(0.07500000000000001)
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.296875, -0.296875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.6015625, 0.0).lineTo(0.6015625, 0.6015625).lineTo(0.0, 0.6015625).lineTo(0.0, 0.0).close()
loop2=wp_sketch1.moveTo(0.30394736842105263, 0.30394736842105263).circle(0.07598684210526316)
solid1=wp_sketch1.add(loop1).add(loop2).extrude(-0.1484375)
solid=solid.union(solid1)
| 1,143
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00022543
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.328125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.3236842105263158).lineTo(0.75, 0.6552631578947369).lineTo(0.0, 0.6552631578947369).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.6157894736842106, 0.3236842105263158).circle(0.015789473684210527)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.1328125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, -0.328125), 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.75, 0.0).lineTo(0.75, 0.6552631578947369).lineTo(0.0, 0.6552631578947369).lineTo(0.0, 0.3236842105263158).lineTo(0.0, 0.0).close()
loop3=wp_sketch1.moveTo(0.19736842105263158, 0.3236842105263158).circle(0.015789473684210527)
solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.1328125)
solid=solid.union(solid1)
| 1,463
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00024640
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.640625, -0.59375, 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.021437085916445123, -0.05175370355723909), (0.07319078947368421, -0.07319078947368421)).lineTo(1.1125, -0.07319078947368421).threePointArc((1.3091640735175085, 0.008270137008807335), (1.390625, 0.2049342105263158)).lineTo(1.390625, 0.9075657894736843).threePointArc((1.3520382453503987, 1.0007224558767145), (1.2588815789473684, 1.0393092105263158)).lineTo(0.07319078947368421, 1.0393092105263158).threePointArc((0.021437085916445123, 1.0178721246098708), (0.0, 0.9661184210526316)).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.12494449303092331, -0.008879531724348846), (0.21957236842105263, 0.07319078947368421)).lineTo(0.43914473684210525, 0.07319078947368421).threePointArc((0.5353330650092151, 0.11909662307065394), (0.5708881578947369, 0.21957236842105263)).lineTo(0.5708881578947369, 0.7758223684210527).threePointArc((0.5323014032451355, 0.8689790348240829), (0.43914473684210525, 0.9075657894736843)).lineTo(0.21957236842105263, 0.9075657894736843).threePointArc((0.17816940557526145, 0.890416120740528), (0.16101973684210527, 0.8490131578947369)).lineTo(0.16101973684210527, 0.14638157894736842).close()
loop2=wp_sketch0.moveTo(0.16101973684210527, 0.14638157894736842).threePointArc((0.5405685837116051, -0.04157527739435834), (0.834375, 0.2634868421052632)).lineTo(1.2588815789473684, 0.8636513157894737).threePointArc((1.2651905135031087, 0.9399965725410279), (1.200328947368421, 0.9807565789473685)).lineTo(0.8490131578947369, 0.9807565789473685).threePointArc((0.7455057507802587, 0.9378824071144782), (0.7026315789473685, 0.834375)).lineTo(0.7026315789473685, 0.29276315789473684).close()
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.34375)
solid=solid0
| 2,214
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00026057
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.234375, 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.06414473684210525, 0.0).lineTo(0.06414473684210525, 0.17269736842105263).threePointArc((0.234375, 0.34292763157894735), (0.4046052631578947, 0.17269736842105263)).lineTo(0.4046052631578947, 0.0).lineTo(0.46875, 0.0).lineTo(0.46875, 0.44901315789473684).lineTo(0.23684210526315788, 0.44901315789473684).lineTo(0.0, 0.44901315789473684).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 1,151
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00025576
|
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.37105263157894736, 0.3157894736842105).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.265625)
solid=solid0
| 857
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00025204
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5078125, -0.46875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.9921875, 0.0).lineTo(0.9921875, 0.8981907894736841).lineTo(0.0, 0.8981907894736841).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.203125)
solid=solid0
| 889
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00028287
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0625, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.06315789473684211, 0.0).circle(0.06315789473684211)
solid0=wp_sketch0.add(loop0).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
|
|
0002/00029172
|
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.0234375, 0.0).lineTo(0.0234375, 0.0234375).lineTo(0.0, 0.0234375).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.020476973684210528, 0.0029605263157894738).lineTo(0.020476973684210528, 0.020476973684210528).lineTo(0.0029605263157894738, 0.020476973684210528).lineTo(0.0029605263157894738, 0.0029605263157894738).close()
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.296875)
solid=solid0
| 1,148
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00028278
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.02368421052631579).lineTo(0.0, 0.02368421052631579).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0234375)
solid=solid0
| 872
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00022755
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.7578947368421053)
loop1=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.12631578947368421)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.40625, both=True)
solid=solid0
| 975
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00023463
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.7578947368421053)
loop1=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.07894736842105263)
loop2=wp_sketch0.moveTo(1.3578947368421053, 0.0).circle(0.031578947368421054)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.078125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.5625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch1.moveTo(0.039473684210526314, 0.0).circle(0.039473684210526314)
solid1=wp_sketch1.add(loop3).extrude(0.078125)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.5625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop4=wp_sketch2.moveTo(0.039473684210526314, 0.0).circle(0.039473684210526314)
solid2=wp_sketch2.add(loop4).extrude(0.2265625)
solid=solid.union(solid2)
| 1,354
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00021274
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.375, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.37894736842105264, 0.0).circle(0.37894736842105264)
solid0=wp_sketch0.add(loop0).extrude(0.1640625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.2109375, 0.0, 0.1640625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.21710526315789475, 0.0).circle(0.21710526315789475)
solid1=wp_sketch1.add(loop1).extrude(0.484375)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.1640625, 0.0, 0.640625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.1618421052631579, 0.0).circle(0.1584703947368421)
solid2=wp_sketch2.add(loop2).extrude(0.109375)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.078125, 0.0, 0.75), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch3.moveTo(0.08289473684210526, 0.0).circle(0.08116776315789473)
solid3=wp_sketch3.add(loop3).extrude(-0.75)
solid=solid.cut(solid3)
| 1,430
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00025760
|
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.0, 0.0).threePointArc((0.039473684210526314, -0.039473684210526314), (0.07894736842105263, 0.0)).lineTo(0.07894736842105263, 0.7105263157894737).threePointArc((0.039473684210526314, 0.75), (0.0, 0.7105263157894737)).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.039473684210526314, 0.0).circle(0.007894736842105263)
loop2=wp_sketch0.moveTo(0.039473684210526314, 0.7105263157894737).circle(0.007894736842105263)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.015625)
solid=solid0
| 1,214
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00025199
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.609375, -0.5234375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.1953125, 0.0).lineTo(1.1953125, 1.1072368421052632).lineTo(0.0, 1.1072368421052632).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.6796875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.2421875, -0.5234375, 0.3828125), 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.17368421052631577, 0.0).circle(0.17368421052631577)
solid1=wp_sketch1.add(loop1).extrude(-0.09375)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.484375, -0.234375, 0.6796875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.890625, 0.0).lineTo(0.890625, 0.590625).lineTo(0.525, 0.590625).lineTo(0.525, 0.38437499999999997).lineTo(0.365625, 0.375).lineTo(0.365625, 0.609375).lineTo(0.35625, 0.609375).lineTo(0.0, 0.609375).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(-0.0546875)
solid=solid.cut(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.578125, -0.21875, 0.1484375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop3=wp_sketch3.moveTo(0.5390625, 0.0).lineTo(0.5390625, 0.37450657894736844).lineTo(0.0, 0.37450657894736844).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop3).extrude(0.171875)
solid=solid.union(solid3)
| 1,808
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00020977
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5234375, 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.7578125, 0.0).lineTo(0.7578125, 0.23133223684210527).threePointArc((0.594235906621895, 0.29908788030610545), (0.5264802631578948, 0.46266447368421054)).lineTo(0.0, 0.46266447368421054).threePointArc((0.23133223684210527, 0.23133223684210527), (0.0, 0.0)).close()
solid0=wp_sketch0.add(loop0).extrude(0.1796875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.0390625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.23289473684210527, 0.0).circle(0.23289473684210527)
loop2=wp_sketch1.moveTo(0.23289473684210527, 0.0).circle(0.0921875)
solid1=wp_sketch1.add(loop1).add(loop2).extrude(0.1796875)
solid=solid.union(solid1)
| 1,419
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00027995
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6796875, 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.6907894736842105, 0.0).circle(0.6907894736842105)
loop1=wp_sketch0.moveTo(0.6907894736842105, 0.0).circle(0.34539473684210525)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.34375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.6796875, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop2=wp_sketch1.moveTo(0.6907894736842105, 0.0).circle(0.6907894736842105)
loop3=wp_sketch1.moveTo(0.6907894736842105, 0.0).circle(0.34539473684210525)
solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.34375)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.40625, -0.34375, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop4=wp_sketch2.moveTo(0.06710526315789474, 0.0).circle(0.06710526315789474)
solid2=wp_sketch2.add(loop4).extrude(0.40625)
solid=solid.union(solid2)
| 1,572
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00022153
|
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.1499177631578947, 0.0).lineTo(1.3828125, 0.0).lineTo(1.3828125, 0.46578947368421053).lineTo(0.3784539473684211, 0.727796052631579).lineTo(0.0, 0.727796052631579).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(1.1499177631578947, 0.23289473684210527).circle(0.10189144736842105)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.1328125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.2890625), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop2=wp_sketch1.moveTo(0.40411184210526313, 0.0).lineTo(0.40411184210526313, 0.26299342105263157).lineTo(0.20526315789473684, 0.609375).lineTo(0.0, 0.609375).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop2).extrude(-0.1328125)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.6171875, -0.1328125, -0.2890625), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042)))
loop3=wp_sketch2.moveTo(0.6328125, 0.0).lineTo(0.0, 0.40633223684210523).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop3).extrude(-0.1328125)
solid=solid.union(solid2)
| 1,743
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00029006
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.125, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.13026315789473686, 0.0).circle(0.12754934210526317)
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
|
|
0002/00024536
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, -0.375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.12631578947368421, 0.0).lineTo(0.12631578947368421, 0.375).lineTo(0.0, 0.375).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.625, 0.0, -0.375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.12631578947368421, 0.0).lineTo(0.12631578947368421, 0.375).lineTo(0.0, 0.375).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.375)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, -0.375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop2=wp_sketch2.moveTo(0.75, 0.0).lineTo(0.75, 0.37894736842105264).lineTo(0.0, 0.37894736842105264).lineTo(0.12631578947368421, 0.37894736842105264).lineTo(0.12631578947368421, 0.0).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(-0.125)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, -0.375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop3=wp_sketch3.moveTo(0.12631578947368421, 0.0).lineTo(0.12631578947368421, 0.375).lineTo(0.0, 0.375).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop3).extrude(-0.125)
solid=solid.union(solid3)
| 1,904
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00027981
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.75, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.7578947368421053)
loop1=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.15789473684210525)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.375)
solid=solid0
| 951
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00026447
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.015625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.008634868421052632, -0.01430921052631579).lineTo(0.0234375, -0.005427631578947369).lineTo(0.01480263157894737, 0.003453947368421053).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 927
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00021300
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6796875, -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.3736842105263158, 0.0).lineTo(1.3736842105263158, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.07894736842105263, 0.12631578947368421).circle(0.031578947368421054)
loop2=wp_sketch0.moveTo(0.07894736842105263, 1.3736842105263158).circle(0.031578947368421054)
loop3=wp_sketch0.moveTo(1.2947368421052632, 0.12631578947368421).circle(0.031578947368421054)
loop4=wp_sketch0.moveTo(1.2947368421052632, 1.3736842105263158).circle(0.031578947368421054)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).extrude(0.046875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.546875, 0.546875, 0.046875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop5=wp_sketch1.moveTo(0.8359375, 0.0).lineTo(0.8359375, 0.20238486842105263).lineTo(0.0, 0.20238486842105263).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop5).extrude(0.1640625)
solid=solid.union(solid1)
| 1,447
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00027003
|
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.453125, 0.0).lineTo(0.453125, 0.453125).lineTo(0.0, 0.453125).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.453125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.1875, 0.265625, 0.453125), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.02368421052631579, 0.0).circle(0.02368421052631579)
solid1=wp_sketch1.add(loop1).extrude(0.296875)
solid=solid.union(solid1)
| 1,059
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00027765
|
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.6, 0.0).lineTo(0.6, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.296875)
solid=solid0
| 839
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00028867
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1640625, 0.0, -0.0390625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.16611842105263158, 0.0).lineTo(0.16611842105263158, 0.7890625).lineTo(0.0, 0.7890625).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.0, 0.0).threePointArc((-0.016611842105263157, 0.14120065789473685), (0.12458881578947369, 0.1578125)).lineTo(0.12458881578947369, 0.24087171052631579).threePointArc((0.08305921052631579, 0.2824013157894737), (0.041529605263157895, 0.24087171052631579)).lineTo(0.041529605263157895, 0.1578125).close()
loop2=wp_sketch0.moveTo(0.08305921052631579, 0.6561677631578947).circle(0.041529605263157895)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.0234375)
solid=solid0
| 1,323
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00024085
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.7578947368421053)
loop1=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.28421052631578947)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0546875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.21875, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch1.moveTo(0.22105263157894733, 0.0).circle(0.22105263157894733)
loop3=wp_sketch1.moveTo(0.22105263157894733, 0.0).circle(0.04144736842105263)
solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.0546875)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.2734375, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop4=wp_sketch2.moveTo(0.2802631578947368, 0.0).circle(0.2802631578947368)
loop5=wp_sketch2.moveTo(0.2802631578947368, 0.0).circle(0.221875)
solid2=wp_sketch2.add(loop4).add(loop5).extrude(0.0546875)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.2734375, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop6=wp_sketch3.moveTo(0.2802631578947368, 0.0).circle(0.2802631578947368)
loop7=wp_sketch3.moveTo(0.2802631578947368, 0.0).circle(0.221875)
solid3=wp_sketch3.add(loop6).add(loop7).extrude(0.5625)
solid=solid.union(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = 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)))
loop8=wp_sketch4.moveTo(0.7578947368421053, 0.0).circle(0.7578947368421053)
loop9=wp_sketch4.moveTo(0.7578947368421053, 0.0).circle(0.28421052631578947)
solid4=wp_sketch4.add(loop8).add(loop9).extrude(0.0546875)
solid=solid.union(solid4)
| 1,904
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00026137
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.75, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0390625)
solid=solid0
| 840
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00025358
|
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.2894736842105263, 0.0).lineTo(0.2894736842105263, 0.4296875).lineTo(0.21710526315789475, 0.4296875).lineTo(0.21710526315789475, 0.07236842105263158).lineTo(0.07236842105263158, 0.07236842105263158).lineTo(0.07236842105263158, 0.4296875).lineTo(0.0, 0.4296875).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.1484375, -0.609375, 0.28125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.02319078947368421, 0.0).circle(0.02368421052631579)
solid1=wp_sketch1.add(loop1).extrude(-0.6015625)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.1484375, -0.3125, 0.3125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop2=wp_sketch2.moveTo(0.035526315789473684, 0.0).circle(0.035526315789473684)
solid2=wp_sketch2.add(loop2).extrude(-0.6015625)
solid=solid.cut(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.2890625, 0.0, 0.2421875), 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.035526315789473684, 0.0).circle(0.035526315789473684)
solid3=wp_sketch3.add(loop3).extrude(0.2890625)
solid=solid.union(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.21875, 0.0, 0.09375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop4=wp_sketch4.moveTo(0.02368421052631579, 0.0).circle(0.02368421052631579)
solid4=wp_sketch4.add(loop4).extrude(0.2890625)
solid=solid.union(solid4)
| 2,171
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00029562
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.1328125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.2368421052631579, -0.20526315789473684).lineTo(1.263157894736842, -0.20526315789473684).lineTo(1.5, 0.0).lineTo(1.5, 0.12631578947368421).lineTo(0.0, 0.12631578947368421).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.04736842105263158, 0.07894736842105263).circle(0.015789473684210527)
loop2=wp_sketch0.moveTo(1.4526315789473685, 0.07894736842105263).circle(0.015789473684210527)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.03125)
solid=solid0
| 1,123
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00026645
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.5546875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 0.9947368421052631).lineTo(0.0, 0.9947368421052631).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.25)
solid=solid0
| 870
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00021102
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.421875, 0.0, -0.265625), 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.0859375, 0.0).lineTo(1.0859375, 0.3314967105263158).threePointArc((0.8515339280458083, 0.4285898490984398), (0.7544407894736843, 0.6629934210526316)).lineTo(0.0, 0.6629934210526316).threePointArc((0.3314967105263158, 0.3314967105263158), (0.0, 0.0)).close()
solid0=wp_sketch0.add(loop0).extrude(0.265625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.421875, 0.0, -0.265625), 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.328125, 0.328125), (0.0, 0.65625)).lineTo(0.0, 0.45592105263157895).threePointArc((0.13125, 0.3246710526315789), (0.0, 0.19342105263157894)).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.265625)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.421875, 0.0, -0.265625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop2=wp_sketch2.moveTo(0.0, 0.0).threePointArc((0.328125, 0.328125), (0.0, 0.65625)).lineTo(0.0, 0.45592105263157895).threePointArc((0.13125, 0.3246710526315789), (0.0, 0.19342105263157894)).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.265625)
solid=solid.union(solid2)
| 1,831
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00028654
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.640625, -0.671875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.008574834366577883, -0.020701481422895594), (0.029276315789473685, -0.029276315789473685)).lineTo(1.3613486842105265, -0.029276315789473685).threePointArc((1.382050165633422, -0.020701481422895594), (1.390625, 0.0)).lineTo(1.390625, 1.3467105263157895).threePointArc((1.3790185038693428, 1.3600929287913168), (1.3613486842105265, 1.3613486842105265)).lineTo(0.029276315789473685, 1.3613486842105265).threePointArc((0.011606496130657363, 1.3600929287913168), (0.0, 1.3467105263157895)).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.7611842105263158, 0.6148026315789474).lineTo(0.7611842105263158, 0.7319078947368421).lineTo(0.6294407894736842, 0.7319078947368421).lineTo(0.6294407894736842, 0.6148026315789474).close()
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.1171875)
solid=solid0
| 1,436
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00026679
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.125, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.12631578947368421, 0.0).circle(0.12631578947368421)
solid0=wp_sketch0.add(loop0).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
|
|
0002/00021116
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.578125, 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.578125, 0.0).lineTo(0.578125, 0.17648026315789472).threePointArc((0.4533346091754662, 0.2281701354912557), (0.4016447368421053, 0.35296052631578945)).lineTo(0.0, 0.35296052631578945).threePointArc((0.17648026315789472, 0.17648026315789472), (0.0, 0.0)).close()
solid0=wp_sketch0.add(loop0).extrude(0.140625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.578125, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.0, 0.10361842105263157).threePointArc((-0.0703125, 0.17393092105263158), (0.0, 0.24424342105263155)).lineTo(0.0, 0.3515625).threePointArc((-0.17578125, 0.17578125), (0.0, 0.0)).close()
solid1=wp_sketch1.add(loop1).extrude(0.140625)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.578125, 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.0, 0.0).threePointArc((0.17578125, 0.17578125), (0.0, 0.3515625)).lineTo(0.0, 0.24424342105263155).threePointArc((0.0703125, 0.17393092105263158), (0.0, 0.10361842105263157)).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.140625)
solid=solid.union(solid2)
| 1,827
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00022378
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.1484375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(1.40625, 0.0).lineTo(1.40625, 0.014802631578947368).lineTo(0.0, 0.014802631578947368).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.2109375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, -0.1484375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.018421052631578946, 0.0).lineTo(0.018421052631578946, 0.10937499999999999).lineTo(0.0, 0.10937499999999999).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(-0.75)
solid_temp=solid1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, -0.1484375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.018421052631578946, 0.0).lineTo(0.018421052631578946, 0.10937499999999999).lineTo(0.0, 0.10937499999999999).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(-0.65625)
solid_temp=solid_temp.union(solid1)
solid=solid.union(solid_temp)
| 1,587
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00021103
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.46875, 0.0, -0.28125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.28125, 0.28125), (0.0, 0.5625)).lineTo(0.0, 0.3907894736842105).threePointArc((0.1125, 0.27828947368421053), (0.0, 0.16578947368421054)).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.46875, 0.0, -0.28125), 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.16578947368421054).threePointArc((-0.1125, 0.27828947368421053), (0.0, 0.3907894736842105)).lineTo(0.0, 0.5625).threePointArc((-0.28125, 0.28125), (0.0, 0.0)).close()
solid1=wp_sketch1.add(loop1).extrude(0.2265625)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.46875, 0.0, -0.28125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop2=wp_sketch2.moveTo(0.9375, 0.0).lineTo(0.9375, 0.28618421052631576).threePointArc((0.7351372040683236, 0.3700056251209552), (0.6513157894736842, 0.5723684210526315)).lineTo(0.0, 0.5723684210526315).threePointArc((0.28618421052631576, 0.28618421052631576), (0.0, 0.0)).close()
solid2=wp_sketch2.add(loop2).extrude(0.2265625)
solid=solid.union(solid2)
| 1,807
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00024053
|
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
|
|
0002/00026122
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.7578947368421053)
loop1=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.37894736842105264)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.625)
solid=solid0
| 969
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00024084
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.234375, -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.6393092105263157, 0.0).lineTo(0.6393092105263157, 1.3203125).lineTo(0.0, 1.3203125).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0546875)
solid=solid0
| 886
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00027002
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.2109375, 0.0, -0.203125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.12335526315789473, 0.0).lineTo(0.12335526315789473, 0.3157894736842105).lineTo(0.350328947368421, 0.3157894736842105).lineTo(0.350328947368421, 0.46875).lineTo(0.0, 0.46875).lineTo(0.0, 0.32072368421052627).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.046875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.2578125, -0.0234375, -0.203125), 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.1875)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.5625, -0.0390625, 0.1953125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop2=wp_sketch2.moveTo(0.015789473684210527, 0.0).circle(0.015789473684210527)
solid2=wp_sketch2.add(loop2).extrude(0.1875)
solid=solid.union(solid2)
| 1,615
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00022608
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.7578947368421053)
loop1=wp_sketch0.moveTo(0.3473684210526316, 0.0).circle(0.09473684210526316)
loop2=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.20526315789473684)
loop3=wp_sketch0.moveTo(0.7578947368421053, -0.39473684210526316).circle(0.09473684210526316)
loop4=wp_sketch0.moveTo(0.7578947368421053, 0.39473684210526316).circle(0.09473684210526316)
loop5=wp_sketch0.moveTo(1.1526315789473685, 0.0).circle(0.09473684210526316)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).add(loop5).extrude(0.25)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = 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)))
loop6=wp_sketch1.moveTo(0.20131578947368423, 0.0).circle(0.20131578947368423)
loop7=wp_sketch1.moveTo(0.20131578947368423, 0.0).circle(0.10065789473684211)
solid1=wp_sketch1.add(loop6).add(loop7).extrude(0.296875)
solid=solid.union(solid1)
| 1,587
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00021467
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.2890625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 0.5684210526315789).lineTo(0.0, 0.5684210526315789).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.3828125)
solid=solid0
| 875
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00027758
|
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.46093750000000006, -0.33478618421052636).lineTo(0.09703947368421054, 0.26200657894736845).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.265625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.2265625, 0.15625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.16973684210526316, 0.0).circle(0.16973684210526316)
solid1=wp_sketch1.add(loop1).extrude(0.265625)
solid=solid.union(solid1)
| 1,089
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00027980
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.1015625, 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.10263157894736843, 0.0).circle(0.10263157894736843)
solid0=wp_sketch0.add(loop0).extrude(0.75, both=True)
solid=solid0
| 897
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00022620
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.7421875, 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.1484375, 0.0).lineTo(1.1484375, 0.4231085526315789).lineTo(0.0, 0.4231085526315789).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.32639802631578946, 0.20550986842105262).circle(0.024177631578947367)
loop2=wp_sketch0.moveTo(0.8341282894736841, 0.20550986842105262).circle(0.03626644736842105)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.109375)
solid=solid0
| 1,124
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00022185
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0078125, 0.0, -0.0078125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.0002408661338926418, -0.0005815022871599897), (0.0008223684210526315, -0.0008223684210526315)).lineTo(0.014802631578947368, -0.0008223684210526315).threePointArc((0.015384133866107357, -0.0005815022871599897), (0.015625, 0.0)).lineTo(0.015625, 0.014144736842105262).threePointArc((0.015350070250780622, 0.01464400228715999), (0.014802631578947368, 0.014802631578947368)).lineTo(0.0008223684210526315, 0.014802631578947368).threePointArc((0.00027492974921937755, 0.01464400228715999), (0.0, 0.014144736842105262)).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.007894736842105263, 0.007072368421052631).circle(0.006578947368421052)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75)
solid=solid0
| 1,432
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00025761
|
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, 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.02368421052631579, -0.02368421052631579), (0.04736842105263158, 0.0)).lineTo(0.04736842105263158, 0.7263157894736842).threePointArc((0.02368421052631579, 0.75), (0.0, 0.7263157894736842)).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.02368421052631579, 0.0).circle(0.007894736842105263)
loop2=wp_sketch0.moveTo(0.02368421052631579, 0.7263157894736842).circle(0.007894736842105263)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.0078125)
solid=solid0
| 1,210
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00028279
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.039473684210526314).lineTo(0.0, 0.039473684210526314).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0390625)
solid=solid0
| 874
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00021249
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0859375, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.09078947368421053, 0.0).circle(0.09078947368421053)
loop1=wp_sketch0.moveTo(0.030263157894736843, 0.0).circle(0.015131578947368421)
loop2=wp_sketch0.moveTo(0.09078947368421053, 0.0).circle(0.030263157894736843)
loop3=wp_sketch0.moveTo(0.09078947368421053, -0.060526315789473685).circle(0.015131578947368421)
loop4=wp_sketch0.moveTo(0.09078947368421053, 0.060526315789473685).circle(0.015131578947368421)
loop5=wp_sketch0.moveTo(0.14942434210526315, 0.0).circle(0.015131578947368421)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).add(loop5).extrude(0.09375, both=True)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.6796875, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop6=wp_sketch1.moveTo(0.6828947368421053, 0.0).circle(0.6828947368421053)
loop7=wp_sketch1.moveTo(0.6828947368421053, 0.0).circle(0.08536184210526317)
solid1=wp_sketch1.add(loop6).add(loop7).extrude(0.09375, both=True)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop8=wp_sketch2.moveTo(0.7578947368421053, 0.0).circle(0.7578947368421053)
loop9=wp_sketch2.moveTo(0.7578947368421053, 0.0).circle(0.6789473684210526)
solid2=wp_sketch2.add(loop8).add(loop9).extrude(0.09375, both=True)
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, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop10=wp_sketch3.moveTo(0.7578947368421053, 0.0).circle(0.7578947368421053)
loop11=wp_sketch3.moveTo(0.7578947368421053, 0.0).circle(0.6789473684210526)
solid3=wp_sketch3.add(loop10).add(loop11).extrude(-0.0703125, both=True)
solid=solid.cut(solid3)
| 1,985
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00026526
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.5565789473684211, 0.0).circle(0.5565789473684211)
loop1=wp_sketch0.moveTo(0.5565789473684211, 0.0).circle(0.4174342105263158)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.078125)
solid=solid0
| 901
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00028286
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.125, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.12631578947368421, 0.0).circle(0.12631578947368421)
solid0=wp_sketch0.add(loop0).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
|
|
0002/00028053
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.234375, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.23684210526315788, 0.0).circle(0.23684210526315788)
loop1=wp_sketch0.moveTo(0.23684210526315788, 0.0).circle(0.12335526315789473)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.1015625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.21875, -0.1015625, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop2=wp_sketch1.moveTo(0.22105263157894733, 0.0).circle(0.22105263157894733)
loop3=wp_sketch1.moveTo(0.22105263157894733, 0.0).circle(0.12434210526315788)
solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.03125)
solid=solid.union(solid1)
| 1,315
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00025577
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.515625, 0.09375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((-0.09646753497880611, 0.34978434021151306), (0.26595394736842104, 0.36726973684210523)).threePointArc((0.4522634000483855, 0.4228429732003544), (0.6458881578947369, 0.4052631578947368)).threePointArc((1.120358952754798, 0.4576119189355281), (1.038486842105263, -0.012664473684210526)).threePointArc((0.9804562826033529, -0.3425245991233601), (0.7345394736842105, -0.5699013157894737)).threePointArc((0.5129111842105263, -0.8468171021069074), (0.2912828947368421, -0.5699013157894737)).threePointArc((0.047611980714000426, -0.3350546075181074), (0.0, 0.0)).close()
solid0=wp_sketch0.add(loop0).extrude(0.6484375)
solid=solid0
| 1,292
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00029403
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.375, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.75).lineTo(0.6552631578947369, 0.75).lineTo(0.6552631578947369, 0.41842105263157897).lineTo(0.6552631578947369, 0.09473684210526316).lineTo(0.3315789473684211, 0.09473684210526316).lineTo(0.0, 0.09473684210526316).lineTo(0.0, 0.0).close()
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.375, 0.109375, 0.6171875), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.05921052631578947, 0.0).circle(0.05921052631578947)
solid1=wp_sketch1.add(loop1).extrude(-0.75)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.375, 0.109375, 0.2421875), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop2=wp_sketch2.moveTo(0.05921052631578947, 0.0).circle(0.05921052631578947)
solid2=wp_sketch2.add(loop2).extrude(-0.75)
solid=solid.cut(solid2)
| 1,590
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00020427
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0078125, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.0017269736842105265, 0.0).lineTo(0.0017269736842105265, 0.0007401315789473684).lineTo(0.003453947368421053, 0.0007401315789473684).lineTo(0.003453947368421053, -0.0014802631578947369).lineTo(0.0051809210526315794, -0.0014802631578947369).lineTo(0.0051809210526315794, 0.0234375).lineTo(0.003453947368421053, 0.0234375).lineTo(0.003453947368421053, 0.021217105263157895).lineTo(0.0017269736842105265, 0.021217105263157895).lineTo(0.0017269736842105265, 0.021957236842105265).lineTo(0.0, 0.021957236842105265).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 1,335
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00020355
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.46875, 0.0, -0.28125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.9375, 0.0).lineTo(0.9375, 0.28618421052631576).threePointArc((0.7351372040683236, 0.3700056251209552), (0.6513157894736842, 0.5723684210526315)).lineTo(0.0, 0.5723684210526315).threePointArc((0.28618421052631576, 0.28618421052631576), (0.0, 0.0)).close()
solid0=wp_sketch0.add(loop0).extrude(0.453125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.46875, 0.0, -0.28125), 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.28125, 0.28125), (0.0, 0.5625)).lineTo(0.0, 0.3907894736842105).threePointArc((0.1125, 0.27828947368421053), (0.0, 0.16578947368421054)).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.453125)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.46875, 0.0, -0.28125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop2=wp_sketch2.moveTo(0.0, 0.16578947368421054).threePointArc((-0.1125, 0.27828947368421053), (0.0, 0.3907894736842105)).lineTo(0.0, 0.5625).threePointArc((-0.28125, 0.28125), (0.0, 0.0)).close()
solid2=wp_sketch2.add(loop2).extrude(0.453125)
solid=solid.union(solid2)
| 1,804
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00022542
|
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.4263157894736842, 0.0).threePointArc((0.45, 0.02368421052631579), (0.4736842105263158, 0.0)).lineTo(0.75, 0.0).lineTo(0.75, 0.37894736842105264).lineTo(0.0, 0.37894736842105264).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.1484375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.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)))
loop1=wp_sketch1.moveTo(0.07105263157894737, 0.0).threePointArc((0.09078947368421053, 0.019736842105263157), (0.1105263157894737, 0.0)).lineTo(0.75, 0.0).lineTo(0.75, 0.37894736842105264).lineTo(0.0, 0.37894736842105264).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.1484375)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, -0.375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop2=wp_sketch2.moveTo(0.75, 0.0).lineTo(0.75, 0.37894736842105264).lineTo(0.1105263157894737, 0.37894736842105264).threePointArc((0.09078947368421053, 0.3592105263157895), (0.07105263157894737, 0.37894736842105264)).lineTo(0.0, 0.37894736842105264).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.1484375)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop3=wp_sketch3.moveTo(0.75, 0.0).lineTo(0.75, 0.37894736842105264).lineTo(0.4736842105263158, 0.37894736842105264).threePointArc((0.45, 0.35526315789473684), (0.4263157894736842, 0.37894736842105264)).lineTo(0.0, 0.37894736842105264).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop3).extrude(0.1484375)
solid=solid.union(solid3)
| 2,266
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00026903
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.4375, -0.4140625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.8749999999999999, 0.0).lineTo(0.8749999999999999, 0.8749999999999999).lineTo(0.0, 0.8749999999999999).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 902
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00020382
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.7265625, 0.0, -0.453125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.3505756578947369, 0.0).lineTo(0.3505756578947369, 0.19342105263157897).lineTo(0.3505756578947369, 0.38281250000000006).lineTo(0.0, 0.38281250000000006).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.703125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.375, 0.0, -0.2578125), 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.7656250000000001, 0.0).lineTo(0.7656250000000001, 0.19342105263157897).lineTo(0.0, 0.19342105263157897).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.703125)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.3984375, 0.0, -0.453125), 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.3505756578947369, 0.0).lineTo(0.3505756578947369, 0.38281250000000006).lineTo(0.0, 0.38281250000000006).lineTo(0.0, 0.19342105263157897).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.703125)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.375, 0.0, -0.453125), 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.7656250000000001, 0.0).lineTo(0.7656250000000001, 0.19342105263157897).lineTo(0.0, 0.19342105263157897).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop3).extrude(0.703125)
solid=solid.union(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.375, -0.703125, -0.453125), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042)))
loop4=wp_sketch4.moveTo(0.16118421052631582, -0.7011513157894738).lineTo(0.6044407894736843, -0.7011513157894738).lineTo(0.7656250000000001, 0.0).lineTo(0.0, 0.0).close()
solid4=wp_sketch4.add(loop4).extrude(-0.1953125)
solid=solid.cut(solid4)
| 2,407
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00021936
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.7578947368421053)
loop1=wp_sketch0.moveTo(0.4578947368421053, 0.26842105263157895).circle(0.07894736842105263)
loop2=wp_sketch0.moveTo(0.4736842105263158, -0.3).circle(0.07894736842105263)
loop3=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.20526315789473684)
loop4=wp_sketch0.moveTo(1.0263157894736843, 0.3).circle(0.07894736842105263)
loop5=wp_sketch0.moveTo(1.0421052631578949, -0.26842105263157895).circle(0.07894736842105263)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).add(loop5).extrude(0.1484375, both=True)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = 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)))
loop6=wp_sketch1.moveTo(0.20131578947368423, 0.0).circle(0.20131578947368423)
loop7=wp_sketch1.moveTo(0.20131578947368423, 0.0).circle(0.07549342105263158)
solid1=wp_sketch1.add(loop6).add(loop7).extrude(0.203125, both=True)
solid=solid.union(solid1)
| 1,600
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00024680
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.1796875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.7890625, 0.0).lineTo(0.7890625, 0.3903782894736842).lineTo(0.0, 0.3903782894736842).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.19103618421052632, 0.19103618421052632).circle(0.008305921052631579)
loop2=wp_sketch0.moveTo(0.42360197368421054, 0.19103618421052632).circle(0.008305921052631579)
loop3=wp_sketch0.moveTo(0.5814144736842105, 0.19103618421052632).circle(0.008305921052631579)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).extrude(0.09375)
solid=solid0
| 1,202
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00024858
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.4609375, 0.0, -0.078125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.484375, 0.0).lineTo(0.484375, 0.3416118421052632).lineTo(0.0, 0.3416118421052632).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.38240131578947373, 0.2243421052631579).threePointArc((0.4206414473684211, 0.2625822368421053), (0.38240131578947373, 0.30082236842105264)).lineTo(0.10197368421052633, 0.30082236842105264).threePointArc((0.1402138157894737, 0.2625822368421053), (0.10197368421052633, 0.2243421052631579)).close()
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0234375)
solid=solid0
| 1,236
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00021908
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.18947368421052632).lineTo(0.0, 0.18947368421052632).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.7105263157894737, 0.039473684210526314).lineTo(0.7105263157894737, 0.15).lineTo(0.039473684210526314, 0.15).lineTo(0.039473684210526314, 0.039473684210526314).close()
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.6640625)
solid=solid0
| 1,109
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00022232
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.75, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.7578947368421053, 0.15789473684210525).circle(0.07894736842105263)
loop2=wp_sketch0.moveTo(0.7578947368421053, 1.3421052631578947).circle(0.07894736842105263)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.265625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.078125, 0.1328125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop3=wp_sketch1.moveTo(0.08289473684210526, 0.0).circle(0.08289473684210526)
solid1=wp_sketch1.add(loop3).extrude(-1.0)
solid=solid.cut(solid1)
| 1,248
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00022540
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.7578947368421053)
loop1=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.6)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.453125)
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, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop2=wp_sketch1.moveTo(0.6078947368421053, 0.0).circle(0.6078947368421053)
loop3=wp_sketch1.moveTo(0.15197368421052632, 0.02532894736842105).circle(0.11398026315789474)
loop4=wp_sketch1.moveTo(0.6078947368421053, 0.0).circle(0.30394736842105263)
loop5=wp_sketch1.moveTo(0.5825657894736842, -0.45592105263157895).circle(0.11398026315789474)
loop6=wp_sketch1.moveTo(0.6205592105263158, 0.45592105263157895).circle(0.11398026315789474)
loop7=wp_sketch1.moveTo(1.0511513157894736, -0.02532894736842105).circle(0.11398026315789474)
solid1=wp_sketch1.add(loop2).add(loop3).add(loop4).add(loop5).add(loop6).add(loop7).extrude(0.453125)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.296875, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop8=wp_sketch2.moveTo(0.30394736842105263, 0.0).circle(0.30394736842105263)
loop9=wp_sketch2.moveTo(0.30394736842105263, 0.0).circle(0.11398026315789474)
solid2=wp_sketch2.add(loop8).add(loop9).extrude(0.453125)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.6015625, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop10=wp_sketch3.moveTo(0.6078947368421053, 0.0).circle(0.6078947368421053)
loop11=wp_sketch3.moveTo(0.15197368421052632, 0.02532894736842105).circle(0.11398026315789474)
loop12=wp_sketch3.moveTo(0.6078947368421053, 0.0).circle(0.30394736842105263)
loop13=wp_sketch3.moveTo(0.5825657894736842, -0.45592105263157895).circle(0.11398026315789474)
loop14=wp_sketch3.moveTo(0.6205592105263158, 0.45592105263157895).circle(0.11398026315789474)
loop15=wp_sketch3.moveTo(1.0511513157894736, -0.02532894736842105).circle(0.11398026315789474)
solid3=wp_sketch3.add(loop10).add(loop11).add(loop12).add(loop13).add(loop14).add(loop15).extrude(0.1484375)
solid=solid.cut(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.6015625, -0.453125, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop16=wp_sketch4.moveTo(0.6078947368421053, 0.0).circle(0.6078947368421053)
loop17=wp_sketch4.moveTo(0.15197368421052632, 0.02532894736842105).circle(0.11398026315789474)
loop18=wp_sketch4.moveTo(0.6078947368421053, 0.0).circle(0.30394736842105263)
loop19=wp_sketch4.moveTo(0.5825657894736842, -0.45592105263157895).circle(0.11398026315789474)
loop20=wp_sketch4.moveTo(0.6205592105263158, 0.45592105263157895).circle(0.11398026315789474)
loop21=wp_sketch4.moveTo(1.0511513157894736, -0.02532894736842105).circle(0.11398026315789474)
solid4=wp_sketch4.add(loop16).add(loop17).add(loop18).add(loop19).add(loop20).add(loop21).extrude(-0.1484375)
solid=solid.cut(solid4)
| 3,268
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00027438
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.3125, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.3157894736842105, 0.0).circle(0.3157894736842105)
loop1=wp_sketch0.moveTo(0.3157894736842105, 0.0).circle(0.19736842105263158)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75)
solid=solid0
| 970
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00020419
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.2265625, 0.0, -0.296875), 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.5088815789473684, 0.0).lineTo(0.5088815789473684, 0.7109375).lineTo(0.1571546052631579, 0.7109375).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.1953125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.390625, 0.0, 0.4140625), 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.16282894736842105, -0.7083059210526316).lineTo(0.6187499999999999, -0.7083059210526316).lineTo(0.7734374999999999, 0.0).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.1953125)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.296875), 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.5163651315789474, 0.0).lineTo(0.3592105263157895, 0.7109375).lineTo(0.0, 0.7109375).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.1953125)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.296875), 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.5163651315789474, 0.0).lineTo(0.3592105263157895, 0.7109375).lineTo(0.0, 0.7109375).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop3).extrude(0.390625)
solid=solid.union(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.2265625, 0.0, -0.296875), 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.5088815789473684, 0.0).lineTo(0.5088815789473684, 0.7109375).lineTo(0.1571546052631579, 0.7109375).lineTo(0.0, 0.0).close()
solid4=wp_sketch4.add(loop4).extrude(0.390625)
solid=solid.union(solid4)
| 2,275
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00025207
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.4375, -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.8019736842105263, 0.0).lineTo(0.8019736842105263, 0.8281249999999999).lineTo(0.0, 0.8281249999999999).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.125, 0.15625, 0.1875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.20131578947368423, 0.0).circle(0.20131578947368423)
solid1=wp_sketch1.add(loop1).extrude(0.1875)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.078125, 0.03125, 0.375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.0, 0.0).threePointArc((0.11115347163428228, -0.06709070197000509), (0.23963815789473686, -0.0484375)).threePointArc((0.1425955801688778, 0.08846499288536222), (0.0, 0.0)).close()
solid2=wp_sketch2.add(loop2).extrude(0.1875)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.0390625, 0.09375, 0.5625), 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.10002964289965323, 0.027762580163535406), (0.18708881578947367, -0.028782894736842105)).threePointArc((0.1119853434626971, 0.10547463382332074), (0.0, 0.0)).close()
solid3=wp_sketch3.add(loop3).extrude(0.1875)
solid=solid.union(solid3)
| 1,703
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00027410
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = 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)))
loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.0007225984016779255, -0.0017445068614799694), (0.0024671052631578946, -0.0024671052631578946)).lineTo(0.044407894736842105, -0.0024671052631578946).threePointArc((0.046152401598322075, -0.0017445068614799694), (0.046875, 0.0)).lineTo(0.046875, 0.04243421052631579).threePointArc((0.04605021075234187, 0.04393200686147997), (0.044407894736842105, 0.044407894736842105)).lineTo(0.0024671052631578946, 0.044407894736842105).threePointArc((0.0008247892476581326, 0.04393200686147997), (0.0, 0.04243421052631579)).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.040953947368421055, 0.003947368421052632).lineTo(0.040953947368421055, 0.03848684210526316).lineTo(0.0059210526315789476, 0.03848684210526316).lineTo(0.0059210526315789476, 0.003947368421052632).close()
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75)
solid=solid0
wp_sketch0 = 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)))
loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.0007225984016779255, -0.0017445068614799694), (0.0024671052631578946, -0.0024671052631578946)).lineTo(0.044407894736842105, -0.0024671052631578946).threePointArc((0.046152401598322075, -0.0017445068614799694), (0.046875, 0.0)).lineTo(0.046875, 0.04243421052631579).threePointArc((0.04605021075234187, 0.04393200686147997), (0.044407894736842105, 0.044407894736842105)).lineTo(0.0024671052631578946, 0.044407894736842105).threePointArc((0.0008247892476581326, 0.04393200686147997), (0.0, 0.04243421052631579)).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.040953947368421055, 0.003947368421052632).lineTo(0.040953947368421055, 0.03848684210526316).lineTo(0.0059210526315789476, 0.03848684210526316).lineTo(0.0059210526315789476, 0.003947368421052632).close()
solid0=wp_sketch0.add(loop0).add(loop1).extrude(-0.25)
solid=solid.union(solid0)
| 2,431
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00025575
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.3515625, -0.265625), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.16011513157894738, 0.0).lineTo(0.16011513157894738, 0.46093750000000006).lineTo(0.0, 0.46093750000000006).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.15625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.1953125, -0.265625), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.2571546052631579, 0.0).lineTo(0.2571546052631579, 0.46093750000000006).lineTo(0.0, 0.46093750000000006).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.15625)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0625, -0.265625), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop2=wp_sketch2.moveTo(0.16011513157894738, 0.0).lineTo(0.16011513157894738, 0.46093750000000006).lineTo(0.0, 0.46093750000000006).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.15625)
solid=solid.union(solid2)
| 1,594
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00028284
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0703125, 0.0, 0.0), cq.Vector(1.0, 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.0208108339683243, -0.05024179761062307), (0.07105263157894737, -0.07105263157894737)).lineTo(0.5684210526315789, -0.07105263157894737).threePointArc((0.6147154818211494, -0.04860674407493987), (0.631578947368421, 0.0)).lineTo(0.631578947368421, 0.6710526315789473).threePointArc((0.61837412789775, 0.7252256181076736), (0.5684210526315789, 0.75)).lineTo(0.07105263157894737, 0.75).threePointArc((0.0208108339683243, 0.7291891660316757), (0.0, 0.6789473684210526)).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.07105263157894737, 0.0).circle(0.02368421052631579)
loop2=wp_sketch0.moveTo(0.07105263157894737, 0.6789473684210526).circle(0.02368421052631579)
loop3=wp_sketch0.moveTo(0.5684210526315789, 0.0).circle(0.02368421052631579)
loop4=wp_sketch0.moveTo(0.5684210526315789, 0.6789473684210526).circle(0.02368421052631579)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).extrude(0.109375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.109375, 0.0625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop5=wp_sketch1.moveTo(0.484375, 0.0).lineTo(0.484375, 0.005098684210526316).lineTo(0.0, 0.005098684210526316).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop5).extrude(-0.0078125)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.109375, 0.609375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop6=wp_sketch2.moveTo(0.46093750000000006, 0.0).lineTo(0.46093750000000006, 0.004851973684210527).lineTo(0.0, 0.004851973684210527).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop6).extrude(-0.0078125)
solid=solid.cut(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.0859375, -0.109375, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop7=wp_sketch3.moveTo(0.027631578947368417, 0.0).circle(0.027055921052631576)
solid3=wp_sketch3.add(loop7).extrude(-0.140625)
solid=solid.cut(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.359375, -0.109375, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop8=wp_sketch4.moveTo(0.027631578947368417, 0.0).circle(0.027055921052631576)
solid4=wp_sketch4.add(loop8).extrude(-0.140625)
solid=solid.cut(solid4)
# Generating a workplane for sketch 5
wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(0.0859375, -0.109375, 0.6796875), 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.027631578947368417, 0.0).circle(0.027055921052631576)
solid5=wp_sketch5.add(loop9).extrude(-0.140625)
solid=solid.cut(solid5)
# Generating a workplane for sketch 6
wp_sketch6 = cq.Workplane(cq.Plane(cq.Vector(0.359375, -0.109375, 0.6796875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop10=wp_sketch6.moveTo(0.027631578947368417, 0.0).circle(0.027055921052631576)
solid6=wp_sketch6.add(loop10).extrude(-0.140625)
solid=solid.cut(solid6)
| 3,345
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00022756
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.609375, -0.6953125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.2217927631578949, 0.0).lineTo(1.2217927631578949, 1.3984375).lineTo(0.0, 1.3984375).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0546875)
solid=solid0
| 891
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00024327
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.171875, -0.1328125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.09292763157894736, 0.0).lineTo(0.09292763157894736, 0.8828124999999999).lineTo(0.0, 0.8828124999999999).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.09375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.09375, 0.75, 0.0078125), 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.0703125, 0.0).lineTo(0.0703125, 0.0703125).lineTo(0.0, 0.0703125).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(-0.9375)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.15625, 0.6796875, 0.09375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.027631578947368417, 0.0).circle(0.027631578947368417)
solid2=wp_sketch2.add(loop2).extrude(-0.2734375)
solid=solid.cut(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.140625, 0.6171875, 0.09375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch3.moveTo(0.015789473684210527, 0.0).circle(0.015789473684210527)
solid3=wp_sketch3.add(loop3).extrude(-0.2734375)
solid=solid.cut(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.1484375, 0.265625, 0.09375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop4=wp_sketch4.moveTo(0.019736842105263157, 0.0).circle(0.01932565789473684)
solid4=wp_sketch4.add(loop4).extrude(-0.2734375)
solid=solid.cut(solid4)
# Generating a workplane for sketch 5
wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(-0.140625, -0.0703125, 0.09375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop5=wp_sketch5.moveTo(0.015789473684210527, 0.0).circle(0.015789473684210527)
solid5=wp_sketch5.add(loop5).extrude(-0.2734375)
solid=solid.cut(solid5)
# Generating a workplane for sketch 6
wp_sketch6 = cq.Workplane(cq.Plane(cq.Vector(-0.171875, -0.1015625, 0.046875), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop6=wp_sketch6.moveTo(0.031578947368421054, 0.0).circle(0.031578947368421054)
solid6=wp_sketch6.add(loop6).extrude(-0.09375)
solid=solid.cut(solid6)
| 2,289
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00026530
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1796875, -0.4921875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.5859375, 0.0).lineTo(0.5859375, 0.1356907894736842).lineTo(0.22203947368421054, 0.1356907894736842).threePointArc((0.11447094749582726, 0.08364190568742193), (0.0, 0.049342105263157895)).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.03125, -0.4921875, 0.375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.15000000000000002, 0.0).circle(0.15000000000000002)
solid1=wp_sketch1.add(loop1).extrude(-0.1875)
solid=solid.cut(solid1)
| 1,247
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00021539
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.578125, 0.0, -0.2578125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.7146381578947368, 0.0).lineTo(0.7146381578947368, 0.34375).lineTo(0.859375, 0.34375).lineTo(0.859375, 0.515625).lineTo(0.0, 0.515625).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.34375, 0.2532894736842105).circle(0.09950657894736842)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.171875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.2578125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop2=wp_sketch1.moveTo(0.1709703947368421, 0.0).lineTo(0.1709703947368421, 0.2578125).lineTo(0.0, 0.2578125).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop2).extrude(0.2265625)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop3=wp_sketch2.moveTo(0.1709703947368421, 0.0).lineTo(0.1709703947368421, 0.2578125).lineTo(0.0, 0.2578125).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop3).extrude(0.34375)
solid=solid.union(solid2)
| 1,684
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00024441
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.53125, -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.5368421052631579, 0.0).lineTo(1.0578947368421052, 0.0).lineTo(1.0578947368421052, 0.7578947368421053).lineTo(1.0578947368421052, 1.5).lineTo(0.5368421052631579, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.7578947368421053).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.09473684210526316, 0.09473684210526316).circle(0.06315789473684211)
loop2=wp_sketch0.moveTo(0.09473684210526316, 1.405263157894737).circle(0.06315789473684211)
loop3=wp_sketch0.moveTo(0.9631578947368421, 0.09473684210526316).circle(0.06315789473684211)
loop4=wp_sketch0.moveTo(0.9631578947368421, 1.405263157894737).circle(0.06315789473684211)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).extrude(0.0703125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.34375, -0.625, 0.0703125), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop5=wp_sketch1.moveTo(0.6973684210526315, 0.0).lineTo(0.6973684210526315, 1.25).lineTo(0.0, 1.25).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop5).extrude(0.4140625)
solid=solid.union(solid1)
| 1,548
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00022030
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.0546875, 0.03125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.05468749999999999, 0.0).lineTo(0.05468749999999999, 0.05468749999999999).lineTo(0.04432565789473684, 0.05468749999999999).lineTo(0.04432565789473684, 0.010361842105263157).lineTo(0.0, 0.010361842105263157).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.6953125, -0.0546875, 0.0390625), 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.04432565789473684).lineTo(0.0, 0.04432565789473684).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(-0.0546875)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.6953125, -0.0546875, 0.0390625), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop2=wp_sketch2.moveTo(0.006990131578947368, 0.0).lineTo(0.006990131578947368, 0.0390625).lineTo(0.0, 0.0390625).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(-0.6953125)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.6953125, -0.0546875, 0.078125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop3=wp_sketch3.moveTo(0.0078125, 0.0).lineTo(0.0078125, 0.0078125).lineTo(0.0, 0.0078125).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop3).extrude(-0.6953125)
solid=solid.union(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.6953125, -0.046875, 0.078125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop4=wp_sketch4.moveTo(0.03741776315789473, 0.0).lineTo(0.0390625, 0.006167763157894737).lineTo(0.0, 0.006167763157894737).lineTo(0.0, 0.0).close()
solid4=wp_sketch4.add(loop4).extrude(-0.6953125)
solid=solid.union(solid4)
| 2,232
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00026242
|
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.9921875, 0.0).lineTo(1.9921875, 0.4613486842105263).lineTo(0.0, 0.4613486842105263).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.359375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.2265625, 0.0390625), 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.578125)
solid=solid.cut(solid1)
| 1,216
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00029171
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.046875, 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.09375, 0.0).lineTo(0.09375, 0.09375).lineTo(0.0, 0.09375).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.08190789473684211, 0.011842105263157895).lineTo(0.08190789473684211, 0.08190789473684211).lineTo(0.011842105263157895, 0.08190789473684211).lineTo(0.011842105263157895, 0.011842105263157895).close()
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75)
solid=solid0
| 1,128
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00025005
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.7578947368421053)
loop1=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.5684210526315789)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.5625, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop2=wp_sketch1.moveTo(0.5684210526315789, 0.0).circle(0.5684210526315789)
loop3=wp_sketch1.moveTo(0.5684210526315789, 0.0).circle(0.09473684210526316)
solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.75)
solid=solid.union(solid1)
| 1,289
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00025763
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.03125, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.027631578947368424, -0.027631578947368424), (0.05526315789473685, 0.0)).lineTo(0.05526315789473685, 0.718421052631579).threePointArc((0.027631578947368424, 0.7460526315789474), (0.0, 0.718421052631579)).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.031578947368421054, 0.0).circle(0.007894736842105263)
loop2=wp_sketch0.moveTo(0.031578947368421054, 0.718421052631579).circle(0.007894736842105263)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.015625)
solid=solid0
| 1,223
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00022018
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.515625, -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.5151315789473684, 0.0).lineTo(0.5151315789473684, 0.5625).lineTo(0.0, 0.5625).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 879
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00027799
|
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
|
|
0002/00022193
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0859375, -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.010855263157894736, 0.0).lineTo(0.16101973684210527, 0.0).lineTo(0.171875, 0.0).lineTo(0.171875, 0.171875).lineTo(0.0, 0.171875).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0390625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.1484375, -0.6015625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.146875, -0.15000000000000002).lineTo(0.296875, 0.0).lineTo(0.22187500000000002, 0.07500000000000001).lineTo(0.146875, 0.15000000000000002).lineTo(0.07500000000000001, 0.07500000000000001).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.0390625)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.0703125, -0.53125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.075, 0.075).lineTo(0.15, 0.0).lineTo(0.15, 0.4453125).lineTo(0.0, 0.4453125).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.0390625)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.1015625, -0.6015625, 0.0390625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch3.moveTo(0.02368421052631579, 0.0).circle(0.02368421052631579)
solid3=wp_sketch3.add(loop3).extrude(-0.015625)
solid=solid.cut(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.0546875, -0.6015625, 0.0390625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop4=wp_sketch4.moveTo(0.02368421052631579, 0.0).circle(0.02368421052631579)
solid4=wp_sketch4.add(loop4).extrude(-0.015625)
solid=solid.cut(solid4)
# Generating a workplane for sketch 5
wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(-0.09375, -0.6015625, 0.015625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop5=wp_sketch5.moveTo(0.011842105263157895, 0.0).circle(0.011842105263157895)
solid5=wp_sketch5.add(loop5).extrude(-0.015625)
solid=solid.cut(solid5)
# Generating a workplane for sketch 6
wp_sketch6 = cq.Workplane(cq.Plane(cq.Vector(0.0625, -0.6015625, 0.015625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop6=wp_sketch6.moveTo(0.011842105263157895, 0.0).circle(0.011842105263157895)
solid6=wp_sketch6.add(loop6).extrude(-0.015625)
solid=solid.cut(solid6)
# Generating a workplane for sketch 7
wp_sketch7 = cq.Workplane(cq.Plane(cq.Vector(-0.0078125, 0.0078125, 0.0), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042)))
loop7=wp_sketch7.moveTo(0.0078125, 0.0).lineTo(0.0078125, 0.0078125).lineTo(0.0, 0.0078125).lineTo(0.0, 0.0).close()
solid7=wp_sketch7.add(loop7).extrude(-0.0390625)
solid=solid.cut(solid7)
| 2,626
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00029788
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.75).lineTo(0.0, 0.75).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.265625, -0.1875, 0.375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.11447368421052631, 0.0).circle(0.11447368421052631)
solid1=wp_sketch1.add(loop1).extrude(-0.1875)
solid=solid.cut(solid1)
| 1,180
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00026444
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.296875, 0.0, -0.6171875), 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.10773026315789475, 0.0).lineTo(0.10773026315789475, 1.0234375).lineTo(0.0, 1.0234375).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.5859375)
solid=solid0
| 965
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00024535
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.7109375, 0.0, -0.09375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.011842105263157895, 0.0).circle(0.011595394736842105)
solid0=wp_sketch0.add(loop0).extrude(0.7421875)
solid=solid0
| 922
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00022150
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.28125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.484375, 0.0).lineTo(0.484375, 0.33651315789473685).lineTo(0.0, 0.33651315789473685).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.1484375)
solid=solid0
| 885
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00025617
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0859375, -0.09375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.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
| 847
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00027000
|
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.4578947368421053, 0.0).lineTo(0.4578947368421053, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.171875)
solid=solid0
| 941
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00029039
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -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.75, 0.0).lineTo(0.75, 0.20526315789473684).lineTo(0.6710526315789473, 0.2210526315789474).lineTo(0.0, 0.2210526315789474).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.5078125)
solid=solid0
| 919
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00020586
|
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.37894736842105264, 0.6473684210526316).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.609375)
solid=solid0
| 857
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00026120
|
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.007894736842105263, 0.0).lineTo(0.007894736842105263, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(-0.2265625)
solid=solid0
| 946
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00029575
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.078125, 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.15789473684210525).lineTo(0.0, 0.15789473684210525).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.015625)
solid=solid0
| 875
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00026646
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0546875, 0.0, 0.453125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.055263157894736833, 0.0).circle(0.055263157894736833)
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 918
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00029561
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.1953125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 0.39473684210526316).lineTo(0.0, 0.39473684210526316).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.07894736842105263, 0.20526315789473684).circle(0.031578947368421054)
loop2=wp_sketch0.moveTo(1.4210526315789473, 0.20526315789473684).circle(0.031578947368421054)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.25)
solid=solid0
| 1,035
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00021673
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1484375, 0.0, 0.1875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.14925986842105265, -0.4253637969382561), (0.2985197368421053, 0.0)).lineTo(0.2985197368421053, 0.10855263157894737).threePointArc((0.14925986842105265, -0.5199511258887812), (0.0, 0.10855263157894737)).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(-0.75, both=True)
solid=solid0
| 1,078
|
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.