input stringlengths 267 2.05k | output stringlengths 209 3.36k |
|---|---|
Create a rectangular block by defining a new coordinate system with specific Euler angles and a translation vector. Draw a two-dimensional sketch on the first face, forming a rectangle with the specified dimensions. Scale the sketch to adjust its size and transform it into three dimensions using the defined coordinate ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.4676)
.lineTo(0, 0.4676)
.close()
.extrude(0.2812)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.28125, 0))
result = part_1
cq.exporters.export(result, "./... |
Create a new coordinate system with specific Euler angles and a translation vector to orient and position the model correctly. Draw a two-dimensional sketch of a single face with a unique shape defined by five connected lines. Scale this sketch to adjust its size appropriately. Transform the scaled sketch into a three-... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.3765, 0.3765)
.lineTo(0.3765, 0.75)
.lineTo(0.75, 0.75)
.lineTo(0.75, 0)
.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.expo... |
The design involves creating a rectangular box with an open top and one side. The box is constructed by defining a two-dimensional sketch that outlines the desired shape. This sketch is then transformed and extruded to create a three-dimensional model. The final dimensions of the box are 0.721875 units in length, 0.75 ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.0235, 0)
.lineTo(0.0235, 0.7265)
.lineTo(0.6971, 0.7265)
.lineTo(0.6971, 0.0529)
.lineTo(0.6765, 0.0529)
.lineTo(0.6765, 0)
.lineTo(0.7206, 0)
.lineTo(0.7206, 0.75)
.lineTo(0, 0.75)
... |
The rectangular box base is created by defining a new coordinate system and drawing a two-dimensional sketch that forms a rectangle. This sketch is then scaled down and transformed into a three-dimensional object. The final step involves extruding the sketch to create a solid box. The box has a flat top and bottom, wit... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.6029, 0)
.lineTo(0.6029, 0.75)
.lineTo(0, 0.75)
.close()
.extrude(0.1641)
)
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 consists of two parts that are combined to form a final shape. The first part is a ring with a circular cross-section and a flat bottom. It has a length and width of approximately 0.75 units and a height of about 0.0365 units. The second part is a smaller cylindrical object that fits perfectly on top of 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.3294)
.extrude(0.0391)
)
# Part 2: join
part_2 = (
cq.Workplane("XY")
.moveTo(0.3725, 0.3725)
.circle(0.3696)
.moveTo(0.3725, 0.3725)
... |
The design consists of two cylindrical parts. The first part is a larger cylinder with a hollow center, measuring 0.75 units in length and width, and 0.0375 units in height. This part is positioned at a specific location and orientation. The second part is a smaller cylindrical protrusion with a hollow center, measurin... | 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.1118)
.extrude(0.0391)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.453125, 0))
# Part 2: join
part_2 = (
cq.Workplane("XY")
... |
Create a rectangular base that forms the foundation of the model. The base consists of a rectangular box with a flat top and bottom, and four vertical sides. The top and bottom surfaces are parallel and perpendicular to the sides. The overall shape is a simple rectangular prism. The dimensions of the rectangular box ar... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.45)
.lineTo(0, 0.45)
.close()
.extrude(0.0781)
)
result = part_1
cq.exporters.export(result, "./stlcq/0096/00968530.stl")
|
Start by creating a new coordinate system aligned with the default axes. On the first face, draw a rectangular sketch defined by four straight lines forming a closed loop. After completing the sketch, scale it down to 75% of its original size. Next, transform the scaled sketch into three-dimensional space without any r... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.5147, 0)
.lineTo(0.5147, 0.75)
.lineTo(0, 0.75)
.close()
.extrude(0.2891)
)
result = part_1
cq.exporters.export(result, "./stlcq/0004/00047420.stl")
|
Start by creating a new coordinate system with specific angles and a translation vector. Then, draw a two-dimensional sketch on the first face, forming a complex shape with eight lines. After drawing the sketch, scale it down to 75% of its original size. Transform this scaled sketch into a three-dimensional object by a... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.25, 0)
.lineTo(0.25, 0.1265)
.lineTo(0.5, 0.1265)
.lineTo(0.5, 0)
.lineTo(0.75, 0)
.lineTo(0.5029, 0.5706)
.lineTo(0.2529, 0.5647)
.close()
.extrude(0.5)
)
part_1 = part_1.rotate((0, 0,... |
The rectangular bracket consists of two main sections. The first section is a simple rectangular face, while the second section is a larger rectangular face with two small circular cutouts. These sections are combined to form a three-dimensional structure. The overall shape is a rectangular prism with a length of zero ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.0258, 0)
.lineTo(0.0258, 0.2266)
.lineTo(0, 0.2266)
.close()
.extrude(0.0234)
)
part_1 = part_1.union(
cq.Workplane("XY")
.moveTo(0.0258, 0)
.lineTo(0.0729, 0)
.lineTo(0.0729, 0.2266)
... |
Create a rectangular bar by starting with a flat, rectangular sketch. The sketch forms the base of the part and is then scaled down to fit the desired dimensions. After scaling, the sketch is transformed into a three-dimensional object by extruding it along the normal direction. The final shape is a rectangular bar wit... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.0765)
.lineTo(0, 0.0765)
.close()
.extrude(0.0156)
)
result = part_1
cq.exporters.export(result, "./stlcq/0082/00827243.stl")
|
Start by creating a new coordinate system with specific Euler angles and a translation vector. Draw a circular sketch on the first face and scale it down. Transform this scaled sketch into a three-dimensional shape by applying the defined rotation and translation. Extrude the transformed sketch to create a solid cylind... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.2824, 0.2824)
.circle(0.2801)
.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/0017/00172909.stl")
|
Construct a U-shaped structure and a cylindrical object. For the U-shaped structure, start by creating a new coordinate system and drawing a complex series of arcs to form two loops. These loops define the outline of the U-shape. Scale the sketch to fit the desired size and transform it into 3D. Extrude the sketch to c... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.1115, 0.237)
.threePointArc((0, 0.0139), (0.2509, 0))
.threePointArc((0.3569, 0.053), (0.46, 0))
.threePointArc((0.7109, 0.0139), (0.5994, 0.237))
.threePointArc((0.4991, 0.3039), (0.4935, 0.421))
.threePointArc((0.... |
Create a rectangular block with a length of 0.75 units, a width of 0.4565 units, and a height of 0.0652 units. Begin by setting up a new coordinate system with no rotation or translation. Draw a rectangle on the first face, ensuring that the sides are aligned with the coordinate axes. Scale the rectangle to fit the des... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.4559)
.lineTo(0, 0.4559)
.close()
.extrude(0.0625)
)
result = part_1
cq.exporters.export(result, "./stlcq/0053/00538480.stl")
|
The design involves creating a ring-shaped object with a flat, circular base. The object starts as a two-dimensional sketch featuring two concentric circles, which are then scaled down to 75% of their original size. This scaled sketch is transformed into a three-dimensional object by extruding it 0.075 units along 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.1971)
.extrude(0.0781)
)
result = part_1
cq.exporters.export(result, "./stlcq/0056/00566860.stl")
|
The first part consists of a rectangular frame with rounded corners and a slight inward curve at the bottom. This frame has a length of approximately 0.3123, a width of approximately 0.7207, and a height of 0.0293. The second part is a smaller rectangular top that connects to the first part, adding material to form a c... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.0282, 0)
.lineTo(0.0282, 0.6906)
.lineTo(0, 0.6906)
.close()
.extrude(0.0312)
)
part_1 = part_1.union(
cq.Workplane("XY")
.moveTo(0, 0.6906)
.lineTo(0.0282, 0.6906)
.lineTo(0.2819, 0.69... |
Start by creating 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 four lines to create a rectangle. Scale the sketch and then rotate and translate it according to the coordinate system settings. Extrude the sketch 0... | 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.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/00... |
The design consists of two main parts. The first part features a rectangular base with a circular hole in the middle. This part has a length of 0.5, a width of 0.5, and a height of 0.1875. The second part includes a larger rectangular base with a smaller rectangular section and a circular hole on one side. This part ha... | 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()
.moveTo(0.2608, 0.251)
.circle(0.1549)
.extrude(0.1875)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0.117188, 0.1875, 0.039062... |
The rectangular box consists of a main body with a flat top and bottom, and four vertical sides that are perpendicular to the top and bottom surfaces. The top surface includes a rectangular opening. The dimensions of the box are approximately 0.63 units in length, 0.41 units in width, and 0.75 units in height. The box ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.6328, 0)
.lineTo(0.6328, 0.4144)
.lineTo(0, 0.4144)
.close()
.moveTo(0.0223, 0.0223)
.lineTo(0.6105, 0.0223)
.lineTo(0.6105, 0.3896)
.lineTo(0.0223, 0.3896)
.close()
.extrude(0.75)
... |
The design involves creating a rectangular prism with rounded edges. Start by defining a new coordinate system with specific rotations and translations. A rectangular shape is drawn and scaled down to fit the desired dimensions. This shape is then transformed into three-dimensional space and extruded to create the fina... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.4412, 0)
.lineTo(0.4412, 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 design consists of two main parts: a rectangular prism base and a triangular roof. The rectangular prism base has a length of 0.75, a width of 0.5, and a height of 0.25. The triangular roof sits on top of the base and has a length of 0.75, a width of 0.2165, and a height of 0.3125. The base and the roof are aligned... | 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.4375, 0))
# Part 2: join
part_2 = (
cq.Workplane("XY")
.mov... |
Start by creating a new coordinate system with default settings. Draw a square on the first face, ensuring that all sides are equal. Scale the square to fit the desired dimensions. Transform the scaled square into three-dimensional space without altering its orientation or position. Extrude the square along its normal ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.3906, 0)
.lineTo(0.3906, 0.3906)
.lineTo(0, 0.3906)
.close()
.extrude(0.75)
)
result = part_1
cq.exporters.export(result, "./stlcq/0018/00188820.stl")
|
Start by setting up a new coordinate system with default angles and positions. Draw a two-dimensional outline of a rectangular shape with rounded corners on the first face. This outline consists of four arcs and four lines that form a closed loop. Scale the entire sketch by 75% to reduce its size. Convert the scaled sk... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.0324)
.threePointArc((0.0088, 0.0088), (0.0324, 0))
.lineTo(0.7176, 0)
.threePointArc((0.7412, 0.0088), (0.75, 0.0324))
.lineTo(0.75, 0.4382)
.threePointArc((0.7412, 0.4588), (0.7176, 0.4676))
.lineTo(0.0324,... |
The L-shaped base part consists of a primary structure with a distinctive L-shape. The part features a main rectangular section that transitions into a narrower segment, creating the L-shape. A small circular cutout is present near the corner of the L-shape. The part is relatively thin, with a height of approximately 0... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.45)
.lineTo(0.4529, 0.0029)
.lineTo(0.75, 0)
.lineTo(0.75, 0.0971)
.lineTo(0.4912, 0.0971)
.lineTo(0.1353, 0.45)
.close()
.moveTo(0.6441, 0.0265)
.circle(0.0147)
.extrude(0.0078)
)
result = part_... |
The design involves creating a cylindrical object with a hollow center and a flat base. The cylinder is constructed by defining a circular outer boundary and a smaller circular inner boundary on a two-dimensional plane. These boundaries are then scaled down and transformed into a three-dimensional shape. The final extr... | 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.2559)
.extrude(0.2969)
)
result = part_1
cq.exporters.export(result, "./stlcq/0090/00905378.stl")
|
Start by creating a new coordinate system aligned with the default axes. Draw a two-dimensional U-shaped sketch on the first face. This sketch forms a rectangular cross-section with a series of connected lines that create a U-shape. After completing the sketch, scale it down by a factor of 0.75 to adjust its size. Tran... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.0676)
.lineTo(0.0676, 0.0676)
.lineTo(0.0676, 0.2412)
.lineTo(0.75, 0.2412)
.lineTo(0.75, 0.3088)
.lineTo(0, 0.3088)
.close()
.extrude(0.5078)
)
result = part_1
... |
Construct a rectangular base with a smaller extension. Start by creating a new coordinate system and drawing a two-dimensional sketch on the first face. The sketch consists of a complex shape formed by nine lines, creating a rectangular base with a smaller extension. 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.75, 0)
.lineTo(0.75, 0.25)
.lineTo(0.5118, 0.25)
.lineTo(0.5, 0.25)
.lineTo(0.5, 0.5)
.lineTo(0.25, 0.5)
.lineTo(0.25, 0.25)
.lineTo(0, 0.25)
.close()
.extrude(0.5)
)
part_1 = part_... |
The first part involves creating a rectangular block with a flat top and bottom, and four straight edges. The dimensions of this block are approximately 0.75 units in length, 0.19 units in width, and 0.2427 units in height. The second part involves removing material from the existing body to create another rectangular ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.1912)
.lineTo(0, 0.1912)
.close()
.extrude(0.2422)
)
# Part 2: cut
part_2 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.7422, 0)
.lineTo(0.7422, 0.1834)
.li... |
Start by creating a new coordinate system aligned with the default axes. Draw a two-dimensional sketch on the first face, consisting of two concentric circles. The outer circle represents the outer boundary of the cylinder, while the inner circle defines the central hole. After drawing the sketch, scale it down to fit ... | 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.1353)
.extrude(0.2422)
)
result = part_1
cq.exporters.export(result, "./stlcq/0075/00754805.stl")
|
Start by creating a new coordinate system with default settings. Sketch a circular ring on the first face, consisting of two concentric circles. Scale the entire sketch to reduce its size. Transform the scaled sketch to maintain its position and orientation. Extrude the sketch to form a three-dimensional cylindrical ri... | 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.2676)
.extrude(0.2344)
)
result = part_1
cq.exporters.export(result, "./stlcq/0059/00594076.stl")
|
The first part involves creating an L-shaped model. Start by setting up a new coordinate system with specific Euler angles and a translation vector. Then, draw a two-dimensional sketch that forms an L-shape. After scaling the sketch and transforming it into three dimensions, extrude the sketch to create a solid body. T... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.0938, 0)
.lineTo(0.0938, 0.0114)
.lineTo(0.0114, 0.0114)
.lineTo(0.0114, 0.0938)
.lineTo(0, 0.0938)
.close()
.extrude(0.75)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).rotate((0, 0, 0), ... |
The design involves creating a cylindrical object with a base that is a scaled-down circle. The circle is positioned at the center of the first face and has a radius that is 75% of the original size. The cylinder is then extruded to a height of 0.2498 units, resulting in a solid body with a final length and width of 0.... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.3765, 0.3765)
.circle(0.3735)
.extrude(0.25)
)
result = part_1
cq.exporters.export(result, "./stlcq/0095/00950345.stl")
|
The design consists of four main parts that combine to form a cylindrical object with a central hole. The first part is a cylindrical base with a flat circular top and bottom, measuring 0.75 units in length and width, and 0.28125 units in height. The second part creates a central hole by removing material from the base... | 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: cut
part_2 = (
cq.Workplane("XY")
.moveTo(0.3373, 0.3373)
.circle(0.3346)
.extrude(0.2422)
)
part_2 = part_2.translate((0.039062, 0.039062, 0.039062))
... |
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, then scale and transform this sketch into a three-dimensional object. Extrude the sketch to create a solid rectangular block. The final dimensions of the block are a le... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.2734, 0)
.lineTo(0.2734, 0.2627)
.lineTo(0, 0.2627)
.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 involves creating a rectangular plate with a central circular hole and four smaller holes at the corners. The main body of the plate is a large rectangle with a central circular hole. At each corner, there is a smaller rectangular section with a circular hole. These sections are positioned at the corners of ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.0412)
.lineTo(0.0206, 0.0412)
.lineTo(0.0618, 0.0412)
.lineTo(0.4382, 0.0412)
.lineTo(0.4794, 0.0412)
.lineTo(0.5, 0.0412)
.lineTo(0.5, 0.7088)
.lineTo(0.4794, 0.7088)
.lineTo(0.4382, 0.7088)
.lin... |
The first part involves creating a rectangular base with a vertical extension. The base has a length of 0.7500000000000001, a width of 0.37500000000000006, and a height of 0.25000000000000006. This part forms the foundation of the model. The second part is a smaller rectangular box that tapers and cuts into the first p... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.1265, 0)
.lineTo(0.1265, 0.25)
.lineTo(0.75, 0.25)
.lineTo(0.75, 0.3765)
.lineTo(0, 0.3765)
.close()
.extrude(0.25)
)
# Part 2: cut
part_2 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lin... |
Create 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 four lines. Scale the sketch to reduce its size. Transform the scaled sketch into three dimensions by applying a rotation and translation. Extrude the transform... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.1235)
.lineTo(0.75, 0)
.lineTo(0.75, 0.0559)
.lineTo(0, 0.1794)
.close()
.extrude(0.0078)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.007812, 0))
result = part_1
cq.exporters.export(resul... |
The first part involves creating a square plate with rounded corners and four holes. This plate has a length of approximately 0.671 units, a width of about 0.696 units, and a height of roughly 0.011 units. The second part is a cube with rounded edges and corners. It measures around 0.081 units in length, 0.108 units in... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.6708, 0)
.lineTo(0.6708, 0.6953)
.lineTo(0, 0.6953)
.close()
.moveTo(0.0245, 0.0245)
.circle(0.0109)
.moveTo(0.6462, 0.0245)
.circle(0.0109)
.moveTo(0.6462, 0.6708)
.circle(0.0082)
... |
Start by creating a new coordinate system aligned with the default axes. Draw a two-dimensional rectangle on the first face, ensuring it has the correct proportions. Scale the rectangle to fit the desired size. Transform the scaled rectangle into a three-dimensional object by extruding it along the normal direction to ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.3765, 0)
.lineTo(0.3765, 0.75)
.lineTo(0, 0.75)
.close()
.extrude(0.2344)
)
result = part_1
cq.exporters.export(result, "./stlcq/0085/00856204.stl")
|
Create a square plate with rounded corners. Start by defining a new coordinate system aligned with the global axes. Draw a square on the first face, and add four small circles at each corner to create the rounded edges. Scale the entire sketch to reduce its size. Transform the scaled sketch into three-dimensional space... | 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.0118, 0.0118)
.circle(0.0059)
.moveTo(0.0118, 0.7382)
.circle(0.0059)
.moveTo(0.7382, 0.0118)
.circle(0.0059)
.mov... |
To create the square tube, start by setting up a new coordinate system with specific Euler angles and a translation vector. Draw a two-dimensional sketch that forms the outline of the tube. This sketch consists of two loops, each made up of arcs and lines, creating a detailed shape. After drawing the sketch, scale it d... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.0058)
.threePointArc((0.0018, 0.0018), (0.0058, 0))
.lineTo(0.0723, 0)
.threePointArc((0.0763, 0.0018), (0.0781, 0.0058))
.lineTo(0.0781, 0.0723)
.threePointArc((0.0763, 0.0763), (0.0723, 0.0781))
.lineTo(0.0... |
To create the rectangular prism with rounded edges, start by setting up a new coordinate system with specific rotations and translations. Draw a two-dimensional sketch that forms a rectangle with a smaller inner rectangle. Transform this sketch into three-dimensional space by rotating and translating it according to pr... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.0625, 0)
.lineTo(0.0625, 0.0314)
.lineTo(0, 0.0314)
.close()
.moveTo(0.002, 0.002)
.lineTo(0.0605, 0.002)
.lineTo(0.0605, 0.0294)
.lineTo(0.002, 0.0294)
.close()
.extrude(0.75)
)
pa... |
Start by creating a new coordinate system with no rotation and a vertical offset of 0.375 units. On this coordinate system, draw a two-dimensional sketch that forms a rectangular shape with a smaller inner rectangle. The outer rectangle represents the main body of the part, while the inner rectangle defines a cutout. A... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.2188, 0)
.lineTo(0.2188, 0.1098)
.lineTo(0, 0.1098)
.close()
.moveTo(0.0129, 0.0129)
.lineTo(0.2059, 0.0129)
.lineTo(0.2059, 0.0961)
.lineTo(0.0129, 0.0961)
.close()
.extrude(0.375)... |
Start by creating a new coordinate system with specific Euler angles and a translation vector. Draw a two-dimensional sketch on the first face, forming a complex shape with six lines. After completing the sketch, scale it appropriately and transform it into three-dimensional space using the coordinate system. Extrude t... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.0312, 0)
.lineTo(0.0312, 0.0312)
.lineTo(0.0294, 0.0312)
.lineTo(0.0294, 0.0018)
.lineTo(0, 0.0018)
.close()
.extrude(0.75)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).rotate((0, 0, 0), ... |
The first part involves creating a rectangular plate with two small circular holes. The plate has a length of about 0.75 units, a width of 0.75 units, and a thickness of 0.0075 units. The holes are positioned near the center of the plate and are relatively small in size. The second part consists of two vertical cylinde... | 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.5382, 0.5735)
.circle(0.0176)
.moveTo(0.2118, 0.5735)
.circle(0.0176)
.extrude(0.0078)
)
# Part 2: join
part_2 = (
cq... |
The design consists of three parts that are combined to form the final shape. The first part is a flat 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 cylindrical object with rounded edges, measuring 0.459375 units in length and width, and... | 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 rectangular block is designed with a flat top and rounded edges. The block's dimensions include a length of approximately 0.426 meters, a width of about 0.75 meters, and a height of roughly 0.171 meters. The block is created by extruding a scaled 2D sketch in both directions along the normal to form a solid body. T... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.4265, 0)
.lineTo(0.4265, 0.75)
.lineTo(0, 0.75)
.close()
.extrude(0.1719)
)
part_1 = part_1.translate((0, 0, 0.085938))
result = part_1
cq.exporters.export(result, "./stlcq/0088/00888560.stl")
|
Create a new coordinate system with specific angles and translations to align the part correctly. Draw a two-dimensional sketch on the first face, forming a loop with lines and an arc to define the outline. Scale the sketch to reduce its size proportionally. Transform the scaled sketch into three dimensions using the p... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.7441)
.lineTo(0.2618, 0.7441)
.threePointArc((0.0765, 0.6676), (0, 0.4824))
.close()
.extrude(0.1016)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.16406... |
Create a tall rectangular prism with circular holes. Start by setting up a new coordinate system with specific angles and a translation vector. Draw a two-dimensional sketch on the first face, outlining a rectangular shape with two small circular holes near the top. Scale the entire sketch to reduce its size. Transform... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.1353, 0)
.lineTo(0.1882, 0.5618)
.lineTo(0.1882, 0.75)
.lineTo(0, 0.75)
.close()
.moveTo(0.0941, 0.6147)
.circle(0.0147)
.moveTo(0.0941, 0.6971)
.circle(0.0118)
.extrude(0.1875)
)
p... |
The design involves creating a rectangular plate with rounded edges and a flat surface. The plate is defined by its primary dimensions: a length of 0.575 units, a width of 0.75 units, and a height of 0.025 units. The plate is initially sketched in two dimensions and then transformed into a three-dimensional solid by ex... | 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/0012/00122122.stl")
|
Start by creating a new coordinate system with specific angles and translations. Draw a rectangular shape on the first face, forming a closed loop with four lines. Scale this shape to reduce its size. Transform the scaled shape into three-dimensional space and extrude it to create a solid rectangular block. The final d... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.5206)
.lineTo(0, 0.5206)
.close()
.extrude(0.1328)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.132812, 0))
result = part_1
cq.exporters.export(result, ".... |
The design involves creating a curved block with a rectangular base. The process starts by defining a new coordinate system with default settings. A 2D sketch is drawn on the first face, forming a closed loop with two arcs and two lines. This sketch is then scaled down by 75% and transformed into a 3D model by extrudin... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.threePointArc((0.3765, 0.0441), (0.75, 0))
.lineTo(0.75, 0.2294)
.threePointArc((0.3765, 0.2706), (0, 0.2294))
.close()
.extrude(0.2812)
)
result = part_1
cq.exporters.export(result, "./stlcq/0000/00006008.st... |
The part consists of a rectangular bar with a cylindrical hole and a rectangular cutout. The rectangular bar has a length of approximately 0.75 units, a width of about 0.094 units, and a height of 0.0625 units. The cylindrical hole is located near the center of the bar, and the rectangular cutout is positioned on one s... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.0941)
.lineTo(0.1559, 0.0941)
.lineTo(0.1559, 0.0471)
.lineTo(0.0618, 0.0471)
.lineTo(0.0618, 0.0941)
.lineTo(0, 0.0941)
.close()
.moveTo(0.6882, 0.0471)
.cir... |
To construct the rectangular plate, start by setting up a new coordinate system with the Euler angles and translation vector both set to zero. This aligns the model with the global coordinate system. Next, draw a two-dimensional rectangle on the first face. The rectangle will have a length of 0.75 units and 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.1824)
.lineTo(0, 0.1824)
.close()
.extrude(0.0078)
)
result = part_1
cq.exporters.export(result, "./stlcq/0024/00249796.stl")
|
Start by creating a new coordinate system with specific Euler angles and a translation vector. Then, draw a rectangular face in this coordinate system. After drawing the rectangle, apply a scale factor to adjust its size. Transform the scaled rectangle into three-dimensional space by rotating and translating it. Finall... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.0088)
.lineTo(0, 0.0088)
.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 design involves creating a rectangular box with a U-shaped cutout. The first step is to draw a complex two-dimensional sketch that forms the outline of the box with the cutout. This sketch is then scaled down and transformed into a three-dimensional shape by extruding it along the normal direction. The final solid ... | 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.7353, 0.1647)
.lineTo(0.7353, 0.0147)
.lineTo(0.0147, 0.0147)
.lineTo(0.0147, 0.5029)
.lineTo(0.7353, 0.5029)
.lineTo(0.7353, 0.3735)
.lineTo(0.75... |
The first part is a cylindrical object with a flat circular top and bottom, a smooth surface, and a uniform diameter. The height of the cylinder is 0.3125, while the width and depth are both 0.1875. This part is created by drawing a circle, scaling it, and then extruding it to form the final shape. | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.0941, 0.0941)
.circle(0.0934)
.extrude(0.3125)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0.09375, 0.3125, 0.09375))
result = part_1
cq.exporters.export(result, "./stlcq/0038/00388831.stl")
|
The design consists of three parts. The first part is a ring with a circular cross-section that has been scaled and extruded to create a solid body. The dimensions are approximately 0.72 units in length and width, and 0.05 units in height. The second part is a rectangular prism with curved edges, which is rotated and t... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.3608, 0.3608)
.circle(0.358)
.moveTo(0.3608, 0.3608)
.circle(0.3072)
.extrude(0.0547)
)
part_1 = part_1.translate((0.03125, 0.015625, 0.070312))
# Part 2: join
part_2 = (
cq.Workplane("XY")
.moveTo(0, 0.0495)
... |
Start by creating a new coordinate system with specific angles and translations. On the first face, draw two concentric circles with different radii. Scale the entire sketch to fit the desired dimensions. Rotate and translate the scaled sketch to align it correctly. Extrude the sketch 0.75 units in one direction to for... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.1725, 0.1725)
.circle(0.1712)
.moveTo(0.1725, 0.1725)
.circle(0.1415)
.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/0006... |
The part consists of a rectangular prism with rounded edges and a flat top. The shape starts as a square base that is transformed and extruded to create a three-dimensional form. The height of the part is significantly greater than its width and length, making it appear elongated. The base dimensions are equal, creatin... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.1094, 0)
.lineTo(0.1094, 0.1094)
.lineTo(0, 0.1094)
.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 three main parts. The first part is a rectangular plate with rounded edges and a flat surface. It measures 0.6 units in length, 0.0375 units in width, and 0.75 units in height. This plate forms the base of the structure.
The second part is a curved, open-ended U-shaped structure that resembles a... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.601562, 0)
.lineTo(0.601562, 0.037745)
.lineTo(0, 0.037745)
.close()
.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... |
The design consists of three rectangular prisms, each with a protrusion. The first and third parts have the same dimensions: a length of approximately zero point seven five, a width of about zero point two seven four, and a height of around zero point one two five. The second part has the same length and width but a sl... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.2088)
.lineTo(0.0029, 0)
.lineTo(0.1529, 0)
.lineTo(0.6265, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.2735)
.lineTo(0.1529, 0.2735)
.lineTo(0.1529, 0.2088)
.close()
.moveTo(0.1529, 0.0412)
.circle(0... |
Start by creating a cube with a height of approximately 0.6 units, a width of 0.75 units, and a length of 0.75 units. Next, construct a U-shaped cutout on one of the cube's faces. This cutout has a height of 0.3 units, a width of 0.4875 units, and a length of 0.525 units. The cutout is positioned near the top of 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.75)
.lineTo(0, 0.75)
.close()
.extrude(0.6016)
)
part_1 = part_1.translate((0, -0.226562, 0))
# Part 2: cut
part_2 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.523... |
The part consists of a cylindrical object with a hollow center and rounded edges. The cylinder has a square cross-section, with each side measuring 0.504 units. The height of the cylinder is 0.75 units. The hollow center is created by extruding a smaller circle within a larger circle, resulting in a tube-like structure... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.2549, 0.2549)
.circle(0.2529)
.moveTo(0.2549, 0.2549)
.circle(0.1314)
.extrude(0.75)
)
result = part_1
cq.exporters.export(result, "./stlcq/0079/00799746.stl")
|
Create a rectangular prism base by starting with a coordinate system aligned to the default axes. Draw a rectangle on the first face, ensuring that it forms a closed loop. The rectangle's dimensions are not critical, but it should maintain a specific aspect ratio. Transform this rectangle into three-dimensional space a... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.5859, 0)
.lineTo(0.5859, 0.2597)
.lineTo(0, 0.2597)
.close()
.extrude(0.75)
)
result = part_1
cq.exporters.export(result, "./stlcq/0087/00874920.stl")
|
The design consists of four parts. The first part is a rectangular prism with rounded edges, measuring approximately 0.75 units in length, 0.16 units in width, and 0.0016 units in height. The second part is a smaller rectangular box with slightly rounded top and bottom, measuring about 0.055 units in length, 0.042 unit... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.1618)
.lineTo(0, 0.1618)
.close()
.extrude(0.0078)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90)
# Part 2: join
part_2 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lin... |
The first part is a cylindrical object with a central circular hole. The overall shape is created by extruding a two-dimensional sketch that consists of two concentric circles. The outer circle defines the cylindrical body, and the inner circle forms the central hole. The height of the cylinder is 0.45 units, and both ... | 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/0070/00701511.stl")
|
Construct a cylindrical base by first creating a new coordinate system with Euler angles set to [0.0, 0.0, -90.0] degrees and a translation vector of [0.0, 0.1426, 0.0]. Draw a circle on the plane defined by this coordinate system, then scale it down. Transform this scaled circle into a three-dimensional shape and extr... | 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/0035/00357588.stl")
|
The design involves creating a rounded rectangular base. Start by setting up a new coordinate system with specific Euler angles and a translation vector. The first face consists of a complex loop made up of several lines and arcs, forming a rounded rectangle. After completing the sketch, apply a scale factor to reduce ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.0676)
.lineTo(0.0618, 0.1294)
.threePointArc((0.3147, 0.2353), (0.0618, 0.3382))
.lineTo(0, 0.4029)
.threePointArc((0.2, 0.4706), (0.3765, 0.35))
.threePointArc((0.55, 0.4706), (0.75, 0.4029))
.lineTo(0.6882,... |
To construct a semi-cylindrical shape, start by setting up a new coordinate system with specific angles and a translation vector. Draw a two-dimensional sketch on a face, forming a loop with three curves: an arc, a line, and another arc. Scale this sketch to fit the desired size. Transform the scaled sketch into a thre... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.0684)
.threePointArc((0.0541, 0), (0.1368, 0.0142))
.lineTo(0.7266, 0.5385)
.threePointArc((0.2165, 0.53), (0, 0.0684))
.close()
.extrude(0.75)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).rotate((0, 0, 0),... |
Create a rectangular block by starting with a new coordinate system and drawing a two-dimensional sketch that forms a rectangle. The sketch is then scaled and transformed into a three-dimensional object. The rectangular block has a flat top and bottom with straight edges. It measures approximately 0.363 units in length... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.3625, 0)
.lineTo(0.3625, 0.9062)
.lineTo(0, 0.9062)
.close()
.extrude(0.1328)
)
part_1 = part_1.translate((-0.007812, 0, 0.09375))
result = part_1
cq.exporters.export(result, "./stlcq/0091/00912504.s... |
Construct two cylindrical objects with rounded edges positioned parallel to each other. Start by creating a new coordinate system with specific Euler angles and a translation vector. Draw two circles on separate faces, then scale the entire sketch to achieve the desired size. Transform the scaled sketch into a three-di... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.0888, 0.0888)
.circle(0.0874)
.extrude(0.375)
)
part_1 = part_1.union(
cq.Workplane("XY")
.moveTo(0.2706, 0.0888)
.circle(0.0874)
.extrude(0.375)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, ... |
The design involves creating a rectangular block and then adding four cylindrical holes to its top surface. First, a new coordinate system is created, and a 2D rectangle is drawn and transformed into a 3D block with a height of 0.75 units, a width of 0.1875 units, and a length of 0.09375 units. Next, another coordinate... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.0941, 0)
.lineTo(0.0941, 0.1875)
.lineTo(0, 0.1875)
.close()
.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")
... |
The design consists of three main parts. The first part is a rectangular block with a length of 0.75 units, a width of 0.4687 units, and a height of 0.2344 units. This block is positioned slightly above the base plane. The second part is a smaller rectangular top with a length of 0.2812 units, a width of 0.3281 units, ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.4676)
.lineTo(0, 0.4676)
.close()
.extrude(0.2344)
)
part_1 = part_1.translate((0, 0.046875, 0.070312))
# Part 2: join
part_2 = (
cq.Workplane("XY")
.moveTo(0, 0)
.l... |
The first part is a triangular prism. It consists of three triangular faces that are connected to form a prism. The dimensions of this prism are approximately 0.32 units in length, 0.33 units in width, and 0.14 units in height. The second part is a cylinder with a central hole. This cylinder has a more complex shape wi... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.1621, 0)
.lineTo(0.0888, 0.1647)
.close()
.extrude(0.1328)
)
part_1 = part_1.union(
cq.Workplane("XY")
.moveTo(0.0888, 0.1647)
.lineTo(0.2509, 0.1647)
.lineTo(0.1776, 0.3281)
.close()
... |
Start by creating a new coordinate system and rotating it to align with the desired orientation. Then, draw a circular shape on a new face, scale it appropriately, and transform it into 3D space. Extrude this shape to create a cylindrical object with a height of 0.75 units. The base of the cylinder will have a diameter... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.0549, 0.0549)
.circle(0.0545)
.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/0048/00483719.stl")
|
Start by setting up a new coordinate system with no rotation and a slight vertical offset. Draw a rectangular base on a plane defined by this coordinate system. The rectangle has a longer side and a shorter side, creating a flat, elongated shape. Scale down the rectangle to reduce its size. Transform the scaled rectang... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.0941)
.lineTo(0, 0.0941)
.close()
.extrude(0.0312)
)
part_1 = part_1.translate((0, 0, 0.007812))
result = part_1
cq.exporters.export(result, "./stlcq/0039/00392648.stl")
|
The design involves creating a plate with a central circular hole and four smaller mounting holes. The plate has a rectangular shape with rounded corners. The central hole is positioned near the center of the plate, while the four smaller holes are symmetrically placed around it. The plate is then scaled down to 75% of... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.5, 0)
.threePointArc((0.75, 0.25), (0.5, 0.5))
.lineTo(0, 0.5)
.close()
.moveTo(0.5, 0.25)
.circle(0.0824)
.moveTo(0.6206, 0.1294)
.circle(0.0206)
.moveTo(0.6206, 0.3706)
.circle(0.... |
The design consists of three main parts. The first part is a cylindrical base with a height of 0.28125 units, a width of 0.75 units, and a length of 0.75 units. The second part is a cylindrical hole that is 0.24375 units deep, 0.675 units wide, and 0.675 units long, which is subtracted from the base to create an openin... | 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: cut
part_2 = (
cq.Workplane("XY")
.moveTo(0.3373, 0.3373)
.circle(0.3346)
.extrude(0.2422)
)
part_2 = part_2.translate((0.039062, 0.039062, 0.039062))
... |
The design consists of two cylindrical parts. The first part is a cylinder with a circular base and a flat top, measuring approximately 0.589 units in length and width, and 0.118 units in height. The second part is a washer-like cylindrical shape, measuring approximately 0.432 units in length and width, and 0.039 units... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.2941, 0.2941)
.circle(0.2918)
.moveTo(0.2941, 0.2941)
.circle(0.1149)
.extrude(0.1172)
)
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")
.mo... |
Start by creating a new coordinate system and positioning it appropriately. Draw a circular shape on a plane defined by this coordinate system. Scale the circular shape to the desired size. Transform the scaled shape into three-dimensional space by rotating and translating it. Extrude the transformed shape to create a ... | 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/0063/00630695.stl")
|
The rectangular bracket features rounded edges and two circular holes on opposite sides. The first face consists of a rectangular shape with rounded corners and two circular holes. The second and third faces each contain a smaller circular hole. These faces are combined to form the final shape. The overall dimensions o... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.0735, 0)
.lineTo(0.3735, 0)
.lineTo(0.6765, 0)
.threePointArc((0.75, 0.0735), (0.6765, 0.1441))
.lineTo(0.3735, 0.1441)
.lineTo(0.0735, 0.1441)
.threePointArc((0, 0.0735), (0.0735, 0))
.close()
.moveTo(0... |
The first part is a rectangular bar with a flat top and bottom, slightly thicker at the edges. It measures 0.028 in length, 0.131 in width, and 0.75 in height. This part is created by extruding a 2D sketch in the direction of the normal.
The second part is a rectangular bar with a flat top and bottom and parallel side... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.0281, 0)
.lineTo(0.0281, 0.1328)
.lineTo(0, 0.1328)
.close()
.extrude(0.75)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0.328125, 0.75, 0.03125))
# Part 2: join
part_2 = (
cq.Wor... |
Start by creating a rectangular object with a rectangular cutout in the center. The main rectangle has a length of zero point two five nine six meters and a width of zero point seven five meters. Inside this rectangle, there is a smaller rectangular cutout that is centrally located. The entire shape is then scaled down... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.2588, 0)
.lineTo(0.2588, 0.75)
.lineTo(0, 0.75)
.close()
.moveTo(0.0735, 0.0853)
.lineTo(0.1882, 0.0853)
.lineTo(0.1882, 0.6647)
.lineTo(0.0735, 0.6647)
.close()
.extrude(0.0469)
)
... |
The design involves creating a rounded cylindrical base. Start by setting up a new coordinate system with specific rotations and translations. Then, draw a circle on the first face and scale it down. Transform the scaled circle into a three-dimensional shape by rotating and translating it. Extrude the transformed shape... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.3765, 0.3765)
.circle(0.3735)
.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/0010/00109691.stl")
|
Create a new coordinate system and draw a two-dimensional sketch on the first face. The sketch consists of a complex rectangular section and a small circular cutout. The rectangular section has a series of lines forming a unique shape, and the circular cutout is positioned within the rectangle. After drawing the sketch... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.7265, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.4235)
.lineTo(0.7265, 0.4235)
.lineTo(0.4088, 0.4235)
.lineTo(0.3529, 0.4235)
.lineTo(0.3529, 0.2118)
.lineTo(0, 0.2118)
.close()
.moveTo(0... |
The part is a rectangular prism with a unique cross-sectional shape. The base of the prism is a complex polygon with eight sides, which is then scaled down to 75% of its original size. This scaled shape is rotated and translated to align with the desired orientation and position. The shape is then extruded 0.1054 units... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.0029)
.lineTo(0.0059, 0.0029)
.lineTo(0.0176, 0.0147)
.lineTo(0.7324, 0.0147)
.lineTo(0.75, 0.0029)
.lineTo(0.7529, 0.0059)
.lineTo(0.7353, 0.0176)
.lineTo(0.0147, 0.0176)
.close()
.extrude(0.2031... |
The rectangular block is designed with rounded edges and corners. It features a flat top and bottom, with parallel sides. The block's dimensions are approximately zero point seven five units in length, zero point four nine units in width, and zero point two five units in height. The design process involves creating a t... | 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.0618, 0.4912)
.threePointArc((0.0176, 0.4735), (0, 0.4294))
.close()
.extrude(0.25)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).rotate((0, 0, 0), (0, 0... |
The design consists of two main parts. The first part is a ring-shaped object with a flat, circular cross-section and smooth, rounded edges. It measures 0.75 units in length and width, and 0.0857 units in height. The second part is a cylindrical cup with a rounded bottom and a flat top. It measures 0.5714 units in leng... | 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.2882)
.extrude(0.0859)
)
# Part 2: join
part_2 = (
cq.Workplane("XY")
.moveTo(0.2863, 0.2863)
.circle(0.284)
.moveTo(0.2863, 0.2863)
.... |
Start by creating a new coordinate system with specific rotations and translations. On the first face, draw a closed loop that forms a complex shape. This shape is then scaled down to fit the desired size. The scaled shape is rotated and translated according to the coordinate system settings. Next, extrude this shape t... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.1412)
.lineTo(0, 0.2824)
.lineTo(0.75, 0.2824)
.lineTo(0.75, 0.1412)
.lineTo(0.5147, 0.1412)
.lineTo(0.5147, 0)
.lineTo(0.2824, 0)
.lineTo(0.2824, 0.1412)
.close()
.extrude(0.5625)
)
part_1 = part... |
Start by creating a new coordinate system with specific Euler angles and a translation vector. Then, draw a rectangular sketch on a new face. This sketch forms a rectangle with a length of 0.03 and a width of 0.75. Scale the sketch to reduce its size. Rotate and translate the scaled sketch according to the coordinate s... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.0294, 0)
.lineTo(0.0294, 0.75)
.lineTo(0, 0.75)
.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, "./... |
The design involves three main parts. The first part is a rectangular prism with rounded edges, featuring a length of 0.1546, a width of 0.75, and a height of 0.1701. This part is created by drawing a two-dimensional sketch, scaling it, transforming it into three dimensions, and then extruding it. The second part is a ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.0382, 0)
.threePointArc((0.1206, 0.0353), (0.1559, 0.1147))
.lineTo(0.1559, 0.75)
.lineTo(0, 0.75)
.close()
.extrude(0.1719)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.17187... |
The design involves creating a hollow cylindrical object. Start by establishing a coordinate system with no rotation or translation. Sketch two concentric circles on a single face, one larger and one smaller, to define the outer and inner boundaries of the cylinder. Scale the sketch to fit the desired size and then ext... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.1412, 0.1412)
.circle(0.1401)
.moveTo(0.1412, 0.1412)
.circle(0.0629)
.extrude(0.75)
)
result = part_1
cq.exporters.export(result, "./stlcq/0015/00151083.stl")
|
Start by creating a new coordinate system with specific rotations and translations. On the first face, draw a circle and scale it down. Transform the 2D sketch into 3D by rotating and translating it according to predefined angles and vectors. Extrude the 2D sketch to form a 3D model, ensuring the extrusion depth is cor... | 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.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.125, 0))
result = part_1
cq.exporters.export(result, "./stlcq/0050/00505925.stl")
|
The fidget spinner hub and arms consist of a central hub surrounded by three curved arms. The central hub is a circular shape with several smaller circular cutouts. The arms extend outward from the hub and are formed by a series of connected arcs, giving them a smooth, flowing appearance. The entire structure is then r... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.1561, 0.237)
.threePointArc((0, 0.0251), (0.2649, 0.0056))
.threePointArc((0.3597, 0.0725), (0.4572, 0.0056))
.threePointArc((0.7109, 0), (0.605, 0.2314))
.threePointArc((0.4963, 0.2816), (0.4879, 0.3987))
.threePoi... |
The design involves creating a cylindrical base. Start by setting up a new coordinate system with Euler angles set to zero and a translation vector of 0.225, 0.225, and 0.0. Draw a circle in a two-dimensional sketch, then scale and transform this sketch into a three-dimensional object. Extrude the sketch to form a soli... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.149, 0.149)
.circle(0.1479)
.extrude(0.1484)
)
part_1 = part_1.translate((0.226562, 0.226562, 0))
result = part_1
cq.exporters.export(result, "./stlcq/0071/00711949.stl")
|
The cylindrical base is created by first establishing a coordinate system with no rotation or translation. A circle is then drawn within a new face, centered at [0.375, 0.375] with a radius of 0.375. This circle is scaled down by 75% and then extruded along its normal by 0.0628 units to form a solid cylinder. The final... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.3765, 0.3765)
.circle(0.3735)
.extrude(0.0625)
)
result = part_1
cq.exporters.export(result, "./stlcq/0054/00547571.stl")
|
Create a rectangular prism with rounded edges and a slightly protruding top surface. Start by setting up a new coordinate system with specific angles and translations. Then, draw a two-dimensional sketch of a rectangle and scale it down. Transform this sketch into a three-dimensional shape by rotating and translating i... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.6676, 0)
.lineTo(0.6676, 0.75)
.lineTo(0, 0.75)
.close()
.extrude(0.3516)
)
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 rectangular plate with curved edges. The plate has a complex shape with multiple loops and arcs that define its contours. The first loop outlines the main body of the plate, including several arcs and straight lines to create the curved edges. The second loop forms a small, rounded rectan... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.0496)
.lineTo(0, 0.171)
.lineTo(0, 0.3667)
.threePointArc((0.0165, 0.4246), (0.0579, 0.466))
.lineTo(0.6452, 0.466)
.threePointArc((0.6866, 0.4246), (0.7031, 0.3667))
.lineTo(0.7031, 0.171)
.lineTo(0.7031... |
The first part of the L-shaped CAD model consists of a rectangular base with a vertical extension. The base has a length of 0.75 units and a width of 0.5833 units. The vertical extension rises to a height of 0.3333 units. The base and the vertical extension are integrated into a single solid body, forming an L-shape. T... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.1676)
.lineTo(0.1676, 0.1676)
.lineTo(0.1676, 0.5824)
.lineTo(0, 0.5824)
.close()
.extrude(0.3359)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.3359... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.