input stringlengths 267 2.05k | output stringlengths 209 3.36k |
|---|---|
Start by setting up a new coordinate system with specific rotations and translations. Draw a two-dimensional sketch on the first face, forming a rectangular shape with a cutout. Scale this sketch to fit the desired size. Transform the scaled sketch into a three-dimensional object by applying the necessary rotations and... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.5, 0)
.lineTo(0.5, 0.625)
.lineTo(0.25, 0.625)
.lineTo(0.25, 0.25)
.lineTo(0, 0.25)
.close()
.extrude(0.75)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.75, 0))
result = ... |
Start by creating a new coordinate system with specific Euler angles and a translation vector. Then, draw a circular loop on a new face. After drawing the circle, scale the sketch to reduce its size. Transform the scaled sketch into three dimensions by applying the same Euler angles and translation vector. Finally, ext... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.251, 0.251)
.circle(0.249)
.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/0041/00418186.stl")
|
The first part involves creating a rectangular box with a rectangular cutout on the front face. The box has a flat top and bottom, and the cutout is centered on the front face. The dimensions of this part are a length of zero point three eight five, a width of zero point zero eight five, and a height of zero point six ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.3828, 0)
.lineTo(0.3828, 0.0841)
.lineTo(0, 0.0841)
.close()
.moveTo(0.021, 0.021)
.lineTo(0.3618, 0.021)
.lineTo(0.3618, 0.0631)
.lineTo(0.021, 0.0631)
.close()
.extrude(0.6641)
)
... |
Start by creating a new coordinate system with Euler angles set to zero and a translation vector of zero, zero, and 0.75. Draw a circular shape on a single face within this coordinate system. Scale the circular shape to fit the desired dimensions. Transform the scaled shape into a three-dimensional object by applying t... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.0118, 0.0118)
.circle(0.0117)
.extrude(0.75)
)
result = part_1
cq.exporters.export(result, "./stlcq/0009/00097390.stl")
|
Start by creating a new coordinate system with specific Euler angles and a translation vector to position the part correctly. Draw a 2D sketch that forms the base of the part, consisting of a rectangular shape with a triangular protrusion on one side. Scale the 2D sketch to fit the desired size. Transform the scaled 2D... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.3206)
.lineTo(0.5353, 0.4735)
.lineTo(0.2147, 0.4735)
.lineTo(0.2147, 0.3206)
.lineTo(0, 0.3206)
.close()
.extrude(0.2109)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, ... |
Start by creating a rectangular plate with rounded edges and a flat surface. The plate has a length of 0.75 units, a width of 0.5357 units, and a height of 0.0536 units. The plate is created by extruding a two-dimensional sketch into a three-dimensional model. The sketch is drawn as a rectangle and then scaled down bef... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.5353)
.lineTo(0, 0.5353)
.close()
.extrude(0.0547)
)
result = part_1
cq.exporters.export(result, "./stlcq/0068/00680716.stl")
|
A cylindrical object is created by defining a new coordinate system and drawing a circular face on the specified plane. The circle is then scaled down and transformed according to the defined angles and translations. The resulting 2D sketch is extruded to form a 3D model with a height of 0.75 units and a base that is 0... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.102, 0.102)
.circle(0.1012)
.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/00620346.stl")
|
The design consists of two main parts: a pentagon-shaped object and a cylindrical hole. The pentagon-shaped object features a flat top and bottom with five equal sides. It measures approximately 0.75 units in length, 0.70 units in width, and 0.009 units in height. The cylindrical hole is positioned within the pentagon-... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.467647)
.lineTo(0.541176, 0.697059)
.lineTo(0, 0.697059)
.close()
.extrude(0.007812)
)
# Part 2: cut
part_2 = (
cq.Workplane("XY")
.moveTo(0.015686, 0.015564)
.c... |
Create a new coordinate system with specific rotations and translations. On this plane, draw a circular base and scale it down. Transform the scaled circle into a three-dimensional shape by rotating and translating it. Finally, extrude the circle in one direction to form a solid cylinder. The final dimensions of the cy... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.3137, 0.3137)
.circle(0.3113)
.extrude(0.0078)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.054688, 0.03125))
result = part_1
cq.exporters.export(result, "./stlcq/0018/00188189.stl")
|
Start by creating a new coordinate system with specific rotations and translations. Draw a circular face and then scale it down to achieve the desired size. Transform this scaled 2D sketch into a 3D object by rotating and translating it. Finally, extrude the 2D sketch to create a solid cylindrical object. The final dim... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.0549, 0.0549)
.circle(0.0545)
.extrude(0.375)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.375, 0))
result = part_1
cq.exporters.export(result, "./stlcq/0063/00639368.stl")
|
Start by creating a new coordinate system with specific angles and translations. Draw a two-dimensional rectangular sketch on the first face. This rectangle will be transformed and scaled to fit the desired dimensions. After scaling, rotate and translate the sketch to position it correctly in three-dimensional space. F... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.3882)
.lineTo(0.0029, 0.3882)
.close()
.extrude(0.0703)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.34375, 0))
result = part_1
cq.exporters.export(result... |
The design consists of three main parts. The first part is a rectangular prism with a curved depression on one face. This part has a length of 0.4875, a width of 0.24375, and a height of 0.375. The second part is a cylinder with rounded tops and bottoms. It has a length of 0.4375, a width of 0.4375, and a height of 0.2... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.4844, 0)
.lineTo(0.4844, 0.2431)
.lineTo(0.4046, 0.2431)
.threePointArc((0.2431, 0.0817), (0.0817, 0.2431))
.lineTo(0, 0.2431)
.close()
.extrude(0.375)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0... |
The design involves creating a rectangular plate with rounded corners and a slightly curved top edge. The plate is constructed by first drawing a two-dimensional sketch on a plane, which consists of a series of lines forming a specific shape. This sketch is then scaled down by 75% and transformed into a three-dimension... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.1706)
.lineTo(0.6382, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.1706)
.lineTo(0.75, 0.3088)
.lineTo(0.75, 0.5735)
.lineTo(0.0412, 0.5735)
.lineTo(0, 0.4176)
.close()
.extrude(0.0234)
)
result = part_1
... |
The design consists of two main parts. The first part is a rectangular base with rounded edges and corners. It has a length of 0.15 units, a width of 0.525 units, and a height of 0.6 units. The second part is a protruding vertical section that extends from the base. This section has a length of 0.3 units, a width of 0.... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.1498, 0)
.lineTo(0.1498, 0.5234)
.lineTo(0, 0.5234)
.close()
.extrude(0.6016)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0.078125, 0.75, 0))
# Part 2: join
part_2 = (
cq.Workpla... |
The object consists of two rectangular prisms stacked on top of each other. The larger prism is positioned horizontally, and the smaller prism is placed vertically on top of the larger one. The dimensions of the object are approximately zero point seven five units in length, zero point five four units in width, and zer... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.3206)
.lineTo(0.5353, 0.3206)
.lineTo(0.5353, 0.5353)
.lineTo(0.2147, 0.5353)
.lineTo(0.2147, 0.3206)
.lineTo(0, 0.3206)
.close()
.extrude(0.3203)
)
part_1 = part... |
To create the cube, start by setting up a new coordinate system with no rotation or translation. Draw a square on the first face, ensuring that each side measures approximately 0.7075 units. Scale the entire sketch uniformly to maintain the proportions. Transform the sketch into three-dimensional space without altering... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.7109, 0)
.lineTo(0.7109, 0.7109)
.lineTo(0, 0.7109)
.close()
.extrude(0.75)
)
result = part_1
cq.exporters.export(result, "./stlcq/0059/00596075.stl")
|
Start by creating a new coordinate system aligned with the default axes. Draw a rectangular shape on the first face, forming a closed loop with four lines. After drawing the rectangle, scale the shape to fit the desired dimensions. Transform the two-dimensional sketch into three-dimensional space without altering its o... | 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.375)
)
result = part_1
cq.exporters.export(result, "./stlcq/0048/00487409.stl")
|
Construct a rectangular block with rounded edges and a flat top. Begin by creating a new coordinate system with specific angles and translations. Next, draw a two-dimensional sketch that outlines the base shape of the block. This sketch includes several lines that form a complex shape with rounded corners. After comple... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.0266, 0)
.lineTo(0.0266, 0.1328)
.lineTo(0.0177, 0.1328)
.lineTo(0.0177, 0.0974)
.lineTo(0.0089, 0.0974)
.lineTo(0.0089, 0.1328)
.lineTo(0, 0.1328)
.close()
.extrude(0.375)
)
part_1 = p... |
The design consists of two parts: a cylindrical washer and a cylindrical ring, both featuring central holes. The cylindrical washer has a square profile with a length and width of approximately 0.589 units and a height of 0.1178 units. The cylindrical ring also has a square profile with a length and width of about 0.43... | 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 with specific rotations and translations. On the first face, draw two concentric circles with different radii. Scale the entire sketch to adjust the size. Transform the sketch by rotating and translating it according to the coordinate system settings. Extrude the sketch in both... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.2392, 0.2392)
.circle(0.2373)
.moveTo(0.2392, 0.2392)
.circle(0.2149)
.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/0... |
The first part involves creating a cube with a triangular cutout on one face. The cube has a length of 0.75 units, a width of 0.375 units, and a height of 0.5 units. The triangular cutout is positioned on one of the faces, giving the cube a distinctive shape. For the second part, a rectangular column with rounded edges... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0.3765)
.lineTo(0, 0.3765)
.close()
.extrude(0.5)
)
# Part 2: cut
part_2 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.1255, 0)
.lineTo(0.1255, 0.5)
.lineTo(0, 0.5)
.close()
... |
The design involves creating a U-shaped, open-frame structure with a flat top and a rectangular base. Start by setting up a new coordinate system with specific Euler angles and a translation vector. Draw a complex two-dimensional sketch on the first face, consisting of a series of connected lines that form a U-shape wi... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.0588)
.lineTo(0.7118, 0.0588)
.lineTo(0.0382, 0.0588)
.lineTo(0.0382, 0.4794)
.lineTo(0.7118, 0.4794)
.lineTo(0.75, 0.4794)
.lineTo(0.75, 0.5412)
.lineTo(0, 0.541... |
Start by setting up a new coordinate system with specific rotations and translations. Draw the first face with two concentric circles, followed by the second face which consists of a complex shape made up of lines and arcs. The third face includes two concentric circles as well. After completing the initial sketches, s... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.0941, 0.1882)
.circle(0.0941)
.moveTo(0.0941, 0.1882)
.circle(0.0559)
.extrude(0.1875)
)
part_1 = part_1.union(
cq.Workplane("XY")
.moveTo(0.15, 0.1118)
.lineTo(0.5088, 0.0088)
.threePointArc((0.3735, 0.... |
Create a new coordinate system with specific Euler angles to orient the model correctly. Draw a rectangular shape on a new face, ensuring the proportions are maintained. Transform this two-dimensional sketch into a three-dimensional object by applying the necessary rotation and translation. Extrude the sketch to form a... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.5156, 0)
.lineTo(0.5156, 0.0324)
.lineTo(0, 0.0324)
.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 two main parts. The first part is a cylindrical ring with a central hole, featuring a length and width of approximately 0.2074 units and a height of 0.0517 units. The second part is a rectangular base with a pointed top, measuring about 0.2048 units in length, 0.6296 units in width, and 0.0517 un... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.1059, 0.1059)
.circle(0.1051)
.moveTo(0.1059, 0.1059)
.circle(0.0653)
.extrude(0.0469)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.078125, 0))
# Part 2: join
part_2 = (
cq.Workplane("XY")
... |
Create a rectangular plate by starting with a two-dimensional sketch on a flat surface. The sketch forms a rectangle with a length of 0.75 units and a width of 0.5 units. After drawing the sketch, transform it into a three-dimensional object by extruding it 0.025 units along the normal direction to create a solid body.... | 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.0234)
)
result = part_1
cq.exporters.export(result, "./stlcq/0098/00985584.stl")
|
The support bracket consists of a central circular hole and three additional holes arranged in a triangular pattern around it. The overall shape is created by first drawing a complex two-dimensional sketch on a face, which includes a series of arcs forming an outer boundary and several smaller circles. This sketch is t... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.0765, 0.3)
.threePointArc((0.2382, 0.2382), (0.3, 0.0765))
.threePointArc((0.3765, 0), (0.45, 0.0765))
.threePointArc((0.5118, 0.2382), (0.6765, 0.3))
.threePointArc((0.75, 0.3765), (0.6765, 0.45))
.threePointArc((0... |
The design involves creating a T-shaped structure. Start by setting up a new coordinate system with specific Euler angles and a translation vector. The structure is composed of four faces, each defined by a loop of four lines. The first face forms a square, while the second and fourth faces form rectangles. The third f... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.25, 0)
.lineTo(0.25, 0.25)
.lineTo(0, 0.25)
.close()
.extrude(0.25)
)
part_1 = part_1.union(
cq.Workplane("XY")
.moveTo(0.25, 0)
.lineTo(0.5, 0)
.lineTo(0.5, 0.25)
.lineTo(0.25, 0.2... |
Start by creating a new coordinate system aligned with the global axes. Draw a rectangular sketch on the top face of the cylinder. The rectangle has a length and width of 0.05 units. After drawing the sketch, apply a scale factor to adjust its size. Transform the scaled sketch into three-dimensional space by aligning i... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.0469, 0)
.lineTo(0.0469, 0.0469)
.lineTo(0, 0.0469)
.close()
.extrude(0.75)
)
result = part_1
cq.exporters.export(result, "./stlcq/0057/00573726.stl")
|
The L-shaped CAD model consists of two main parts. The first part forms the base of the model, which is a rectangular solid with a length of 0.75 units, a width of 0.5 units, and a height of 0.4167 units. The second part is the top, which is a smaller rectangular solid with a length of 0.1667 units, a width of 0.3333 u... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.332353)
.lineTo(0.25, 0.332353)
.lineTo(0.25, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.167647)
.lineTo(0.417647, 0.167647)
.lineTo(0.417647, 0.5)
.lineTo(0, 0.5)
.close()
.extrude(0.414062)
)
part_1 = ... |
Create a rectangular block by starting with a new coordinate system. Set the Euler angles to 0.0, 0.0, and -90.0 degrees, and the translation vector to 0.0, 0.75, and 0.0 units. Draw a rectangle on a new face, ensuring it has the correct proportions. After drawing, scale the rectangle and then rotate and translate it t... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.2266, 0)
.lineTo(0.2266, 0.0471)
.lineTo(0, 0.0471)
.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... |
Create a ring-shaped solid with a circular cross-section and smooth edges. The ring has a uniform thickness and is symmetrically centered around the origin. The outer diameter of the ring is 0.75 units, while the inner diameter is slightly smaller, resulting in a consistent thickness throughout. The height of the ring ... | 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.3353)
.extrude(0.0391)
)
result = part_1
cq.exporters.export(result, "./stlcq/0038/00385968.stl")
|
The first part involves creating a cylindrical base with a rounded top and bottom. This part has a smooth surface and a uniform diameter throughout. The dimensions are: length of zero point five units, width of zero point five units, and height of zero point seven five units. The second part is a cylindrical cutout tha... | 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((... |
The first part involves creating a ring-shaped object with a hollow center and a flat, circular base. The ring has a smooth, cylindrical shape with a consistent thickness throughout. Its dimensions are approximately half a unit in both length and width, and slightly over a tenth of a unit in height.
The second part is... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.2392, 0.2392)
.circle(0.2373)
.moveTo(0.2392, 0.2392)
.circle(0.1177)
.extrude(0.1094)
)
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 with no rotation or translation. Draw a square on the first face, ensuring all sides are equal. Scale the square down to 75% of its original size. Convert the scaled square into a three-dimensional object by applying the initial coordinate system settings. Extrude the square 0.... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.75)
.lineTo(0, 0.75)
.close()
.extrude(0.75)
)
result = part_1
cq.exporters.export(result, "./stlcq/0024/00246722.stl")
|
Start by creating a new coordinate system with the euler angles set to zero and the translation vector set to [0.0, -0.627, 0.0]. Draw a rectangular sketch on the first face, then scale it to fit the desired size. Transform this sketch into three-dimensional space using the same coordinate settings. Extrude the sketch ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.6902, 0)
.lineTo(0.6902, 1.375)
.lineTo(0, 1.375)
.close()
.extrude(0.3438)
)
part_1 = part_1.translate((0, -0.625, 0))
result = part_1
cq.exporters.export(result, "./stlcq/0080/00803677.stl")
|
Start by creating a new coordinate system and drawing a circular sketch on a new face. This circle will serve as the base for the cylinder. After scaling the sketch to the desired size, transform it to the correct position. Extrude the sketch in both directions along its normal to form a solid cylinder. The final dimen... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.1961, 0.1961)
.circle(0.1945)
.extrude(0.375)
)
part_1 = part_1.translate((0, 0, 0.1875))
result = part_1
cq.exporters.export(result, "./stlcq/0098/00986324.stl")
|
The design involves creating a rounded rectangular base with a protruding section. The base is constructed using a series of arcs and lines that form a complex, curved shape. The protruding section adds a raised area on one side of the base, giving the overall design a distinctive profile. The base and the protruding s... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.0824)
.threePointArc((0.0059, 0.0676), (0.0235, 0.0618))
.lineTo(0.0382, 0.0618)
.threePointArc((0.1, 0), (0.1618, 0.0618))
.lineTo(0.3647, 0.0618)
.threePointArc((0.3882, 0.1529), (0.4824, 0.1706))
.lineTo(0... |
The rectangular plate is created by starting with a simple two-dimensional sketch of a rectangle. This sketch is then scaled down and transformed into a three-dimensional object by extruding it along the normal direction. The final part is a solid rectangular plate with a length slightly less than 0.75 units, a width o... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.1853)
.lineTo(0, 0.1853)
.close()
.extrude(0.0078)
)
result = part_1
cq.exporters.export(result, "./stlcq/0001/00015335.stl")
|
Start by creating a new coordinate system with the specified settings. Draw a circular sketch on a new face, ensuring it is centered and scaled appropriately. Transform this sketch into a three-dimensional object by rotating and translating it according to the given parameters. Extrude the sketch to create a solid cyli... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.0745, 0.0745)
.circle(0.0739)
.extrude(0.1094)
)
part_1 = part_1.translate((0.296875, 0.296875, 0.09375))
result = part_1
cq.exporters.export(result, "./stlcq/0092/00928443.stl")
|
The cylindrical object is created by extruding a two-dimensional sketch into a three-dimensional solid. The base of the cylinder is defined by two concentric circles, with the outer circle forming the boundary and the inner circle creating a hollow core. After scaling and transforming the sketch, the extrusion process ... | 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/0060/00603392.stl")
|
The rounded S-shaped base is created by first defining a coordinate system with default settings. A two-dimensional sketch is then drawn on the first face, forming a single loop with three arcs that create an S-shape. After scaling the sketch to fit the desired size, it is transformed into a three-dimensional object an... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.0709)
.threePointArc((0.3054, 0), (0.6108, 0.0709))
.threePointArc((0.6953, 0.319), (0.4772, 0.1718))
.threePointArc((0.2481, 0.0736), (0, 0.0709))
.close()
.extrude(0.0234)
)
result = part_1
cq.exporters.expor... |
The design consists of three main parts. The first part is a cube with rounded edges and corners, measuring 0.75 units in length and width, and 0.3125 units in height. The second part is a ring with a circular cross-section and a flat top surface, measuring 0.673 units in length and width, and 0.0625 units in height. T... | 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.3125)
)
# Part 2: join
part_2 = (
cq.Workplane("XY")
.moveTo(0.3373, 0.3373)
.circle(0.3346)
.moveTo(0.3373, 0.3373)
... |
The design involves creating a hexagonal box with a circular hole on one face. The box has a length of 0.7500001034062098, a width of 0.7132923943987983, and a height of 0.531656755220025. Six cylindrical holes are then created within the box, each with a length and width of 0.31899405313201495 and varying heights rang... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.4412)
.lineTo(0.1441, 0)
.lineTo(0.6059, 0)
.lineTo(0.75, 0.4412)
.lineTo(0.3765, 0.7147)
.close()
.moveTo(0.3765, 0.3176)
.circle(0.2676)
.extrude(0.5312)
)
# Part 2: cut
part_2 = (
cq.Workplane... |
The design consists of four parts. The first part is a rectangular frame with a length of 0.7262, a width of 0.2812, and a height of 0.0223. It has an inner and outer loop forming a hollow rectangular shape. The second part is a long, thin rectangular prism with a length of 0.7262, a width of 0.0223, and a height of 0.... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.7266, 0)
.lineTo(0.7266, 0.2821)
.lineTo(0.3647, 0.2821)
.lineTo(0, 0.2821)
.close()
.moveTo(0.0228, 0.0228)
.lineTo(0.7038, 0.0228)
.lineTo(0.7038, 0.2593)
.lineTo(0.3647, 0.2593)
... |
The design involves constructing four parts that are assembled to form a final rectangular prism with rounded edges and a flat top. The first part is a rectangular prism with rounded edges, measuring 0.75 in length, 0.0191 in width, and 0.1913 in height. The second part is a cylindrical object that adds material to the... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.0206)
.lineTo(0, 0.0206)
.close()
.extrude(0.1875)
)
# Part 2: join
part_2 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.0206)
.lineT... |
The design involves creating a cylindrical object. Start by defining a new coordinate system and drawing a circular face on a specified plane. This circle is then scaled down and transformed into a three-dimensional shape through rotation and translation. The final step is to extrude this shape to form a solid cylinder... | 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/0031/00317641.stl")
|
The design involves creating two cylindrical objects that are combined to form the final shape. The first cylindrical object has a slightly curved top and bottom, with a smooth, rounded surface. It measures approximately 0.75 units in both length and width and 0.44 units in height. The second cylindrical object also ha... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.3765, 0.3765)
.circle(0.3735)
.extrude(0.4453)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.445312, 0))
# Part 2: cut
part_2 = (
cq.Workplane("XY")
.moveTo(0.0784, 0.0784)
.circle(0.0778)
... |
A cylindrical object is created by first defining a new coordinate system with specific rotations and translations. A circular sketch is then drawn on a new face and scaled appropriately. This 2D sketch is transformed into 3D by rotating and translating it, and then extruding it to form a solid body. The final dimensio... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.0941, 0.0941)
.circle(0.0934)
.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/0022/00224543.stl")
|
The design consists of two main parts. The first part is a rectangular box with a circular hole. It has a length of approximately seven hundred fifty millimeters, a width of around five hundred fifty-five millimeters, and a height of about three hundred eight millimeters. The second part is a cylinder with a central ho... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.5559)
.lineTo(0.0176, 0.5559)
.close()
.moveTo(0.3647, 0.2529)
.circle(0.1088)
.extrude(0.3047)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.429688,... |
Start by creating a new coordinate system with specific rotations and translations. Next, draw two two-dimensional sketches on separate faces, each forming a loop with specific vertices. These loops define the outline of the rectangular prism. After defining the sketches, scale them to fit the desired dimensions. Trans... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.25, 0)
.lineTo(0.25, 0.3137)
.lineTo(0.25, 0.625)
.lineTo(0, 0.625)
.lineTo(0, 0.3137)
.close()
.extrude(0.25)
)
part_1 = part_1.union(
cq.Workplane("XY")
.moveTo(0.25, 0)
.lineTo(0... |
The first part involves creating a cube with rounded edges and corners. The cube has a length of 0.75 units, a width of 0.75 units, and a height of 0.375 units. The second part involves constructing a rectangular box that attaches to the cube. The rectangular box has a length of 0.375 units, a width of 0.375 units, and... | 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.375)
)
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... |
The design involves creating a rectangular plate with four holes. The plate starts as a two-dimensional sketch on a face, consisting of a rectangular outline and four circular cutouts. The rectangular outline has a complex shape with several segments, and the circular cutouts are strategically placed within the outline... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.0735, 0)
.lineTo(0.3853, 0)
.lineTo(0.5853, 0)
.lineTo(0.5853, 0.6029)
.lineTo(0.5853, 0.75)
.lineTo(0, 0.75)
.lineTo(0, 0.6118)
.close()
.moveTo(0.0294, 0.6118)
.circle(0.0235)
... |
The rectangular box base is a solid structure with a slightly rounded top and bottom and sharp edges. The overall shape is a rectangular prism. The first step involves creating a two-dimensional sketch that forms the outline of the base. This sketch is then scaled down and transformed into a three-dimensional object. F... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.4765)
.lineTo(0, 0.4765)
.close()
.extrude(0.5156)
)
result = part_1
cq.exporters.export(result, "./stlcq/0096/00965385.stl")
|
The design involves creating a cylinder with rounded edges. Start by setting up a new coordinate system with specific Euler angles and a translation vector. The first face consists of a complex loop of arcs and lines that form a rounded shape, and a smaller circle within it. The second face is simply a circle. After de... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.1941)
.threePointArc((0.0118, 0.1353), (0.0559, 0.0971))
.lineTo(0.2382, 0.0235)
.threePointArc((0.3647, 0), (0.4912, 0.0235))
.lineTo(0.6735, 0.0971)
.threePointArc((0.7206, 0.1353), (0.7324, 0.1941))
.lineT... |
The first part consists of a triangular base with a rectangular top. The base has a length and width of 1.3636 units and a height of 0.3409 units. The second part features an S-shaped cutout, with a length of 0.3409 units, a width of 0.75 units, and a height of 0.0682 units. The third part is a cube with a diagonal cut... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 1.3672)
.lineTo(1.3725, 0.0054)
.lineTo(1.3672, 1.3672)
.close()
.extrude(0.3438)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((-0.617188, 0.515625, 0))
# Part 2: cut
part_2 = (
cq.Workplane("XY")
... |
The design consists of two main parts. The first part is a cylindrical base with a length of 0.75 units, a width of 0.75 units, and a height of 0.1875 units. This cylindrical base forms the foundation of the structure. The second part is a central circular hole that runs through the middle of the cylindrical base. The ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.3765, 0.3765)
.circle(0.3735)
.extrude(0.1875)
)
# Part 2: cut
part_2 = (
cq.Workplane("XY")
.moveTo(0.1882, 0.1882)
.circle(0.1868)
.extrude(0.1875)
)
part_2 = part_2.translate((0.1875, 0.1875, 0))
result = p... |
Start by creating a rectangular prism. The first step involves defining a new coordinate system with no rotation or translation. Draw a rectangle on the first face, ensuring it forms a closed loop with four straight lines. After completing the sketch, scale down the rectangle to 75% of its original size. Transform the ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.1294)
.lineTo(0, 0.1294)
.close()
.extrude(0.1328)
)
result = part_1
cq.exporters.export(result, "./stlcq/0070/00704680.stl")
|
The design involves creating a circular washer with a central hole. Start by setting up a new coordinate system with specific rotations and translations. Draw two circles on a face: the first circle serves as the outer boundary of the washer, and the second smaller circle defines the central hole. Scale the entire sket... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.3765, 0.3765)
.circle(0.3735)
.moveTo(0.2412, 0.3)
.circle(0.1529)
.extrude(0.0703)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.070312, 0))
result = part_1
cq.exporters.export(result, "./stlcq/0... |
The design consists of two main parts. The first part features a rectangular base with a curved top. This part has a length of 0.75, a width of 0.375, and a height of 0.28125. The second part is an S-shaped structure that connects to the first part. It has a length of 0.375, a width of 0.1875, and a height of 0.09375. ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.6588, 0.0971)
.lineTo(0.5618, 0.0941)
.lineTo(0.5618, 0.3765)
.lineTo(0.4676, 0.3765)
.threePointArc((0.3765, 0.2824), (0.2824, 0.3765))
.lineTo(0.1882, 0.3765)
.lineTo(0.1... |
Start by creating a new coordinate system with specific Euler angles and a translation vector. Draw a two-dimensional sketch that forms a unique shape with a slanted face. This shape consists of a rectangle with one corner cut off, forming a triangular section. After completing the sketch, scale it down to fit the desi... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.3735, 0.3735)
.lineTo(0.3735, 0.75)
.lineTo(0, 0.75)
.close()
.extrude(0.375)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.375, 0))
result = part_1
cq.expor... |
The rectangular block is a simple yet precise part designed with a rectangular shape. It has a slightly rounded top and bottom, giving it a smooth appearance, while maintaining sharp edges. The block's dimensions are carefully defined, with a length of 0.75 units, a width of 0.33 units, and a height of 0.4002 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.3294)
.lineTo(0, 0.3294)
.close()
.extrude(0.3984)
)
result = part_1
cq.exporters.export(result, "./stlcq/0030/00304204.stl")
|
Start by creating a new coordinate system with default settings. Draw a circular two-dimensional sketch on a new face, ensuring it is centered and appropriately sized. Scale the sketch to the desired size and transform it into three-dimensional space. Extrude the sketch along the normal direction to create a three-dime... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.098, 0.098)
.circle(0.0973)
.extrude(0.75)
)
result = part_1
cq.exporters.export(result, "./stlcq/0032/00324846.stl")
|
Create a new coordinate system with specific angles and translations to orient the model correctly. Draw a two-dimensional sketch on the first face, forming a complex shape with six straight lines. This shape is then scaled down and transformed into a three-dimensional object. The sketch is extruded in both directions ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.0938, 0)
.lineTo(0.0938, 0.0938)
.lineTo(0.082, 0.0938)
.lineTo(0.082, 0.0118)
.lineTo(0, 0.0118)
.close()
.extrude(0.375)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).rotate((0, 0, 0), (... |
The design involves creating a rectangular prism with a protruding rectangular section on one side. The protrusion aligns with the top surface of the prism. The overall shape is a solid body that combines the main rectangular prism and the smaller protruding section. The length of the prism is 0.75 units, the width is ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.1882)
.lineTo(0.6382, 0.1882)
.lineTo(0.6382, 0.3765)
.lineTo(0, 0.3765)
.close()
.extrude(0.1875)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.2812... |
Start by creating a new coordinate system aligned with the default axes. Draw a square on the first face, forming a closed loop with four equal sides. Scale the square to reduce its size uniformly. Transform the scaled square into a three-dimensional object without altering its orientation or position. Extrude the squa... | 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/0015/00151417.stl")
|
The model consists of a rectangular base and a rectangular top that is slightly elevated, forming a step-like structure. The base and top are symmetrical with sharp edges and corners. The dimensions of the final part are 0.75 units in length, 0.5 units in width, and 0.25 units in height. The base and top are integrated... | 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.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.25)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0... |
The first part involves creating a cylindrical object with a hollow center. This object has a length and width of approximately 0.75 units and a height of 0.45 units. The second part is a smaller cylindrical ring that fits inside the first part. This ring has a length and width of about 0.65 units and a height of 0.225... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.3765, 0.3765)
.circle(0.3735)
.moveTo(0.3765, 0.3765)
.circle(0.2235)
.extrude(0.4531)
)
# Part 2: cut
part_2 = (
cq.Workplane("XY")
.moveTo(0.3255, 0.3255)
.circle(0.3229)
.moveTo(0.3255, 0.3255)
.... |
The first part involves creating a rectangular prism with a length of approximately 0.75 units, a width of 0.5 units, and a height of 0.25 units. The second part involves creating a smaller rectangular cutout that is positioned on the top face of the first part and extends halfway down the prism. The cutout has a lengt... | 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.375, 0))
# Part 2: cut
part_2 = (
cq.Workplane("XY")
.moveT... |
The design involves creating a circular disk with a central hole and an additional small circular feature. The disk is initially drawn as a 2D sketch with three concentric circles and one additional small circle. After scaling the sketch to 75% of its original size, the sketch is rotated and translated to align with th... | 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.0265)
.moveTo(0.4882, 0.5206)
.circle(0.0176)
.extrude(0.0312)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.046875, 0))
resu... |
The design consists of two main parts. The first part is a ring with a circular cross-section and a flat top surface. It has a length and width of 0.75 units and a height of 0.078125 units. The second part is a cylindrical object with smooth surfaces and rounded edges. It has a length and width of 0.08125 units and a h... | 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.0781)
)
part_1 = part_1.translate((0, 0, 0.039062))
# Part 2: cut
part_2 = (
cq.Workplane("XY")
.moveTo(0.0392, 0.0392)
.circ... |
Start by creating a new coordinate system aligned with the global axes. Draw a two-dimensional rectangle on a new face, ensuring the dimensions are proportionate to the desired final size. Scale the rectangle to fit the intended dimensions. Transform the scaled rectangle into a three-dimensional object by extruding it ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.1265)
.lineTo(0, 0.1265)
.close()
.extrude(0.0156)
)
result = part_1
cq.exporters.export(result, "./stlcq/0013/00132194.stl")
|
The design involves creating a cylindrical object with a circular base. The base has a diameter of 0.1875 units, and the cylinder stands 0.75 units tall. The cylinder is created by extruding a circular sketch along the vertical axis. The final dimensions ensure that the cylinder has a consistent width and length, formi... | 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/0062/00628425.stl")
|
The first part involves creating an L-shaped CAD model. This model features a rectangular base and a vertical rectangular extension, with the base being wider than the vertical section. The L-shaped model has a length of zero point seven five, a width of zero point five eight three three, and a height of zero point thr... | 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... |
The design consists of two cylindrical objects, both with a similar base structure. The first cylinder has a height of 0.5625 units, while the second cylinder is taller, with a height of 0.75 units. Both cylinders have a consistent diameter, resulting in a length and width of 0.17187499999999997 units. These cylinders ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.0856, 0.0856)
.circle(0.0863)
.extrude(0.5625)
)
part_1 = part_1.translate((0, 0, 0.1875))
# Part 2: new
part_2 = (
cq.Workplane("XY")
.moveTo(0.0856, 0.0856)
.circle(0.0863)
.extrude(0.75)
)
result = part_1
r... |
The first step involves creating a new coordinate system with specific Euler angles and a translation vector. A two-dimensional sketch is then drawn, featuring a single face with a loop containing a circle. This sketch is scaled down and transformed into a three-dimensional object by applying the defined rotations and ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.1373, 0.1373)
.circle(0.1362)
.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/0019/00191629.stl")
|
The first intermediate part of the cylindrical object is created by defining a new coordinate system with specific Euler angles and a translation vector. A circular shape is drawn on a new face, then scaled down and transformed according to the coordinate system. This shape is then extruded to create a solid body with ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.1137, 0.1137)
.circle(0.1128)
.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/0021/00218900.stl")
|
The design involves creating a rectangular object with rounded edges. Start by defining a new coordinate system with specific Euler angles and a translation vector. The object consists of four faces, each defined by a series of lines forming closed loops. The first face forms a rectangle, while the other three faces ha... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.0647)
.lineTo(0.0971, 0.0647)
.lineTo(0.0941, 0.3853)
.lineTo(0, 0.3853)
.close()
.extrude(0.0078)
)
part_1 = part_1.union(
cq.Workplane("XY")
.moveTo(0.0941, 0.3853)
.lineTo(0.6529, 0.3559)
.line... |
Create a rectangular block by starting with a two-dimensional sketch on a face. The sketch forms a rectangle with a length of 0.75 units and a width of 0.4818 units. After defining the sketch, transform it into a three-dimensional shape by extruding it 0.3723 units in the direction of the normal. The resulting solid bo... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.4824)
.lineTo(0, 0.4824)
.close()
.extrude(0.375)
)
result = part_1
cq.exporters.export(result, "./stlcq/0089/00896994.stl")
|
To create a rectangular block with rounded edges and corners, start by defining a new coordinate system with specific Euler angles and a translation vector. Next, draw a two-dimensional rectangle on the first face. After drawing the rectangle, scale it down by a factor of 0.75. Transform this 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.5618)
.lineTo(0, 0.5618)
.close()
.extrude(0.1875)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.1875, 0))
result = part_1
cq.exporters.export(result, "./s... |
Create a rectangular plate with rounded edges and a flat surface. Start by defining a new coordinate system at the origin. Draw a two-dimensional rectangle with a specific length and width, then scale this rectangle to the desired size. Transform the scaled rectangle into a three-dimensional object and extrude it to cr... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.4882, 0)
.lineTo(0.4882, 0.75)
.lineTo(0, 0.75)
.close()
.extrude(0.0547)
)
result = part_1
cq.exporters.export(result, "./stlcq/0060/00602410.stl")
|
Start by creating a new coordinate system with default settings. Draw a two-dimensional sketch on the first face, forming a complex rectangle with a vertical extension. The shape consists of a long horizontal section and a shorter vertical section extending upwards. After completing the sketch, scale it down to 75% of ... | 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)
)
result = part_1
cq.exporters.export(result, "./stlcq/0059/00596857.stl")
|
The design consists of a rectangular bracket and two cylindrical objects with central holes. The rectangular bracket has a length of 0.75 units, a width of 0.125 units, and a height of 0.0625 units. It features a rectangular face with rounded corners and four small circular holes. The two cylindrical objects, each with... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.0618, 0)
.lineTo(0.6882, 0)
.threePointArc((0.75, 0.0618), (0.6882, 0.1265))
.lineTo(0.0618, 0.1265)
.threePointArc((0, 0.0618), (0.0618, 0))
.close()
.moveTo(0.6882, 0.0618)
.circle(0.0206)
.moveTo(0.5,... |
The design involves creating a rounded cylindrical object. Start by setting up a new coordinate system with specific angles and translations. Then, draw a circular shape on a new face and scale it down. Transform this scaled circle into a three-dimensional object by applying the necessary rotations and translations. Fi... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.1529, 0.1529)
.circle(0.1517)
.extrude(0.3984)
)
part_1 = part_1.translate((0.007812, 0.007812, 0))
result = part_1
cq.exporters.export(result, "./stlcq/0090/00906921.stl")
|
The design involves creating a cylindrical object with a hexagonal top and a flat base, followed by adding two rectangular sections to the top of the cylinder. The first part is a cylinder with a hexagonal top and a flat base, measuring approximately 0.0683 units in length and width and 0.3075 units in height. The seco... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.0176)
.threePointArc((0.0052, 0.0052), (0.0176, 0))
.lineTo(0.0527, 0)
.threePointArc((0.0651, 0.0052), (0.0703, 0.0176))
.lineTo(0.0703, 0.0527)
.threePointArc((0.0651, 0.0651), (0.0527, 0.0703))
.lineTo(0.0... |
The design involves creating a rounded cylindrical object. Start by setting up a new coordinate system with specific Euler angles and a translation vector. Draw two concentric circles on a face, then scale the entire sketch. Transform the sketch into a 3D shape by rotating and translating it. Finally, extrude the sketc... | 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.1853)
.extrude(0.0312)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.054688, 0))
result = part_1
cq.exporters.export(result, "./stlc... |
Start by creating a new coordinate system with specific rotational and translational settings. Draw a rectangular shape with a tapering effect on one end. Transform this shape into three dimensions by rotating and translating it according to the coordinate system. Extrude the shape to create a solid body that forms a r... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.3441, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.45)
.lineTo(0, 0.45)
.close()
.extrude(0.1172)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.117188, 0))
result = part_1
cq.exporter... |
Create a new coordinate system with default settings. Draw two circles, each with a radius of 0.0082 units, positioned vertically with a gap between them. The circles are centered at coordinates [0.0082, 0.0082] and [0.0082, 0.1007], respectively. Scale the entire sketch to reduce its size. Convert the scaled sketch in... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.0081, 0.0081)
.circle(0.0081)
.extrude(0.75)
)
part_1 = part_1.union(
cq.Workplane("XY")
.moveTo(0.0081, 0.1012)
.circle(0.0081)
.extrude(0.75)
)
result = part_1
cq.exporters.export(result, "./stlcq/0074/00748... |
Create a trapezoidal rectangular prism by starting with a new coordinate system aligned with the default axes. Draw a two-dimensional sketch of a trapezoid on the first face. The trapezoid has a base that is slightly longer than the top, forming a rectangular shape when viewed from above. Scale down the sketch to fit t... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.2912)
.lineTo(0, 0.2912)
.close()
.extrude(0.2109)
)
result = part_1
cq.exporters.export(result, "./stlcq/0097/00974766.stl")
|
Start by creating a new coordinate system with specific rotations and translations. Draw a rectangular sketch on the first face, forming a closed loop. Scale the sketch to reduce its size. Transform the scaled sketch into three-dimensional space by applying a rotation and translation. Extrude the transformed sketch to ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.0618)
.lineTo(0, 0.0618)
.close()
.extrude(0.0625)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.0625, 0))
result = part_1
cq.exporters.export(result, "./s... |
To create the cube, start by setting up a new coordinate system with specific Euler angles and a translation vector. Draw a two-dimensional square sketch and scale it down. Transform this sketch into three dimensions by applying the rotation and translation from the coordinate system. Extrude the transformed sketch to ... | 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)
)
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/005... |
The design involves creating a rectangular base with a hollow center and sharp edges. The base is constructed by drawing a complex two-dimensional outline on a single face, which is then transformed into a three-dimensional object. The outline consists of a series of connected lines that form a rectangular shape with a... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.3647, 0)
.lineTo(0.4971, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.4618)
.lineTo(0.4971, 0.4618)
.lineTo(0.4971, 0.2088)
.lineTo(0.2353, 0.2088)
.lineTo(0.2353, 0.4618)
.lineTo(0, 0.4618)
... |
Start by creating a new coordinate system with specific Euler angles and a translation vector. Draw a two-dimensional sketch that forms a rectangular base with a triangular top. This sketch is then scaled down and transformed into a three-dimensional shape by applying the specified rotations and translations. The final... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.3588, 0)
.lineTo(0.3588, 0.1471)
.lineTo(0.0765, 0.75)
.lineTo(0, 0.75)
.close()
.extrude(0.0312)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).rotate((0, 0, 0), (0, 0, 1), 90)
result = part_... |
The design involves creating a semi-circular bracket with slots. The process starts by setting up a new coordinate system and drawing a complex two-dimensional sketch on the first face. This sketch includes an arc and several lines that form the outline of the bracket. After completing the sketch, it is scaled down to ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.3765)
.threePointArc((0.3765, 0), (0.75, 0.3765))
.lineTo(0.5147, 0.3765)
.lineTo(0.5147, 0.2588)
.lineTo(0.4912, 0.2588)
.lineTo(0.4912, 0.3765)
.lineTo(0.3765, 0.3765)
.lineTo(0.2588, 0.3765)
.lineT... |
The first part of the design involves creating a cylindrical base with a rectangular cutout. This part has a length of approximately 0.146 units, a width of 0.623 units, and a height of 0.182 units. The second part is a ring with a gap, featuring a length of around 0.146 units, a width of 0.743 units, and a height of 0... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.threePointArc((0.0735, 0.625), (0.1471, 0))
.lineTo(0.1471, 0.2426)
.threePointArc((0.0735, 0.4069), (0, 0.2426))
.close()
.extrude(0.1797)
)
part_1 = part_1.translate((0.304688, 0.0625, 0))
# Part 2: new
part... |
The design consists of two main parts. The first part is a rectangular prism with a slightly tilted top surface. This part has a length of 0.75, a width of 0.5625, and a height of 0.28125. The second part is a smaller rectangular object with rounded edges and a slightly protruding top surface. This part has a length of... | 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()
.moveTo(0.0088, 0.0088)
.lineTo(0.7412, 0.0088)
.lineTo(0.7412, 0.5529)
.lineTo(0.0088, 0.5529)
.close()
.extrude(0.2812)
)
... |
The design involves creating a rounded cylindrical object. Start by setting up a new coordinate system with default angles and translations. Draw a circular shape on the first face, then scale it down to fit the desired size. This scaled circle is transformed into a three-dimensional object by extruding it along its no... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.1843, 0.1843)
.circle(0.1829)
.extrude(0.75)
)
result = part_1
cq.exporters.export(result, "./stlcq/0036/00367760.stl")
|
Start by creating a new coordinate system for the first part, then draw a rectangular shape on the first face. Scale down the rectangle and transform it into 3D space. Extrude the shape to create a rectangular prism with a height of zero point seven five units, a width of zero point five units, and a length of zero poi... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.251, 0)
.lineTo(0.251, 0.5)
.lineTo(0, 0.251)
.close()
.extrude(0.75)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).rotate((0, 0, 0), (0, 0, 1), 90).translate((0, 0.25, 0))
# Part 2: join
part_2 ... |
Start by creating a rectangular block with rounded edges and corners. The block will have a length of 0.75 units, a width of approximately 0.431 units, and a height of 0.3333 units. The design involves creating a two-dimensional sketch that forms the base of the block, which includes a series of lines and an arc to giv... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.4324)
.lineTo(0.1676, 0.4324)
.threePointArc((0.05, 0.3824), (0, 0.2647))
.close()
.extrude(0.3359)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.335938,... |
The design involves creating a symmetrical geometric shape with a central circular opening and eight triangular flaps. The shape is constructed by defining several triangular faces, each with precise coordinates. These faces are then scaled down and transformed into a 3D model. The final model has a length of approxima... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.4706)
.lineTo(0.2941, 0.5853)
.lineTo(0.1765, 0.6235)
.close()
.extrude(0.0156)
)
part_1 = part_1.union(
cq.Workplane("XY")
.moveTo(0.0618, 0.3765)
.lineTo(0.0735, 0.1441)
.lineTo(0.1676, 0.4441)
... |