input stringlengths 267 2.05k | output stringlengths 209 3.36k |
|---|---|
Start by creating a new coordinate system with the third axis rotated by negative ninety degrees. Draw a two-dimensional rectangular shape on the first face, ensuring it forms a closed loop. Transform this sketch into three-dimensional space and extrude it to create a solid body. The final shape is a rectangular prism ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.0064, 0)
.lineTo(0.0064, 0.0234)
.lineTo(0, 0.0234)
.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 with no rotation and a vertical offset of 0.6455 units. Draw a triangular shape on the first face, consisting of three lines that form a closed loop. Scale this triangular shape by 75% to reduce its size. Transform the scaled shape into a three-dimensional object by applying th... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.75)
.lineTo(0.1029, 0)
.lineTo(0.7, 0.4647)
.close()
.extrude(0.6484)
)
result = part_1
cq.exporters.export(result, "./stlcq/0081/00811120.stl")
|
The design consists of two main parts. The first part is a cube with rounded edges and corners. It has a length and width of 0.75 units and a height of 0.03 units. This cube forms the base of the structure. The second part is a rectangular prism with four vertical extensions. This prism sits directly on top of the cube... | 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.0312)
)
# Part 2: join
part_2 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.0912, 0)
.lineTo(0.0912, 0.0912)
.lineT... |
The design consists of three parts. The first part is a cube with one corner cut off, resulting in a triangular face. It has a length of 0.2606, a width of 0.3584, and a height of 0.1955. The second part is a rectangular prism with a triangular top. It has a length of 0.391, a width of 0.3584, and a height of 0.0977. T... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.2607, 0)
.lineTo(0.1804, 0.3594)
.lineTo(0, 0.3594)
.close()
.extrude(0.1953)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.195312, 0))
# Part 2: join
part_2 = (
cq.Workplane(... |
Start by creating a new coordinate system positioned slightly above the global origin. Draw a two-dimensional rectangular sketch on the first face. The rectangle has a length of 0.75 units and a width of 0.375 units. After drawing the sketch, scale it down by 75%. Transform this scaled sketch into a three-dimensional o... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.3735)
.lineTo(0, 0.3735)
.close()
.extrude(0.0156)
)
result = part_1
cq.exporters.export(result, "./stlcq/0075/00755445.stl")
|
To create a vertical cylindrical rod, start by setting up a new coordinate system with default angles and positions. Draw a circle on the first face and scale it to the desired size. Extrude this circle along the vertical axis to form a cylinder. The final dimensions of the rod are a height of 0.75 units, and both the ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.0078, 0.0078)
.circle(0.0078)
.extrude(0.75)
)
result = part_1
cq.exporters.export(result, "./stlcq/0051/00515733.stl")
|
The design involves creating a cylinder with a hole and a rectangular box, which are then combined to form the final shape. The cylinder has a height of 0.2683 units, a length of 0.2683 units, and a width of 0.2683 units. The rectangular box has a height of 0.6158 units, a length of 0.4413 units, and a width of 0.2484 ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.1333, 0.1333)
.circle(0.1323)
.moveTo(0.1333, 0.1333)
.circle(0.0802)
.extrude(0.2656)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0.484375, 0.265625, 0))
# Part 2: new
part_2 = (
cq.Workplane("XY... |
The design involves creating a cylindrical object with a specific orientation and dimensions. Start by setting up a new coordinate system with specific Euler angles and a translation vector to position the object correctly. Draw a circular sketch and scale it down to fit the desired size. Transform this sketch into a t... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.1882, 0.1882)
.circle(0.1868)
.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/0062/00629443.stl")
|
Create a rectangular block with a slightly rounded top and bottom. The block has a uniform thickness and is defined by its length, width, and height. The length measures 0.75 units, the width is 0.375 units, and the height is 0.0562 units. The block's edges are slightly rounded to provide a smooth transition between th... | 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.0547)
)
result = part_1
cq.exporters.export(result, "./stlcq/0004/00046214.stl")
|
Create a new coordinate system and draw a two-dimensional sketch consisting of two concentric circles. Scale the sketch to reduce its size, then transform it into a three-dimensional object. Extrude the sketch to create a solid cylindrical shape with a hollow center. The final dimensions of this intermediate part are 0... | 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/0036/00369635.stl")
|
The first part consists of a rectangular block with a circular cutout in the middle and a more complex shape on the top face that also includes a smaller circular cutout. This part has a length of 0.5 units, a width of 0.75 units, and a height of 0.125 units. The second part comprises two rectangular prisms with rounde... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.5, 0)
.lineTo(0.5, 0.25)
.lineTo(0, 0.25)
.close()
.moveTo(0.25, 0.1265)
.circle(0.0618)
.extrude(0.125)
)
part_1 = part_1.union(
cq.Workplane("XY")
.moveTo(0, 0.25)
.lineTo(0.5, 0.... |
The first part involves constructing a right-angled triangular prism. Start by setting up a new coordinate system with specific Euler angles and a translation vector. Draw a triangular shape on the first face, then scale and transform it into a three-dimensional object. The final shape is a right-angled triangular pris... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.4531, 0)
.lineTo(0.4531, 0.4531)
.close()
.extrude(0.2969)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).rotate((0, 0, 0), (0, 0, 1), 90).translate((0, 0.296875, 0))
# Part 2: new
part_2 = (
cq.W... |
Start by creating a new coordinate system with specific Euler angles and a translation vector. Then, draw a two-dimensional rectangular sketch on a new face. After drawing the rectangle, apply a scale factor to adjust its size. Transform the scaled sketch into three-dimensional space by rotating and translating it acco... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.3618)
.lineTo(0, 0.3618)
.close()
.extrude(0.3984)
)
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 cube with rounded edges and a cylindrical protrusion. First, construct a cube with a length of approximately 0.75 units, a width of about 0.66 units, and a height of around 0.33 units. Next, add a cylindrical protrusion that is about 0.48 units in both length and width and 0.17 units in h... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.3441)
.lineTo(0.1765, 0.0118)
.lineTo(0.55, 0)
.lineTo(0.75, 0.3176)
.lineTo(0.5735, 0.65)
.lineTo(0.2, 0.6618)
.close()
.extrude(0.3359)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0... |
The design involves creating a cylindrical object with a hollow center. The process starts by drawing two concentric circles to define the outer and inner boundaries of the cylinder's base. These circles are then scaled down to fit the desired dimensions. The scaled circles are transformed into a three-dimensional shap... | 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/0059/00594878.stl")
|
The first part involves creating a rectangular table top with legs. This is achieved by drawing several two-dimensional sketches that define the shape and structure of the table. These sketches are then transformed into three-dimensional space, extruded to create the table top and legs, and finalized with specific dime... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.0383, 0)
.lineTo(0.0383, 0.1225)
.lineTo(0, 0.1225)
.close()
.extrude(0.375)
)
part_1 = part_1.union(
cq.Workplane("XY")
.moveTo(0, 0.1225)
.lineTo(0.0383, 0.1225)
.lineTo(0.3523, 0.122... |
The design involves creating a triangle with a hollow center and a protruding edge. The first step is to establish a new coordinate system with default settings. The first face is a complex polygon formed by ten lines, creating a triangular shape with a protruding edge. The second face is a smaller, simpler polygon wit... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.15, 0)
.lineTo(0.2, 0.1176)
.lineTo(0.2618, 0.2529)
.lineTo(0.3735, 0.5059)
.lineTo(0.4853, 0.2529)
.lineTo(0.5471, 0.1176)
.lineTo(0.5971, 0)
.lineTo(0.7471, 0)
.lineTo(0.3735, 0.75)
... |
The design consists of two main parts. The first part is a rectangular prism with a triangular top and a rounded bottom. It has a length of 0.75 units, a width of 0.5 units, and a height of 0.125 units. The second part is a pyramid with a rectangular base and a triangular top. It has a length of 0.75 units, a width of ... | 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.5029, 0.5029)
.lineTo(0.25, 0.5)
.lineTo(0, 0.25)
.close()
.extrude(0.125)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.5, 0))
# Part... |
Create a rectangular plate with a flat surface and rounded edges. The plate measures 0.75 units in length and 0.5036 units in width. The height of the plate is 0.0321 units. The plate is created by extruding a two-dimensional sketch into a three-dimensional solid. The sketch is rotated and translated according to a pre... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.5029)
.lineTo(0, 0.5029)
.close()
.extrude(0.0312)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.03125, 0))
result = part_1
cq.exporters.export(result, "./... |
Start by creating a new coordinate system with specific Euler angles and a translation vector. Draw a single circle in the first face, then scale the entire two-dimensional sketch. Transform the scaled sketch into three-dimensional space by rotating and translating it. Extrude the two-dimensional sketch in both directi... | 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/0065/00659920.stl")
|
The U-shaped base consists of a single solid body created by extruding a 2D sketch. The sketch is drawn in a coordinate system rotated by -90 degrees around the Z-axis and translated 0.3 units along the Y-axis. The sketch forms a U-shape with a length of 0.75 units, a width of 0.75 units, and a height of 0.25 units. Th... | 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.5, 0.75)
.lineTo(0.5, 0.25)
.lineTo(0.25, 0.25)
.lineTo(0.25, 0.75)
.lineTo(0, 0.75)
.close()
.extrude(0.25)
)
part_1 = part_1.rotate((0, 0, 0), (1,... |
Start by creating a new coordinate system with specific rotations and translations. Draw a two-dimensional rectangle on the first face, ensuring it has a proportional length and width. Scale this rectangle down to a smaller size. Transform this scaled rectangle into a three-dimensional object by rotating and translatin... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.6294)
.lineTo(0, 0.6294)
.close()
.extrude(0.3281)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.328125, 0))
result = part_1
cq.exporters.export(result, ".... |
The first step involves creating a new coordinate system aligned with the default axes. A circular sketch is drawn on a single face, centered at a specific point and with a defined radius. This sketch is then scaled down to fit the desired dimensions. The scaled sketch is transformed into three-dimensional space and ex... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.3765, 0.3765)
.circle(0.3735)
.extrude(0.0469)
)
result = part_1
cq.exporters.export(result, "./stlcq/0029/00292050.stl")
|
Start by creating a new coordinate system with default settings. Draw a two-dimensional sketch on the first face, outlining a rectangular plate with four smaller circular cutouts. The rectangle forms the main body of the plate, and the circles are positioned at the corners. After completing the sketch, apply a scale fa... | 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()
.moveTo(0.6882, 0.3118)
.circle(0.0294)
.moveTo(0.0618, 0.3118)
.circle(0.0294)
.moveTo(0.6882, 0.0618)
.circle(0.0294)
... |
The design consists of five parts that are assembled to form a complex 3D structure. The first part is a rectangular base with a length of 0.2778, a width of 0.75, and a height of 0.0194. This base serves as the foundation of the structure. The second part is a vertical extension that extends upwards from the base. It ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.2765, 0)
.lineTo(0.2765, 0.75)
.lineTo(0, 0.75)
.close()
.extrude(0.0156)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0.28125, 0.640625, 0))
# Part 2: join
part_2 = (
cq.Workplan... |
The CAD model consists of three main parts. The first part is an S-shaped section with a smooth, continuous form and a consistent thickness. It has a length of approximately 0.733 units, a width of about 0.136 units, and a height of around 0.0072 units. The second part is a curved L-shaped section with a flat top and a... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.025919, 0)
.lineTo(0.025919, 0.043199)
.threePointArc((0.046078, 0.092157), (0.095037, 0.112316))
.lineTo(0.639338, 0.112316)
.threePointArc((0.688297, 0.092157), (0.708456, 0.043199))
.lineTo(0.70... |
Start by setting up a new coordinate system with all angles and translations set to zero. Draw a two-dimensional sketch for the first face, forming a rectangle with specific proportions. Scale this sketch to reduce its size. Transform the scaled sketch into three dimensions and extrude it to create a solid body. The re... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.3324, 0)
.lineTo(0.6676, 0)
.lineTo(0.6676, 0.75)
.lineTo(0, 0.75)
.close()
.extrude(0.75)
)
result = part_1
cq.exporters.export(result, "./stlcq/0060/00600438.stl")
|
The first part is a curved, flat shape with two circular holes. It features a central hole and a smaller hole on one side, giving it a distinctive curved plate appearance. The part is created by drawing a 2D sketch with arcs and circles, then transforming this sketch into a 3D model. The final dimensions of the part ar... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.1735, 0)
.threePointArc((0.3735, 0.0294), (0.5765, 0))
.threePointArc((0.75, 0.1294), (0.5765, 0.2588))
.threePointArc((0.3765, 0.2265), (0.1735, 0.2588))
.threePointArc((0, 0.1294), (0.1735, 0))
.close()
.moveT... |
The first part involves creating a ring-shaped CAD model. Start by setting up a coordinate system with specific Euler angles and a translation vector. Draw two concentric circles on a face, then scale the sketch, rotate, and translate it according to the coordinate system. Finally, extrude the sketch to create a solid ... | 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.3647)
.extrude(0.125)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.125, 0))
# Part 2: new
part_2 = (
cq.Workplane("XY")
.mov... |
Start by setting up a new coordinate system with specific Euler angles and a translation vector. Next, draw a 2D sketch that forms a triangular base with a rectangular top. This involves creating a closed loop with five lines that define the shape. After drawing the sketch, scale it down to fit the desired size. Then, ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.1231)
.lineTo(0.0916, 0)
.lineTo(0.3828, 0)
.lineTo(0.1426, 0.3468)
.lineTo(0.0315, 0.2627)
.close()
.extrude(0.75)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).rotate((0, 0, 0), (0, 0, 1), 90)
result ... |
The design involves creating a rectangular prism with rounded edges. The object features a flat top and bottom, with sides that are perpendicular to these faces. The dimensions of the rectangular prism are approximately half a unit in length, three-quarters of a unit in width, and just over two hundredths of a unit in ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.5676, 0)
.lineTo(0.5676, 0.75)
.lineTo(0, 0.75)
.close()
.extrude(0.0234)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.023438, 0))
result = part_1
cq.exporters.export(result, ".... |
The S-shaped object starts with a two-dimensional sketch that forms the outline of the part. The sketch includes a series of lines and arcs that create a smooth, flowing S-shape. After the sketch is completed, it is scaled down to 75% of its original size. The scaled sketch is then transformed into a three-dimensional ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.4471)
.threePointArc((0.0882, 0.6618), (0.3029, 0.75))
.lineTo(0.4941, 0.75)
.threePointArc((0.5794, 0.7147), (0.6147, 0.6294))
.lineTo(0.6147, 0)
.lineTo(0.4941, 0)
.lineTo(0.4941, 0.4471)
.threePointArc... |
To create the base of the box, start by setting up a new coordinate system with specific rotations and translations. Draw a rectangular sketch and scale it down to fit the desired size. Transform this sketch into a three-dimensional shape by applying the appropriate rotations and translations. Extrude the sketch to for... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.5, 0)
.lineTo(0.5, 0.75)
.lineTo(0, 0.75)
.close()
.extrude(0.1641)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.164062, 0))
result = part_1
cq.exporters.export(result, "./stlcq... |
The cylindrical object starts with a circular base and a smooth surface. The base is defined by two concentric circles, one larger and one smaller, which are then scaled down to fit the desired dimensions. The scaled sketch is transformed into a three-dimensional object and extruded to create the final cylindrical shap... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.2706, 0.2706)
.circle(0.2685)
.moveTo(0.2706, 0.2706)
.circle(0.1522)
.extrude(0.75)
)
result = part_1
cq.exporters.export(result, "./stlcq/0089/00892170.stl")
|
Start by creating a new coordinate system aligned with the default axes. Draw a square sketch on the first face, ensuring all sides are equal. Scale the sketch to reduce its size proportionally. Transform the scaled sketch into a three-dimensional object by aligning it with the original coordinate system. Extrude the s... | 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/0018/00182578.stl")
|
Construct a rectangular block by defining a new coordinate system and drawing a two-dimensional sketch on the first face. The sketch consists of a closed loop with four lines forming a rectangle. After drawing the sketch, scale it down by 75%. Transform the scaled sketch into three dimensions by rotating and translatin... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.2412)
.lineTo(0, 0.2412)
.close()
.extrude(0.0469)
)
result = part_1
cq.exporters.export(result, "./stlcq/0021/00216732.stl")
|
Start by creating a new coordinate system with specific Euler angles and a translation vector. Draw a two-dimensional sketch that forms a rectangular shape with a smaller rectangle cut out from one corner. Transform this sketch into a three-dimensional object by rotating and translating it according to the specified an... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.0176, 0)
.lineTo(0.0176, 0.0059)
.lineTo(0.0059, 0.0059)
.lineTo(0.0059, 0.0234)
.lineTo(0, 0.0234)
.close()
.extrude(0.0156)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0.117... |
The design involves creating a rectangular base with a protrusion. Begin by setting up a new coordinate system with specific Euler angles and a translation vector. The main feature is a complex two-dimensional sketch on the first face, consisting of a series of connected lines that form a unique shape. This sketch is t... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.6406, 0)
.lineTo(0.6406, 0.5351)
.lineTo(0.4271, 0.5351)
.lineTo(0.4271, 0.2362)
.lineTo(0.2135, 0.2362)
.lineTo(0.2135, 0.3417)
.lineTo(0, 0.3417)
.close()
.extrude(0.6406)
)
part_1 = ... |
The first part involves creating a cylindrical object with a length of 0.75 units, a width of 0.75 units, and a height of 0.21 units. This is achieved by drawing a circular base and extruding it to form a solid cylinder. The second part involves creating a central hole within the cylinder. The hole has a length of 0.16... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.3765, 0.3765)
.circle(0.3735)
.extrude(0.2109)
)
# Part 2: cut
part_2 = (
cq.Workplane("XY")
.moveTo(0.0824, 0.0824)
.circle(0.0817)
.extrude(0.1172)
)
part_2 = part_2.translate((0.296875, 0.296875, 0.09375))
... |
Start by creating a new coordinate system aligned with the default axes. On the first face, draw two concentric circles, with the inner circle being slightly smaller than the outer one. Scale the entire sketch to reduce its size. Transform the scaled sketch to maintain its position and orientation. Extrude the sketch a... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.1294, 0.1294)
.circle(0.1284)
.moveTo(0.1294, 0.1294)
.circle(0.1203)
.extrude(0.75)
)
result = part_1
cq.exporters.export(result, "./stlcq/0033/00336589.stl")
|
To construct the base of the model, start by creating a new coordinate system with specific Euler angles and a translation vector. Next, draw a two-dimensional rectangular sketch on the first face. After drawing the rectangle, scale it down by a factor of seventy-five percent. Transform this scaled sketch into three-di... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.5324)
.lineTo(0, 0.5324)
.close()
.extrude(0.25)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.25, 0))
result = part_1
cq.exporters.export(result, "./stlcq... |
The design consists of two main parts. The first part is a cylindrical washer with a central hole. This washer has a flat circular top and bottom surface and a uniform thickness. The dimensions of this washer are 0.4 units in length, 0.4 units in width, and 0.11666666666666668 units in height. The second part is a toru... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.2, 0.2)
.circle(0.1984)
.moveTo(0.2, 0.2)
.circle(0.1328)
.extrude(0.1094)
)
part_1 = part_1.translate((0.171875, 0.171875, 0.0625))
# Part 2: join
part_2 = (
cq.Workplane("XY")
.moveTo(0.3765, 0.3765)
.cir... |
Begin by setting up a new coordinate system with default Euler angles and translation vectors to ensure the origin is at the standard position. Draw a two-dimensional sketch on the first face, consisting of two concentric circles. The outer circle represents the boundary of the ring, while the inner circle defines the ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.3735, 0.3735)
.circle(0.3765)
.moveTo(0.3735, 0.3735)
.circle(0.2706)
.extrude(0.1094)
)
result = part_1
cq.exporters.export(result, "./stlcq/0057/00579117.stl")
|
To create the cylindrical object, start by setting up a new coordinate system with specific Euler angles and a translation vector. Draw a simple circular sketch on the first face, then scale this sketch to the desired size. Transform the sketch into a three-dimensional object by rotating and translating it according to... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.0156, 0.0156)
.circle(0.0157)
.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/0081/00815278.stl")
|
Start by creating a new coordinate system aligned with the global axes. Draw the first face as a rectangle with a length slightly less than one unit and a width of about 0.68 units. For the second face, draw an arc that connects the top corners of the rectangle, giving the top a curved appearance. Scale the entire sket... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.4441)
.lineTo(0, 0.4441)
.close()
.extrude(0.5547)
)
part_1 = part_1.union(
cq.Workplane("XY")
.moveTo(0, 0.4441)
.threePointArc((0.3735, 0.6824), (0.75, 0.4441))
... |
The cylindrical base is constructed by creating a new coordinate system and drawing a circular sketch on a face. This sketch is then scaled down, rotated, and translated to align with the desired orientation. The sketch is extruded to form a solid body. The final dimensions of the cylindrical base are approximately zer... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.3765, 0.3765)
.circle(0.3735)
.extrude(0.1406)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.140625, 0))
result = part_1
cq.exporters.export(result, "./stlcq/0095/00953619.stl")
|
The design involves creating an S-shaped component with two circular holes. Start by setting up a new coordinate system with specific angles and translations. Draw a 2D sketch on the first face, which includes an S-shaped loop and two smaller circular loops. The S-shaped loop is defined by four arcs, while the circular... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.1735, 0)
.threePointArc((0.3735, 0.0294), (0.5765, 0))
.threePointArc((0.75, 0.1294), (0.5765, 0.2588))
.threePointArc((0.3765, 0.2265), (0.1735, 0.2588))
.threePointArc((0, 0.1294), (0.1735, 0))
.close()
.moveT... |
To construct the rectangular box base, start by creating a new coordinate system with specific Euler angles and a translation vector. Draw a two-dimensional rectangular sketch on the first face. Scale this sketch to adjust its size. Transform the scaled sketch into three dimensions using the coordinate system settings.... | 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.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/0028/... |
Create a rectangular base with rounded edges and a flat surface. The base has a length of 0.5625 units, a width of 0.75 units, and a height of 0.045 units. The shape is formed by extruding a scaled and rotated two-dimensional sketch into a three-dimensional solid. The sketch is initially drawn as a rectangle and then s... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.5618, 0)
.lineTo(0.5618, 0.75)
.lineTo(0, 0.75)
.close()
.extrude(0.0469)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.046875, 0))
result = part_1
cq.exporters.export(result, ".... |
Start by creating a new coordinate system aligned with the global axes. Draw a rectangular two-dimensional sketch on the first face. The rectangle will have a length of about 0.75 units and a width of about 0.4911 units. Scale this sketch to reduce its size by 25%. Transform the scaled sketch into a three-dimensional o... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.4912)
.lineTo(0, 0.4912)
.close()
.extrude(0.1094)
)
result = part_1
cq.exporters.export(result, "./stlcq/0015/00157324.stl")
|
The design involves two main components: a rectangular plate and a cube. The rectangular plate is created by drawing a two-dimensional sketch of a rectangle, transforming it into three dimensions, and extruding it to form a solid body. The plate has a length of 0.75 units, a width of 0.3681909885675857 units, and a hei... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.3676)
.lineTo(0, 0.3676)
.close()
.extrude(0.0078)
)
# Part 2: cut
part_2 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.2969, 0)
.lineTo(0.2969, 0.2969)
.li... |
To create the rectangular plate, start by setting up a new coordinate system with the origin slightly elevated along the Z-axis. Draw a rectangular sketch on the first face, ensuring the rectangle has a length of approximately 0.75 units and a width of around 0.55 units. Scale the sketch to fit the desired dimensions. ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.55)
.lineTo(0, 0.55)
.close()
.extrude(0.0078)
)
result = part_1
cq.exporters.export(result, "./stlcq/0000/00005739.stl")
|
Start by creating a new coordinate system with specific Euler angles and a translation vector. Then, draw a two-dimensional sketch on the first face, consisting of two nested loops that form a rectangular shape with rounded edges. After drawing the sketch, apply a scale factor to adjust its size. Transform the scaled s... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.125, 0)
.lineTo(0.125, 0.125)
.lineTo(0, 0.125)
.close()
.moveTo(0.0157, 0.0157)
.lineTo(0.1093, 0.0157)
.lineTo(0.1093, 0.1093)
.lineTo(0.0157, 0.1093)
.close()
.extrude(0.75)
)
pa... |
The design consists of seven parts, each contributing to a complex three-dimensional structure. The first part is a cube with rounded edges and corners, measuring 0.5 units in length, width, and height. The second part is a rectangular block with a flat top and bottom, and straight edges, measuring 0.125 units in lengt... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.5, 0)
.lineTo(0.5, 0.5)
.lineTo(0, 0.5)
.close()
.extrude(0.5)
)
part_1 = part_1.translate((0.125, 0, 0))
# Part 2: new
part_2 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.12549, 0)
... |
The design consists of five interconnected parts. The first part is a rectangular prism with a triangular cutout on one face, measuring approximately 0.21 units in length, 0.19 units in width, and 0.40 units in height. The second part is a cube with irregular faces, where one face is a pentagon and the other faces are ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.210938, 0)
.lineTo(0, 0.196875)
.close()
.extrude(0.398438)
)
# Part 2: join
part_2 = (
cq.Workplane("XY")
.moveTo(0, 0.195221)
.lineTo(0.208456, 0)
.lineTo(0.421875, 0)
.lineTo(0.4218... |
Create a cylindrical rod by starting with a circular base on the X-Y plane. The circle is then scaled to the desired size and transformed into a three-dimensional shape. The cylinder is formed by extruding the circular base upwards, resulting in a solid body. The final dimensions of the cylindrical rod are approximatel... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.0078, 0.0078)
.circle(0.0078)
.extrude(0.75)
)
result = part_1
cq.exporters.export(result, "./stlcq/0036/00367460.stl")
|
The design involves creating a cylindrical object. Start by setting up a new coordinate system with default Euler angles and translation vectors. The first face includes two concentric circles, with the outer circle being larger than the inner one. These circles are then scaled down uniformly to fit the desired size. T... | 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.0469)
.extrude(0.75)
)
result = part_1
cq.exporters.export(result, "./stlcq/0036/00368840.stl")
|
The first part involves constructing a cylinder. Begin by setting up a new coordinate system with specific Euler angles and a translation vector. Draw a circle on a face, then scale the sketch and transform it into three dimensions. The final step is to extrude the sketch to create a solid body. The resulting shape is ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.3765, 0.3765)
.circle(0.3735)
.extrude(0.0625)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.101562, 0))
result = part_1
cq.exporters.export(result, "./stlcq/0081/00810365.stl")
|
The design consists of two main parts. The first part starts with creating a cylindrical object that has a rounded top and bottom. This part has a length of zero point five units, a width of zero point five units, and a height of zero point seven five units. The second part involves constructing a hollow cylinder, whic... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.251, 0.251)
.circle(0.249)
.moveTo(0.251, 0.251)
.circle(0.0745)
.extrude(0.75)
)
part_1 = part_1.union(
cq.Workplane("XY")
.moveTo(0.251, 0.251)
.circle(0.0745)
.extrude(0.75)
)
part_1 = part_1.rotate((... |
Start by creating a new coordinate system with specific Euler angles and a translation vector. Draw a two-dimensional sketch that consists of two concentric circles, representing the outer and inner edges of the cylindrical ring. After scaling the sketch to the desired size, transform it into a three-dimensional object... | 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.2412)
.extrude(0.1406)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.140625, 0))
result = part_1
cq.exporters.export(result, "./stlc... |
Create a rectangular prism with a cylindrical hole and rounded edges. The first step involves defining a new coordinate system and drawing the first face, which includes three loops. The outer loop forms the rectangular boundary, while the inner loops define the cylindrical hole and additional features. After drawing t... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.1088)
.threePointArc((0.1088, 0), (0.2176, 0.1088))
.lineTo(0.2176, 0.75)
.lineTo(0, 0.75)
.close()
.moveTo(0.1206, 0.0206)
.lineTo(0.1206, 0.1706)
.lineTo(0.1206, 0.1971)
.threePointArc((0.2, 0.1088)... |
Start by creating a new coordinate system aligned with the default axes. Draw a rectangular shape on the first face, ensuring that the corners are sharp. Scale the rectangle to reduce its size by 25%. Transform the scaled rectangle into a three-dimensional object by extruding it 0.0197 units along the normal direction.... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.3147, 0)
.lineTo(0.3147, 0.75)
.lineTo(0, 0.75)
.close()
.extrude(0.0234)
)
result = part_1
cq.exporters.export(result, "./stlcq/0023/00239970.stl")
|
The design involves creating a cube with rounded edges and corners. Begin by setting up a new coordinate system with specific Euler angles and a translation vector. Draw two identical two-dimensional sketches on the first and second faces, each consisting of a loop with eight curves, including lines and arcs that defin... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.6765)
.lineTo(0.0118, 0.0706)
.threePointArc((0.0324, 0.0206), (0.0824, 0))
.lineTo(0.5735, 0)
.threePointArc((0.6235, 0.0206), (0.6441, 0.0706))
.lineTo(0.6441, 0.6794)
.threePointArc((0.6235, 0.7294), (0.57... |
The part consists of a cube with a circular hole in the center. The cube has a flat top and bottom, and the hole is centered on the top face. The edges of the cube are straight and parallel. The cube measures zero point seven five units in both length and width, and it stands zero point three seven five units tall. The... | 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.3765, 0.3765)
.circle(0.0735)
.extrude(0.375)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.375, 0))
result ... |
The first part involves creating a circular disc with a central hole and a protruding circular handle. The disc has a length of 0.1467, a width of 0.7497, and a height of 0.0939. The second part is a simple symmetrical shape with a cylindrical base and a rectangular top. This part has a length of 0.290, a width of 0.36... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.6706)
.threePointArc((0.05, 0), (0.1471, 0.6647))
.threePointArc((0.0765, 0.75), (0, 0.6706))
.close()
.moveTo(0.0735, 0.6765)
.circle(0.0441)
.extrude(0.0938)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 9... |
Start by creating a new coordinate system aligned with the default axes. Draw a two-dimensional square sketch on the first face, forming a closed loop with four equal sides. Scale this sketch to fit the desired dimensions. Transform the scaled sketch into a three-dimensional object by aligning it with the coordinate sy... | 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/0054/00544779.stl")
|
The design consists of three main parts. The first part is a rectangular plate with a length of approximately 0.142, a width of 0.0142, and a height of 0.1704. This plate is positioned with a slight rotation and offset. The second part is a cylinder with a rectangular top, featuring a length of around 0.226, a width of... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.0149, 0)
.lineTo(0.1114, 0)
.lineTo(0.1406, 0)
.lineTo(0.1406, 0.0143)
.lineTo(0, 0.0143)
.close()
.extrude(0.1719)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0.1875, 0.17187... |
The first part of the design involves creating a rectangular plate with rounded corners and a flat surface. This is achieved by drawing two faces, each defined by four lines. The first face outlines the main body of the plate, while the second face adds detail to the upper section. After defining these shapes, the enti... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.1676, 0.1676)
.lineTo(0.1676, 0.4647)
.lineTo(0.0029, 0.6353)
.close()
.extrude(0.0234)
)
part_1 = part_1.union(
cq.Workplane("XY")
.moveTo(0, 0.6324)
.lineTo(0.1706, 0.4676)
.lineTo(0.... |
Start by creating a new coordinate system with the Euler angles set to zero degrees and the translation vector set to [0.0, 0.0, 0.0675]. Draw a rectangular shape on the first face, ensuring that the lines form a closed loop. Scale this rectangular shape to fit the desired size. Transform the scaled rectangle into a th... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.2265)
.lineTo(0, 0.2265)
.close()
.extrude(0.0234)
)
part_1 = part_1.translate((0, 0, 0.070312))
result = part_1
cq.exporters.export(result, "./stlcq/0089/00893651.stl")
|
Start by creating a new coordinate system with specific rotations and translations. Then, draw a two-dimensional sketch of a rectangle on a new face. This rectangle will be transformed into three-dimensional space through rotation and translation. After the transformation, extrude the sketch to create a solid body. The... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.2)
.lineTo(0, 0.2)
.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/0017/00... |
Start by creating a rectangular block with a central circular hole. The block has a length of 0.75 units, a width of 0.2647 units, and a height of 0.4412 units. The central hole is positioned in the middle of the block, ensuring that the block's overall shape remains symmetrical. The hole is circular and proportionally... | 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/0035/00353264.stl")
|
Start by creating a new coordinate system aligned with the default axes. Draw identical circles in two faces, centered at [0.206, 0.206] with a radius of 0.206. Scale the circles to fit the desired size. Transform the scaled circles into a three-dimensional object by aligning them with the original coordinate system. E... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.2078, 0.2078)
.circle(0.2062)
.extrude(0.75)
)
part_1 = part_1.union(
cq.Workplane("XY")
.moveTo(0.2078, 0.2078)
.circle(0.2062)
.extrude(0.75)
)
result = part_1
cq.exporters.export(result, "./stlcq/0011/00116... |
The design involves creating a rectangular prism with specific dimensions. Start by setting up a coordinate system and drawing a two-dimensional sketch that forms the base of the prism. This sketch is then scaled down and transformed into a three-dimensional shape. The final step is to extrude the sketch to create a so... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.1647)
.lineTo(0, 0.1647)
.close()
.extrude(0.0078)
)
result = part_1
cq.exporters.export(result, "./stlcq/0082/00823994.stl")
|
Start by creating a new coordinate system with default settings. Draw a two-dimensional square on a new face, ensuring it forms a closed loop. Scale the square to fit the desired size. Transform the scaled square into a three-dimensional object by extruding it along its normal axis. The resulting shape is a cube with d... | 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/0006/00063392.stl")
|
The rectangular block is created by transforming a simple two-dimensional sketch into a three-dimensional solid. The sketch outlines a rectangle, which is then scaled down and rotated to align with the desired orientation. This transformed shape is extruded to form a solid block. The block has a flat top and bottom wit... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.1412)
.lineTo(0, 0.1412)
.close()
.extrude(0.0938)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.054688, 0))
result = part_1
cq.exporters.export(result, ".... |
The rectangular plate is constructed by first creating a new coordinate system aligned with the default axes. A two-dimensional sketch is then drawn on the first face, forming a rectangle with a length of 0.575 units and a width of 0.75 units. This sketch is scaled down by 75% to achieve the desired size. The scaled sk... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.5765, 0)
.lineTo(0.5765, 0.75)
.lineTo(0, 0.75)
.close()
.extrude(0.0234)
)
result = part_1
cq.exporters.export(result, "./stlcq/0005/00054194.stl")
|
The first rectangular block is created by defining a new coordinate system and drawing a two-dimensional sketch of a rectangle. This sketch is then transformed into three dimensions and extruded to a depth of 0.1866 meters, resulting in a solid body with a length of 0.6037 meters, a width of 0.4024 meters, and a height... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.6016, 0)
.lineTo(0.6016, 0.401)
.lineTo(0, 0.401)
.close()
.extrude(0.1875)
)
part_1 = part_1.translate((0.148438, 0, 0))
# Part 2: join
part_2 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo... |
Start by creating a new coordinate system with Euler angles set to zero and a translation vector of (-0.0248, -0.0188, 0.0). Draw a rectangular shape on the first face, then transform this shape into three dimensions while maintaining its proportions. Extrude the shape along the normal direction to form a solid rectang... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.8047, 0)
.lineTo(0.8047, 0.7037)
.lineTo(0, 0.7037)
.close()
.extrude(0.0391)
)
part_1 = part_1.translate((-0.023438, -0.015625, 0))
result = part_1
cq.exporters.export(result, "./stlcq/0082/00826366... |
The design consists of five parts, each a cube with a rectangular cutout. The first part is a rectangular prism with rounded edges, measuring 0.7447 units in length, 0.7500 units in width, and 0.0860 units in height. The second part is a cube with a rectangular cutout, measuring 0.6028 units in length, 0.6259 units in ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.744118, 0)
.lineTo(0.744118, 0.75)
.lineTo(0, 0.75)
.close()
.moveTo(0.070588, 0.061765)
.lineTo(0.673529, 0.061765)
.lineTo(0.673529, 0.688235)
.lineTo(0.070588, 0.688235)
.close()
... |
Start by creating a new coordinate system with specific angles and translations. Draw the first face by outlining a rectangle and adding two smaller circles within it. Scale the entire sketch to fit the desired size. Transform the sketch into a three-dimensional object by applying rotation and translation. Extrude the ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.2735)
.lineTo(0, 0.2735)
.close()
.moveTo(0.2059, 0.2059)
.circle(0.0324)
.moveTo(0.5441, 0.2059)
.circle(0.0324)
.extrude(0.0703)
)
part_1 = part_1.rotate((0, 0,... |
Start by creating a new coordinate system aligned with the default axes. Draw a rectangular two-dimensional sketch on the first face, forming a closed loop with four straight lines. After drawing the rectangle, apply a scale factor to adjust its size. Transform this scaled sketch into three-dimensional space without an... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.5471)
.lineTo(0, 0.5471)
.close()
.extrude(0.1484)
)
result = part_1
cq.exporters.export(result, "./stlcq/0041/00411573.stl")
|
Start by creating a new coordinate system with specific Euler angles and a translation vector. Draw identical circles in the first and second faces, then scale the resulting two-dimensional sketch. Transform the sketch into three-dimensional space by rotating and translating it according to the specified parameters. Ex... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.3765, 0.3735)
.circle(0.3765)
.extrude(0.3828)
)
part_1 = part_1.union(
cq.Workplane("XY")
.moveTo(0.3765, 0.3735)
.circle(0.3765)
.extrude(0.3828)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0... |
Construct a cylindrical object by first setting up a new coordinate system with specific Euler angles and a translation vector. Draw a circular face within this system and apply a scaling factor to reduce its size. Transform this scaled 2D sketch into 3D by rotating and translating it according to the coordinate system... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.149, 0.149)
.circle(0.1479)
.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/0019/00194798.stl")
|
The design consists of two main parts. The first part features a cylindrical base with a central protrusion. This base has a square profile with rounded corners and a small circular hole in the center. The dimensions of this part are 0.75 units in length, 0.75 units in width, and 0.0521 units in height. The second part... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.2471)
.threePointArc((0.0941, 0.0941), (0.2471, 0))
.lineTo(0.5029, 0)
.threePointArc((0.6559, 0.0941), (0.75, 0.2471))
.lineTo(0.75, 0.5029)
.threePointArc((0.6559, 0.6559), (0.5029, 0.75))
.lineTo(0.2471, 0... |
Start by creating a new coordinate system with specific Euler angles and a translation vector. Draw the first face, which consists of a rectangular shape with a smaller rectangular protrusion on one side. The second face features a smaller, rounded protrusion connected to the first face. The third and fourth faces invo... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.1882, 0)
.lineTo(0.1882, 0.0735)
.lineTo(0.6765, 0.0735)
.lineTo(0.6765, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.15)
.lineTo(0.6, 0.15)
.lineTo(0.15, 0.15)
.lineTo(0, 0.15)
.close()
... |
Create a rounded rectangular base by starting with a new coordinate system aligned with the default axes. Draw a two-dimensional sketch of a rectangle on the first face. The rectangle has a length slightly longer than its width, and both dimensions are proportionate to the final desired size. After drawing the sketch, ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.6147)
.lineTo(0, 0.6147)
.close()
.extrude(0.1562)
)
result = part_1
cq.exporters.export(result, "./stlcq/0086/00869283.stl")
|
The design consists of seven parts that combine to form a complex assembly. The first part is a rectangular box with a slightly rounded top and bottom, measuring approximately 0.55 units in length, 0.27 units in width, and 0.49 units in height. This box serves as the base of the assembly.
The second part is a cylindri... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.5469, 0)
.lineTo(0.5469, 0.2702)
.lineTo(0, 0.2702)
.close()
.extrude(0.4844)
)
part_1 = part_1.translate((0.101562, 0, 0))
# Part 2: join
part_2 = (
cq.Workplane("XY")
.moveTo(0.0941, 0.0941)... |
The design consists of two main parts: a rectangular prism and a cylinder. The rectangular prism has a length of approximately 0.75 units, a width of about 0.67 units, and a height of roughly 0.13 units. This part features rounded edges and corners, giving it a smooth appearance. The cylinder, which forms the base, has... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.6735)
.lineTo(0, 0.6735)
.close()
.extrude(0.125)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.125, 0))
# Part 2: join
part_2 = (
cq.Workplane("XY")
... |
Start by creating a new coordinate system with specific rotations and translations. Then, draw a rectangular shape on the first face, and within this rectangle, draw a circular hole. After drawing the shapes, scale the entire sketch to fit the desired dimensions. Transform the scaled sketch into a three-dimensional obj... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.375, 0)
.lineTo(0.375, 0.3735)
.lineTo(0, 0.3735)
.close()
.moveTo(0.1882, 0.1868)
.circle(0.1529)
.extrude(0.1875)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.75, 0))
r... |
The rectangular plate is a simple yet precise component. It starts with a flat, rectangular shape that is then transformed into a three-dimensional object. The plate has parallel edges and rounded corners, ensuring smooth transitions. The dimensions of the plate are crucial for its functionality, with a length of appro... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.5765)
.lineTo(0, 0.5765)
.close()
.extrude(0.0078)
)
result = part_1
cq.exporters.export(result, "./stlcq/0085/00851226.stl")
|
The first part involves creating a cylindrical shape with a hole through it. The cylinder has a larger outer circle and a smaller inner circle, forming the hole. The dimensions of this part are a length of approximately 0.55, a width of about 0.75, and a height of around 0.47. The second part is a curved, three-dimensi... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.2765, 0.4735)
.circle(0.2765)
.moveTo(0.2765, 0.4735)
.circle(0.1971)
.extrude(0.4688)
)
part_1 = part_1.union(
cq.Workplane("XY")
.moveTo(0.2265, 0)
.lineTo(0.3059, 0)
.lineTo(0.3059, 0.2)
.threePoi... |
Start by defining a new coordinate system with no rotation and a vertical offset of 0.375 units. On the plane defined by this coordinate system, draw a circular shape. Scale the circular shape to reduce its size, then transform it into a three-dimensional object. Extrude the shape upwards and downwards to create a cyli... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.1059, 0.1059)
.circle(0.1051)
.extrude(0.375)
)
part_1 = part_1.translate((0, 0, 0.1875))
result = part_1
cq.exporters.export(result, "./stlcq/0007/00070069.stl")
|
The first part involves creating a cube with a diagonal cut. This part has a length of approximately 0.63 units, a width of approximately 0.38 units, and a height of approximately 0.46 units. The second part is a rectangular rod that is added to the existing solid body. This rod has a length of approximately 0.75 units... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.625, 0)
.lineTo(0.2721, 0.3775)
.lineTo(0, 0.3775)
.close()
.extrude(0.4531)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.453125, 0))
# Part 2: join
part_2 = (
cq.Workplane("... |
Construct a cylindrical object with a rounded top and a flat base. Start by setting up a new coordinate system with specific Euler angles and a translation vector. Draw a circle on the first face, then scale this circle to create the base of the cylinder. Transform the scaled circle into three-dimensional space using t... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.2023, 0.2023)
.circle(0.2039)
.extrude(0.75)
)
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(result, "./stlcq/0080/00800582.stl")
|
The design involves constructing two cylinders and joining them together. The first cylinder has a square base with a side length of approximately 0.75 units and a height of 0.1725 units. The second cylinder is smaller, with a square base of about 0.60 units and the same height of 0.1725 units. Both cylinders are align... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.3735, 0.3735)
.circle(0.3765)
.extrude(0.1719)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.171875, 0))
# Part 2: join
part_2 = (
cq.Workplane("XY")
.moveTo(0.302, 0.302)
.circle(0.2996)
.... |
The design involves creating a rectangular prism with a curved edge that resembles an L shape. Start by setting up a new coordinate system with no rotation and a vertical offset of 0.3626 units. Draw a 2D sketch on this plane, forming a complex shape with multiple straight lines that create an L-shaped profile. This 2D... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.2324)
.lineTo(0.6765, 0.2324)
.lineTo(0.6765, 0.2)
.lineTo(0.7176, 0.2)
.lineTo(0.7176, 0.0324)
.lineTo(0.0324, 0.0324)
.lineTo(0.0324, 0.2)
.lineTo(0.0735, 0.2)
... |
The design consists of three main parts. The first part is a rectangular box with a length of 0.75 units, a width of 0.5625 units, and a height of 0.1875 units. This box forms the base of the structure. The second part is a cylindrical hole that penetrates the box. The hole has a diameter of 0.09375 units and extends 0... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.5618)
.lineTo(0, 0.5618)
.close()
.extrude(0.1875)
)
# Part 2: cut
part_2 = (
cq.Workplane("XY")
.moveTo(0.0471, 0.0471)
.circle(0.0467)
.extrude(0.75)
)
part_2 ... |
Create a rectangular plate by starting with a two-dimensional sketch on a plane. The sketch forms a rectangle, which is then transformed into a three-dimensional object. The rectangle is scaled down and extruded to create a thin rectangular plate. The final dimensions of the plate are approximately three-quarters of a ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.1794)
.lineTo(0, 0.1794)
.close()
.extrude(0.0078)
)
result = part_1
cq.exporters.export(result, "./stlcq/0049/00496971.stl")
|
To create a rectangular prism, begin by setting up a new coordinate system with specific rotations and translations. Draw a two-dimensional rectangle on the first face, ensuring that it forms a closed loop. Scale this rectangle to fit the desired dimensions. Transform the scaled rectangle into three dimensions by apply... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.0029)
.lineTo(0, 0.0029)
.close()
.extrude(0.4375)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.4375, 0))
result = part_1
cq.exporters.export(result, "./s... |
The design involves creating a cylindrical object. Start by establishing a new coordinate system with default settings. Draw a circular shape on the first face, ensuring it is centered and appropriately sized. Scale the circle to fit the desired dimensions. Transform the scaled circle into a three-dimensional object by... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.0941, 0.0941)
.circle(0.0934)
.extrude(0.75)
)
result = part_1
cq.exporters.export(result, "./stlcq/0047/00470518.stl")
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.