images
images listlengths 1
1
| texts
listlengths 1
1
|
|---|---|
[
{
"assistant": "import cadquery as cq\n# Generating a workplane for sketch 0\nwp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.015625, -0.0078125, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))\nloop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.0007948582418457166, -0.0019189575476279677), (0.0027138157894736844, -0.0027138157894736844)).lineTo(0.021217105263157895, -0.0027138157894736844).threePointArc((0.022787161438489866, -0.00206347722796355), (0.0234375, -0.000493421052631579)).lineTo(0.0234375, 0.018256578947368422).threePointArc((0.02283825686147997, 0.019949990385858287), (0.021217105263157895, 0.020723684210526318)).lineTo(0.0022203947368421052, 0.020723684210526318).threePointArc((0.0005992431385200307, 0.019949990385858287), (0.0, 0.018256578947368422)).lineTo(0.0, 0.0).close()\nsolid0=wp_sketch0.add(loop0).extrude(0.75)\nsolid=solid0\n",
"source": "CADCODER/GenCAD-Code",
"user": "Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words."
}
] |
|
[
{
"assistant": "import cadquery as cq\n# Generating a workplane for sketch 0\nwp_sketch0 = 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)))\nloop0=wp_sketch0.moveTo(0.17730263157894738, 0.0).lineTo(0.17730263157894738, 0.38281250000000006).lineTo(0.0, 0.38281250000000006).lineTo(0.0, 0.0).close()\nsolid0=wp_sketch0.add(loop0).extrude(0.3046875)\nsolid=solid0\n# Generating a workplane for sketch 1\nwp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.1796875, -0.109375, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))\nloop1=wp_sketch1.moveTo(0.3782072368421052, 0.0).lineTo(0.5703125, 0.1140625).lineTo(0.3782072368421052, 0.22212171052631577).lineTo(0.0, 0.22212171052631577).lineTo(0.0, 0.0).close()\nsolid1=wp_sketch1.add(loop1).extrude(0.1796875)\nsolid=solid.union(solid1)\n",
"source": "CADCODER/GenCAD-Code",
"user": "Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words."
}
] |
|
[
{
"assistant": "import cadquery as cq\n# Generating a workplane for sketch 0\nwp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.1015625, 0.0, -0.046875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))\nloop0=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.0019490941863378162, -0.04433658679437616), (0.03355263157894737, -0.07549342105263158)).threePointArc((0.09646381578947369, -0.08720656501962193), (0.159375, -0.07549342105263158)).threePointArc((0.19097853739260956, -0.044336586794376284), (0.19292763157894738, 0.0)).lineTo(0.14259868421052632, 0.18453947368421053).lineTo(0.14259868421052632, 0.796875).lineTo(0.10904605263157895, 0.796875).lineTo(0.10904605263157895, 0.7381578947368421).lineTo(0.08388157894736842, 0.7381578947368421).lineTo(0.08388157894736842, 0.796875).lineTo(0.0587171052631579, 0.796875).lineTo(0.0587171052631579, 0.18453947368421053).lineTo(0.0, 0.0).close()\nloop1=wp_sketch0.moveTo(0.0, 0.0).threePointArc((0.0725867756556451, -0.03002210922402418), (0.15098684210526317, -0.025164473684210528)).lineTo(0.10904605263157895, 0.10904605263157895).lineTo(0.08388157894736842, 0.10904605263157895).lineTo(0.04194078947368421, -0.025164473684210528).close()\nsolid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0234375)\nsolid=solid0\n",
"source": "CADCODER/GenCAD-Code",
"user": "Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words."
}
] |
|
[
{
"assistant": "import cadquery as cq\n# Generating a workplane for sketch 0\nwp_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)))\nloop0=wp_sketch0.moveTo(0.296875, 0.0).lineTo(0.296875, 0.296875).lineTo(0.0, 0.296875).lineTo(0.0, 0.0).close()\nsolid0=wp_sketch0.add(loop0).extrude(0.75)\nsolid=solid0\n",
"source": "CADCODER/GenCAD-Code",
"user": "Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words."
}
] |
|
[
{
"assistant": "import cadquery as cq\n# Generating a workplane for sketch 0\nwp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.0, -0.3515625), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))\nloop0=wp_sketch0.moveTo(0.19736842105263158, 0.0).lineTo(0.2368421052631579, 0.0).lineTo(0.35526315789473684, 0.0).lineTo(0.39473684210526316, 0.0).lineTo(0.5131578947368421, 0.0).lineTo(0.5526315789473685, 0.0).lineTo(0.75, 0.0).lineTo(0.75, 0.35526315789473684).lineTo(0.5131578947368421, 0.35526315789473684).lineTo(0.2368421052631579, 0.35526315789473684).lineTo(0.0, 0.35526315789473684).lineTo(0.0, 0.0).close()\nsolid0=wp_sketch0.add(loop0).extrude(0.125, both=True)\nsolid=solid0\n# Generating a workplane for sketch 1\nwp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.234375, 0.0), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))\nloop1=wp_sketch1.moveTo(0.28125, 0.0).lineTo(0.28125, 0.12434210526315789).lineTo(0.0, 0.12434210526315789).lineTo(0.0, 0.0).close()\nsolid1=wp_sketch1.add(loop1).extrude(0.0625, both=True)\nsolid=solid.union(solid1)\n# Generating a workplane for sketch 2\nwp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.203125, -0.6484375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))\nloop2=wp_sketch2.moveTo(0.037500000000000006, 0.0).lineTo(0.037500000000000006, 0.296875).lineTo(0.0, 0.296875).lineTo(0.0, 0.0).close()\nsolid2=wp_sketch2.add(loop2).extrude(0.015625, both=True)\nsolid=solid.union(solid2)\n# Generating a workplane for sketch 3\nwp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.359375, -0.6484375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))\nloop3=wp_sketch3.moveTo(0.037500000000000006, 0.0).lineTo(0.037500000000000006, 0.296875).lineTo(0.0, 0.296875).lineTo(0.0, 0.0).close()\nsolid3=wp_sketch3.add(loop3).extrude(0.015625, both=True)\nsolid=solid.union(solid3)\n# Generating a workplane for sketch 4\nwp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(0.0, 0.515625, -0.6484375), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))\nloop4=wp_sketch4.moveTo(0.037500000000000006, 0.0).lineTo(0.037500000000000006, 0.296875).lineTo(0.0, 0.296875).lineTo(0.0, 0.0).close()\nsolid4=wp_sketch4.add(loop4).extrude(0.015625, both=True)\nsolid=solid.union(solid4)\n",
"source": "CADCODER/GenCAD-Code",
"user": "Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words."
}
] |
|
[
{
"assistant": "import cadquery as cq\n# Generating a workplane for sketch 0\nwp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.0390625, -0.15625), cq.Vector(3.749399456654644e-33, 1.0, -6.123233995736766e-17), cq.Vector(1.0, 0.0, 6.123233995736766e-17)))\nloop0=wp_sketch0.moveTo(0.0352796052631579, 0.0).threePointArc((0.03754746418308187, 0.0009393779221812848), (0.03848684210526316, 0.003207236842105263)).lineTo(0.03848684210526316, 0.3014802631578947).threePointArc((0.03754746418308187, 0.3037481220778187), (0.0352796052631579, 0.3046875)).lineTo(0.0, 0.3046875).lineTo(0.0, 0.29827302631578945).lineTo(0.032072368421052634, 0.29827302631578945).lineTo(0.032072368421052634, 0.006414473684210526).lineTo(0.0, 0.006414473684210526).lineTo(0.0, 0.0).close()\nsolid0=wp_sketch0.add(loop0).extrude(0.75, both=True)\nsolid=solid0\n# Generating a workplane for sketch 1\nwp_sketch1 = cq.Workplane(cq.Plane(cq.Vector(0.75, 0.0, 0.125), cq.Vector(-1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, 1.0, 6.123233995736766e-17)))\nloop1=wp_sketch1.moveTo(0.011842105263157895, 0.0).circle(0.011842105263157895)\nsolid1=wp_sketch1.add(loop1).extrude(-0.0234375)\nsolid=solid.cut(solid1)\n# Generating a workplane for sketch 2\nwp_sketch2 = cq.Workplane(cq.Plane(cq.Vector(0.75, 0.0, -0.125), cq.Vector(-1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, 1.0, 6.123233995736766e-17)))\nloop2=wp_sketch2.moveTo(0.011842105263157895, 0.0).circle(0.011842105263157895)\nsolid2=wp_sketch2.add(loop2).extrude(-0.0234375)\nsolid=solid.cut(solid2)\n# Generating a workplane for sketch 3\nwp_sketch3 = cq.Workplane(cq.Plane(cq.Vector(-0.7265625, 0.0, 0.125), cq.Vector(-1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, 1.0, 6.123233995736766e-17)))\nloop3=wp_sketch3.moveTo(0.011842105263157895, 0.0).circle(0.011842105263157895)\nsolid3=wp_sketch3.add(loop3).extrude(-0.0234375)\nsolid=solid.cut(solid3)\n# Generating a workplane for sketch 4\nwp_sketch4 = cq.Workplane(cq.Plane(cq.Vector(-0.7265625, 0.0, -0.125), cq.Vector(-1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, 1.0, 6.123233995736766e-17)))\nloop4=wp_sketch4.moveTo(0.011842105263157895, 0.0).circle(0.011842105263157895)\nsolid4=wp_sketch4.add(loop4).extrude(-0.0234375)\nsolid=solid.cut(solid4)\n",
"source": "CADCODER/GenCAD-Code",
"user": "Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words."
}
] |
|
[
{
"assistant": "import cadquery as cq\n# Generating a workplane for sketch 0\nwp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.6640625, -0.75, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))\nloop0=wp_sketch0.moveTo(1.3263157894736843, 0.0).lineTo(1.3263157894736843, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close()\nsolid0=wp_sketch0.add(loop0).extrude(0.0234375)\nsolid=solid0\n",
"source": "CADCODER/GenCAD-Code",
"user": "Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words."
}
] |
|
[
{
"assistant": "import cadquery as cq\n# Generating a workplane for sketch 0\nwp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(0.0, -0.75, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))\nloop0=wp_sketch0.moveTo(0.6789473684210526, 0.0).lineTo(0.6789473684210526, 0.75).lineTo(0.0, 0.75).lineTo(0.0, 0.0).close()\nsolid0=wp_sketch0.add(loop0).extrude(0.0390625)\nsolid=solid0\n",
"source": "CADCODER/GenCAD-Code",
"user": "Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words."
}
] |
|
[
{
"assistant": "import cadquery as cq\n# Generating a workplane for sketch 0\nwp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.3359375, -0.75, 0.0), cq.Vector(1.0, 0.0, 0.0), cq.Vector(0.0, 0.0, 1.0)))\nloop0=wp_sketch0.moveTo(0.6631578947368422, 0.0).lineTo(0.6631578947368422, 1.5).lineTo(0.0, 1.5).lineTo(0.0, 0.0).close()\nloop1=wp_sketch0.moveTo(0.6157894736842106, 0.06315789473684211).lineTo(0.6157894736842106, 1.436842105263158).lineTo(0.06315789473684211, 1.436842105263158).lineTo(0.06315789473684211, 0.06315789473684211).close()\nsolid0=wp_sketch0.add(loop0).add(loop1).extrude(0.0390625)\nsolid=solid0\n",
"source": "CADCODER/GenCAD-Code",
"user": "Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words."
}
] |
|
[
{
"assistant": "import cadquery as cq\n# Generating a workplane for sketch 0\nwp_sketch0 = cq.Workplane(cq.Plane(cq.Vector(-0.7109375, 0.0, -0.296875), cq.Vector(1.0, 6.123233995736766e-17, -6.123233995736766e-17), cq.Vector(6.123233995736766e-17, -1.0, 6.123233995736766e-17)))\nloop0=wp_sketch0.moveTo(1.4296875, 0.0).lineTo(1.4296875, 0.6019736842105263).lineTo(0.0, 0.6019736842105263).lineTo(0.0, 0.0).close()\nsolid0=wp_sketch0.add(loop0).extrude(-0.0546875)\nsolid=solid0\n",
"source": "CADCODER/GenCAD-Code",
"user": "Generate the CADQuery code needed to create the CAD for the provided image. Just the code, no other words."
}
] |
README.md exists but content is empty.
- Downloads last month
- 4