input stringlengths 267 2.05k | output stringlengths 209 3.36k |
|---|---|
Create a rectangular plate by drawing a two-dimensional sketch on a new coordinate system. The sketch forms a rectangle with a length of approximately 0.509 units and a width of 0.75 units. After scaling the sketch, transform it into a three-dimensional object and extrude it to create a solid body. The final extrusion ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.5088, 0)
.lineTo(0.5088, 0.75)
.lineTo(0, 0.75)
.close()
.extrude(0.0156)
)
result = part_1
cq.exporters.export(result, "./stlcq/0006/00061693.stl")
|
To create the cylindrical object, start by setting up a new coordinate system with specific Euler angles and a translation vector. Draw a circular loop on a new face, centering it and defining its radius. Scale the circular loop to reduce its size. Rotate and translate the scaled loop according to the coordinate system... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.1255, 0.1255)
.circle(0.1245)
.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/0028/00281948.stl")
|
Start by creating a new coordinate system aligned with the global axes. On the first face, draw a rectangular loop with precise corners. Scale this rectangle to reduce its size. Transform the scaled rectangle into a three-dimensional object by extruding it along the normal direction to create a thin rectangular base. T... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.6559, 0)
.lineTo(0.6559, 0.75)
.lineTo(0, 0.75)
.close()
.extrude(0.0234)
)
result = part_1
cq.exporters.export(result, "./stlcq/0090/00909065.stl")
|
Create a new coordinate system and define a rectangular section at one end of a cylindrical object. The rectangular section is created by drawing a 2D sketch of a rectangle and then transforming it into a 3D shape. The rectangle has equal sides, forming a square, and is positioned at a specific location on the cylindri... | 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, 0.0312)
.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 first part is a square plate with rounded edges. It has a length of approximately 0.75 units, a width of about 0.676 units, and a height of around 0.0136 units. The second part is a cylinder with a slightly rounded top and bottom. It has a length and width of about 0.461 units and a height of around 0.341 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.6765)
.lineTo(0, 0.6765)
.close()
.moveTo(0.3765, 0.3382)
.circle(0.2294)
.extrude(0.0156)
)
part_1 = part_1.union(
cq.Workplane("XY")
.moveTo(0.3765, 0.3382)
... |
Start by creating a new coordinate system with specific rotational and translational adjustments. Draw a rectangular face with a circular hole in the center. The rectangle forms the outer boundary, while the circle cuts through the middle. Scale down the entire sketch to fit the desired dimensions. Transform the scaled... | 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()
.moveTo(0.1882, 0.6)
.circle(0.0765)
.extrude(0.5)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.5, 0))
result = p... |
The object is a rectangular prism with a triangular cutout on the top face, creating a pentagonal shape on the top surface. The base of the object is flat, and the edges are sharp. The overall dimensions of the object are 0.4375 units in length, 0.75 units in width, and 0.1875 units in height. The triangular cutout add... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.4382, 0)
.lineTo(0.4382, 0.35)
.threePointArc((0.4324, 0.3735), (0.4206, 0.3941))
.lineTo(0.0794, 0.7324)
.threePointArc((0.0618, 0.7441), (0.0353, 0.75))
.lineTo(0, 0.75)
.close()
.extrude... |
Start by creating a new coordinate system with specific Euler angles and a translation vector. Draw a two-dimensional sketch that forms a rounded rectangle. This sketch includes straight lines and arcs to create the desired shape. Scale the sketch to fit the required dimensions. Transform the scaled sketch into three d... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.0054)
.lineTo(0.31, 0)
.threePointArc((0.5203, 0.2076), (0.31, 0.4152))
.lineTo(0, 0.4098)
.threePointArc((0.6875, 0.2076), (0, 0.0054))
.close()
.extrude(0.1328)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0)... |
Start by creating a new coordinate system aligned with the global axes. On the X-Y plane, draw a square with sides of equal length. Scale the square to reduce its size proportionally. Convert this two-dimensional shape into a three-dimensional object by extruding it along the Z-axis to create a thin plate. The final di... | 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.0234)
)
result = part_1
cq.exporters.export(result, "./stlcq/0066/00668384.stl")
|
The U-shaped base section is constructed by first creating a new coordinate system with specific Euler angles and a translation vector. A two-dimensional sketch is then drawn, consisting of a single loop with eight lines that form a closed shape. This sketch is scaled down and transformed into a three-dimensional model... | 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.5, 0.5)
.lineTo(0.5, 0.25)
.lineTo(0.25, 0.25)
.lineTo(0.25, 0.5)
.lineTo(0, 0.5)
.close()
.extrude(0.5)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0... |
To create the rounded rectangular base, start by setting up a new coordinate system with specific Euler angles and a translation vector. Draw a rectangular shape in a two-dimensional sketch, ensuring that the corners are connected by straight lines. Scale this sketch to fit the desired size and transform it into a thre... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.5971)
.lineTo(0, 0.5971)
.close()
.extrude(0.6562)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.65625, 0))
result = part_1
cq.exporters.export(result, "./... |
The U-shaped bracket consists of a central hole and two protruding arms. The first face features a small loop with a line and an arc, forming a rounded corner. The second face includes a larger, more complex loop with multiple lines and arcs, creating the main structure of the bracket. The third face adds a smaller loo... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.5794)
.lineTo(0, 0.6029)
.threePointArc((0.0029, 0.5912), (0, 0.5824))
.close()
.extrude(0.2031)
)
part_1 = part_1.union(
cq.Workplane("XY")
.moveTo(0, 0.5794)
.lineTo(0.2, 0.0529)
.lineTo(0.2206, 0)
... |
The first part involves creating a rectangular prism with rounded edges and a flat top. This part has a length of 0.75 units, a width of 0.2265625 units, and a height of 0.15625 units. The second part involves constructing cylindrical holes in the base of the first part. These holes have a length of 0.6359374999999999 ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.1559, 0)
.lineTo(0.1559, 0.0382)
.lineTo(0, 0.0382)
.close()
.extrude(0.1562)
)
part_1 = part_1.union(
cq.Workplane("XY")
.moveTo(0.1559, 0)
.lineTo(0.1941, 0)
.lineTo(0.1941, 0.1265)
... |
The design involves creating a cross-shaped object with a total of five faces. Each face is defined by a loop of four lines, forming rectangular shapes that intersect to create the cross. The first face is a small rectangle at the top, the second face is a small rectangle at the bottom, the third face is a small square... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.3)
.lineTo(0.3, 0.3)
.lineTo(0.3, 0.45)
.lineTo(0, 0.45)
.close()
.extrude(0.4219)
)
part_1 = part_1.union(
cq.Workplane("XY")
.moveTo(0.3, 0)
.lineTo(0.45, 0)
.lineTo(0.45, 0.3)
.lineTo(0.3, ... |
The cylindrical support is created by first setting up a new coordinate system with specific Euler angles and a translation vector. A circular sketch is then drawn on a new face, centered at specific coordinates and with a defined radius. This sketch is scaled and transformed into a three-dimensional object by applying... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.0039, 0.0039)
.circle(0.0039)
.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/0047/00479590.stl")
|
Create a hollow cylindrical object by starting with a new coordinate system aligned to the origin and translated 0.375 units along the z-axis. Sketch two concentric circles on the first face, one with a larger radius and the other with a smaller radius. Scale the sketch appropriately and transform it into a three-dimen... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.1882, 0.1882)
.circle(0.1868)
.moveTo(0.1882, 0.1882)
.circle(0.075)
.extrude(0.375)
)
part_1 = part_1.translate((0, 0, 0.1875))
result = part_1
cq.exporters.export(result, "./stlcq/0025/00259256.stl")
|
The design involves creating a cylindrical shape with a central hole. The cylinder has a square cross-section with a side length of 0.75. The central hole runs through the entire height of the cylinder, which is 0.2386. The outer diameter of the cylinder is larger than the inner diameter, creating a hollow structure. T... | 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/0069/00695871.stl")
|
The design consists of six main parts. The first part is a rectangular bar with a circular base, measuring 0.067 units in length, 0.0603 units in width, and 0.75 units in height. The second part is a cylindrical hole in the horizontal bar, measuring 0.0375 units in diameter and 0.2009 units in depth. The third part is ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.0703, 0)
.lineTo(0.0703, 0.0631)
.lineTo(0, 0.0631)
.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")
... |
To construct an S-shaped structure, start by creating a new coordinate system with Euler angles set to zero degrees and a translation vector of 0.0001, 0.0581, and 0.0 units. Draw a complex two-dimensional sketch on the first face, which forms a single loop consisting of ten arcs and two lines. This sketch outlines the... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.3235, 0.0265)
.threePointArc((0.3794, 0.0647), (0.4471, 0.0794))
.threePointArc((0.6, 0.0706), (0.75, 0.0353))
.lineTo(0.7382, 0)
.threePointArc((0.5941, 0.0353), (0.4471, 0.0412))
.threePointArc((0.3941, 0.0294), (... |
Start by creating a new coordinate system and drawing a two-dimensional sketch of a rectangle. The rectangle has a longer side and a shorter side, forming a thin, flat shape. Once the sketch is complete, scale it down to make it smaller. Transform the scaled sketch into a three-dimensional object by rotating and transl... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.0706)
.lineTo(0, 0.0706)
.close()
.extrude(0.0078)
)
result = part_1
cq.exporters.export(result, "./stlcq/0062/00621385.stl")
|
The model involves creating a three-dimensional cylinder with a hexagonal cross-section and rounded edges. Begin by setting up a new coordinate system with specific Euler angles and a translation vector. A two-dimensional hexagonal shape is then drawn, which is later scaled down. This scaled hexagon is transformed into... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.0343)
.lineTo(0.0525, 0)
.lineTo(0.1083, 0.0279)
.lineTo(0.1118, 0.0907)
.lineTo(0.0598, 0.125)
.lineTo(0.0034, 0.0971)
.close()
.extrude(0.75)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate... |
The design consists of three parts, each forming a cube. The first part is a larger cube with a length of approximately 0.559 meters, a width of 0.515 meters, and a height of 0.343 meters. This cube is positioned slightly above the origin. The second part is a smaller cube with a length of about 0.418 meters, a width o... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.5625, 0)
.lineTo(0.5625, 0.5184)
.lineTo(0, 0.5184)
.close()
.extrude(0.3438)
)
part_1 = part_1.translate((0, 0, 0.296875))
# Part 2: join
part_2 = (
cq.Workplane("XY")
.moveTo(0, 0)
.line... |
The design involves creating a cylindrical object with a smooth surface and a circular opening at the top. The cylinder has a height, width, and depth of 0.75 units each. The process starts by setting up a new coordinate system and drawing a two-dimensional sketch consisting of two concentric circles. After scaling 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.2529)
.extrude(0.75)
)
result = part_1
cq.exporters.export(result, "./stlcq/0093/00934951.stl")
|
The design consists of two parts that form a ring-shaped object with a central hole. The first part is a torus with a circular cross-section. It has a length and width of 0.46875 units and a height of 0.1015625 units. The second part is a smaller ring-shaped object with a central hole. It has a length and width of 0.43... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.2353, 0.2353)
.circle(0.2335)
.moveTo(0.2353, 0.2353)
.circle(0.125)
.extrude(0.1016)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.75, 0))
# Part 2: join
part_2 = (
cq.Workplane("XY")
.mov... |
The rectangular bracket consists of three main faces. The first face has a vertical line and two arcs forming a rounded edge. The second face is larger and includes an outer loop with a horizontal line, vertical lines, and two arcs, along with an inner loop that also forms a smaller rounded rectangle. The third face is... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.0765, 0)
.lineTo(0.0765, 0.05)
.threePointArc((0.05, 0.0765), (0.0765, 0.1))
.lineTo(0.0765, 0.15)
.threePointArc((0, 0.0765), (0.0765, 0))
.close()
.extrude(0.0469)
)
part_1 = part_1.union(
cq.Workplane("XY... |
Start by creating a rectangular plate with a flat surface and rounded edges. The plate has a length of 0.75 units, a width of 0.4528 units, and a height of 0.0425 units. The plate is constructed by drawing a two-dimensional rectangle, scaling it down, and then extruding it to form the three-dimensional shape. The final... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.4529)
.lineTo(0, 0.4529)
.close()
.extrude(0.0391)
)
result = part_1
cq.exporters.export(result, "./stlcq/0068/00682830.stl")
|
To create a rectangular box base, start by setting up a new coordinate system with specific rotations and translations. Then, draw a rectangular sketch on the first face, ensuring the proportions are maintained. After scaling the sketch, rotate and translate it to the desired position. Extrude the sketch to form a soli... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.3118)
.lineTo(0, 0.3118)
.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/0... |
The design consists of three main parts that are combined to form the final shape. The first part is a cylindrical base with a height of 0.75 units, a length of 0.5357 units, and a width of 0.5357 units. The second part is a cylindrical hole that cuts through the base, with a height of 0.6429 units, a length of 0.1071 ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.2706, 0.2706)
.circle(0.2685)
.extrude(0.75)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.75, 0))
# Part 2: cut
part_2 = (
cq.Workplane("XY")
.moveTo(0.0549, 0.0549)
.circle(0.0545)
.extru... |
Construct a three-dimensional model with a rectangular base and a triangular top. The base measures 0.4691 units in length and 0.3281 units in width. The height of the model is 0.1406 units. The sides of the model are smooth and have a slight curve. The first part of the model is created by defining a new coordinate sy... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.4688, 0)
.lineTo(0.4688, 0.3272)
.lineTo(0.329, 0.3272)
.lineTo(0, 0.0938)
.close()
.extrude(0.1406)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).rotate((0, 0, 0), (0, 0, 1), 90)
result = pa... |
The design consists of four main parts. The first part is a rectangular base with a length of approximately 0.89 units, a width of 0.58 units, and a height of 0.16 units. This part forms the foundation of the structure. The second part is a vertical extension with a length of 0.16 units, a width of 0.29 units, and a he... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.8906, 0)
.lineTo(0.8906, 0.5798)
.lineTo(0, 0.5798)
.close()
.extrude(0.1641)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((-0.140625, 0.429688, 0))
# Part 2: join
part_2 = (
cq.Wo... |
The design involves creating a 3D model with a rectangular top and a circular bottom. Start by setting up a new coordinate system with specific Euler angles and a translation vector. Draw a 2D sketch on the first face, which includes a large outer rectangle, a circle, a smaller inner rectangle, and a triangle. These sh... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.1235)
.lineTo(0.75, 0.2382)
.lineTo(0, 0.2382)
.close()
.moveTo(0.1265, 0.1235)
.circle(0.0618)
.moveTo(0.5, 0.0147)
.lineTo(0.6265, 0.0147)
.lineTo(0.5618, 0... |
Start by creating a new coordinate system with default settings. Draw a series of connected lines to form a complex shape on the first face, which includes several smaller rectangular cutouts. Continue this process on the second, third, and fourth faces, each with its own unique pattern of lines forming smaller 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.6882, 0.0941)
.lineTo(0.0618, 0.0941)
.lineTo(0, 0.0941)
.close()
.extrude(0.0625)
)
part_1 = part_1.union(
cq.Workplane("XY")
.moveTo(0.0618, 0.0... |
Start by creating a new coordinate system with default settings. Draw a circular shape on a new face, then scale this circle to achieve the desired size. Transform the scaled circle into a three-dimensional object by extruding it along the normal direction. The resulting solid body has a square cross-section with a sid... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.2824, 0.2824)
.circle(0.2801)
.extrude(0.75)
)
result = part_1
cq.exporters.export(result, "./stlcq/0016/00168818.stl")
|
Start by creating a new coordinate system with specific angles and translations. Then, draw a circular shape on a new face. Scale this circle to the desired size and transform it into a three-dimensional object by rotating and translating it. Finally, extrude the circle to create a solid cylindrical shape. The final di... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.2667, 0.2667)
.circle(0.2646)
.extrude(0.0547)
)
part_1 = part_1.translate((0.109375, 0.109375, 0))
result = part_1
cq.exporters.export(result, "./stlcq/0068/00688536.stl")
|
The design consists of two main parts. The first part is a rectangular object with rounded edges and a slightly protruding top surface. This part has a length of approximately zero point zero zero three four units, a width of about zero point six one one six units, and a height of zero point seven five units. The secon... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.0024, 0)
.lineTo(0.0024, 0.6094)
.lineTo(0, 0.6094)
.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.023438, 0))
# Part 2: jo... |
Create a flat circular disk with a central hole. Start by setting up a new coordinate system aligned with the default axes. Draw a larger circle and a smaller concentric circle on the first face. Scale the entire sketch to reduce its size uniformly. Transform the scaled sketch into a three-dimensional object and extrud... | 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.0078)
)
result = part_1
cq.exporters.export(result, "./stlcq/0015/00156149.stl")
|
The cylindrical object features a flat end and a circular hole at the other end. The object's overall shape is defined by a rectangular profile with rounded corners and two smaller circular cutouts. The first circular cutout is located near one corner, and the second is positioned near the opposite corner. The object i... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.0324, 0)
.lineTo(0.7176, 0)
.threePointArc((0.75, 0.0324), (0.7176, 0.0647))
.lineTo(0.0324, 0.0647)
.threePointArc((0, 0.0324), (0.0324, 0))
.close()
.moveTo(0.0324, 0.0324)
.circle(0.0176)
.moveTo(0.71... |
Start by creating a new coordinate system with default settings. Draw a two-dimensional rectangular sketch on the first face, forming a square with equal sides. Scale the sketch to achieve the desired dimensions. Transform this scaled sketch into three dimensions and extrude it 0.75 units upwards to create a vertical, ... | 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/0002/00028203.stl")
|
Start by creating a rectangular base with a length of about 0.75 units, a width of about 0.5745 units, and a height of about 0.1702 units. This base forms the foundation of the model and is created by extruding a two-dimensional rectangular sketch into a three-dimensional solid. The rectangular base is a simple yet ess... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.5735)
.lineTo(0, 0.5735)
.close()
.extrude(0.1719)
)
result = part_1
cq.exporters.export(result, "./stlcq/0016/00168471.stl")
|
The design consists of a cylindrical base and a vertical rod. The cylindrical base has a circular top and bottom, measuring 0.4009 units in both length and width, and 0.0425 units in height. This base provides a stable foundation for the structure. Extending vertically from the center of the base is a rod that measures... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.2, 0.2)
.circle(0.1984)
.extrude(0.0391)
)
# Part 2: join
part_2 = (
cq.Workplane("XY")
.moveTo(0.0196, 0.0196)
.circle(0.0195)
.extrude(0.7109)
)
part_2 = part_2.translate((0.179688, 0.179688, 0.039062))
resu... |
The first part involves creating a disk with a circular shape and a flat surface. The disk measures 0.75 units in length, 0.75 units in width, and 0.0225 units in height. The second part involves creating a cylindrical hole that cuts through the disk. The hole measures 0.675 units in length, 0.675 units in width, and 0... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.3765, 0.3765)
.circle(0.3735)
.extrude(0.0234)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.023438, 0))
# Part 2: cut
part_2 = (
cq.Workplane("XY")
.moveTo(0.3373, 0.3373)
.circle(0.3346)
... |
Start by creating a rectangular plate with rounded edges and a flat surface. The plate will have a length of 0.75 units, a width of 0.55 units, and a height of 0.0375 units. Begin by defining a new coordinate system with default settings. Draw a rectangular shape in a two-dimensional sketch, then scale it down 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.55)
.lineTo(0, 0.55)
.close()
.extrude(0.0391)
)
result = part_1
cq.exporters.export(result, "./stlcq/0072/00720031.stl")
|
The first part of the design involves creating a small cylindrical base with a length and width of approximately 0.2744 units and a height of 0.0183 units. This base is positioned at a specific location and orientation defined by the coordinate system. The second part is a larger cylindrical body that joins the base, e... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.1373, 0.1373)
.circle(0.1362)
.moveTo(0.1373, 0.1373)
.circle(0.118)
.extrude(0.0156)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.75, 0))
# Part 2: join
part_2 = (
cq.Workplane("XY")
.mov... |
The first part is an L-shaped CAD model with a rectangular base and a smaller rectangular protrusion at the top right corner. The base is larger and forms the main body of the object, measuring 0.75 units in length, 0.5 units in width, and 0.125 units in height. The second part is a rectangular prism with a slightly wi... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.5, 0)
.lineTo(0.5, 0.25)
.lineTo(0, 0.25)
.close()
.extrude(0.125)
)
part_1 = part_1.union(
cq.Workplane("XY")
.moveTo(0, 0.25)
.lineTo(0.5, 0.25)
.lineTo(0.626471, 0.25)
.lineTo(0.... |
To construct the first part, start by setting up a new coordinate system with specific Euler angles and a translation vector. Draw a series of rectangles on different faces, then scale the entire sketch and transform it into three dimensions. Extrude the sketch to create a solid body with a length of 0.75, a width of 0... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.0118)
.lineTo(0, 0.0118)
.close()
.extrude(0.0156)
)
part_1 = part_1.union(
cq.Workplane("XY")
.moveTo(0, 0.0118)
.lineTo(0.75, 0.0118)
.lineTo(0.75, 0.0176)
... |
Start by creating a rectangular block with rounded edges and a flat top. This block has a length of 0.7538693690348885, a width of 0.19474958700067954, and a height of 0.09423367112936107. Next, add a cylindrical hole on one end of the block. The cylindrical hole has a diameter of approximately 0.0239 and extends 0.376... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.194118)
.lineTo(0, 0.194118)
.close()
.extrude(0.09375)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.09375, 0))
# Part 2: cut
part_2 = (
cq.Workplane("... |
The design consists of two main parts. The first part is a rectangular prism with rounded edges and a cylindrical base. This part has a length of approximately 0.75 units, a width of about 0.079 units, and a height of around 0.02 units. The second part is a pair of identical rectangular prisms arranged symmetrically. E... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.0382)
.lineTo(0.75, 0.0794)
.lineTo(0.3765, 0.0794)
.lineTo(0, 0.0794)
.lineTo(0, 0.0382)
.close()
.moveTo(0.3765, 0.0382)
.circle(0.0118)
.moveTo(0.0588, 0.0... |
The Y-shaped object is constructed by creating a new coordinate system and drawing a two-dimensional sketch that forms a complex shape. This shape is then scaled down and transformed into three dimensions. The final step involves extruding the shape to create a solid body. The object has a length of approximately 0.64 ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.0026, 0.1107)
.lineTo(0.2471, 0.3526)
.lineTo(0.2471, 0.6562)
.lineTo(0.3989, 0.6562)
.lineTo(0.3989, 0.3526)
.lineTo(0.646, 0.1107)
.lineTo(0.5353, 0)
.lineTo(0.3217, 0.2162)
.lineTo(0.1081, 0)
.clo... |
The design consists of two main parts: a cylindrical body and a rectangular prism. The cylindrical body is created by drawing a circle in a new coordinate system, scaling it, and then extruding it to form a smooth, uniform cylinder with a length and width of 0.06 and a height of 0.75. The rectangular prism is construct... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.031373, 0.031373)
.circle(0.031127)
.extrude(0.75)
)
# Part 2: cut
part_2 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.101562, 0)
.lineTo(0.000398, 0.101961)
.close()
.extrude(0.75)
)
part_2 = part_2.... |
Start by creating a new coordinate system and drawing a two-dimensional sketch on the plane defined by this system. Within the sketch, draw a circle and then scale the sketch to the desired size. Transform the scaled sketch into three dimensions by rotating and translating it according to the specified parameters. Fina... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.0471, 0.0471)
.circle(0.0467)
.extrude(0.1641)
)
part_1 = part_1.translate((0.046875, 0.046875, 0))
result = part_1
cq.exporters.export(result, "./stlcq/0055/00554444.stl")
|
Start by creating a rectangular bar with rounded edges and two circular holes. The bar has a length of 0.75, a width of approximately 0.134, and a height of 0.067. The rounded edges and holes are positioned symmetrically along the length of the bar. The holes are located near the ends of the bar, ensuring that the bar ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.0676, 0)
.lineTo(0.6824, 0)
.threePointArc((0.75, 0.0676), (0.6824, 0.1353))
.lineTo(0.0676, 0.1353)
.threePointArc((0, 0.0676), (0.0676, 0))
.close()
.moveTo(0.0676, 0.0676)
.circle(0.0324)
.moveTo(0.68... |
Start by setting up a new coordinate system with specific angles and a translation vector. Then, draw a circle on a flat surface and scale it to the desired size. Transform this scaled circle into a three-dimensional object by applying the coordinate system settings. Extrude the circle along its normal direction to cre... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.0784, 0.0784)
.circle(0.0778)
.extrude(0.4062)
)
part_1 = part_1.translate((0.117188, 0, 0))
result = part_1
cq.exporters.export(result, "./stlcq/0078/00786133.stl")
|
Create a rectangular block with a step on one side. The main body of the block is a simple rectangular shape, while the step is a smaller rectangular section that extends from one side of the main body. The block has a consistent thickness throughout. The overall dimensions of the block are zero point three seven five ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.375, 0)
.lineTo(0.375, 0.25)
.lineTo(0.125, 0.25)
.lineTo(0.125, 0.125)
.lineTo(0, 0.125)
.close()
.extrude(0.75)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).rotate((0, 0, 0), (0, 0, 1),... |
Start by creating a new coordinate system and drawing a two-dimensional sketch on the first face. The sketch includes a rectangle and a smaller circle at its center. After defining the sketch, scale it down and transform it into a three-dimensional object. Finally, extrude the sketch to create a solid rectangular plate... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.3984, 0)
.lineTo(0.3984, 0.2484)
.lineTo(0, 0.2484)
.close()
.moveTo(0.3484, 0.175)
.circle(0.0094)
.extrude(0.0078)
)
part_1 = part_1.translate((0.351562, 0, 0))
result = part_1
cq.exporters... |
The design involves creating a ring-shaped object with a flat, circular base. The object has a central hole, giving it a donut-like appearance. The overall dimensions of the object are 0.75 units in length, 0.75 units in width, and 0.075 units in height. The ring is created by extruding a two-dimensional sketch into a ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.3765, 0.3765)
.circle(0.3735)
.moveTo(0.3765, 0.3765)
.circle(0.1971)
.extrude(0.0781)
)
result = part_1
cq.exporters.export(result, "./stlcq/0080/00807571.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 completing the sketch, apply a uniform scale factor to the rectangle. Transform the scaled sketch into a three-dimensional object without altering its orienta... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.0781, 0)
.lineTo(0.0781, 0.0392)
.lineTo(0, 0.0392)
.close()
.extrude(0.75)
)
result = part_1
cq.exporters.export(result, "./stlcq/0014/00141733.stl")
|
The design involves creating two main parts: a cylindrical base and a rounded cylindrical top. The cylindrical base has a flat circular surface and measures approximately 0.724 units in both length and width, with a height of about 0.052 units. The rounded cylindrical top is slightly smaller, measuring around 0.361 uni... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.3647, 0.3647)
.circle(0.3619)
.extrude(0.0547)
)
part_1 = part_1.translate((0.015625, 0.015625, 0))
# Part 2: join
part_2 = (
cq.Workplane("XY")
.moveTo(0.1804, 0.1804)
.circle(0.179)
.extrude(0.3281)
)
part_2 ... |
The first part involves creating a cross-shaped object. Start by setting up a new coordinate system with specific Euler angles and a translation vector. The object consists of several faces, including a central rectangular section with rounded corners, a circular cutout, and additional rectangular sections with rounded... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.3618)
.lineTo(0, 0.3765)
.lineTo(0, 0.3882)
.lineTo(0.3, 0.3882)
.threePointArc((0.3029, 0.3765), (0.3, 0.3618))
.close()
.extrude(0.1016)
)
part_1 = part_1.union(
cq.Workplane("XY")
.moveTo(0.3735, 0... |
The first part involves creating a cylindrical object with a flat circular top and bottom. Start by defining a new coordinate system and drawing a circular sketch. This sketch is then scaled down and transformed into a three-dimensional shape by extruding it along the normal direction. The final dimensions of the cylin... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.3765, 0.3765)
.circle(0.3735)
.extrude(0.125)
)
part_1 = part_1.translate((-0.375, 0, 0))
result = part_1
cq.exporters.export(result, "./stlcq/0012/00120876.stl")
|
Start by creating a new coordinate system aligned with the default axes. Draw a rectangular plate on the first face, ensuring it has two circular holes. The first hole is positioned near the top-left corner, and the second hole is near the bottom-right corner. Scale the entire sketch to reduce its size. Extrude the sca... | 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()
.moveTo(0.1265, 0.3735)
.circle(0.0176)
.moveTo(0.6265, 0.1265)
.circle(0.0147)
.extrude(0.0156)
)
result = part_1
cq.exporters.expo... |
To create the cylindrical object, start by setting up a new coordinate system with specific rotations and translations. Then, draw a circular sketch and scale it down. Transform this scaled sketch into three-dimensional space and extrude it to form a solid cylinder. The final dimensions of the cylinder will be a height... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.1255, 0.1245)
.circle(0.1255)
.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/0028/00280137.stl")
|
The design involves creating a cylinder with a square base and top. Start by setting up a new coordinate system with specific angles and translations. Then, draw a two-dimensional sketch consisting of two nested squares. Scale this sketch to fit the desired size. Transform the scaled sketch into three dimensions by app... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.1641, 0)
.lineTo(0.1641, 0.1641)
.lineTo(0, 0.1641)
.close()
.moveTo(0.0167, 0.0167)
.lineTo(0.148, 0.0167)
.lineTo(0.148, 0.148)
.lineTo(0.0167, 0.148)
.close()
.extrude(0.4219)
)
... |
The first part involves constructing a cylindrical base with a length and width of approximately 0.75 units and a height of 0.2083 units. This base is created by drawing a circular sketch, scaling it down, and then extruding it to form a solid body. The second part involves adding a smaller cylindrical top to the exist... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.3765, 0.3765)
.circle(0.3735)
.extrude(0.2109)
)
# Part 2: join
part_2 = (
cq.Workplane("XY")
.moveTo(0.2568, 0.2568)
.circle(0.2588)
.extrude(0.2891)
)
part_2 = part_2.translate((0.117188, 0.117188, 0.210938))... |
The design consists of two main parts: a cylindrical base and a rectangular cutout. The cylindrical base has a length and width of 0.75 units and a height of 0.27165795369678863 units. It is created by extruding a circular sketch. The rectangular cutout, which is smaller and more intricate, has a length of 0.0772964899... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.3765, 0.3765)
.circle(0.3735)
.extrude(0.2734)
)
# Part 2: cut
part_2 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0, 0.0778)
.lineTo(0, 0.1562)
.threePointArc((0.0778, 0.0778), (0, 0))
.close()
.ex... |
Start by creating a rectangular plate with rounded corners. The plate has a flat surface and is designed to be a thin, elongated shape. The overall dimensions are a length of approximately 0.304 units, a width of around 0.75 units, and a height of about 0.008 units. The plate is created by extruding a two-dimensional s... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.3029, 0)
.lineTo(0.3029, 0.75)
.lineTo(0, 0.75)
.close()
.extrude(0.0078)
)
result = part_1
cq.exporters.export(result, "./stlcq/0097/00975860.stl")
|
The design involves creating a rounded cylindrical object. Begin by setting up a coordinate system with specific rotations and translations. Then, draw a circular sketch and scale it down. This scaled sketch is then rotated and translated to align with the desired orientation. The sketch is extruded to form a three-dim... | 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).translate((0, 0.75, 0))
result = part_1
cq.exporters.export(result, "./stlcq/0067/00678915.stl")
|
The design involves creating a key with a cylindrical head and a rectangular shaft. The process begins by setting up a new coordinate system and drawing several two-dimensional sketches on different faces. The first sketch is a simple rectangle that forms the base of the key. The second sketch is a more complex shape t... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.0324, 0)
.lineTo(0.0324, 0.1)
.lineTo(0, 0.1)
.close()
.extrude(0.0469)
)
part_1 = part_1.union(
cq.Workplane("XY")
.moveTo(0, 0.1)
.lineTo(0.0324, 0.1)
.lineTo(0.0676, 0.1)
.lineTo... |
Start by creating a cylindrical base. First, establish a new coordinate system with specific Euler angles and a translation vector. Draw a circular shape on a new face and scale it appropriately. Transform this shape into three dimensions by rotating and translating it. Extrude the shape to create a solid cylindrical b... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.011673, 0.011765)
.circle(0.011673)
.extrude(0.75)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.75, 0))
result = part_1
cq.exporters.export(result, "./stlcq/0077/00773203.stl")
|
To create a rectangular prism with rounded edges and a slight tilt, start by setting up a new coordinate system with specific Euler angles and a translation vector. Next, draw a two-dimensional sketch that forms a small, irregular quadrilateral. After scaling this sketch, transform it into a three-dimensional object by... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.1832, 0.1832)
.lineTo(0.1832, 0.2031)
.lineTo(0, 0.0199)
.close()
.extrude(0.375)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).rotate((0, 0, 0), (0, 0, 1), 90).translate((0.1875, 0, 0))
result =... |
A rounded cylindrical object is created by defining a new coordinate system with specific rotations and translations. A circular sketch is drawn and then scaled, rotated, and translated to form the base of the cylinder. This sketch is extruded along the normal direction to create the cylindrical shape. The final dimens... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.0118, 0.0118)
.circle(0.0117)
.extrude(0.5078)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).rotate((0, 0, 0), (0, 0, 1), 90).translate((0, 0.039062, 0.046875))
result = part_1
cq.exporters.export(result, "./stlcq/0013/0... |
Start by creating a new coordinate system with no rotation and a slight translation. Draw a rectangular shape with rounded corners on the first face. Scale the rectangle to reduce its size. Transform the scaled rectangle into a three-dimensional object by rotating and translating it slightly. Extrude the rectangle to f... | 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, 0.0588)
.close()
.extrude(0.0156)
)
part_1 = part_1.translate((0, 0, 0.007812))
result = part_1
cq.exporters.export(result, "./stlcq/0048/00480269.stl")
|
The design consists of three main parts. The first part is a rectangular prism with a cylindrical base, measuring approximately 0.64 meters in length, 0.13 meters in width, and 0.05 meters in height. This part is created by extruding a two-dimensional sketch in both directions to form a solid body. The second part is a... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.012561, 0.065319)
.lineTo(0.025123, 0.130637)
.lineTo(0.615502, 0.130637)
.lineTo(0.640625, 0)
.close()
.extrude(0.046875)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0.109375, 0.... |
Start by creating a new coordinate system with default settings. Draw the first face using two loops. The first loop forms the outer boundary of a rectangle, while the second loop creates a smaller rectangle inside the first, forming a horizontal slot. Apply a scale factor to the entire sketch to adjust its size. Trans... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.6765, 0)
.lineTo(0.6765, 0.75)
.lineTo(0, 0.75)
.close()
.moveTo(0.5382, 0.2206)
.lineTo(0.5647, 0.2206)
.lineTo(0.5647, 0.6353)
.lineTo(0.5382, 0.6353)
.close()
.extrude(0.0156)
)
... |
Start by creating a rectangular base with rounded edges. The base has a length of 0.65 units and a width of 0.75 units. After defining the base, scale it down to 75% of its original size. The scaled base is then transformed into a three-dimensional object by extruding it upwards by 0.02 units. The result is a solid rec... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.65, 0)
.lineTo(0.65, 0.75)
.lineTo(0, 0.75)
.close()
.extrude(0.0234)
)
result = part_1
cq.exporters.export(result, "./stlcq/0088/00882806.stl")
|
To create a tapered triangular prism, start by setting up a new coordinate system with specific rotations and translations. Draw a triangular shape in a two-dimensional sketch, then scale it down to fit the desired dimensions. Transform this scaled sketch into three dimensions using the previously set coordinate system... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.5912)
.lineTo(0.3706, 0)
.lineTo(0.5853, 0.75)
.close()
.extrude(0.2188)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.21875, 0))
result = part_1
cq.exporters.export(result, "./stlcq/0068/00688... |
Start by creating a new coordinate system with default settings. Draw a two-dimensional sketch that forms an irregular shape with a flat top and a rounded bottom. The sketch consists of three straight lines and one arc. After completing the sketch, scale it down to 75% of its original size. Transform this scaled sketch... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.1735)
.lineTo(0.1441, 0)
.lineTo(0.5971, 0)
.lineTo(0.75, 0.4235)
.threePointArc((0.3324, 0.4265), (0, 0.1735))
.close()
.extrude(0.1875)
)
result = part_1
cq.exporters.export(result, "./stlcq/0018/00189679... |
Start by creating a new coordinate system with the specified settings. Draw a two-dimensional sketch that forms a complex shape consisting of arcs and lines. This shape is then scaled down to fit the desired size. Transform this scaled sketch into a three-dimensional object by rotating and translating it according to t... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.0862)
.threePointArc((0.0012, 0.0291), (0.0501, 0))
.lineTo(0.2468, 0)
.threePointArc((0.2957, 0.0291), (0.2969, 0.0862))
.lineTo(0.1979, 0.2573)
.threePointArc((0.149, 0.2852), (0.099, 0.2573))
.close()
... |
The design involves creating a rectangular plate with rounded corners and a flat surface. Begin by setting up a new coordinate system with no rotation or translation. Draw a rectangular sketch on the first face, forming a loop with four straight lines. Scale the sketch down by 75% to achieve the desired dimensions. Con... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.3, 0)
.lineTo(0.3, 0.75)
.lineTo(0, 0.75)
.close()
.extrude(0.0078)
)
result = part_1
cq.exporters.export(result, "./stlcq/0019/00199441.stl")
|
The design involves creating a rounded rectangular base. Start by drawing a rectangular shape on a plane, then scale it down to 75% of its original size. Transform this scaled sketch into a three-dimensional object by extruding it 0.5455 units upwards. The final shape is a cube with smooth edges and flat faces, measuri... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.6147, 0)
.lineTo(0.6147, 0.75)
.lineTo(0, 0.75)
.close()
.extrude(0.5469)
)
result = part_1
cq.exporters.export(result, "./stlcq/0028/00280934.stl")
|
The design consists of two main parts. The first part is a rectangular bar created by extruding a two-dimensional sketch 0.017 units along the normal direction. The bar has a flat top and bottom with straight edges, measuring approximately 0.102 units in length, 0.75 units in width, and 0.017 units in height. The secon... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.1029, 0)
.lineTo(0.1029, 0.75)
.lineTo(0, 0.75)
.close()
.extrude(0.0156)
)
# Part 2: cut
part_2 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.0678, 0)
.lineTo(0.0678, 0.0169)
.li... |
The rectangular block is created by starting with a new coordinate system aligned with the global axes. A two-dimensional sketch is drawn on the first face, forming a rectangle. The rectangle is then scaled down to fit the desired dimensions. The sketch is transformed into a three-dimensional object by extruding it alo... | 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.125)
)
result = part_1
cq.exporters.export(result, "./stlcq/0049/00492421.stl")
|
To create the cylindrical object, start by defining a new coordinate system with specific rotational and translational adjustments. Draw a circular sketch on a new face and scale it appropriately. Transform this sketch into three dimensions by rotating and translating it. Finally, extrude the sketch along its normal di... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.0706, 0.0706)
.circle(0.07)
.extrude(0.75)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.75, 0))
result = part_1
cq.exporters.export(result, "./stlcq/0083/00835129.stl")
|
The design involves constructing a rectangular box, a cylindrical handle, and a rectangular cylinder. The rectangular box has a length of 0.75, a width of 0.4914, and a height of 0.1853. It features a flat top and bottom with four vertical sides. The cylindrical handle consists of two cylindrical objects stacked with a... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.4912)
.lineTo(0, 0.4912)
.close()
.extrude(0.1875)
)
part_1 = part_1.translate((0, 0.171875, 0))
# Part 2: new
part_2 = (
cq.Workplane("XY")
.moveTo(0.0193, 0.0193)
... |
To create the rectangular block, start by setting up a new coordinate system with specific rotations and translations. Then, draw a simple rectangular sketch on a face. This sketch forms the base of the block. After drawing the sketch, transform it into three-dimensional space by applying the specified rotations and tr... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.0547, 0)
.lineTo(0.0547, 0.0525)
.lineTo(0, 0.0525)
.close()
.extrude(0.2266)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0.351562, 0.25, 0))
result = part_1
cq.exporters.export(res... |
The design involves creating a cylindrical object with flat top and bottom surfaces. Start by setting up a new coordinate system. Draw a single circle on the first face, then scale this circle to form the base of the cylinder. Transform the scaled circle into a 3D shape by extruding it along the normal direction to a h... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.0549, 0.0549)
.circle(0.0545)
.extrude(0.75)
)
result = part_1
cq.exporters.export(result, "./stlcq/0050/00501160.stl")
|
The first part of the cube with rounded edges is created by starting with a rectangular base. This base has a length of 0.5 units and a width of 0.375 units. The base is then extruded 0.75 units to form a solid block. The edges of this block are designed to be rounded, giving the part a smooth appearance. This part wil... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.5, 0)
.lineTo(0.5, 0.3745)
.lineTo(0, 0.3745)
.close()
.extrude(0.75)
)
result = part_1
cq.exporters.export(result, "./stlcq/0098/00986558.stl")
|
The design consists of two main parts: a cylindrical base and a hexagonal top. The cylindrical base has a length and width of approximately 0.189 units and a height of 0.457 units. The hexagonal top has a length and width of about 0.262 units and a height of 0.293 units. The hexagonal top is positioned on top of the cy... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.0934, 0.0941)
.circle(0.0934)
.extrude(0.4609)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0.28125, 0.460938, 0))
# Part 2: new
part_2 = (
cq.Workplane("XY")
.moveTo(0, 0.1333)
.lineTo(0.0385, 0.0... |
The design involves creating a cylinder with a central hole. Start by setting up a new coordinate system with default angles and positions. On the first face, draw two concentric circles. The outer circle serves as the boundary of the cylinder, while the inner circle defines the central hole. Scale the entire sketch to... | 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/0092/00929302.stl")
|
The design involves creating a rectangular prism with a smaller rectangular prism on top. Start by setting up a new coordinate system with specific Euler angles and a translation vector. Then, draw a complex two-dimensional sketch that forms the base of the first rectangular prism. This sketch is scaled down and transf... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.0235)
.lineTo(0.4971, 0.0529)
.lineTo(0.4971, 0.0794)
.lineTo(0.2529, 0.0794)
.lineTo(0.2529, 0.0529)
.lineTo(0, 0.0235)
.close()
.extrude(0.1562)
)
part_1 = part... |
The design consists of two main parts. The first part is a cylindrical washer with a central hole. It has a length and width of approximately 0.589 units and a height of 0.118 units. The second part is a smaller cylindrical shape with a flat top and bottom, featuring a central hole. This part has a length and width of ... | 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... |
The design involves creating a ring with a circular cross-section and a flat top surface. Start by setting up a new coordinate system with no rotation and a slight translation. Draw two concentric circles on the first face, then scale the sketch to achieve the desired size. Transform the 2D sketch into 3D by rotating a... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.3765, 0.3765)
.circle(0.3735)
.moveTo(0.3765, 0.3765)
.circle(0.3618)
.extrude(0.0469)
)
result = part_1
cq.exporters.export(result, "./stlcq/0002/00026006.stl")
|
The cylindrical base is created by drawing a circle on a new face and then scaling it down to fit the desired dimensions. This circle is then transformed into a three-dimensional shape by extruding it along the normal direction. The final solid body forms a cylinder with a flat circular top and bottom. The cylinder mea... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.3765, 0.3765)
.circle(0.3735)
.extrude(0.1953)
)
result = part_1
cq.exporters.export(result, "./stlcq/0034/00341743.stl")
|
The design consists of three main parts. The first part is a circular plate with a thickness of 0.028125 units, a length of 0.75 units, and a width of 0.75 units. This plate has a series of concentric circles that define its shape. The second part is a cylindrical cup with a height of 0.28125 units, a length of 0.45937... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.3765, 0.3765)
.circle(0.3735)
.moveTo(0.3765, 0.3765)
.circle(0.2294)
.extrude(0.0312)
)
part_1 = part_1.union(
cq.Workplane("XY")
.moveTo(0.3765, 0.3765)
.circle(0.2294)
.moveTo(0.3765, 0.3765)
.cir... |
The design consists of a cylindrical base with a height of 0.125 units, a length of 0.750 units, and a width of 0.750 units. Three staggered cylindrical protrusions are added to the base, each with a height of 0.250 units, a length of 0.432 units, and a width of 0.121 units. These protrusions are positioned at specific... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.3765, 0.3765)
.circle(0.3735)
.extrude(0.125)
)
# Part 2: join
part_2 = (
cq.Workplane("XY")
.moveTo(0.0303, 0.0303)
.circle(0.032)
.extrude(0.25)
)
part_2 = part_2.union(
cq.Workplane("XY")
.moveTo(0.2... |
The first part involves creating a rectangular prism with a slight protrusion on one side. The shape has a flat top and bottom, with four vertical sides. The protrusion resembles a small ledge or shelf. The dimensions are approximately 0.2885 units in length, 0.3513 units in width, and 0.75 units in height. The second ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.346)
.lineTo(0.0634, 0)
.lineTo(0.2881, 0.0414)
.lineTo(0.284, 0.0689)
.lineTo(0.0855, 0.0331)
.lineTo(0.029, 0.3516)
.close()
.extrude(0.75)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((... |
Start by creating a new coordinate system aligned with the global axes. Draw the first face of the rectangular box, which consists of two nested rectangles. The outer rectangle forms the boundary, while the inner rectangle creates a cutout. After drawing the initial sketch, scale it down to fit the desired size. Transf... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.3765)
.lineTo(0, 0.3765)
.close()
.moveTo(0.0324, 0.0324)
.lineTo(0.7147, 0.0324)
.lineTo(0.7147, 0.3382)
.lineTo(0.0324, 0.3382)
.close()
.extrude(0.2266)
)
... |
To construct the rectangular plate, start by defining a new coordinate system with all angles and translations set to zero. Draw a two-dimensional sketch on the first face, creating a rectangle with the specified dimensions. Scale the sketch to 75% of its original size. Transform the scaled sketch into three-dimensiona... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.5588, 0)
.lineTo(0.5588, 0.75)
.lineTo(0, 0.75)
.close()
.extrude(0.0234)
)
result = part_1
cq.exporters.export(result, "./stlcq/0062/00623905.stl")
|
Start by creating a new coordinate system with specific Euler angles and a translation vector. Draw a rectangular sketch on the first face, ensuring the dimensions are proportional. Transform this sketch into three-dimensional space by applying a rotation and translation. Extrude the sketch to form a solid rectangular ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.0706)
.lineTo(0, 0.0706)
.close()
.extrude(0.3203)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.320312, 0))
result = part_1
cq.exporters.export(result, ".... |
The design consists of two parts. The first part is a square plate with rounded edges and a flat surface. It has a length and width of 0.75 units and a height of 0.0239 units. The second part is a vertical cylindrical structure with a rectangular top and bottom. It also has a length and width of 0.75 units but a height... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.0235)
.lineTo(0.0235, 0.0235)
.lineTo(0.0235, 0.7265)
.lineTo(0, 0.7265)
.close()
.extrude(0.0234)
)
part_1 = part_1.union(
cq.Workplane("XY")
.moveTo(0.0235, 0)
.lineTo(0.7265, 0)
.lineTo(0.7265,... |
The design involves creating a cylindrical object with a rectangular top and a hexagonal base. The first step is to establish a new coordinate system with zero Euler angles and a zero translation vector. A two-dimensional sketch is then drawn on the first face, consisting of two loops. The first loop forms the outer bo... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.002451)
.threePointArc((0.000766, 0.000766), (0.002451, 0))
.lineTo(0.036612, 0)
.threePointArc((0.038297, 0.000766), (0.039062, 0.002451))
.lineTo(0.039062, 0.036612)
.threePointArc((0.038297, 0.038297), (0.0366... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.