image
imagewidth (px) 448
448
| deepcad_id
stringlengths 13
13
| cadquery
stringlengths 283
8.1k
| token_count
int64 807
6.5k
| prompt
stringclasses 1
value | hundred_subset
bool 1
class |
|---|---|---|---|---|---|
0001/00014787
|
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.10049342105263158, 0.0).lineTo(0.1015625, 0.0).lineTo(0.1015625, 0.01924342105263158).lineTo(0.0, 0.01924342105263158).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, -0.0546875), 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.1015625, 0.0).lineTo(0.1015625, 0.01924342105263158).lineTo(0.0, 0.01924342105263158).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.75)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.1640625, 0.0, -0.03125), 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.02368421052631579, -0.012335526315789474).lineTo(0.046875, -0.000986842105263158).lineTo(0.046875, 0.031085526315789473).lineTo(0.024671052631578948, 0.044901315789473685).lineTo(0.0, 0.031085526315789473).lineTo(0.0, 0.0).close()
loop3=wp_sketch2.moveTo(0.02368421052631579, 0.015296052631578948).circle(0.016282894736842107)
solid2=wp_sketch2.add(loop2).add(loop3).extrude(0.046875)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.0390625, -0.0234375, 0.015625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop4=wp_sketch3.moveTo(0.007894736842105263, 0.0).circle(0.007894736842105263)
solid3=wp_sketch3.add(loop4).extrude(-0.0859375)
solid=solid.union(solid3)
| 1,999
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00010287
|
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, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.043421052631578944, -0.07417763157894737).lineTo(0.12845394736842106, -0.07417763157894737).lineTo(0.171875, 0.0).lineTo(0.12845394736842106, 0.07417763157894737).lineTo(0.043421052631578944, 0.07417763157894737).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75, both=True)
solid=solid0
| 1,074
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00018195
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.1796875, 0.7265625), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.0078125, -0.0018914473684210527).threePointArc((0.0039004470393245927, -0.0009696924348263355), (0.0, 0.0)).close()
solid0=wp_sketch0.add(loop0).extrude(0.25)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.1796875, -0.7265625), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop1=wp_sketch1.threePointArc((0.570095496768584, 0.7305098684210526), (0.0, 1.4610197368421052)).threePointArc((-0.9243120242520181, 0.7305098684210526), (0.0, 0.0)).close()
solid1=wp_sketch1.add(loop1).extrude(0.25)
solid=solid.union(solid1)
| 1,273
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00010244
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.17763157894736842, 0.0).threePointArc((0.1846096063932883, 0.002890393606711702), (0.1875, 0.009868421052631578)).lineTo(0.1875, 0.013815789473684212).threePointArc((0.1846096063932883, 0.020793816919604087), (0.17763157894736842, 0.02368421052631579)).lineTo(0.035526315789473684, 0.02368421052631579).threePointArc((0.027152682854369822, 0.027152682854369822), (0.02368421052631579, 0.035526315789473684)).lineTo(0.02368421052631579, 0.17763157894736842).threePointArc((0.020793816919604087, 0.1846096063932883), (0.013815789473684212, 0.1875)).lineTo(0.009868421052631578, 0.1875).threePointArc((0.002890393606711702, 0.1846096063932883), (0.0, 0.17763157894736842)).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.625, 0.1171875, 0.0), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042)))
loop1=wp_sketch1.moveTo(0.035526315789473684, 0.0).circle(0.034786184210526316)
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.0546875, 0.1171875, 0.0), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042)))
loop2=wp_sketch2.moveTo(0.039473684210526314, 0.0).circle(0.03865131578947368)
solid2=wp_sketch2.add(loop2).extrude(-0.09375)
solid=solid.cut(solid2)
| 1,996
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00013995
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.46875, -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.9453125, 0.0).lineTo(0.9453125, 0.9453125).lineTo(0.4776315789473684, 0.9453125).lineTo(0.0, 0.9453125).lineTo(0.0, 0.4776315789473684).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.12935855263157894, 0.12935855263157894).circle(0.029851973684210525)
loop2=wp_sketch0.moveTo(0.4776315789473684, 0.4776315789473684).circle(0.378125)
loop3=wp_sketch0.moveTo(0.12935855263157894, 0.815953947368421).circle(0.029851973684210525)
loop4=wp_sketch0.moveTo(0.815953947368421, 0.12935855263157894).circle(0.029851973684210525)
loop5=wp_sketch0.moveTo(0.815953947368421, 0.815953947368421).circle(0.029851973684210525)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).add(loop5).extrude(-0.140625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.46875, -0.609375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop6=wp_sketch1.moveTo(0.9453125, 0.0).lineTo(0.9453125, 0.13930921052631579).lineTo(0.0, 0.13930921052631579).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop6).extrude(-0.140625)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.46875, -0.75, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop7=wp_sketch2.moveTo(0.9453125, 0.0).lineTo(0.9453125, 0.13930921052631579).lineTo(0.0, 0.13930921052631579).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop7).extrude(-0.140625)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.46875, -0.75, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop8=wp_sketch3.moveTo(0.9453125, 0.0).lineTo(0.9453125, 0.13930921052631579).lineTo(0.0, 0.13930921052631579).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop8).extrude(0.40625)
solid=solid.union(solid3)
| 2,034
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017259
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.625, 0.0, -0.03125), 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.631578947368421, 0.0).circle(0.631578947368421)
loop1=wp_sketch0.moveTo(0.631578947368421, 0.02631578947368421).circle(0.48684210526315785)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.9921875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.6953125, -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.26151315789473684, 0.0).lineTo(0.26151315789473684, 0.049342105263157895).lineTo(0.05427631578947368, 0.049342105263157895).lineTo(0.05427631578947368, 0.2220394736842105).lineTo(0.24671052631578946, 0.2220394736842105).lineTo(0.24671052631578946, 0.2713815789473684).lineTo(0.05427631578947368, 0.2713815789473684).lineTo(0.05427631578947368, 0.4194078947368421).lineTo(0.26151315789473684, 0.4194078947368421).lineTo(0.26151315789473684, 0.46875).lineTo(0.0, 0.46875).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop2).extrude(0.6953125)
solid=solid.intersect(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.4921875, 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.493421052631579, 0.0).circle(0.493421052631579)
solid2=wp_sketch2.add(loop3).extrude(0.75)
solid_temp=solid2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.4921875, 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.493421052631579, 0.0).circle(0.493421052631579)
solid2=wp_sketch2.add(loop3).extrude(-0.34375)
solid_temp=solid_temp.union(solid2)
solid=solid.union(solid_temp)
| 2,160
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00014988
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.453125, -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.6052631578947368, 0.0).lineTo(0.6052631578947368, 1.25).lineTo(0.0, 1.25).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0625)
solid=solid0
| 873
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00017271
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.578125, 0.0, -0.1640625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(1.015625, 0.0).lineTo(1.015625, 0.16036184210526316).lineTo(0.5773026315789473, 0.16036184210526316).lineTo(0.16036184210526316, 0.16036184210526316).lineTo(0.16036184210526316, 0.3741776315789474).lineTo(0.0, 0.3741776315789474).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 1,087
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0001/00013765
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.4921875, 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.12236842105263158, 0.0).circle(0.12236842105263158)
loop1=wp_sketch0.moveTo(0.12236842105263158, 0.0).circle(0.09942434210526316)
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.375, 0.1171875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch1.moveTo(0.0, 0.0).threePointArc((0.04231332536215673, -0.00869037080513473), (0.07894736842105263, -0.031578947368421054)).lineTo(0.6710526315789473, -0.031578947368421054).threePointArc((0.7076866746378433, -0.00869037080513473), (0.75, 0.0)).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop2).extrude(0.75)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.2578125, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch2.moveTo(0.12236842105263158, 0.0).circle(0.12236842105263158)
loop4=wp_sketch2.moveTo(0.12236842105263158, 0.0).circle(0.09942434210526316)
solid2=wp_sketch2.add(loop3).add(loop4).extrude(0.75)
solid=solid.union(solid2)
| 1,518
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00021094
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.515625, 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.5249999999999999, 0.0).circle(0.5249999999999999)
loop1=wp_sketch0.moveTo(0.5249999999999999, 0.0).circle(0.48124999999999996)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.6796875)
solid=solid0
| 905
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00026937
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6796875, 0.0, 0.21875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.28421052631578947, 0.0).circle(0.27828947368421053)
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 915
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00027397
|
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.5368421052631579)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.3046875)
solid=solid0
| 900
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00026704
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.0859375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.06562499999999999, 0.0).threePointArc((0.2953125, -0.2296875), (0.5249999999999999, 0.0)).lineTo(1.0390625, 0.6453125).lineTo(0.9734375, 0.6453125).threePointArc((0.7492187499999999, 0.42109375), (0.5249999999999999, 0.6453125)).lineTo(0.5140625, 0.6453125).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.3984375)
solid=solid0
| 1,099
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00025219
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.609375, 0.0, 0.75), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.5605263157894737, -0.75).lineTo(0.6078947368421053, -0.75).lineTo(0.04736842105263158, 0.0).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.046875)
solid=solid0
| 963
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00020361
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.7109375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 1.2).lineTo(0.0, 1.2).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.7578947368421053, 0.6).circle(0.37894736842105264)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.3984375)
solid=solid0
| 981
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00027368
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2890625, 0.0, -0.109375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(1.0390625, 0.0).lineTo(1.0390625, 0.24062499999999998).lineTo(0.0, 0.24062499999999998).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.140625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.2890625, -0.0859375, 0.0078125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.015789473684210527, 0.0).circle(0.015789473684210527)
solid1=wp_sketch1.add(loop1).extrude(-0.2578125)
solid=solid.cut(solid1)
| 1,228
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00029190
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.1328125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.75, 0.2605263157894737).lineTo(0.0, 0.007894736842105263).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.1328125, both=True)
solid=solid0
| 941
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00029812
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.046875, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.05131578947368422, 0.0).circle(0.05131578947368422)
solid0=wp_sketch0.add(loop0).extrude(0.75, both=True)
solid=solid0
| 842
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00029153
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0390625, 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.078125, 0.0).lineTo(0.078125, 0.078125).lineTo(0.0, 0.078125).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, 0.109375), 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.019814522536834304, -0.0016075429967568756), (0.0390625, -0.006578947368421052)).lineTo(0.0390625, 0.0).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.078125)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.0390625, 0.0, 0.109375), 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.019247977463165696, 0.0049714043716642), (0.0390625, 0.006578947368421052)).lineTo(0.0, 0.006578947368421052).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.078125)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.0390625, 0.0, 0.0390625), 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.078125, 0.0).lineTo(0.078125, 0.07154605263157894).threePointArc((0.0390625, 0.07832403935571394), (0.0, 0.07154605263157894)).lineTo(0.0, 0.0).close()
loop4=wp_sketch3.moveTo(0.03865131578947368, 0.03865131578947368).circle(0.019736842105263157)
solid3=wp_sketch3.add(loop3).add(loop4).extrude(0.078125)
solid=solid.union(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.0390625, 0.0, -0.0390625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop5=wp_sketch4.moveTo(0.07500000000000001, 0.0).lineTo(0.07500000000000001, 0.07500000000000001).lineTo(0.07500000000000001, 0.1421875).threePointArc((0.037500000000000006, -0.07393032519195515), (0.0, 0.1421875)).lineTo(0.0, 0.07500000000000001).lineTo(0.0, 0.0).close()
solid4=wp_sketch4.add(loop5).extrude(0.078125)
solid=solid.union(solid4)
# Generating a workplane for sketch 5
wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(-0.0390625, 0.0, 0.0390625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop6=wp_sketch5.moveTo(0.078125, 0.0).lineTo(0.078125, 0.07154605263157894).threePointArc((0.0390625, 0.07832403935571394), (0.0, 0.07154605263157894)).lineTo(0.0, 0.0).close()
loop7=wp_sketch5.moveTo(0.03865131578947368, 0.03865131578947368).circle(0.019736842105263157)
solid5=wp_sketch5.add(loop6).add(loop7).extrude(0.078125)
solid=solid.union(solid5)
# Generating a workplane for sketch 6
wp_sketch6 = cq.Workplane(cq.Plane(cq.Vector(-0.015625, 0.0, 0.078125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop8=wp_sketch6.moveTo(0.019736842105263157, 0.0).circle(0.019736842105263157)
solid6=wp_sketch6.add(loop8).extrude(0.75)
solid=solid.union(solid6)
| 3,200
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00025812
|
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.0, 0.0).threePointArc((2.998154819723708, -3.8791358925871124), (0.868421052631579, 0.5368421052631579)).lineTo(0.868421052631579, 0.6789473684210526).lineTo(0.631578947368421, 0.6789473684210526).lineTo(0.631578947368421, 0.5368421052631579).close()
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.296875)
solid=solid0
| 1,142
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00029796
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6640625, 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.084375, 0.0).circle(0.084375)
loop1=wp_sketch0.moveTo(1.153125, -0.18281250000000002).threePointArc((1.3359375, 0.0), (1.153125, 0.18281250000000002)).lineTo(0.084375, 0.18281250000000002).threePointArc((0.2671875, 0.0), (0.084375, -0.18281250000000002)).close()
loop2=wp_sketch0.moveTo(1.153125, 0.0).circle(0.084375)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.0859375)
solid=solid0
| 1,122
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00029966
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.7421052631578947)
loop1=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.1105263157894737)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0859375)
solid=solid0
| 900
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00021484
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.125, 0.609375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.0027138157894736844, -0.013569078947368422).threePointArc((0.12667907893936303, -0.11984634905646208), (0.25509868421052634, -0.01899671052631579)).lineTo(0.2578125, 0.005427631578947369).threePointArc((0.1260906382858506, 0.13645537221156798), (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.0546875, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.055263157894736833, 0.0).circle(0.055263157894736833)
solid1=wp_sketch1.add(loop1).extrude(0.09375)
solid=solid.union(solid1)
| 1,216
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00025190
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.671875, 0.0, -0.3984375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(1.3046875, 0.0).lineTo(1.3046875, 1.030016447368421).lineTo(0.0, 1.030016447368421).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75, both=True)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.28125, -0.203125, 0.625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.59375, 0.0).lineTo(0.59375, 0.50625).lineTo(0.0, 0.50625).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(-0.375)
solid=solid.cut(solid1)
| 1,173
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00020981
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.4296875, 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.0546875, 0.0).lineTo(1.0546875, 0.32195723684210525).threePointArc((0.8270293545768641, 0.4162563282610746), (0.7327302631578947, 0.6439144736842105)).lineTo(0.0, 0.6439144736842105).lineTo(0.0, 0.4773848684210526).threePointArc((0.16097861842105263, 0.31640625), (0.0, 0.15542763157894737)).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.2578125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.4296875, 0.0, -0.2890625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.0, 0.0).threePointArc((0.3203125, 0.3203125), (0.0, 0.640625)).lineTo(0.0, 0.4787828947368421).threePointArc((0.1584703947368421, 0.3203125), (0.0, 0.1618421052631579)).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.2578125)
solid=solid.union(solid1)
| 1,517
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00021453
|
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, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.09078947368421053, 0.0).circle(0.09078947368421053)
solid0=wp_sketch0.add(loop0).extrude(0.75, both=True)
solid=solid0
| 915
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00025153
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.515625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 1.0263157894736843).lineTo(0.0, 1.0263157894736843).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.3157894736842105, 0.26842105263157895).circle(0.04736842105263158)
loop2=wp_sketch0.moveTo(0.3157894736842105, 0.7578947368421053).circle(0.04736842105263158)
loop3=wp_sketch0.moveTo(1.1842105263157896, 0.26842105263157895).circle(0.04736842105263158)
loop4=wp_sketch0.moveTo(1.1842105263157896, 0.7578947368421053).circle(0.04736842105263158)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).extrude(0.0859375)
solid=solid0
| 1,192
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00029769
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.625, 0.0, 0.5546875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.0, -0.5526315789473684).lineTo(0.625, -0.5526315789473684).lineTo(0.625, 0.1907894736842105).lineTo(0.3355263157894737, 0.1907894736842105).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.10526315789473684, -0.18421052631578946).circle(0.039473684210526314)
loop2=wp_sketch0.moveTo(0.19736842105263158, -0.3421052631578947).circle(0.039473684210526314)
loop3=wp_sketch0.moveTo(0.4407894736842105, 0.006578947368421052).circle(0.039473684210526314)
loop4=wp_sketch0.moveTo(0.5328947368421052, -0.1513157894736842).circle(0.039473684210526314)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).extrude(-0.09375)
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)))
loop5=wp_sketch1.moveTo(0.6236842105263158, 0.0).lineTo(0.631578947368421, 0.5526315789473685).lineTo(0.29210526315789476, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close()
loop6=wp_sketch1.moveTo(0.09473684210526316, 0.40263157894736845).circle(0.039473684210526314)
loop7=wp_sketch1.moveTo(0.18157894736842106, 0.5684210526315789).circle(0.039473684210526314)
loop8=wp_sketch1.moveTo(0.4263157894736842, 0.2131578947368421).circle(0.039473684210526314)
loop9=wp_sketch1.moveTo(0.5210526315789474, 0.37105263157894736).circle(0.039473684210526314)
solid1=wp_sketch1.add(loop5).add(loop6).add(loop7).add(loop8).add(loop9).extrude(-0.09375)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.625, 0.0, -0.09375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop10=wp_sketch2.moveTo(1.25, 0.0).lineTo(1.25, 0.09210526315789473).lineTo(0.631578947368421, 0.09210526315789473).lineTo(0.0, 0.09210526315789473).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop10).extrude(-0.09375)
solid=solid.union(solid2)
| 2,334
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00028846
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.25, 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.25263157894736843, 0.0).circle(0.25263157894736843)
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.375, 0.1015625, -0.0859375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.05131578947368422, 0.0).circle(0.05131578947368422)
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.375, -0.203125, -0.0859375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop2=wp_sketch2.moveTo(0.05131578947368422, 0.0).circle(0.05131578947368422)
solid2=wp_sketch2.add(loop2).extrude(0.375)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.375, 0.0, 0.125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop3=wp_sketch3.moveTo(0.0, 0.05131578947368422).lineTo(0.05131578947368422, 0.05131578947368422).threePointArc((-0.03628574271878335, 0.08760153219246757), (0.0, 0.0)).close()
solid3=wp_sketch3.add(loop3).extrude(0.375)
solid=solid.union(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.375, 0.0, 0.125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop4=wp_sketch4.moveTo(0.0, 0.0).threePointArc((0.03314563036811942, 0.01372936963188057), (0.046875, 0.046875)).lineTo(0.0, 0.046875).lineTo(0.0, 0.0).close()
solid4=wp_sketch4.add(loop4).extrude(0.375)
solid=solid.union(solid4)
| 2,024
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00028852
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.203125, 0.546875), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.1368421052631579, 0.0).threePointArc((0.203125, 0.06628289473684211), (0.2694078947368421, 0.0)).lineTo(0.40625, 0.0).threePointArc((0.203125, 0.203125), (0.0, 0.0)).close()
solid0=wp_sketch0.add(loop0).extrude(0.1328125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.203125, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.0, 0.0).threePointArc((0.20435855263157893, -0.20435855263157893), (0.40871710526315785, 0.0)).lineTo(0.40871710526315785, 0.546875).lineTo(0.2763157894736842, 0.546875).threePointArc((0.20723684210526314, 0.4777960526315789), (0.1381578947368421, 0.546875)).lineTo(0.0, 0.546875).lineTo(0.0, 0.0).close()
loop2=wp_sketch1.moveTo(0.20723684210526314, 0.0).circle(0.06907894736842105)
solid1=wp_sketch1.add(loop1).add(loop2).extrude(0.1328125)
solid=solid.union(solid1)
| 1,510
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00020598
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.53125, 0.0, -0.21875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.1104667579363224, -0.025632793143970555), (0.20106907894736842, -0.09383223684210526)).threePointArc((0.5495888157894737, -0.253466015635272), (0.898108552631579, -0.09383223684210526)).threePointArc((0.9759062906587094, -0.029584896937603057), (1.0723684210526316, 0.0)).threePointArc((1.2711280984481583, 0.22740210744898728), (1.0589638157894736, 0.44235197368421053)).threePointArc((0.9638348562788936, 0.46523456799023466), (0.8847039473684211, 0.5227796052631579)).threePointArc((0.5428865131578947, 0.6717941563879969), (0.20106907894736842, 0.5227796052631579)).threePointArc((0.11575017221609622, 0.46270135254840783), (0.013404605263157895, 0.44235197368421053)).threePointArc((-0.21447368421052632, 0.22787828947368421), (0.0, 0.0)).close()
loop1=wp_sketch0.moveTo(0.0, 0.21447368421052632).circle(0.09383223684210526)
loop2=wp_sketch0.moveTo(0.0, 0.0).threePointArc((4.045005137899915, -3.5920319906189264), (0.22787828947368421, 0.2412828947368421)).threePointArc((0.22701413691240807, 0.22117598684210527), (0.22787828947368421, 0.20106907894736842)).close()
loop3=wp_sketch0.moveTo(1.0589638157894736, 0.21447368421052632).circle(0.09383223684210526)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).extrude(0.046875)
solid=solid0
| 1,871
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00022370
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.7421875, -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.27976973684210527, 0.0).lineTo(0.27976973684210527, 1.4610197368421052).lineTo(0.0, 1.4765625).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.13988486842105263, 1.056907894736842).circle(0.10879934210526315)
loop2=wp_sketch0.moveTo(0.13988486842105263, 1.3366776315789473).circle(0.10879934210526315)
loop3=wp_sketch0.moveTo(0.13988486842105263, 0.7460526315789473).circle(0.10879934210526315)
loop4=wp_sketch0.moveTo(0.13988486842105263, 0.18651315789473683).circle(0.09325657894736841)
loop5=wp_sketch0.moveTo(0.13988486842105263, 0.4662828947368421).circle(0.09325657894736841)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).add(loop5).extrude(0.25)
solid=solid0
| 1,293
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00026670
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.078125, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.07500000000000001, 0.0).circle(0.07500000000000001)
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 910
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00025345
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.734375, 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.2890625, 0.0).lineTo(1.2890625, 0.32565789473684215).lineTo(0.0, 0.3120888157894737).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 958
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00021123
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.7578947368421053)
solid0=wp_sketch0.add(loop0).extrude(0.6328125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.5859375, 0.0, 0.6328125), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.5881578947368421, 0.0).circle(0.5881578947368421)
solid1=wp_sketch1.add(loop1).extrude(-0.3359375)
solid=solid.cut(solid1)
| 1,037
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00026658
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.3359375, 0.0, 0.109375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.17763157894736842, 0.0).circle(0.17763157894736842)
loop1=wp_sketch0.moveTo(0.17763157894736842, 0.0).circle(0.08881578947368421)
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.2890625, 0.0, 0.2265625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop2=wp_sketch1.moveTo(0.0, 0.0).threePointArc((0.13223684210526315, 0.05959004507374593), (0.2644736842105263, 0.0)).lineTo(0.2644736842105263, 0.3471217105263158).lineTo(0.47935855263157895, 0.3471217105263158).threePointArc((0.4277168535249966, 0.47179580089341766), (0.30304276315789475, 0.5234375)).lineTo(0.2644736842105263, 0.5234375).lineTo(0.1763157894736842, 0.5234375).threePointArc((0.05164169910658234, 0.47179580089341766), (0.0, 0.3471217105263158)).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop2).extrude(0.171875)
solid=solid.union(solid1)
| 1,604
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00023720
|
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.1875)
solid=solid0
| 837
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00025350
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5078125, 0.2421875, 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.0025904605263157893, -0.4221741296889259), (0.005180921052631579, 0.0)).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.005180921052631579, -0.2435032894736842).circle(0.12434210526315789)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.5078125, -0.2421875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch1.moveTo(0.84375, 0.0).lineTo(0.84375, 0.48848684210526316).lineTo(0.0, 0.48848684210526316).threePointArc((0.24424342105263158, 0.24424342105263158), (0.0, 0.0)).close()
solid1=wp_sketch1.add(loop2).extrude(0.125)
solid=solid.union(solid1)
| 1,259
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00027553
|
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.035526315789473684, 0.0).circle(0.035526315789473684)
solid0=wp_sketch0.add(loop0).extrude(-0.75)
solid=solid0
| 913
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00022629
|
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.02368421052631579, 0.0).circle(0.02368421052631579)
solid0=wp_sketch0.add(loop0).extrude(-0.75)
solid=solid0
| 911
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00027751
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.1796875, 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.18157894736842106, 0.0).circle(0.18157894736842106)
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/00029032
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.65625, 0.0, -0.546875), 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.02368421052631579, 0.0).circle(0.02319078947368421)
solid0=wp_sketch0.add(loop0).extrude(0.0078125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.5234375), 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).lineTo(0.2265625, 0.0).lineTo(0.2265625, 0.04292763157894737).lineTo(0.0, 0.04292763157894737).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.0078125)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.2265625, 0.0, -0.5859375), 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.2252467105263158, 0.0).lineTo(0.2252467105263158, 0.6484375).lineTo(0.0, 0.6484375).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.0078125)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.3515625, 0.0, -0.546875), 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.02368421052631579, 0.0).circle(0.02319078947368421)
solid3=wp_sketch3.add(loop3).extrude(0.0078125)
solid=solid.union(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.3203125, 0.0, -0.5234375), 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.04917763157894737, 0.0).lineTo(0.07269736842105264, 0.0).lineTo(0.07269736842105264, -0.023519736842105263).lineTo(0.07269736842105264, -0.06735197368421053).lineTo(0.1015625, -0.06735197368421053).lineTo(0.1015625, 0.029934210526315792).lineTo(0.0, 0.029934210526315792).lineTo(0.0, 0.0).close()
solid4=wp_sketch4.add(loop4).extrude(0.0078125)
solid=solid.union(solid4)
# Generating a workplane for sketch 5
wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(0.375, 0.0, -0.5234375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop5=wp_sketch5.moveTo(0.0, 0.0).threePointArc((0.016572815184059717, -0.006864684815940292), (0.0234375, -0.0234375)).lineTo(0.0234375, 0.0).lineTo(0.0, 0.0).close()
solid5=wp_sketch5.add(loop5).extrude(0.0078125)
solid=solid.union(solid5)
| 2,664
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00022167
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.234375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.7734374999999999, 0.0).lineTo(0.7734374999999999, 0.22796052631578945).lineTo(0.0, 0.22796052631578945).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.546875)
solid=solid0
| 977
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00020002
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.5703125, -0.2890625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.3203125, 0.0).lineTo(1.3203125, 0.4864309210526316).lineTo(0.0, 0.4864309210526316).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.140625)
solid=solid0
| 891
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00022173
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.125, 0.0, 0.609375), 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.125, 0.012311425419645534), (0.25, 0.0)).threePointArc((0.125, 0.13791624696668445), (0.0, 0.0)).close()
solid0=wp_sketch0.add(loop0).extrude(0.25)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.125, 0.0, 0.609375), 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.1234375, -1.2532819697204665), (0.246875, 0.0)).threePointArc((0.1234375, -0.11187722867580109), (0.0, 0.0)).close()
solid1=wp_sketch1.add(loop1).extrude(0.25)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.125, 0.0, 0.609375), 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.125, -0.11329339612739339), (0.25, 0.0)).threePointArc((0.125, 0.012311425419645534), (0.0, 0.0)).close()
solid2=wp_sketch2.add(loop2).extrude(0.25)
solid=solid.union(solid2)
| 1,600
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00028338
|
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/00025185
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0546875, 0.40625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.33560855263157896, 0.0).lineTo(0.33560855263157896, -0.2532894736842105).lineTo(0.6015625, -0.2532894736842105).lineTo(0.6015625, 0.24062499999999998).lineTo(0.0, 0.24062499999999998).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.6640625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.2578125, -0.1171875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.625, 0.0).lineTo(0.625, 0.5263157894736842).lineTo(0.0, 0.5263157894736842).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.4453125)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.5703125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.8203125000000001, 0.0).lineTo(0.8203125000000001, 0.7166940789473685).lineTo(0.0, 0.7166940789473685).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.21875)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.40625, 0.5, 0.6640625), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch3.moveTo(0.09868421052631579, 0.0).circle(0.09868421052631579)
solid3=wp_sketch3.add(loop3).extrude(-0.8828125)
solid=solid.cut(solid3)
| 1,669
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00025813
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.171875, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.17368421052631577, 0.0).circle(0.17368421052631577)
solid0=wp_sketch0.add(loop0).extrude(0.1328125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.0234375, -0.1328125, 0.109375), 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.025904605263157892, -0.22119211072098083), (0.051809210526315784, 0.0)).lineTo(0.051809210526315784, 0.014802631578947368).threePointArc((0.025904605263157892, -0.23263684526648587), (0.0, 0.014802631578947368)).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.6171875)
solid=solid.union(solid1)
| 1,364
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00029797
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6640625, 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.084375, 0.0).circle(0.084375)
loop1=wp_sketch0.moveTo(1.153125, -0.18281250000000002).threePointArc((1.3359375, 0.0), (1.153125, 0.18281250000000002)).lineTo(0.084375, 0.18281250000000002).threePointArc((0.2671875, 0.0), (0.084375, -0.18281250000000002)).close()
loop2=wp_sketch0.moveTo(1.153125, 0.0).circle(0.084375)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.0859375)
solid=solid0
| 1,122
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00021526
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.3515625, 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.3473684210526316).lineTo(1.5, 0.7105263157894737).lineTo(0.0, 0.7105263157894737).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.5368421052631579, 0.2368421052631579).threePointArc((0.6552631578947369, 0.35526315789473684), (0.5368421052631579, 0.4736842105263158)).lineTo(0.2210526315789474, 0.4736842105263158).threePointArc((0.10263157894736842, 0.35526315789473684), (0.2210526315789474, 0.2368421052631579)).close()
loop2=wp_sketch0.moveTo(0.9947368421052631, 0.28421052631578947).threePointArc((1.0657894736842106, 0.35526315789473684), (0.9947368421052631, 0.4263157894736842)).lineTo(0.8842105263157896, 0.4263157894736842).threePointArc((0.8131578947368421, 0.35526315789473684), (0.8842105263157896, 0.28421052631578947)).close()
loop3=wp_sketch0.moveTo(0.8842105263157896, 0.28421052631578947).threePointArc((0.9552631578947369, 0.039473684210526314), (1.2, 0.1105263157894737)).lineTo(1.2, 0.2210526315789474).threePointArc((1.1289473684210527, 0.29210526315789476), (1.0578947368421052, 0.2210526315789474)).lineTo(1.0578947368421052, 0.1105263157894737).close()
loop4=wp_sketch0.moveTo(1.0578947368421052, 0.1105263157894737).threePointArc((1.318421052631579, 0.22894736842105265), (1.2, 0.48947368421052634)).lineTo(1.2, 0.6).threePointArc((1.1289473684210527, 0.6710526315789473), (1.0578947368421052, 0.6)).lineTo(1.0578947368421052, 0.48947368421052634).close()
loop5=wp_sketch0.moveTo(1.3736842105263158, 0.28421052631578947).threePointArc((1.444736842105263, 0.35526315789473684), (1.3736842105263158, 0.4263157894736842)).lineTo(1.263157894736842, 0.4263157894736842).threePointArc((1.1921052631578948, 0.35526315789473684), (1.263157894736842, 0.28421052631578947)).close()
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).add(loop4).add(loop5).extrude(0.140625)
solid=solid0
| 2,254
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00025026
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 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.8125, 0.0).lineTo(0.8125, 0.23947368421052634).lineTo(0.0, 0.23947368421052634).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.5703125)
solid=solid0
| 955
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00022013
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.03125, -0.75, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.031578947368421054, 0.0).lineTo(0.031578947368421054, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.09375)
solid=solid0
| 877
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00021268
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.75, 0.4342105263157895).lineTo(0.37894736842105264, 0.6473684210526316).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.75, -0.625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.75, 0.0).lineTo(0.75, 0.4342105263157895).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.75)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.75, 0.0).lineTo(0.0, 0.4342105263157895).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.75)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.1953125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch3.moveTo(0.75, -0.4342105263157895).lineTo(0.37894736842105264, 0.2131578947368421).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop3).extrude(0.75)
solid=solid.union(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.1953125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop4=wp_sketch4.moveTo(0.37425986842105263, 0.21907894736842107).lineTo(0.0, 0.8671875000000001).lineTo(0.0, 0.0).close()
solid4=wp_sketch4.add(loop4).extrude(0.75)
solid=solid.union(solid4)
# Generating a workplane for sketch 5
wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(-0.375, 0.0234375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop5=wp_sketch5.moveTo(0.3754111842105263, -0.21842105263157896).lineTo(0.3754111842105263, 0.6484375).lineTo(0.0, 0.0).close()
solid5=wp_sketch5.add(loop5).extrude(0.75)
solid=solid.union(solid5)
| 1,940
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00029634
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2890625, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.12031249999999999, 0.0).lineTo(0.12031249999999999, 0.41562499999999997).lineTo(0.91875, 0.41562499999999997).lineTo(0.91875, 0.0).lineTo(1.0390625, 0.0).lineTo(1.0390625, 0.0546875).lineTo(0.9624999999999999, 0.0546875).lineTo(0.9624999999999999, 0.459375).lineTo(0.07656249999999999, 0.459375).lineTo(0.07656249999999999, 0.0546875).lineTo(0.0, 0.0546875).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.1875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.2265625, 0.046875, 0.09375), cq.Vector(-1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, 1.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.0, 0.0).threePointArc((0.027343749999999997, -0.027343749999999997), (0.05468749999999999, 0.0)).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(-0.3125)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.2265625, 0.046875, 0.09375), cq.Vector(-1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, 1.0, 6.123233995736766e-17)))
loop2=wp_sketch2.moveTo(0.0, 0.0).threePointArc((0.027343749999999997, -0.027343749999999997), (0.05468749999999999, 0.0)).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(-0.3125)
solid=solid.cut(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.7421875, 0.046875, 0.09375), cq.Vector(-1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, 1.0, 6.123233995736766e-17)))
loop3=wp_sketch3.moveTo(0.0, 0.0).threePointArc((0.027343749999999997, -0.027343749999999997), (0.05468749999999999, 0.0)).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop3).extrude(-0.3125)
solid=solid.cut(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.7421875, 0.046875, 0.09375), cq.Vector(-1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, 1.0, 6.123233995736766e-17)))
loop4=wp_sketch4.moveTo(0.0, 0.0).threePointArc((0.027343749999999997, -0.027343749999999997), (0.05468749999999999, 0.0)).lineTo(0.0, 0.0).close()
solid4=wp_sketch4.add(loop4).extrude(-0.3125)
solid=solid.cut(solid4)
| 2,413
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00026261
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.6875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(1.376644736842105, 0.0).lineTo(1.376644736842105, 1.40625).lineTo(0.0, 1.40625).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0703125)
solid=solid0
| 878
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00029813
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.421875, 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.4199013157894737, 0.0).lineTo(0.4199013157894737, 0.5390625).threePointArc((0.20995065789473685, 0.3291118421052632), (0.0, 0.5390625)).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.3688322368421053, 0.05674342105263158).lineTo(0.3688322368421053, 0.5390625).threePointArc((0.21278782894736842, 0.38301809210526316), (0.05674342105263158, 0.5390625)).lineTo(0.05674342105263158, 0.05674342105263158).close()
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.1640625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.125, 0.34375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop2=wp_sketch1.moveTo(0.043421052631578944, 0.0).circle(0.043421052631578944)
solid1=wp_sketch1.add(loop2).extrude(0.2734375)
solid=solid.union(solid1)
| 1,467
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00025224
|
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.375, 0.0).lineTo(0.3631578947368421, 0.015789473684210527).lineTo(0.0, 0.015789473684210527).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.015625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.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)))
loop1=wp_sketch1.moveTo(0.375, 0.0).lineTo(0.375, 0.015789473684210527).lineTo(0.011842105263157895, 0.015789473684210527).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.015625)
solid=solid.union(solid1)
| 1,279
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00027355
|
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.05921052631578947, 0.0).circle(0.05921052631578947)
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/00024890
|
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.6473684210526316)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.2421875)
solid=solid0
| 900
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00027427
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.375, 0.0, -0.3359375), 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.011561574426846808, -0.02791210978367951), (0.039473684210526314, -0.039473684210526314)).lineTo(0.7105263157894737, -0.039473684210526314).threePointArc((0.7384384255731532, -0.02791210978367951), (0.75, 0.0)).lineTo(0.75, 0.6789473684210526).threePointArc((0.7368033720374699, 0.7029121097836796), (0.7105263157894737, 0.7105263157894737)).lineTo(0.039473684210526314, 0.7105263157894737).threePointArc((0.013196627962530122, 0.7029121097836796), (0.0, 0.6789473684210526)).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.37894736842105264, 0.3394736842105263).circle(0.3157894736842105)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75)
solid=solid0
| 1,386
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00020360
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.734375, 0.0, -0.75), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(1.46875, 0.0).lineTo(1.46875, 1.175).lineTo(0.0, 1.175).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.7266447368421053, 0.5875).circle(0.37105263157894736)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.390625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.734375, 0.0, -0.75), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop2=wp_sketch1.moveTo(1.46875, 0.0).lineTo(1.46875, 1.175).lineTo(0.0, 1.175).lineTo(0.0, 0.0).close()
loop3=wp_sketch1.moveTo(0.7266447368421053, 0.5875).circle(0.37105263157894736)
solid1=wp_sketch1.add(loop2).add(loop3).extrude(0.390625)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.5390625, -0.1953125, 0.421875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop4=wp_sketch2.moveTo(0.055263157894736833, 0.0).circle(0.05411184210526315)
solid2=wp_sketch2.add(loop4).extrude(-1.0)
solid=solid.cut(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.6484375, -0.1953125, 0.421875), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop5=wp_sketch3.moveTo(0.055263157894736833, 0.0).circle(0.05411184210526315)
solid3=wp_sketch3.add(loop5).extrude(-1.0)
solid=solid.cut(solid3)
| 1,744
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00029422
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.4609375, 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.4632401315789474, -0.5709703947368421).lineTo(1.0234375, -0.2154605263157895).lineTo(0.4632401315789474, 0.38782894736842105).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 921
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00024106
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.4609375, -0.2578125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.6123355263157895, 0.0).lineTo(0.6123355263157895, 0.796875).lineTo(0.44457236842105263, 0.796875).lineTo(0.44457236842105263, 0.16776315789473684).lineTo(0.16776315789473684, 0.16776315789473684).lineTo(0.16776315789473684, 0.796875).lineTo(0.0, 0.796875).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.4921875)
solid=solid0
| 1,044
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00029344
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.7421052631578947)
solid0=wp_sketch0.add(loop0).extrude(0.109375)
solid=solid0
| 836
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00027369
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.328125, 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.022424637065404828, -0.054137862934595014), (0.07656249999999999, -0.07656249999999999)).lineTo(0.9624999999999999, -0.07656249999999999).threePointArc((1.0166378629345951, -0.054137862934595014), (1.0390625, 0.0)).lineTo(1.0390625, 0.5359375).threePointArc((1.0143726325153672, 0.5846066129345951), (0.9624999999999999, 0.6015625)).lineTo(0.07656249999999999, 0.6015625).threePointArc((0.024689867484632755, 0.5846066129345951), (0.0, 0.5359375)).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.1484375)
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/00020406
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.0234375, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.027631578947368417, 0.0).circle(0.027631578947368417)
solid0=wp_sketch0.add(loop0).extrude(0.75, both=True)
solid=solid0
| 899
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00020412
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.7421875, 0.0, -0.3515625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.5220394736842106, 0.0).lineTo(0.3631578947368421, 0.71875).lineTo(0.0, 0.71875).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.390625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.2265625, 0.0, -0.3515625), 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.5220394736842106, 0.0).lineTo(0.5220394736842106, 0.71875).lineTo(0.16644736842105262, 0.71875).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.390625)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.390625, 0.0, 0.3671875), 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.1644736842105263, -0.7154605263157894).lineTo(0.6167763157894737, -0.7154605263157894).lineTo(0.78125, 0.0).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.1953125)
solid=solid.union(solid2)
| 1,623
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00020374
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.1953125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.3631578947368421, 0.0).lineTo(0.3631578947368421, 0.18947368421052632).lineTo(0.5210526315789474, 0.18947368421052632).lineTo(0.7578947368421053, 0.18947368421052632).lineTo(0.9789473684210527, 0.18947368421052632).lineTo(1.1368421052631579, 0.18947368421052632).lineTo(1.1368421052631579, 0.0).lineTo(1.5, 0.0).lineTo(1.5, 0.39473684210526316).lineTo(0.0, 0.39473684210526316).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.71875)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.390625, -0.1953125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.16241776315789472, 0.0).lineTo(0.16241776315789472, 0.1953125).lineTo(0.0, 0.1953125).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.71875)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.2265625, -0.1953125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.16241776315789472, 0.0).lineTo(0.16241776315789472, 0.1953125).lineTo(0.0, 0.1953125).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.71875)
solid=solid.union(solid2)
| 1,631
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00026705
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.421875, 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).circle(0.4263157894736842)
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/00026936
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.03125, 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.02368421052631579, 0.0).circle(0.02368421052631579)
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 915
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00021901
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.515625, 0.0, -0.515625), 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.4529605263157895, 0.0).threePointArc((0.5129111842105263, 0.23325471099678494), (0.5728618421052631, 0.0)).lineTo(1.0258223684210526, 0.0).lineTo(1.0258223684210526, 0.4529605263157895).threePointArc((0.7925676574242677, 0.5129111842105263), (1.0258223684210526, 0.5728618421052631)).lineTo(1.0258223684210526, 1.0258223684210526).lineTo(0.5728618421052631, 1.0258223684210526).threePointArc((0.5129111842105263, 1.247744673917609), (0.4529605263157895, 1.0258223684210526)).lineTo(0.0, 1.0258223684210526).lineTo(0.0, 0.5728618421052631).threePointArc((-0.221922305496556, 0.5129111842105263), (0.0, 0.4529605263157895)).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.7327302631578947, 0.30641447368421054).lineTo(0.7327302631578947, 0.7327302631578947).lineTo(0.30641447368421054, 0.7327302631578947).lineTo(0.30641447368421054, 0.30641447368421054).close()
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.515625)
solid=solid0
| 1,612
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00021915
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.015625, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.019736842105263157, 0.0).circle(0.019736842105263157)
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 912
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00024845
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0390625, -0.0390625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.004111842105263158, 0.0).lineTo(0.07401315789473684, 0.0).lineTo(0.078125, 0.0).lineTo(0.078125, 0.004111842105263158).lineTo(0.078125, 0.07401315789473684).lineTo(0.078125, 0.078125).lineTo(0.07401315789473684, 0.078125).lineTo(0.004111842105263158, 0.078125).lineTo(0.0, 0.078125).lineTo(0.0, 0.07401315789473684).lineTo(0.0, 0.004111842105263158).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.039473684210526314, 0.039473684210526314).circle(0.03289473684210526)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75)
solid=solid0
| 1,196
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00028919
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.34375, 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.6947368421052632).lineTo(0.0, 0.6947368421052632).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.2210526315789474, 0.3473684210526316).circle(0.07894736842105263)
loop2=wp_sketch0.moveTo(0.9947368421052631, 0.28421052631578947).lineTo(0.9947368421052631, 0.39473684210526316).lineTo(0.5052631578947369, 0.39473684210526316).lineTo(0.5052631578947369, 0.28421052631578947).close()
loop3=wp_sketch0.moveTo(1.2473684210526317, 0.3473684210526316).circle(0.09473684210526316)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).extrude(0.0703125)
solid=solid0
| 1,220
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00021097
|
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/00027380
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.03125, 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.031578947368421054, 0.0).circle(0.031578947368421054)
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.015625, -0.0703125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(0.015789473684210527, 0.0).circle(0.015789473684210527)
solid1=wp_sketch1.add(loop1).extrude(0.75)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.0234375, 0.1484375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop2=wp_sketch2.moveTo(0.02368421052631579, 0.0).circle(0.02319078947368421)
solid2=wp_sketch2.add(loop2).extrude(0.75)
solid=solid.union(solid2)
| 1,396
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00026713
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.7421875, 0.0, 0.1171875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.6394736842105263, 0.0).circle(0.6394736842105263)
solid0=wp_sketch0.add(loop0).extrude(0.5078125)
solid=solid0
| 920
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00021068
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.1875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.12434210526315789, 0.0).lineTo(0.12434210526315789, 0.1875).lineTo(0.0, 0.1875).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.25)
solid=solid0
| 874
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00029434
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.5, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.49736842105263157).lineTo(0.0, 0.49736842105263157).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.2734375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0234375, -0.4765625, 0.2734375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.703125, 0.0).lineTo(0.703125, 0.4514802631578947).lineTo(0.0, 0.4514802631578947).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(-0.5)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.75, -0.4765625, 0.0234375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop2=wp_sketch2.moveTo(0.453125, 0.0).lineTo(0.453125, 0.22894736842105262).lineTo(0.0, 0.22894736842105262).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(-0.9296875)
solid=solid.cut(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.0234375, 0.0234375), 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.02368421052631579, 0.0).lineTo(0.7263157894736842, 0.0).lineTo(0.75, 0.0).lineTo(0.75, 0.22894736842105265).lineTo(0.7263157894736842, 0.22894736842105265).lineTo(0.02368421052631579, 0.22894736842105265).lineTo(0.0, 0.22894736842105265).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop3).extrude(-0.0234375, both=True)
solid=solid.cut(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.7265625, 0.0, 0.0234375), cq.Vector(-1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, 1.0, 6.123233995736766e-17)))
loop4=wp_sketch4.moveTo(0.703125, 0.0).lineTo(0.703125, 0.2294407894736842).lineTo(0.0, 0.2294407894736842).lineTo(0.0, 0.0).close()
solid4=wp_sketch4.add(loop4).extrude(-0.5625)
solid=solid.cut(solid4)
| 2,178
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00022561
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.265625, 0.0, 0.0859375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.019736842105263157, 0.0).circle(0.01932565789473684)
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 917
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00026049
|
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.0, 0.0).threePointArc((0.009239856571276269, -0.039376782240677526), (0.03519736842105263, -0.07039473684210526)).lineTo(0.03519736842105263, -0.7479440789473684).threePointArc((0.08359375, 0.8290377458491333), (0.13199013157894737, -0.7479440789473684)).lineTo(0.13199013157894737, -0.07039473684210526).threePointArc((0.15794764342872347, -0.03937678224067765), (0.1671875, 0.0)).lineTo(0.1671875, 0.34317434210526315).threePointArc((0.08359375, 0.4267680921052631), (0.0, 0.34317434210526315)).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.109375)
solid=solid0
| 1,231
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00021040
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.671875, 0.0, -0.109375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.3592105263157895, 0.0).threePointArc((0.7109375, 0.3517269736842105), (1.0626644736842106, 0.0)).lineTo(1.421875, 0.0).lineTo(1.421875, 0.56875).lineTo(0.0, 0.56875).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.3828125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.671875, 0.0, -0.6796875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop1=wp_sketch1.moveTo(1.421875, 0.0).lineTo(1.421875, 0.56875).lineTo(1.0626644736842106, 0.56875).threePointArc((0.7109375, 0.21702302631578946), (0.3592105263157895, 0.56875)).lineTo(0.0, 0.56875).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.3828125)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.53125, -0.1875, 0.4609375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.055263157894736833, 0.0).circle(0.05411184210526315)
solid2=wp_sketch2.add(loop2).extrude(-1.0)
solid=solid.cut(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.5625, -0.1875, 0.4609375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch3.moveTo(0.055263157894736833, 0.0).circle(0.05411184210526315)
solid3=wp_sketch3.add(loop3).extrude(-1.0)
solid=solid.cut(solid3)
| 1,807
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00027431
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0078125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.3631578947368421, -0.6473684210526316).lineTo(1.1210526315789473, -0.6631578947368422).lineTo(1.5, -0.015789473684210527).lineTo(1.1368421052631579, 0.631578947368421).lineTo(0.37894736842105264, 0.6473684210526316).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.7578947368421053, -0.015789473684210527).circle(0.25263157894736843)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.6796875)
solid=solid0
| 1,087
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00021054
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.5390625, 0.2421875), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((-0.20682463288943154, -0.24276315789473665), (0.0, -0.4855263157894737)).threePointArc((0.0955570888637046, -0.5180725492531201), (0.17532894736842106, -0.5799342105263158)).threePointArc((0.5591379542823018, -0.7394153514833984), (0.9305921052631579, -0.5529605263157895)).threePointArc((1.0024930262610294, -0.4854829604441756), (1.0924342105263158, -0.44506578947368425)).threePointArc((1.2790285802578525, -0.18506724550482825), (1.0519736842105263, 0.040460526315789475)).threePointArc((0.957544111801035, 0.06626333872680407), (0.8766447368421053, 0.12138157894736842)).threePointArc((0.5204004091916785, 0.25314199259530257), (0.17532894736842106, 0.09440789473684211)).threePointArc((0.0955570888637046, 0.03254623346364617), (0.0, 0.0)).close()
loop1=wp_sketch0.moveTo(0.040460526315789475, -0.24276315789473685).circle(0.09440789473684211)
loop2=wp_sketch0.moveTo(0.5394736842105263, -0.24276315789473685).circle(0.3506578947368421)
loop3=wp_sketch0.moveTo(1.038486842105263, -0.20230263157894737).circle(0.09440789473684211)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).add(loop3).extrude(0.046875)
solid=solid0
| 1,747
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00027425
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.046875, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.05131578947368422, 0.0).circle(0.05131578947368422)
loop1=wp_sketch0.moveTo(0.05131578947368422, 0.0).circle(0.03848684210526316)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75)
solid=solid0
| 903
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00028716
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.34375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 0.6789473684210526).lineTo(0.0, 0.6789473684210526).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.1875, both=True)
solid=solid0
| 946
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00025554
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1484375, -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.07541118421052632, 0.0).lineTo(0.07541118421052632, 0.1723684210526316).threePointArc((0.04494046436334292, 0.18498980646860608), (0.03231907894736842, 0.2154605263157895)).lineTo(0.03231907894736842, 0.7756578947368421).threePointArc((0.04494046436334292, 0.8061286145840255), (0.07541118421052632, 0.8187500000000001)).lineTo(0.09695723684210526, 0.8187500000000001).threePointArc((0.12742795668928866, 0.8061286145840255), (0.14004934210526315, 0.7756578947368421)).lineTo(0.14004934210526315, 0.2154605263157895).threePointArc((0.12742795668928866, 0.18498980646860608), (0.09695723684210526, 0.1723684210526316)).lineTo(0.09695723684210526, 0.0).lineTo(0.1723684210526316, 0.0).lineTo(0.1723684210526316, 1.0234375).lineTo(0.0, 1.0234375).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.109375)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.1484375, 0.3203125, 0.109375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.171875, 0.0).lineTo(0.171875, 0.10674342105263158).lineTo(0.0, 0.10674342105263158).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.640625)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.1484375, -0.59375, 0.109375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.07483552631578946, 0.0).lineTo(0.07401315789473684, 0.078125).lineTo(0.0, 0.078125).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.640625)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.046875, -0.59375, 0.109375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch3.moveTo(0.07236842105263158, 0.0).lineTo(0.07236842105263158, 0.078125).lineTo(0.0, 0.078125).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop3).extrude(0.640625)
solid=solid.union(solid3)
| 2,202
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00029839
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, -0.65625), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(1.5, 0.0).lineTo(1.5, 1.3105263157894738).lineTo(0.0, 1.3105263157894738).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.0390625)
solid=solid0
| 945
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00020809
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.40625, 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.40657894736842104, 0.0).circle(0.40657894736842104)
loop1=wp_sketch0.moveTo(0.40657894736842104, 0.0).circle(0.37269736842105267)
solid0=wp_sketch0.add(loop0).add(loop1).extrude(0.75)
solid=solid0
| 956
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00027800
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.546875, -0.2265625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.8515625, 0.0).lineTo(0.8515625, 0.5647203947368421).lineTo(0.0, 0.5647203947368421).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.265625)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.75, -0.2265625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.21011513157894735, 0.0).lineTo(0.21011513157894735, 0.5703125).lineTo(0.0, 0.5703125).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.078125)
solid=solid.union(solid1)
| 1,130
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00021295
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.546875, -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.171875, 0.0).lineTo(1.171875, 0.3330592105263158).lineTo(0.0, 0.3330592105263158).lineTo(0.0, 0.0).close()
loop1=wp_sketch0.moveTo(0.024671052631578948, 0.22203947368421054).circle(0.024671052631578948)
loop2=wp_sketch0.moveTo(1.147203947368421, 0.22203947368421054).circle(0.024671052631578948)
solid0=wp_sketch0.add(loop0).add(loop1).add(loop2).extrude(0.75)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.5390625, -0.0625, 0.75), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch1.moveTo(0.02368421052631579, 0.0).circle(0.02319078947368421)
solid1=wp_sketch1.add(loop3).extrude(-0.703125)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.5703125, -0.0625, 0.75), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop4=wp_sketch2.moveTo(0.02368421052631579, 0.0).circle(0.02319078947368421)
solid2=wp_sketch2.add(loop4).extrude(-0.703125)
solid=solid.cut(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.546875, -0.2890625, 0.75), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop5=wp_sketch3.moveTo(0.0884046052631579, 0.0).lineTo(0.0884046052631579, 0.3359375).lineTo(0.0, 0.3359375).lineTo(0.0, 0.0).close()
loop6=wp_sketch3.moveTo(0.028289473684210528, 0.2227796052631579).circle(0.021217105263157895)
solid3=wp_sketch3.add(loop5).add(loop6).extrude(-0.703125)
solid=solid.cut(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.5390625, -0.2890625, 0.75), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop7=wp_sketch4.moveTo(0.07779605263157895, 0.0).lineTo(0.07779605263157895, 0.3359375).lineTo(0.0, 0.3359375).lineTo(0.0, 0.0).close()
loop8=wp_sketch4.moveTo(0.04950657894736842, 0.2227796052631579).circle(0.021217105263157895)
solid4=wp_sketch4.add(loop7).add(loop8).extrude(-0.703125)
solid=solid.cut(solid4)
| 2,097
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00028266
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.375, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.37894736842105264, 0.0).circle(0.37894736842105264)
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.3359375, 0.0, 0.75), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop1=wp_sketch1.moveTo(0.3355263157894737, 0.0).circle(0.3355263157894737)
solid1=wp_sketch1.add(loop1).extrude(-0.265625)
solid=solid.cut(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.3359375, 0.0, 0.75), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.3355263157894737, 0.0).circle(0.3355263157894737)
solid2=wp_sketch2.add(loop2).extrude(-0.265625)
solid=solid.cut(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.1953125, 0.0, 0.484375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch3.moveTo(0.043421052631578944, 0.0).circle(0.04251644736842105)
solid3=wp_sketch3.add(loop3).extrude(-0.265625)
solid=solid.cut(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.015625, 0.0, 0.484375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop4=wp_sketch4.moveTo(0.09473684210526316, 0.0).circle(0.09473684210526316)
solid4=wp_sketch4.add(loop4).extrude(-0.265625)
solid=solid.cut(solid4)
# Generating a workplane for sketch 5
wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(-0.3046875, 0.0, 0.0), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042)))
loop5=wp_sketch5.moveTo(0.09473684210526316, 0.0).circle(0.09473684210526316)
solid5=wp_sketch5.add(loop5).extrude(-0.2109375)
solid=solid.cut(solid5)
# Generating a workplane for sketch 6
wp_sketch6 = cq.Workplane(cq.Plane(cq.Vector(0.1171875, 0.0, 0.0), cq.Vector(0.9993977281025862, 0.024541228522912326, 0.024533837163709046), cq.Vector(0.024541228522912326, 0.0, -0.9996988186962042)))
loop6=wp_sketch6.moveTo(0.09473684210526316, 0.0).circle(0.09473684210526316)
solid6=wp_sketch6.add(loop6).extrude(-0.2109375)
solid=solid.cut(solid6)
| 2,177
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00027155
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.671875, 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.6828947368421053, 0.0).circle(0.6828947368421053)
loop1=wp_sketch0.moveTo(0.6828947368421053, 0.0).circle(0.5263980263157895)
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.5234375, 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.5289473684210526, 0.0).circle(0.5289473684210526)
solid1=wp_sketch1.add(loop2).extrude(0.75)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.4609375, 0.0, 0.75), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch2.moveTo(0.46578947368421053, 0.0).circle(0.46578947368421053)
solid2=wp_sketch2.add(loop3).extrude(-0.140625)
solid=solid.cut(solid2)
| 1,284
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00025811
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1875, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.18947368421052632, 0.0).circle(0.18947368421052632)
solid0=wp_sketch0.add(loop0).extrude(0.078125)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(-0.125, -0.078125, 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.12631578947368421, 0.0).circle(0.12368421052631579)
loop2=wp_sketch1.moveTo(0.12631578947368421, 0.0).circle(0.1131578947368421)
solid1=wp_sketch1.add(loop1).add(loop2).extrude(0.671875)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.03125, -0.1796875, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop3=wp_sketch2.moveTo(0.027631578947368417, 0.0).circle(0.027055921052631576)
solid2=wp_sketch2.add(loop3).extrude(0.1484375)
solid=solid.cut(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.03125, -0.328125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop4=wp_sketch3.moveTo(0.027631578947368417, 0.0).circle(0.027055921052631576)
solid3=wp_sketch3.add(loop4).extrude(0.1484375)
solid=solid.cut(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.03125, -0.4765625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop5=wp_sketch4.moveTo(0.027631578947368417, 0.0).circle(0.027055921052631576)
solid4=wp_sketch4.add(loop5).extrude(0.1484375)
solid=solid.cut(solid4)
# Generating a workplane for sketch 5
wp_sketch5 = cq.Workplane(cq.Plane(cq.Vector(-0.03125, -0.625, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop6=wp_sketch5.moveTo(0.027631578947368417, 0.0).circle(0.027055921052631576)
solid5=wp_sketch5.add(loop6).extrude(0.1484375)
solid=solid.cut(solid5)
| 2,047
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00025193
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.375, 0.0, -0.375), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.75, 0.0).lineTo(0.75, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
# Generating a workplane for sketch 1
wp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.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)))
loop1=wp_sketch1.moveTo(0.30000000000000004, 0.0).circle(0.30000000000000004)
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.3125, -0.40625, 0.375), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop2=wp_sketch2.moveTo(0.3118421052631579, 0.0).circle(0.3118421052631579)
solid2=wp_sketch2.add(loop2).extrude(-0.75)
solid=solid.cut(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.375, -0.71875, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop3=wp_sketch3.moveTo(0.3157894736842105, 0.0).circle(0.3157894736842105)
solid3=wp_sketch3.add(loop3).extrude(-0.75)
solid=solid.cut(solid3)
| 1,610
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00022603
|
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.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/00022171
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.0703125, 0.0, 0.125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.06957236842105263, 0.01480263157894737).lineTo(0.06957236842105263, -0.05625).threePointArc((0.11339029343682097, 0.0690958719377855), (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.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)))
loop1=wp_sketch1.moveTo(0.0703125, 0.0).threePointArc((-0.07355201331713822, -0.008034474393493774), (0.06883223684210527, 0.0140625)).lineTo(0.0, 0.0).close()
solid1=wp_sketch1.add(loop1).extrude(0.140625)
solid=solid.union(solid1)
# Generating a workplane for sketch 2
wp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(-0.609375, 0.0, 0.015625), 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.0003151228850343959, -0.006414473684210526), (0.0, -0.012828947368421053)).lineTo(0.609375, -0.012828947368421053).lineTo(0.609375, 0.05131578947368421).threePointArc((0.563767285511398, 0.06755767644375574), (0.5388157894736842, 0.10904605263157895)).lineTo(0.0, 0.0).close()
solid2=wp_sketch2.add(loop2).extrude(0.140625)
solid=solid.union(solid2)
# Generating a workplane for sketch 3
wp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.0703125, 0.0, 0.125), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop3=wp_sketch3.moveTo(0.0, 0.0).threePointArc((0.02496055243129255, -0.04107417317943741), (0.0703125, -0.05699013157894737)).lineTo(0.0703125, 0.0140625).lineTo(0.0, 0.0).close()
solid3=wp_sketch3.add(loop3).extrude(0.140625)
solid=solid.union(solid3)
# Generating a workplane for sketch 4
wp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.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)))
loop4=wp_sketch4.moveTo(0.0703125, 0.0).threePointArc((0.06991779158349419, 0.007067610332888584), (0.06883223684210527, 0.0140625)).lineTo(0.0, 0.0).close()
solid4=wp_sketch4.add(loop4).extrude(0.140625)
solid=solid.union(solid4)
| 2,480
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00023509
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.2890625, 0.0, 0.0), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.29605263157894735, 0.0).circle(0.29605263157894735)
solid0=wp_sketch0.add(loop0).extrude(0.75)
solid=solid0
| 911
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00027747
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.75, 0.0, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))
loop0=wp_sketch0.moveTo(0.7578947368421053, 0.0).circle(0.7421052631578947)
solid0=wp_sketch0.add(loop0).extrude(0.5)
solid=solid0
| 831
|
Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words.
| false
|
|
0002/00022159
|
import cadquery as cq
# Generating a workplane for sketch 0
wp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.75, -0.0703125), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))
loop0=wp_sketch0.moveTo(0.84375, 0.0).lineTo(0.84375, 0.5861842105263158).lineTo(0.675, 0.5861842105263158).lineTo(0.0, 0.16875).lineTo(0.0, 0.0).close()
solid0=wp_sketch0.add(loop0).extrude(0.25)
solid=solid0
| 950
|
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.