input stringlengths 267 2.05k | output stringlengths 209 3.36k |
|---|---|
The design involves creating a rectangular bar with rounded edges and a uniform cross-section. Begin by setting up a new coordinate system with specific angles and a translation vector. A two-dimensional sketch is then drawn, forming a rectangle. This rectangle is scaled down and transformed into a three-dimensional ob... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.0471, 0)
.lineTo(0.0471, 0.0938)
.lineTo(0, 0.0938)
.close()
.extrude(0.75)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.75, 0))
result = part_1
cq.exporters.export(result, "./s... |
The design consists of four main parts. The first part is a rectangular block with a circular hole, measuring 0.6429 units in length, 0.3571 units in width, and 0.1071 units in height. The second part is a rectangular prism with curved edges, measuring 0.3372 units in length, 0.3571 units in width, and 0.0357 units in ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.6406, 0)
.lineTo(0.6406, 0.3567)
.lineTo(0, 0.3567)
.close()
.moveTo(0.3216, 0.1784)
.circle(0.1055)
.extrude(0.1094)
)
# Part 2: cut
part_2 = (
cq.Workplane("XY")
.moveTo(0, 0)
.l... |
The first part involves creating a cylindrical object. Begin by setting up a new coordinate system with specific Euler angles and a translation vector. Draw a circle within a new face, then scale the circle to the desired size. Transform the two-dimensional sketch into three-dimensional space using the coordinate syste... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.011673, 0.011765)
.circle(0.011673)
.extrude(0.75)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.75, 0))
result = part_1
cq.exporters.export(result, "./stlcq/0076/00762477.stl")
|
The design involves creating a rounded cylindrical object. Start by setting up a new coordinate system with specific rotations and translations. Then, draw a circle on a face, scale it down, and transform it into a three-dimensional shape. The transformation includes rotating and translating the sketch to align with th... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.1529, 0.1529)
.circle(0.1517)
.extrude(0.75)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.75, 0))
result = part_1
cq.exporters.export(result, "./stlcq/0056/00565097.stl")
|
The object is a multi-level structure consisting of a rectangular base with a smaller rectangular extension on top. The base and the extension are both flat and parallel to each other. The base measures zero point five eight nine three units in length and zero point three two one four units in width. The height of the ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.3194, 0)
.lineTo(0.3194, 0.1057)
.lineTo(0.5859, 0.1057)
.lineTo(0.5859, 0.2137)
.lineTo(0.3194, 0.2137)
.lineTo(0.3194, 0.3194)
.lineTo(0, 0.3194)
.close()
.extrude(0.3203)
)
part_1 = ... |
The design involves creating a cylindrical object by first setting up a new coordinate system with specific Euler angles and a translation vector. A circle is drawn on a face, which is then scaled down and transformed into a 3D shape. This 2D sketch is extruded in both directions to form a solid cylinder. The final dim... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.0902, 0.0902)
.circle(0.0895)
.extrude(0.375)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.5625, 0))
result = part_1
cq.exporters.export(result, "./stlcq/0088/00888177.stl")
|
Start by creating a new coordinate system and rotating it by specific angles around the axes to align with the desired orientation. Translate the coordinate system to position it correctly in space. Draw a rectangular shape in a two-dimensional sketch, ensuring that the dimensions are proportional to the final requirem... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.0353)
.lineTo(0, 0.0353)
.close()
.extrude(0.0156)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.015625, 0))
result = part_1
cq.exporters.export(result, ".... |
Start by creating a new coordinate system with the Euler angles and translation vector both set to zero. Draw a two-dimensional sketch of a rectangle on the first face. The rectangle has a length of 0.275 units and a width of 0.175 units. Transform this sketch into a three-dimensional object by extruding it 0.75 units ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.2734, 0)
.lineTo(0.2734, 0.1737)
.lineTo(0, 0.1737)
.close()
.extrude(0.75)
)
result = part_1
cq.exporters.export(result, "./stlcq/0086/00865718.stl")
|
The part consists of a rectangular prism with a rectangular cutout on one side. The main body of the part is a rectangular prism with a length of zero point one one seven seven meters, a width of zero point one seven two eight meters, and a height of zero point seven five meters. On one side of the prism, there is a sm... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.1173, 0)
.lineTo(0.1173, 0.1173)
.threePointArc((0.1092, 0.1227), (0.1004, 0.1173))
.lineTo(0.0654, 0.0404)
.lineTo(0.0506, 0.0404)
.lineTo(0.0169, 0.1173)
.threePointArc((0.0081, 0.1227), (0, ... |
The first part is a cylindrical base with a flat circular top and bottom, and a slightly concave top surface. It measures 0.75 units in length and width, and 0.2793 units in height. The second part is a smaller cylindrical top with a smooth surface and rounded edges. It measures 0.1995 units in length and width, and 0.... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.3765, 0.3765)
.circle(0.3735)
.extrude(0.2812)
)
# Part 2: join
part_2 = (
cq.Workplane("XY")
.moveTo(0.102, 0.102)
.circle(0.1012)
.extrude(0.2812)
)
part_2 = part_2.translate((0.273438, 0.273438, 0.28125))
r... |
Start by creating a rectangular base with protrusions. The base consists of three main faces. The first face has a complex shape with a cutout, the second face extends upwards from one side of the first face, and the third face extends outwards from the bottom of the first face. After defining these faces, scale the en... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.4265, 0)
.lineTo(0.4265, 0.3235)
.lineTo(0.4265, 0.4265)
.lineTo(0.3235, 0.4265)
.lineTo(0, 0.4265)
.close()
.extrude(0.2031)
)
part_1 = part_1.union(
cq.Workplane("XY")
.moveTo(0, 0.42... |
A rounded cylindrical object is created by defining a new coordinate system with specific Euler angles and a translation vector. Two concentric circles are drawn on the first face, one with a larger radius and one with a smaller radius. These circles are scaled down and transformed to align with the desired orientation... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.0706, 0.0706)
.circle(0.07)
.moveTo(0.0706, 0.0706)
.circle(0.0563)
.extrude(0.75)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.75, 0))
result = part_1
cq.exporters.export(result, "./stlcq/0033/0... |
The design consists of four parts, each with distinct shapes and dimensions. The first part is a square plate with four holes, measuring 0.75 units in length, 0.7173 units in width, and 0.0475 units in height. The second part is a cube with rounded edges and corners, measuring 0.2376 units in length, width, and 0.0891 ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.7176)
.lineTo(0, 0.7176)
.close()
.moveTo(0.6882, 0.2824)
.circle(0.0294)
.moveTo(0.6882, 0.6529)
.circle(0.0294)
.moveTo(0.0618, 0.2824)
.circle(0.0294)
... |
Start by creating a rectangular plate. Begin with a new coordinate system and draw a two-dimensional sketch on a new face. The sketch forms a square with sides of equal length. After drawing the square, scale it down to a smaller size. Then, transform the scaled sketch into a three-dimensional object by extruding it al... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.75)
.lineTo(0, 0.75)
.close()
.extrude(0.0156)
)
result = part_1
cq.exporters.export(result, "./stlcq/0041/00415556.stl")
|
The design involves creating a wedge-shaped block with a rectangular base and a triangular top. The block is constructed by first defining a new coordinate system and then drawing a two-dimensional sketch of the wedge's profile. This profile is scaled down, rotated, and translated to achieve the desired orientation and... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.1265)
.lineTo(0, 0.5)
.close()
.extrude(0.5)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.5, 0))
result = part_1
cq.exporters.export(result, "./stlcq/0012... |
The design consists of five parts that are assembled to form a complex structure. The first part is a rectangular plate with two small holes, measuring approximately 0.47 meters in length, 0.69 meters in width, and 0.01 meters in height. The second part is a small solid cylinder, measuring about 0.018 meters in diamete... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.474449, 0)
.lineTo(0.474449, 0.695312)
.lineTo(0, 0.695312)
.lineTo(0, 0.34902)
.close()
.moveTo(0.070895, 0.34902)
.circle(0.00818)
.moveTo(0.095435, 0.460815)
.circle(0.00818)
.mo... |
Start by creating a new coordinate system with default settings. Draw the first two-dimensional sketch on the first face, which forms a rectangular shape with a horizontal cutout. The sketch outlines a larger rectangle with a smaller rectangular cutout in the middle. After completing the sketch, scale it down by 75%. T... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.15, 0)
.lineTo(0.3, 0)
.lineTo(0.3, 0.75)
.lineTo(0.1941, 0.75)
.lineTo(0.1941, 0.3765)
.lineTo(0.15, 0.3765)
.lineTo(0.1059, 0.3765)
.lineTo(0.1059, 0.75)
.lineTo(0, 0.75)
.close()... |
Start by creating a new coordinate system aligned with the default axes. Draw a circle on the first face, centered at a point near the middle of the face. Scale the circle down to fit within the desired dimensions. Transform the scaled circle into a three-dimensional shape by extruding it along its normal direction. Th... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.3765, 0.3765)
.circle(0.3735)
.extrude(0.1484)
)
result = part_1
cq.exporters.export(result, "./stlcq/0080/00807745.stl")
|
The design consists of two main parts. The first part is a ring-shaped object with a rectangular cross-section and a slight curve at the top. It has a length of 0.0774 units, a width of 0.3665 units, and a height of 0.0981 units. The second part is a ring-shaped structure with a hollow center and a solid outer rim. Thi... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.3629)
.lineTo(0.013, 0.3269)
.threePointArc((0.0605, 0.0374), (0.0662, 0.3312))
.lineTo(0.0778, 0.3672)
.threePointArc((0.0605, 0), (0, 0.3629))
.close()
.extrude(0.1016)
)
part_1 = part_1.translate((0.132812... |
The first part of the model is a rectangular plate with rounded edges and a flat surface. The plate has a length of 0.4125 units, a width of 0.5625 units, and a height of 0.011 units. The plate is created by drawing a rectangular sketch, scaling it down, and then extruding it to form a solid body. The rounded edges and... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.55, 0)
.lineTo(0.55, 0.75)
.lineTo(0, 0.75)
.close()
.extrude(0.0078)
)
result = part_1
cq.exporters.export(result, "./stlcq/0071/00717524.stl")
|
The design involves creating a rectangular prism with a triangular cutout on one of its faces. The cutout is positioned on the top face and extends down to the bottom edge, forming a trapezoidal shape on the top surface. The height of the prism is zero point seven five units, the width is approximately zero point three... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.4766, 0)
.lineTo(0.4766, 0.342)
.close()
.extrude(0.75)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.75, 0))
result = part_1
cq.exporters.export(result, "./stlcq/0082/00821365.stl")... |
The first part involves creating a pair of parallel rectangular rods. The rods are aligned in a specific orientation defined by Euler angles and positioned using a translation vector. The first rod has a length of approximately zero point three two eight, a width of zero point zero three one two, and a height of zero p... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.009, 0)
.lineTo(0.009, 0.0309)
.lineTo(0, 0.0309)
.close()
.extrude(0.75)
)
part_1 = part_1.union(
cq.Workplane("XY")
.moveTo(0.3191, 0)
.lineTo(0.3281, 0)
.lineTo(0.3281, 0.0309)
.... |
Create a cylindrical object with a smooth surface and rounded edges. The cylinder has a consistent cross-sectional shape throughout its length. The height of the cylinder is 0.75 units, while the width and depth are both 0.1430625 units. The cylindrical shape is generated by extruding a circular profile along a specifi... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.0706, 0.0706)
.circle(0.07)
.extrude(0.75)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.75, 0))
result = part_1
cq.exporters.export(result, "./stlcq/0065/00657299.stl")
|
Start by creating a new coordinate system with default settings. Draw a rectangular sketch on the first face, forming a loop with four lines. After completing the sketch, scale it down to fit the desired dimensions. Transform this scaled sketch into a three-dimensional object by extruding it 0.0227 units along the norm... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.5529)
.lineTo(0, 0.5529)
.close()
.extrude(0.0234)
)
result = part_1
cq.exporters.export(result, "./stlcq/0080/00809951.stl")
|
The design consists of a rectangular block with two cylindrical holes on its top surface. The block has a flat bottom and sharp edges. The overall dimensions are approximately 0.75 meters in length, 0.3 meters in width, and 0.2 meters in height. The holes are positioned symmetrically along the length of the block, enha... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.3)
.lineTo(0, 0.3)
.close()
.moveTo(0.55, 0.15)
.circle(0.0206)
.moveTo(0.25, 0.15)
.circle(0.0206)
.extrude(0.2031)
)
result = part_1
cq.exporters.export(resul... |
Start by creating a new coordinate system with specific Euler angles and a translation vector. Draw a two-dimensional rectangular sketch on a new face. This sketch will form the base of the part. Scale the sketch to adjust its size. Transform the scaled sketch into three dimensions by rotating and translating it accord... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.2941, 0)
.lineTo(0.2941, 0.75)
.lineTo(0, 0.75)
.close()
.extrude(0.0234)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).rotate((0, 0, 0), (0, 0, 1), 90)
result = part_1
cq.exporters.export(resul... |
The design involves creating a rounded rectangular base. Begin by establishing a new coordinate system aligned with the global axes. Then, draw a two-dimensional rectangle on the first face. This rectangle forms the outline of the base. After defining the sketch, scale it down to fit the desired dimensions. Transform t... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.6529)
.lineTo(0, 0.6529)
.close()
.extrude(0.0312)
)
result = part_1
cq.exporters.export(result, "./stlcq/0062/00628229.stl")
|
To create the cylindrical base, start by drawing a circular face with a center at coordinates [0.375, 0.375] and a radius of 0.375. Scale the circle down by 75% and then extrude it along the normal direction to form a solid body with a height of 0.1023 units. The resulting base will have dimensions of 0.75 units in len... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.3765, 0.3765)
.circle(0.3735)
.extrude(0.1016)
)
# Part 2: join
part_2 = (
cq.Workplane("XY")
.moveTo(0.3765, 0.3765)
.circle(0.3735)
.extrude(0.1016)
)
result = part_1
result = result.union(part_2)
cq.export... |
Start by creating a new coordinate system with specific Euler angles and a translation vector. Draw a crescent moon shape on the first face, which consists of two arcs forming a closed loop. Scale the entire sketch to fit the desired dimensions. Rotate and translate the scaled sketch to position it correctly. Extrude t... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.threePointArc((0.4673, 0.3619), (0, 0.7266))
.threePointArc((0.2821, 0.3647), (0, 0))
.close()
.extrude(0.0781)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.078125, 0.007812))
result = part_1... |
The first part of the L-shaped CAD model consists of a rounded rectangular L-shape. The part has a height of approximately zero point five units, a width of around zero point six two five units, and a length of about zero point seven five units. This part is created by defining a new coordinate system, drawing a 2D ske... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.25)
.lineTo(0.25, 0.25)
.lineTo(0.25, 0.6265)
.lineTo(0, 0.6265)
.close()
.extrude(0.5)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.5, 0))
result ... |
Create a rectangular prism base by starting with a new coordinate system that is rotated and translated according to specific angles and distances. Draw a two-dimensional sketch of a rectangle on a designated face, then scale and transform this sketch into three-dimensional space. Extrude the sketch along its normal to... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.4049)
.lineTo(0.0412, 0)
.lineTo(0.4375, 0)
.lineTo(0.4375, 0.4049)
.close()
.extrude(0.1719)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.390625, 0.101562))
result = part_1
cq.exporters.e... |
The design involves creating a cylindrical base with a circular cross-section. Start by setting up a new coordinate system and drawing a circle on a new face. The circle is then scaled down and transformed to maintain its position. Finally, the circle is extruded to form a solid cylinder. The resulting cylinder has a h... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.3765, 0.3765)
.circle(0.3735)
.extrude(0.1094)
)
result = part_1
cq.exporters.export(result, "./stlcq/0001/00013447.stl")
|
The design consists of three parts: an octagonal base, a cube, and a smaller cube. The octagonal base is created by extruding a two-dimensional sketch of an octagon 0.1465 units high. This base measures approximately 0.601 units in length and 0.586 units in width. The cube is positioned above the octagonal base and is ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.21)
.lineTo(0.1675, 0)
.lineTo(0.4341, 0)
.lineTo(0.6016, 0.21)
.lineTo(0.5426, 0.4695)
.lineTo(0.302, 0.5874)
.lineTo(0.059, 0.4695)
.close()
.extrude(0.1484)
)
# Part 2: join
part_2 = (
cq.Work... |
Start by creating a new coordinate system aligned with the default axes. On the first face, draw a rectangular outline and a circular hole inside it. The rectangle has a length of 0.75 units and a width of 0.2647 units. The circular hole is centered within the rectangle and has a diameter that fits proportionally withi... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.2647)
.lineTo(0, 0.2647)
.close()
.moveTo(0.3765, 0.1324)
.circle(0.0882)
.extrude(0.4375)
)
result = part_1
cq.exporters.export(result, "./stlcq/0055/00554116.stl")
|
The first part involves creating a rectangular prism. Begin by setting up a new coordinate system with specific Euler angles and a translation vector. Draw a two-dimensional sketch of a rectangle and scale it down. Transform the sketch into three dimensions by rotating and translating it, then extrude it to form a soli... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.25)
.lineTo(0, 0.25)
.close()
.extrude(0.1797)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.179688, 0))
# Part 2: cut
part_2 = (
cq.Workplane("XY")
... |
The design consists of three main parts. The first part is a cube with rounded edges and corners, measuring 0.7347 units in length and width, and 0.1837 units in height. This part is positioned slightly above the origin. The second part is a cylindrical object with a flat circular top and bottom, measuring 0.0918 units... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.7344, 0)
.lineTo(0.7344, 0.7344)
.lineTo(0, 0.7344)
.close()
.extrude(0.1875)
)
part_1 = part_1.translate((0, 0.015625, 0.015625))
# Part 2: join
part_2 = (
cq.Workplane("XY")
.moveTo(0.0471, ... |
The design consists of two main parts. The first part is a rectangular solid with a length of zero point seven five, a width of zero point two four eight four, and a height of zero point zero two eight one. This part is created by extruding a scaled two-dimensional sketch. The second part is a rectangular cutout with a... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.2471)
.lineTo(0, 0.2471)
.close()
.extrude(0.0312)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).rotate((0, 0, 0), (0, 0, 1), 90)
# Part 2: cut
part_2 = (
cq.Workplane(... |
The design consists of two main parts. The first part is a cylindrical object with a smooth surface that tapers slightly towards one end. It has a length of 0.07656250000000002, a width of 0.0765625, and a height of 0.75. The second part is a smaller cylindrical cutout with a flat circular base and top, and smooth, cur... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.0389, 0.0389)
.circle(0.0392)
.extrude(0.75)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.75, 0))
# Part 2: cut
part_2 = (
cq.Workplane("XY")
.moveTo(0.0118, 0.0118)
.circle(0.0117)
.extru... |
The L-shaped CAD model consists of a rectangular base and a vertical extension. The base is wider and shorter, while the vertical extension rises perpendicularly from one side of the base. Both parts are assembled to form a right-angled L-shape. The base and the vertical extension are connected seamlessly, creating a c... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.1875, 0)
.lineTo(0.1875, 0.1875)
.lineTo(0.164, 0.1875)
.lineTo(0.164, 0.0235)
.lineTo(0, 0.0235)
.close()
.extrude(0.375)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).rotate((0, 0, 0), (... |
Create a rectangular block with a slightly rounded top and bottom edge. The block has a uniform thickness throughout its length and width. The dimensions of the block are 0.75 units in length, 0.375 units in width, and 0.2227 units in height. The block is created by extruding a two-dimensional sketch into a three-dimen... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.3765)
.lineTo(0, 0.3765)
.close()
.extrude(0.2266)
)
result = part_1
cq.exporters.export(result, "./stlcq/0014/00142272.stl")
|
The design consists of three main parts. The first part is a cylindrical shape with a flat top and bottom. It has a length of approximately 0.75, a width of 0.75, and a height of 0.1086. The second part is a smaller cylindrical object with a central hole. It measures about 0.1776 in length and width, with a height of 0... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.3765, 0.3765)
.circle(0.3735)
.extrude(0.1094)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.109375, 0))
# Part 2: cut
part_2 = (
cq.Workplane("XY")
.moveTo(0.0902, 0.0902)
.circle(0.0895)
... |
The design involves creating a cylindrical object with a rounded bottom and a flat top. The cylinder has a uniform diameter throughout its length and stands 0.75 units tall. The base and top are circular, each measuring 0.105 units in diameter. The cylinder is integrated into the existing structure to form a cohesive w... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.051, 0.051)
.circle(0.0506)
.extrude(0.75)
)
result = part_1
cq.exporters.export(result, "./stlcq/0095/00958334.stl")
|
To create the rectangular prism with rounded edges and a flat top, start by setting up a new coordinate system with specific Euler angles and a translation vector. Draw a two-dimensional sketch on the first face, forming a closed loop with six lines. After completing the sketch, scale it to the desired size and transfo... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.249)
.lineTo(0.2323, 0)
.lineTo(0.249, 0)
.lineTo(0.249, 0.0167)
.lineTo(0.0156, 0.2656)
.lineTo(0, 0.2656)
.close()
.extrude(0.75)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.75, 0... |
The first part involves creating a cylindrical base. Start by setting up a new coordinate system and drawing a circular sketch on a new face. This circle is then scaled down and transformed into a three-dimensional object. The object is extruded in both directions to form a solid cylinder. The final dimensions of this ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.3765, 0.3765)
.circle(0.3735)
.extrude(0.125)
)
part_1 = part_1.translate((0, 0, 0.054688))
result = part_1
cq.exporters.export(result, "./stlcq/0031/00317048.stl")
|
The design involves creating a rectangular frame with four holes at the corners and a slight inward curve on one side. The frame starts with a complex two-dimensional sketch that includes several loops and arcs to define the curved edges and holes. After the initial sketch, the design is scaled down by 75% and transfor... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.05)
.threePointArc((0.0147, 0.0147), (0.05, 0))
.lineTo(0.75, 0)
.lineTo(0.75, 0.5853)
.lineTo(0.0471, 0.5853)
.threePointArc((0.0147, 0.5735), (0, 0.5382))
.close()
.moveTo(0.0471, 0.0971)
.threePoin... |
The first part consists of a curved, open-ended loop with a smooth, continuous surface resembling a half-circle or a U-shape. It measures approximately 0.75 units in length, 0.375 units in width, and 0.0036 units in height. The second part is a simple, symmetrical shape with a cylindrical base and a rectangular top. It... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.0324, 0)
.threePointArc((0.3765, 0.3441), (0.7176, 0))
.lineTo(0.75, 0)
.threePointArc((0.3765, 0.3765), (0, 0))
.close()
.moveTo(0.3765, 0.3588)
.circle(0.0088)
.moveTo(0.2382, 0.3324)
... |
The design consists of three main parts. The first part is a rectangular prism with rounded edges, a flat top and bottom, and sides perpendicular to the top and bottom surfaces. It has a length of 0.375, a width of 0.075, and a height of 0.525. The second part is a cylindrical notch with a length, width, and height of ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.038235, 0)
.lineTo(0.038235, 0.019118)
.lineTo(0.019118, 0.019118)
.lineTo(0.019118, 0.038235)
.lineTo(0.188235, 0.038235)
.lineTo(0.355882, 0.038235)
.lineTo(0.355882, 0.019118)
.lineTo(0.... |
The design consists of three main parts that are assembled to form a cylinder with a flat base. The first part is a circular plate with a central hole, measuring 0.75 units in length and width, and 0.028125 units in height. The second part is a smaller cylindrical object, measuring 0.459375 units in length and width, a... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.3765, 0.3765)
.circle(0.3735)
.moveTo(0.3765, 0.3765)
.circle(0.2294)
.extrude(0.0312)
)
part_1 = part_1.union(
cq.Workplane("XY")
.moveTo(0.3765, 0.3765)
.circle(0.2294)
.moveTo(0.3765, 0.3765)
.cir... |
The design consists of three main parts: a rectangular plate, a rectangular support arm, and a rectangular support arm extension. The rectangular plate has a length of approximately 0.686 units, a width of 0.537 units, and a height of 0.018 units. This part forms the base of the assembly. The rectangular support arm ha... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.6659, 0)
.lineTo(0.6659, 0.027)
.lineTo(0.6875, 0.0512)
.lineTo(0.6875, 0.3828)
.lineTo(0.6659, 0.3963)
.lineTo(0.6659, 0.5123)
.lineTo(0.6498, 0.5392)
.lineTo(0, 0.5392)
.close()
.... |
Start by creating a new coordinate system with Euler angles set to [0.0, 0.0, 0.0] and a translation vector of [0.0046, 0.0, 0.0]. Draw a two-dimensional sketch on the first face, forming a U-shape with rounded edges. The sketch consists of several lines and arcs that define the outline of the U-shape. After completing... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.0378, 0)
.lineTo(0.0378, 0.294)
.threePointArc((0.0495, 0.326), (0.0815, 0.3376))
.lineTo(0.6607, 0.3376)
.threePointArc((0.6927, 0.326), (0.7044, 0.294))
.lineTo(0.7044, 0)
.lineTo(0.7422, 0)
... |
The first part is a circular ring with a flat surface. It starts with creating a new coordinate system aligned with the default axes. Two concentric circles are drawn on a single face, with the outer circle being slightly larger than the inner one. These circles are then scaled down uniformly. The scaled shape is trans... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.3765, 0.3765)
.circle(0.3735)
.moveTo(0.3765, 0.3765)
.circle(0.3382)
.extrude(0.0078)
)
result = part_1
cq.exporters.export(result, "./stlcq/0004/00048732.stl")
|
To construct a ring-shaped object, start by setting up a new coordinate system with specific Euler angles and a translation vector. Draw a two-dimensional sketch consisting of two concentric circles, then scale the sketch down. Transform the scaled sketch into three dimensions by applying the rotation and translation f... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.3765, 0.3765)
.circle(0.3735)
.moveTo(0.3765, 0.3765)
.circle(0.2324)
.extrude(0.0938)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.09375, 0))
result = part_1
cq.exporters.export(result, "./stlcq... |
Start by setting up a new coordinate system with specific angles and a translation vector. Draw a rectangular shape in the first face, ensuring that the sides are parallel and perpendicular to each other. Scale the rectangle to adjust its size. Rotate and translate the rectangle to position it correctly in three-dimens... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.3206)
.lineTo(0, 0.3206)
.close()
.extrude(0.375)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.429688, 0))
result = part_1
cq.exporters.export(result, "./... |
Start by creating a rectangular bar with a specific orientation and position in space. The bar is defined by a rectangular cross-section that is then transformed and extruded to create a solid body. The dimensions of the bar are as follows: the length is slightly over eight millimeters, the width is approximately thirt... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.0086, 0)
.lineTo(0.0086, 0.0312)
.lineTo(0, 0.0312)
.close()
.extrude(0.375)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).rotate((0, 0, 0), (0, 0, 1), 90).translate((0.375, 0, 0))
result = part_... |
The design involves creating a cylindrical object with a central hole. Start by setting up a new coordinate system with default angles and translations. Sketch a circle on the first face, and then draw a smaller circle inside it to define the hole. Scale the sketch to fit the desired dimensions. Convert the scaled sket... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.3451, 0.3451)
.circle(0.3424)
.moveTo(0.3451, 0.3532)
.circle(0.0809)
.extrude(0.75)
)
result = part_1
cq.exporters.export(result, "./stlcq/0056/00564116.stl")
|
Start by creating a new coordinate system aligned with the default axes. On the first face, draw a single circle and scale it to the appropriate size. Transform the sketch to align with the coordinate system. Extrude the sketch along the normal direction to form a cylindrical rod. The final part will have a height of 0... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.0196, 0.0196)
.circle(0.0195)
.extrude(0.75)
)
result = part_1
cq.exporters.export(result, "./stlcq/0079/00793293.stl")
|
To create a hexagonal prism, start by defining a new coordinate system with specific rotations and translations. Draw a hexagonal face using six lines that form a closed loop. Scale the hexagonal shape to fit the desired size. Transform this two-dimensional sketch into a three-dimensional model by applying the defined ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.3088)
.lineTo(0.2147, 0)
.lineTo(0.5912, 0.0324)
.lineTo(0.75, 0.3735)
.lineTo(0.5353, 0.6824)
.lineTo(0.1588, 0.65)
.close()
.extrude(0.1641)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate(... |
Start by creating a new coordinate system with specific rotations and translations. Then, draw a circle on a new face and scale it to the desired size. Transform the 2D sketch into 3D by applying the rotation and translation from the coordinate system. Finally, extrude the 2D sketch to form a solid cylindrical object. ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.2118, 0.2118)
.circle(0.2101)
.extrude(0.3906)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.390625, 0))
result = part_1
cq.exporters.export(result, "./stlcq/0086/00860652.stl")
|
The design involves creating a rounded cylindrical object. Start by defining a new coordinate system and drawing a circle within a single face on the specified plane. This circle is then scaled and transformed to achieve the desired dimensions. The scaled and transformed 2D sketch is extruded to form a 3D model, which ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.0902, 0.0902)
.circle(0.0895)
.extrude(0.375)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.5625, 0))
result = part_1
cq.exporters.export(result, "./stlcq/0075/00753526.stl")
|
The design involves creating a cylindrical shape with a central hole. Start by setting up a new coordinate system with default angles and translations. Draw two concentric circles on a single face, then scale down the entire sketch. Convert this 2D sketch into a 3D model by extruding it along the normal direction. The ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.3765, 0.3765)
.circle(0.3735)
.moveTo(0.3765, 0.3765)
.circle(0.2235)
.extrude(0.375)
)
result = part_1
cq.exporters.export(result, "./stlcq/0089/00897844.stl")
|
Start by creating a new coordinate system with default settings. Draw a square base in the first face. The sides of the square are approximately equal, forming a nearly perfect square. Scale the square to adjust its size. Transform the scaled square into a three-dimensional object by extruding it upwards to create a re... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.2251, 0)
.lineTo(0.2251, 0.2422)
.lineTo(0, 0.2422)
.close()
.extrude(0.75)
)
result = part_1
cq.exporters.export(result, "./stlcq/0086/00869459.stl")
|
The design consists of three main parts. The first part is an L-shaped solid with a length of 0.6618, a width of 0.6573, and a height of 0.1654. This part forms the base of the structure. The second part is a rectangular prism with a length of 0.2206, a width of 0.0776, and a height of 0.0331. This part is positioned o... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.4948)
.lineTo(0.2214, 0.4948)
.lineTo(0.2214, 0)
.lineTo(0.3333, 0)
.lineTo(0.4427, 0)
.lineTo(0.4427, 0.4948)
.lineTo(0.6641, 0.4948)
.lineTo(0.6641, 0.6589)
.lineTo(0.3333, 0.6589)
.lineTo(0, 0.... |
Start by setting up a new coordinate system aligned with the default axes. Draw a rectangle on the first face, ensuring that the sides are parallel to the coordinate axes. The rectangle's dimensions are not specified, but it will be scaled to fit the desired size. After drawing the rectangle, apply a uniform scale to a... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.5, 0)
.lineTo(0.5, 0.3373)
.lineTo(0, 0.3373)
.close()
.extrude(0.75)
)
result = part_1
cq.exporters.export(result, "./stlcq/0026/00263792.stl")
|
The curved L-shaped base is created by first defining a new coordinate system with specific Euler angles and a translation vector. A complex two-dimensional sketch is drawn, forming a unique curved L-shape. This sketch is then scaled down and transformed into three-dimensional space using the defined coordinate system.... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.7294)
.lineTo(0, 0.75)
.lineTo(0.25, 0.75)
.lineTo(0.3765, 0.75)
.threePointArc((0.6412, 0.6412), (0.75, 0.3765))
.lineTo(0.75, 0.25)
.lineTo(0.75, 0)
.lineTo(0.7294, 0)
.lineTo(0.7294, 0.25)
.lin... |
Start by creating a new coordinate system with specific rotations and translations. Draw a two-dimensional rectangle on the first face, ensuring it forms a closed loop. Transform this rectangle into a three-dimensional shape by rotating and translating it according to predefined angles and vectors. Extrude the transfor... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.1328, 0)
.lineTo(0.1328, 0.0667)
.lineTo(0, 0.0667)
.close()
.extrude(0.75)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.75, 0))
result = part_1
cq.exporters.export(result, "./s... |
Start by creating a new coordinate system aligned with the default axes. Sketch a square on the first face, ensuring that each side measures 0.75 units. Scale this sketch uniformly to fit the desired dimensions. Transform the scaled sketch into a three-dimensional object by extruding it along the normal direction by 0.... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.75)
.lineTo(0, 0.75)
.close()
.extrude(0.75)
)
result = part_1
cq.exporters.export(result, "./stlcq/0055/00559149.stl")
|
The design consists of three main parts. The first part is a rectangular box base with a length of approximately 0.75 units, a width of about 0.536 units, and a height of around 0.316 units. This part forms the foundation of the structure. The second part is a smaller rectangular prism top, which sits on top of the bas... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.5353)
.lineTo(0, 0.5353)
.close()
.moveTo(0.0029, 0.0029)
.lineTo(0.7471, 0.0029)
.lineTo(0.7471, 0.5324)
.lineTo(0.0029, 0.5324)
.close()
.extrude(0.3125)
)
... |
The model consists of a rectangular prism with a triangular cutout. The first face is a small rectangle, followed by a larger rectangle for the second face. The third face features a triangular cutout, and the fourth face is another small triangle. These faces are scaled down by 75% and transformed into a 3D shape by r... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.0735, 0)
.lineTo(0.0735, 0.1118)
.close()
.extrude(0.1875)
)
part_1 = part_1.union(
cq.Workplane("XY")
.moveTo(0.0735, 0)
.lineTo(0.2235, 0)
.lineTo(0.2235, 0.1118)
.lineTo(0.0735, 0.11... |
Start by creating a new coordinate system with specific angles and a translation vector to position the model correctly. Draw a complex two-dimensional sketch on the first face, which forms a single loop with numerous straight lines that define the outline of the slightly curved front face. Once the sketch is complete,... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.0412)
.lineTo(0.2941, 0.0412)
.lineTo(0.2941, 0.0765)
.lineTo(0.6941, 0.0765)
.lineTo(0.6941, 0.1294)
.lineTo(0.7441, 0.1529)
.lineTo(0.7176, 0.2118)
.lineTo(0.06... |
The design consists of three main parts. The first part is a rectangular prism with a slightly wider base and a narrower top, forming a trapezoidal shape. It has a length of approximately 0.75 units, a width of approximately 0.33 units, and a height of 0.0125 units. The second part is a rectangular box with a flat base... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.3324)
.lineTo(0, 0.3324)
.close()
.extrude(0.0156)
)
part_1 = part_1.translate((0, 0.296875, 0))
# Part 2: join
part_2 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0... |
The design consists of two main parts: a rectangular plate and a raised edge. The rectangular plate has a flat surface and measures 0.7082 meters in length, 0.4121 meters in width, and 0.0232 meters in height. The raised edge, which is attached to one side of the plate, measures 0.0026 meters in length, 0.1202 meters i... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.7109, 0)
.lineTo(0.7109, 0.4126)
.lineTo(0, 0.4126)
.close()
.extrude(0.0234)
)
part_1 = part_1.translate((0.039062, 0, 0))
# Part 2: join
part_2 = (
cq.Workplane("XY")
.moveTo(0, 0)
.line... |
The part consists of a rectangular base with a circular hole. The base has a length of 0.75 units and a width of 0.6579 units. A circular hole is centered within the base, contributing to its unique structure. The part is then transformed into a three-dimensional object by extruding it 0.1645 units in height. The final... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.3735, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.6588)
.lineTo(0.6176, 0.6588)
.lineTo(0.6176, 0.3941)
.lineTo(0.1324, 0.3941)
.lineTo(0.1324, 0.6588)
.lineTo(0, 0.6588)
.close()
.moveTo(0... |
Start by creating a new coordinate system aligned with the default axes. Draw a two-dimensional sketch on the first face, forming a unique shape with five straight lines that connect to form a closed loop. Scale this sketch to fit the desired size. Transform the scaled sketch into a three-dimensional object by rotating... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.4772)
.lineTo(0.2481, 0)
.lineTo(0.6953, 0.1581)
.lineTo(0.5317, 0.6162)
.lineTo(0.2127, 0.6162)
.close()
.extrude(0.75)
)
result = part_1
cq.exporters.export(result, "./stlcq/0055/00553694.stl")
|
To create the cylindrical object, start by defining a new coordinate system with specific angles and translations. Then, draw a circular shape on a plane defined by this coordinate system. This circle is scaled down and then transformed to align with the desired orientation and position. The transformed circle is extru... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.0549, 0.0549)
.circle(0.0545)
.extrude(0.375)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.375, 0))
result = part_1
cq.exporters.export(result, "./stlcq/0071/00716343.stl")
|
Start by creating a new coordinate system with specific Euler angles and a translation vector. Next, draw a circular 2D sketch on the first face. After defining the sketch, apply a scaling factor to adjust its size. Transform the 2D sketch into a 3D object by rotating and translating it according to the coordinate syst... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.0902, 0.0902)
.circle(0.0895)
.extrude(0.375)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.5625, 0))
result = part_1
cq.exporters.export(result, "./stlcq/0079/00791755.stl")
|
Create a cylindrical object with a hollow center. Start by setting up a new coordinate system aligned with the default axes. Draw the first face as a circular ring, with an outer circle and a concentric inner circle. Scale the entire sketch to fit the desired size. Transform the sketch into a three-dimensional object a... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.3765, 0.3765)
.circle(0.3735)
.moveTo(0.3765, 0.3765)
.circle(0.1971)
.extrude(0.4531)
)
result = part_1
cq.exporters.export(result, "./stlcq/0044/00449339.stl")
|
The rectangular box is created by defining a new coordinate system and drawing a two-dimensional sketch on the first face. The sketch consists of two loops, each forming a rectangle. After scaling the sketch by a factor of 0.75, it is transformed into three dimensions and extruded to create a solid body. The final shap... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.5353)
.lineTo(0, 0.5353)
.close()
.moveTo(0.0147, 0.0147)
.lineTo(0.7353, 0.0147)
.lineTo(0.7353, 0.5235)
.lineTo(0.0147, 0.5235)
.close()
.extrude(0.0781)
)
... |
Start by creating a new coordinate system with specific rotations and translations. Then, draw a triangular sketch on one face. This triangle will form the base of the part. After completing the sketch, scale it down and transform it into a three-dimensional shape by applying the same rotations and translations used in... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.2809)
.lineTo(0.2745, 0)
.lineTo(0.5469, 0.2809)
.close()
.extrude(0.75)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.75, 0))
result = part_1
cq.exporters.export(result, "./stlcq/0051/00510425... |
Start by creating a new coordinate system aligned with the default axes. Draw a two-dimensional rectangular sketch on the first face. This rectangle has a length of 0.75 units and a width of 0.375 units. Scale the sketch to reduce its size by 75%. Transform the scaled sketch into a three-dimensional object by aligning ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.3765)
.lineTo(0, 0.3765)
.close()
.extrude(0.0078)
)
result = part_1
cq.exporters.export(result, "./stlcq/0048/00486801.stl")
|
Design two cylindrical objects with hollow centers. Both objects start with a circular base that has a smaller concentric circle cut out, creating a ring shape. The first object has a height of 0.5625 units, while the second object is taller, with a height of 0.75 units. Both objects share the same length and width of ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.1216, 0.1216)
.circle(0.1206)
.moveTo(0.1216, 0.1216)
.circle(0.0551)
.extrude(0.5625)
)
# Part 2: new
part_2 = (
cq.Workplane("XY")
.moveTo(0.1216, 0.1216)
.circle(0.1206)
.moveTo(0.1216, 0.1216)
.... |
Begin by setting up a new coordinate system with standard settings. Draw a two-dimensional sketch that includes a larger circle and a smaller concentric circle. Scale the sketch to fit the desired size. Transform the sketch into a three-dimensional shape by extruding it along the normal direction. The resulting object ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.0941, 0.0941)
.circle(0.0934)
.moveTo(0.0941, 0.0941)
.circle(0.0419)
.extrude(0.75)
)
result = part_1
cq.exporters.export(result, "./stlcq/0014/00149279.stl")
|
Start by creating a new coordinate system aligned with the default axes. Draw a two-dimensional sketch on the X-Y plane, forming a square plate with rounded corners. The plate has a series of lines that create a border around the edges, giving it a smooth, rounded appearance. After completing the sketch, scale it down ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.0265)
.lineTo(0.0265, 0.0265)
.lineTo(0.0265, 0)
.lineTo(0.7235, 0)
.lineTo(0.7235, 0.0265)
.lineTo(0.75, 0.0265)
.lineTo(0.75, 0.7235)
.lineTo(0.7235, 0.7235)
.lineTo(0.7235, 0.75)
.lineTo(0.0265... |
The first intermediate part is a rectangular prism with a central rectangular cutout on one of its faces. The overall shape is a rectangular box with a smaller rectangular void in the middle of one of its faces. The dimensions of this part are 0.75 units in length, 0.375 units in width, and 0.25 units in height. The cu... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.1265)
.lineTo(0.5, 0.1265)
.lineTo(0.5, 0.25)
.lineTo(0.75, 0.25)
.lineTo(0.75, 0.3765)
.lineTo(0, 0.3765)
.close()
.extrude(0.25)
)
result = part_1
cq.exporter... |
To construct the cylindrical object, start by setting up a new coordinate system with default angles and no translation. Draw a two-dimensional sketch featuring two concentric circles on the first face. The outer circle represents the outer boundary, while the inner circle defines the inner boundary. Scale the entire s... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.1216, 0.1216)
.circle(0.1206)
.moveTo(0.1216, 0.1216)
.circle(0.1073)
.extrude(0.75)
)
result = part_1
cq.exporters.export(result, "./stlcq/0061/00618290.stl")
|
Start by setting up a new coordinate system with specific Euler angles and a translation vector. Draw the first face, which includes a rectangular outline and a circular cutout. The second face features a curved shape with two arcs forming a loop. Similarly, the third face also has a curved shape with two arcs. The fou... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.75)
.lineTo(0, 0.75)
.close()
.moveTo(0.6441, 0.3441)
.threePointArc((0.1971, 0.4029), (0.6471, 0.3765))
.threePointArc((0.65, 0.3588), (0.6441, 0.3441))
.close()
... |
Create a rectangular prism with rounded edges by starting with a new coordinate system aligned with the global axes and translated 0.375 units along the Z-axis. Draw the first face of the rectangular prism as a simple rectangle. Scale this rectangle to half its original size and transform it into a 3D object by alignin... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.5, 0)
.lineTo(0.5, 0.2)
.lineTo(0, 0.2)
.close()
.extrude(0.375)
)
part_1 = part_1.translate((0, 0, 0.1875))
result = part_1
cq.exporters.export(result, "./stlcq/0037/00376690.stl")
|
The design consists of two main parts. The first part is a rectangular box with a length of zero point seven five, a width of zero point five, and a height of zero point two five. This box is created by extruding a scaled two-dimensional sketch along the normal direction. The second part is a cylindrical extension with... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.5)
.lineTo(0, 0.5)
.close()
.extrude(0.25)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.25, 0))
# Part 2: join
part_2 = (
cq.Workplane("XY")
.moveT... |
Start by creating a new coordinate system and setting it up with zero-degree Euler angles and a translation vector of 0.0, 0.0, 0.0781 units. Next, draw a rectangular face with a central circular hole. The rectangle has parallel edges and a flat surface, while the hole is centered within the rectangle. After drawing th... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.4382)
.lineTo(0, 0.4382)
.close()
.moveTo(0.3765, 0.2176)
.circle(0.1029)
.extrude(0.0781)
)
result = part_1
cq.exporters.export(result, "./stlcq/0064/00641170.stl")
|
The design involves creating a curved, flat, rectangular shape with rounded edges. The process starts by setting up a new coordinate system and drawing a two-dimensional sketch that outlines the shape. This sketch includes several lines and arcs to create the desired curvature and rounded edges. After completing the sk... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.threePointArc((0.0176, 0.0441), (0.0618, 0.0618))
.lineTo(0.6882, 0.0618)
.threePointArc((0.7324, 0.0441), (0.75, 0))
.lineTo(0.75, 0.5265)
.threePointArc((0.3765, 0.6059), (0, 0.5265))
.close()
.extrud... |
To create the cylindrical object with a flat top and bottom, start by setting up a new coordinate system with specific Euler angles and a translation vector. Next, draw a complex two-dimensional sketch on the first face, which consists of a single loop with twelve lines forming a unique shape. After drawing the sketch,... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.001961)
.lineTo(0, 0.003676)
.lineTo(0.006618, 0.003676)
.lineTo(0.008456, 0.006863)
.lineTo(0.03125, 0.006863)
.lineTo(0.03125, 0.003676)
.lineTo(0.027941, 0.003676)
.lineTo(0.027941, 0.001961)
.line... |
Start by creating a new coordinate system with specific orientation settings. Draw a circular shape on the first face, then scale this shape to fit the desired dimensions. Transform the scaled shape into three-dimensional space and extrude it to form a cylindrical object with smooth, rounded edges. The final part has a... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.2196, 0.2196)
.circle(0.2179)
.extrude(0.75)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.75, 0))
result = part_1
cq.exporters.export(result, "./stlcq/0064/00649583.stl")
|
The design consists of two main parts that form a rounded L-shaped structure. The first part is a rounded L-shape with a thickness of 0.03 units. It has a length and width of 0.75 units each. The second part is an extension that adds 0.09 units in height to the existing structure. Both parts are aligned and combined to... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.1353)
.lineTo(0, 0.75)
.lineTo(0.15, 0.75)
.lineTo(0.15, 0.2265)
.lineTo(0.75, 0.2265)
.lineTo(0.75, 0)
.lineTo(0.45, 0)
.lineTo(0.45, 0.1353)
.close()
.extrude(0.0312)
)
# Part 2: join
part_2 = ... |
The design consists of three main parts. The first part is a rectangular shelf with rounded edges. It has a length of 0.75 units, a width of 0.0419 units, and a height of 0.2836 units. This part forms the base of the assembly. The second part is a cylindrical hole that intersects with the first part. It has a length of... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0, 0.014706)
.lineTo(0, 0.020588)
.threePointArc((0.005882, 0.035294), (0.020588, 0.041176))
.lineTo(0.035294, 0.041176)
.lineTo(0.011765, 0.014706)
.lineTo(0.376471, 0.014706)
.lineTo(0.373529, ... |
The design involves creating a solid cylinder. Start by setting up a new coordinate system. Then, draw a circle in a two-dimensional plane and scale it down. This scaled circle is then transformed into a three-dimensional object by extruding it along its normal axis. The final cylinder has a height of 0.5294 units and ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.3735, 0.3735)
.circle(0.3765)
.extrude(0.5312)
)
result = part_1
cq.exporters.export(result, "./stlcq/0025/00259078.stl")
|
The design involves creating a cylindrical object with a smooth surface and rounded edges. The top and bottom faces are circular and parallel. The cylinder is constructed by defining a new coordinate system and drawing a circle in a two-dimensional sketch. This sketch is then scaled, transformed into three dimensions, ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.1137, 0.1137)
.circle(0.1128)
.extrude(0.2109)
)
part_1 = part_1.translate((0.078125, 0.078125, 0.539062))
result = part_1
cq.exporters.export(result, "./stlcq/0095/00955410.stl")
|
The design consists of two main parts that form a complex 3D structure. The first part is a torus-shaped object with a central hole. It has a length and width of 0.46875 units and a height of 0.1015625 units. The second part is a ring-shaped object with a central hole, which is smaller and thinner than the first part. ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.2353, 0.2353)
.circle(0.2335)
.moveTo(0.2353, 0.2353)
.circle(0.125)
.extrude(0.1016)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.75, 0))
# Part 2: join
part_2 = (
cq.Workplane("XY")
.mov... |
Start by creating a new coordinate system with specific rotations and translations. Draw two concentric circles on a face, one larger and one smaller, to form a ring-shaped profile. Scale the entire sketch to reduce its size. Rotate and translate the scaled sketch to align it correctly. Extrude the sketch to create a 3... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.3765, 0.3765)
.circle(0.3735)
.moveTo(0.3765, 0.3765)
.circle(0.1824)
.extrude(0.1172)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.117188, 0))
result = part_1
cq.exporters.export(result, "./stlc... |
Start by creating a new coordinate system aligned with the default axes. Draw a circular shape on a new face, then scale this shape to achieve the desired size. Transform the scaled shape into three-dimensional space and extrude it to form a solid cylinder. The cylinder has a square cross-section with sides measuring 0... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.0392, 0.0392)
.circle(0.0389)
.extrude(0.75)
)
result = part_1
cq.exporters.export(result, "./stlcq/0071/00719223.stl")
|
The first part involves creating a hexagonal plate. This plate has a hexagonal shape with rounded edges and a flat surface. The dimensions of the hexagonal plate are approximately 0.65 units in length, 0.75 units in width, and 0.065 units in height. The second part involves constructing a hexagonal prism. This prism ha... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.1882)
.lineTo(0.3235, 0)
.lineTo(0.65, 0.1882)
.lineTo(0.65, 0.5618)
.lineTo(0.3235, 0.75)
.lineTo(0, 0.5618)
.close()
.extrude(0.0625)
)
# Part 2: cut
part_2 = (
cq.Workplane("XY")
.moveTo(0, 0.... |
Create a new coordinate system aligned with the default axes and origin. Draw a circular sketch centered at a specific point and then scale it down to a smaller size. Transform this scaled sketch into three-dimensional space and extrude it along the vertical axis to form a solid cylinder. The final dimensions of the cy... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.3412, 0.3412)
.circle(0.3385)
.extrude(0.4062)
)
result = part_1
cq.exporters.export(result, "./stlcq/0029/00293886.stl")
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.