input stringlengths 267 2.05k | output stringlengths 209 3.36k |
|---|---|
The design involves creating a rectangular base with an L-shaped outline. Start by setting up a new coordinate system and positioning it at a height of 0.3299 meters. The base is defined by a complex two-dimensional sketch that forms an L-shape when extruded into three dimensions. The sketch is scaled down to fit the d... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.1529, 0)
.lineTo(0.1529, 0.0882)
.lineTo(0.0882, 0.0882)
.lineTo(0.0882, 0.6618)
.lineTo(0.6618, 0.6618)
.lineTo(0.6618, 0.0882)
.lineTo(0.5971, 0.0882)
.lineTo(0.5971, 0)
.lineTo(0.75,... |
To create a cylindrical base, start by setting up a new coordinate system with no rotation or translation. Draw a square on the first face, then scale this square to fit the desired size. Transform the scaled square into three-dimensional space without any additional rotation or translation. Extrude the square 0.75 uni... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.0078, 0)
.lineTo(0.0078, 0.0078)
.lineTo(0, 0.0078)
.close()
.extrude(0.75)
)
result = part_1
cq.exporters.export(result, "./stlcq/0088/00881853.stl")
|
The design consists of a rectangular box and a cylindrical hole. The rectangular box has a length of approximately 0.582 units, a width of about 0.360 units, and a height of 0.75 units. The cylindrical hole, which is drilled through the box, has a diameter of roughly 0.297 units and a depth of 0.648 units. The hole is ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.5859, 0)
.lineTo(0.5859, 0.3631)
.lineTo(0, 0.3631)
.close()
.extrude(0.75)
)
# Part 2: cut
part_2 = (
cq.Workplane("XY")
.moveTo(0.149, 0.149)
.circle(0.1479)
.extrude(0.6484)
)
part_... |
The design consists of two rectangular boxes with rounded edges. The first part has a larger size with a length of approximately 0.484 meters, a width of about 0.552 meters, and a height of around 0.531 meters. This part is created by drawing a two-dimensional sketch, scaling it, transforming it into three dimensions, ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.0413, 0)
.lineTo(0.0413, 0.0218)
.lineTo(0.0413, 0.5547)
.lineTo(0, 0.5547)
.close()
.extrude(0.5312)
)
part_1 = part_1.union(
cq.Workplane("XY")
.moveTo(0.4438, 0.0218)
.lineTo(0.4873,... |
Start by creating a new coordinate system aligned with the global axes. Draw a two-dimensional rectangular sketch on the first face, ensuring it forms a closed loop. Scale this sketch to reduce its size, then transform it into three-dimensional space. Extrude the scaled and transformed sketch to create a thin rectangul... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.5765, 0)
.lineTo(0.5765, 0.75)
.lineTo(0, 0.75)
.close()
.extrude(0.0234)
)
result = part_1
cq.exporters.export(result, "./stlcq/0095/00958663.stl")
|
To create the rectangular block, start by defining a new coordinate system with no rotation or translation. Draw a rectangle in a two-dimensional sketch, ensuring it has the correct proportions. After drawing the rectangle, scale it down to fit the desired size. Transform the scaled sketch into a three-dimensional obje... | 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.0938)
)
result = part_1
cq.exporters.export(result, "./stlcq/0059/00599572.stl")
|
Start by creating a new coordinate system with specific angles and translations. Draw the first face by outlining a rectangle and adding three circles within it. These circles will serve as mounting holes. For the second face, draw an arc that connects two corners of the rectangle and a line to close the loop. Scale th... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.3118, 0)
.lineTo(0.3118, 0.1235)
.lineTo(0, 0.1235)
.close()
.moveTo(0.0647, 0.0735)
.circle(0.0324)
.moveTo(0.1441, 0.0794)
.circle(0.0235)
.moveTo(0.2147, 0.0794)
.circle(0.0206)
... |
Start by creating a new coordinate system aligned with the default axes. Draw a rectangular shape on a new face, ensuring that the sides are parallel to the coordinate axes. The rectangle has a length of 0.375 units and a width of 0.1875 units. Extrude this shape 0.75 units along the vertical axis to form a solid recta... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.375, 0)
.lineTo(0.375, 0.1882)
.lineTo(0, 0.1882)
.close()
.extrude(0.75)
)
result = part_1
cq.exporters.export(result, "./stlcq/0071/00712546.stl")
|
Start by creating a new coordinate system aligned with the global axes and positioned 0.6875 units along the Z-axis. Draw a rectangular sketch on the first face, forming a closed loop with four straight lines. After completing the sketch, apply a scale factor to reduce its size. Transform this scaled sketch 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.25)
.lineTo(0, 0.25)
.close()
.extrude(0.6875)
)
result = part_1
cq.exporters.export(result, "./stlcq/0094/00944721.stl")
|
Start by creating a new coordinate system with default settings. Draw a two-dimensional rectangular sketch on the first face. This rectangle will serve as the base of the part. After drawing the sketch, scale it down to fit the desired size. Transform this scaled sketch into a three-dimensional object. Extrude the sket... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.2)
.lineTo(0, 0.2)
.close()
.extrude(0.0625)
)
result = part_1
cq.exporters.export(result, "./stlcq/0009/00093068.stl")
|
The first part consists of a rectangular base with a protruding section. The base has a length of 0.75 units and a width of 0.5806 units. A smaller rectangular section extends from one side of the base, creating a protrusion that adds height and depth to the overall structure. The entire part is 0.2903 units tall. The ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.0735)
.lineTo(0, 0.1206)
.lineTo(0.1088, 0.1206)
.lineTo(0.1088, 0.5794)
.lineTo(0.6412, 0.5794)
.lineTo(0.6412, 0.1206)
.lineTo(0.75, 0.1206)
.lineTo(0.75, 0.0735)
.lineTo(0.6412, 0.0735)
.lineTo... |
Create a new coordinate system with specific angles and translations, then draw a two-dimensional sketch on the first face. The sketch consists of a closed loop formed by six lines, creating a unique shape. Scale the sketch to reduce its size, then transform it into three dimensions by applying the same angles and tran... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.3294)
.lineTo(0.1853, 0.0029)
.lineTo(0.5618, 0)
.lineTo(0.75, 0.3235)
.lineTo(0.5647, 0.65)
.lineTo(0.1882, 0.6529)
.close()
.extrude(0.3047)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate(... |
Start by creating a new coordinate system and then draw a circular shape on the first face. This circle will serve as the base for the cylindrical object. After drawing the circle, scale the entire sketch to reduce its size. Next, transform the scaled sketch into a 3D object by rotating and translating it according 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.3618)
.extrude(0.1094)
)
part_1 = part_1.translate((0, 0, 0.054688))
result = part_1
cq.exporters.export(result, "./stlcq/0087/00878157.stl")
|
The design consists of three parts that are assembled to form a complex structure. The first part is a rectangular block with a length of 0.6000000000000001 units, a width of 0.7500000000000001 units, and a height of 0.15000000000000005 units. The second part is an L-shaped model with a length of 0.6000000000000001 uni... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.6, 0)
.lineTo(0.6, 0.75)
.lineTo(0, 0.75)
.close()
.extrude(0.1484)
)
# Part 2: join
part_2 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.151, 0)
.lineTo(0.151, 0.2265)
.lineTo(0,... |
The triangular prism base consists of two connected triangular faces. The first face has vertices at (0.0, 0.0), (0.25, 0.0), (0.25, 0.75), and (0.2, 0.75). The second face shares a side with the first and has vertices at (0.25, 0.0), (0.5, 0.0), (0.3, 0.75), and (0.25, 0.75). These faces are combined and scaled down t... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.25, 0)
.lineTo(0.25, 0.75)
.lineTo(0.2, 0.75)
.close()
.extrude(0.1016)
)
part_1 = part_1.union(
cq.Workplane("XY")
.moveTo(0.25, 0)
.lineTo(0.5, 0)
.lineTo(0.3, 0.75)
.lineTo(0.25,... |
Create a new coordinate system and draw a rectangular sketch on the first face. The sketch forms a loop with four lines, creating a rectangle. After completing the sketch, scale it down to 75% of its original size. Transform the 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)
.lineTo(0.75, 0)
.lineTo(0.75, 0.4647)
.lineTo(0, 0.4647)
.close()
.extrude(0.0938)
)
part_1 = part_1.translate((0, 0, 0.039062))
result = part_1
cq.exporters.export(result, "./stlcq/0062/00628813.stl")
|
The design consists of two main parts. The first part is a cylindrical body with a height of 0.45 units, a length of 0.6 units, and a width of 0.6 units. It features a larger circular face and a smaller concentric circular face, which are scaled down and transformed into a three-dimensional shape. The second part is a ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.302, 0.302)
.circle(0.2996)
.moveTo(0.302, 0.302)
.circle(0.0543)
.extrude(0.4531)
)
part_1 = part_1.union(
cq.Workplane("XY")
.moveTo(0.302, 0.302)
.circle(0.0543)
.extrude(0.4531)
)
part_1 = part_1.rot... |
The first part of the design involves creating a rectangular prism with rounded edges. The part has a flat top and bottom surface and four vertical sides. The height of the part is 0.75 units, the width is 0.0875 units, and the length is 0.0375 units. The part is constructed by transforming a two-dimensional sketch int... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.0367, 0)
.lineTo(0.0367, 0.0859)
.lineTo(0, 0.0859)
.close()
.extrude(0.75)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.75, 0))
result = part_1
cq.exporters.export(result, "./s... |
Start by creating a new coordinate system with specific angles and translations. Draw a two-dimensional sketch that forms a rectangular shape with rounded corners. Transform this sketch into three-dimensional space and extrude it to create a solid body. The resulting shape is a rectangular block with rounded edges and ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.7422, 0)
.threePointArc((0.7364, 0.0437), (0.6985, 0.0611))
.lineTo(0.0437, 0.0611)
.threePointArc((0.0058, 0.0437), (0, 0))
.close()
.extrude(0.4375)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0),... |
Create a rectangular base with a slight taper. Start by setting up a new coordinate system with specific Euler angles and a translation vector. Draw a two-dimensional sketch that forms a complex shape with multiple lines and corners. After completing the sketch, scale it down and transform it into three-dimensional spa... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.0441)
.lineTo(0.3412, 0.0441)
.lineTo(0.3412, 0.0824)
.lineTo(0.2971, 0.0824)
.lineTo(0.2971, 0.0441)
.lineTo(0, 0.0441)
.close()
.extrude(0.0078)
)
part_1 = part... |
Create a rounded cylindrical object by starting with a new coordinate system that has specific Euler angles and a translation vector. Draw a two-dimensional sketch consisting of two concentric circles. After scaling the sketch, transform it into a three-dimensional shape using the coordinate system settings. Extrude 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.2794)
.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, "./stlc... |
The design involves creating a rectangular base with a smaller extension. Start by setting up a new coordinate system with specific angles and translations. Then, draw five faces, each forming a loop of four lines. These faces are arranged to form a rectangular base and a smaller extension. After drawing the faces, sca... | 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, 0.25)
.lineTo(0.25, 0.25)
.lineTo(0.25, 0.5)
.lineTo(0, 0.... |
Start by creating a new coordinate system with default settings. Draw the first two-dimensional sketch on the first face, which consists of two concentric circles. The outer circle has a larger radius, while the inner circle has a smaller radius. On the second face, draw another set of concentric circles, both with sma... | 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.3559)
.extrude(0.1016)
)
part_1 = part_1.union(
cq.Workplane("XY")
.moveTo(0.3765, 0.3765)
.circle(0.1471)
.moveTo(0.3765, 0.3765)
.cir... |
The design consists of two main parts. The first part is a cube with rounded edges, measuring 0.75 units in length, width, and height. The second part is a rectangular protrusion that measures 0.625 units in length, 0.5 units in width, and 0.5 units in height. The rectangular protrusion is positioned on one side of the... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.75)
.lineTo(0, 0.75)
.close()
.extrude(0.75)
)
# Part 2: cut
part_2 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.625, 0)
.lineTo(0.625, 0.5)
.lineTo(0, 0.5... |
The design involves creating a rounded cylindrical object. Begin by setting up a new coordinate system with default angles and positions. Draw a circle on the first face, then scale it to the desired size. Transform the scaled circle into a three-dimensional sketch and extrude it along the normal direction to create th... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.062745, 0.062255)
.circle(0.062745)
.extrude(0.75)
)
result = part_1
cq.exporters.export(result, "./stlcq/0068/00685231.stl")
|
The design involves creating a cylindrical object with a flat top and bottom. Start by setting up a new coordinate system and drawing a circular sketch on a new face. The circle is then scaled and transformed to achieve the desired dimensions. The sketch is extruded to form a solid cylinder that measures approximately ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.0196, 0.0196)
.circle(0.0195)
.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/0069/00698302.stl")
|
The design consists of two main parts: a cylindrical base and a cylindrical top. The cylindrical base has a length and width of 0.3375 units and a height of 0.1875 units. This base is positioned slightly offset from the origin. The cylindrical top, which sits atop the base, has a larger diameter with a length and width... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.1686, 0.1686)
.circle(0.1673)
.extrude(0.1875)
)
part_1 = part_1.translate((0.203125, 0.203125, 0))
# Part 2: join
part_2 = (
cq.Workplane("XY")
.moveTo(0.3765, 0.3765)
.circle(0.3735)
.extrude(0.0391)
)
part_2... |
Start by creating a new coordinate system with specific Euler angles and a translation vector. Draw a complex two-dimensional sketch on the first face, forming a rectangular shape with a hollow center and rounded edges. This sketch is then scaled, rotated, and translated to align with the desired orientation. Finally, ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.1292, 0)
.lineTo(0.1292, 0.0116)
.lineTo(0.0116, 0.0116)
.lineTo(0.0116, 0.2852)
.lineTo(0.1991, 0.2852)
.lineTo(0.1991, 0.2969)
.lineTo(0, 0.2969)
.close()
.extrude(0.75)
)
part_1 = pa... |
Start by creating a rectangular base with rounded edges. The base has a length slightly under 0.07 units, a width close to 0.75 units, and a height of approximately 0.015 units. This base forms the foundation for the subsequent parts, which will be built upon it to create the final cylindrical object. The base is creat... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.0706, 0)
.lineTo(0.0706, 0.75)
.lineTo(0, 0.75)
.close()
.extrude(0.0156)
)
result = part_1
cq.exporters.export(result, "./stlcq/0021/00216255.stl")
|
The design involves creating a cylindrical object with a flat top and bottom, slightly wider at the top. Start by defining a new coordinate system with specific Euler angles and a translation vector. A circular sketch is drawn and scaled appropriately. This sketch is then transformed into three-dimensional space by rot... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.0235, 0.0235)
.circle(0.0233)
.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/00222540.stl")
|
Start by creating a new coordinate system with default settings. Draw a two-dimensional sketch that forms a curved rectangular cross-section. This involves drawing arcs and lines to create a closed loop. Once the sketch is complete, scale it down to fit the desired size. Transform the scaled sketch into three dimension... | 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.7235, 0.3765)
.threePointArc((0.3765, 0.0265), (0.0265, 0.3765))
.close()
.extrude(0.2578)
)
result = part_1
cq.exporters.export(result, "./stlcq/0074... |
The cylindrical object is created by extruding a circular base. The base has a diameter that is approximately twice the length of 0.1442 units, resulting in a circular cross-section. The cylinder stands 0.75 units tall. The circular base and the height define the overall shape and structure of the cylindrical object. | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.0706, 0.0706)
.circle(0.07)
.extrude(0.75)
)
result = part_1
cq.exporters.export(result, "./stlcq/0008/00085304.stl")
|
Start by creating a new coordinate system with specific Euler angles and a translation vector. Draw a rectangular shape on the first face, then scale this shape to fit the desired dimensions. Transform the two-dimensional sketch into a three-dimensional object by rotating and translating it. Extrude the shape in both d... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.0781, 0)
.lineTo(0.0781, 0.0034)
.lineTo(0, 0.0034)
.close()
.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, "... |
Construct a hexagonal prism by starting with a hexagonal face. The face consists of six straight lines forming a closed loop. After drawing the initial hexagon, scale the sketch to reduce its size. Transform the scaled two-dimensional sketch into three dimensions by rotating and translating it according to the specifie... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.1882)
.lineTo(0.3235, 0)
.lineTo(0.65, 0.1882)
.lineTo(0.65, 0.5618)
.lineTo(0.3235, 0.75)
.lineTo(0, 0.5618)
.close()
.extrude(0.2891)
)
result = part_1
cq.exporters.export(result, "./stlcq/0045/004578... |
To construct the cylindrical ring, start by creating a new coordinate system aligned with the default axes. Draw a two-dimensional sketch consisting of two concentric circles, one slightly larger than the other. Scale the entire sketch to reduce its size proportionally. Transform the scaled sketch into a three-dimensio... | 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.3412)
.extrude(0.1406)
)
result = part_1
cq.exporters.export(result, "./stlcq/0094/00949674.stl")
|
Start by creating a circular plate with a central hole. The plate has a series of concentric and offset circles that define its structure. After drawing the initial sketch, scale it down to fit the desired size. The final shape is a flat, circular plate with a small central hole and additional smaller holes around 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.0088)
.moveTo(0.3382, 0.3765)
.circle(0.0059)
.moveTo(0.4118, 0.3765)
.circle(0.0059)
.extrude(0.0391)
)
result = part_1
cq.exporters.exp... |
Start by creating a rectangular plate with two circular holes. The plate has a length of approximately 0.1159 units, a width of 0.75 units, and a thickness of 0.0219 units. The two holes are positioned near the center of the plate, one near the top and the other near the bottom. Both holes have the same diameter. The f... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.1147, 0)
.lineTo(0.1147, 0.75)
.lineTo(0, 0.75)
.close()
.moveTo(0.0765, 0.0618)
.circle(0.0147)
.moveTo(0.0765, 0.6882)
.circle(0.0118)
.extrude(0.0234)
)
result = part_1
cq.exporter... |
The rectangular frame is a symmetrical structure with a central opening. The frame's outer dimensions are 0.75 units in length and 0.3281 units in width, while the height is 0.007 units. The frame has rounded corners and a central rectangular opening, making it suitable for applications requiring a robust yet lightweig... | 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()
.moveTo(0.0588, 0.0588)
.lineTo(0.6912, 0.0588)
.lineTo(0.6912, 0.2706)
.lineTo(0.0588, 0.2706)
.close()
.extrude(0.0078)
)
... |
The base of the design features a multi-faceted, stepped, L-shaped top. The first face consists of a series of connected lines that form a unique shape. The lines start from the origin, extend horizontally, then vertically, and finally curve to form the L-shape. This sketch is then scaled down to fit the desired size. ... | 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.25, 0.6265)
.lineTo(0, 0.6265)
.close()
.extrude(0.5)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).rotate((0, 0, 0), (0, 0, 1), 90)... |
The design consists of a two-tiered cylindrical structure. The first part is a larger cylinder with a height of 0.2083 units, a length of 0.75 units, and a width of 0.75 units. The second part is a smaller cylinder placed on top of the first, with a height of 0.2917 units, a length of 0.5167 units, and a width of 0.516... | 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))... |
Start by creating a new coordinate system aligned with the default axes. Draw a rectangular sketch on the first face, ensuring that the corners are slightly rounded. Scale this sketch to reduce its size. Transform the scaled sketch into a three-dimensional object without altering its orientation or position. Extrude th... | 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, 0.1882)
.close()
.extrude(0.0234)
)
result = part_1
cq.exporters.export(result, "./stlcq/0008/00083012.stl")
|
The design involves creating a simple house with a triangular roof and rectangular walls. The house is constructed by defining a new coordinate system and drawing a 2D sketch that includes two faces. The first face outlines the base of the house, featuring a large rectangular shape with two smaller rectangular cutouts ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.3147, 0)
.lineTo(0.3147, 0.1794)
.lineTo(0.4206, 0.1794)
.lineTo(0.4206, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.3765)
.lineTo(0, 0.3765)
.close()
.moveTo(0.0324, 0.2412)
.lineTo(0.15, ... |
Start by creating a new coordinate system aligned with the default axes. In the first face, draw two concentric circles, with the outer circle being larger than the inner one. Scale the entire sketch uniformly to achieve the desired size. Extrude the scaled sketch along the normal direction to form a cylindrical shape ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.0431, 0.0431)
.circle(0.0428)
.moveTo(0.0431, 0.0431)
.circle(0.0307)
.extrude(0.75)
)
result = part_1
cq.exporters.export(result, "./stlcq/0015/00151510.stl")
|
The design involves creating a rectangular plate with rounded edges. First, establish a coordinate system with zero Euler angles and a zero translation vector. On the first face, draw a 2D sketch that forms a closed loop with four arcs and four lines, creating a rectangle with rounded corners. Scale this sketch by 0.75... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.0147)
.threePointArc((0.0059, 0.0059), (0.0147, 0))
.lineTo(0.7353, 0)
.threePointArc((0.7441, 0.0059), (0.75, 0.0147))
.lineTo(0.75, 0.5147)
.threePointArc((0.7441, 0.5265), (0.7353, 0.5294))
.lineTo(0.0147,... |
To construct a rectangular plate, start by setting up a new coordinate system with specific Euler angles and a translation vector. Draw a simple rectangular shape on the first face, ensuring the proportions are maintained. Transform this shape into three dimensions by applying the specified rotation and translation. Fi... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.3203, 0)
.lineTo(0.3203, 0.0176)
.lineTo(0, 0.0176)
.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 cylindrical object is created by first establishing a new coordinate system with specific Euler angles and a translation vector. A circle is drawn on the first face, centered at a precise point and with a defined radius. This 2D sketch is then scaled, rotated, and translated to position it correctly. The sketch is ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.0157, 0.0157)
.circle(0.0156)
.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/0029/00297845.stl")
|
The design consists of two main parts. The first part is a rectangular plate with a flat surface and rounded corners. It measures approximately 0.75 units in length, 0.4784 units in width, and 0.0124 units in height. The second part is a rectangular box with a flat bottom and an open top. It has four sides and a rectan... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.4794)
.lineTo(0, 0.4794)
.close()
.extrude(0.0156)
)
# Part 2: join
part_2 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.7266, 0)
.lineTo(0.7266, 0.0256)
.l... |
The design consists of two main parts: a cross-shaped base and a cross-shaped top. The base starts with a complex shape drawn in two loops, forming a cross with rounded corners. The top part also has a similar cross shape but is slightly smaller and includes a circular cutout. Both parts are extruded to create solid bo... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.397059)
.lineTo(0.188235, 0.397059)
.lineTo(0.188235, 0)
.lineTo(0.323529, 0)
.lineTo(0.323529, 0.397059)
.lineTo(0.511765, 0.397059)
.lineTo(0.511765, 0.532353)
.lineTo(0.323529, 0.532353)
.lineTo(0.... |
Create a rectangular block with rounded edges and corners. The block has a length of 0.75 units, a width of 0.3048 units, and a height of 0.2935 units. The shape is defined by a series of arcs and lines that form a closed loop on one face, which is then extruded to create the three-dimensional form. The rounded edges a... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.0588)
.threePointArc((0.0147, 0.0265), (0.0471, 0.0118))
.lineTo(0.7, 0)
.threePointArc((0.7353, 0.0147), (0.75, 0.05))
.lineTo(0.75, 0.2559)
.threePointArc((0.7353, 0.2912), (0.7, 0.3059))
.lineTo(0.0471, 0.... |
Create a cylindrical object by starting with a circular base. This base is then scaled down to fit the desired dimensions. The circular base is transformed into a three-dimensional shape by extruding it upwards to form a cylinder. The final dimensions of the cylinder are a height of 0.75 units and a diameter of 0.1875 ... | 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/0028/00281549.stl")
|
The first part involves creating a curved, three-dimensional shape with a flat base and a curved top. This shape has a length of zero point six four two nine, a width of zero point three four eight two, and a height of zero point two six seven nine. The second part is a rectangular block that removes material from the ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.threePointArc((0.3341, 0.0301), (0.6406, 0.1608))
.lineTo(0.2135, 0.1608)
.lineTo(0.2135, 0.0276)
.lineTo(0, 0.0276)
.close()
.extrude(0.2656)
)
part_1 = part_1.union(
cq.Workplane("XY")
.moveTo(0.2... |
Start by creating a rounded rectangular base. Begin with a two-dimensional sketch on the X-Y plane, forming a rectangle with a length slightly over 0.74 units and a width slightly over 0.75 units. Scale this sketch to reduce its size. Transform the scaled sketch into a three-dimensional object and extrude it along the ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.7471, 0)
.lineTo(0.7471, 0.75)
.lineTo(0, 0.75)
.close()
.extrude(0.1875)
)
result = part_1
cq.exporters.export(result, "./stlcq/0016/00169764.stl")
|
Create a rectangular object by defining a new coordinate system with specific Euler angles and a translation vector. Draw a two-dimensional sketch on the first face, forming a rectangle with four straight lines. Scale the sketch to reduce its size, then rotate and translate it into three-dimensional space. Extrude the ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.4794, 0)
.lineTo(0.4794, 0.75)
.lineTo(0, 0.75)
.close()
.extrude(0.0156)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.015625, 0))
result = part_1
cq.exporters.export(result, ".... |
The design consists of three main parts: a rectangular block, a cube, and two cylindrical objects. The rectangular block has a length of 0.75, a width of 0.3, and a height of 0.3, with slightly rounded top and bottom edges. The cube has a length of 0.1604, a width of 0.2739, and a height of 0.275, featuring rounded edg... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.3)
.lineTo(0, 0.3)
.close()
.extrude(0.2969)
)
# Part 2: cut
part_2 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.1598, 0)
.lineTo(0.1598, 0.2734)
.lineTo(0... |
Start by creating a new coordinate system with default settings. Draw a two-dimensional sketch on the first face, forming a rectangular shape with rounded corners. The sketch consists of four arcs and four straight lines, creating a smooth transition between the corners and the sides. After completing the sketch, scale... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.0088)
.threePointArc((0.0029, 0.0029), (0.0088, 0))
.lineTo(0.3176, 0)
.threePointArc((0.3265, 0.0029), (0.3294, 0.0088))
.lineTo(0.3294, 0.7412)
.threePointArc((0.3265, 0.7471), (0.3176, 0.75))
.lineTo(0.008... |
Start by creating a new coordinate system with specific Euler angles and a translation vector. Draw a two-dimensional sketch of a rectangular face. The sketch consists of four lines forming a rectangle. Scale the sketch to reduce its size. Rotate and translate the scaled sketch according to the coordinate system settin... | 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.0078)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.007812, 0))
result = part_1
cq.exporters.export(result, ".... |
Start by creating a new coordinate system with specific rotations and translations. On the first face, draw a rectangular sketch. This rectangle will be scaled down to seventy-five percent of its original size. Transform the scaled sketch into a three-dimensional object by applying the same rotations and translations u... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.3412)
.lineTo(0, 0.3412)
.close()
.extrude(0.2266)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.226562, 0))
result = part_1
cq.exporters.export(result, ".... |
The design involves creating a cylindrical shape. Start by setting up a new coordinate system with specific translations. Then, draw a circular face and scale it down. Transform this scaled circle into three-dimensional space and extrude it to form a solid cylinder. The final dimensions of the cylinder are approximatel... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.3113, 0.3113)
.circle(0.3137)
.extrude(0.1328)
)
part_1 = part_1.translate((0.0625, 0, 0))
result = part_1
cq.exporters.export(result, "./stlcq/0012/00121160.stl")
|
The design consists of two main parts. The first part is a rectangular base with rounded corners and a cylindrical protrusion. The base measures 0.75 units in length, 0.2428 units in width, and 0.1325 units in height. The second part is a cylindrical protrusion with a hollow center, measuring 0.151 units in both length... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.0588)
.threePointArc((0.6706, 0.1118), (0.7471, 0.1676))
.lineTo(0.75, 0.2441)
.lineTo(0, 0.2441)
.lineTo(0, 0.1676)
.threePointArc((0.0676, 0.1147), (0, 0.0618))
.cl... |
The design consists of two main parts: a rectangular box and a cylinder. The rectangular box has a length of 0.75, a width of 0.5, and a height of 0.375. It is created by extruding a scaled two-dimensional sketch along the normal direction. The cylinder, positioned above and slightly offset from the center of the recta... | 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.375)
)
# Part 2: cut
part_2 = (
cq.Workplane("XY")
.moveTo(0.1059, 0.1059)
.circle(0.1051)
.extrude(0.1562)
)
part_2 = par... |
The design consists of two parts. The first part is a cylindrical rod with a rectangular cross-section. It has a length of approximately 0.4684 units, a width of about 0.2936 units, and a height of 0.0231 units. The second part is a rectangular bar with a length of around 0.3075 units, a width of roughly 0.0512 units, ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.268382)
.threePointArc((0.115809, 0), (0.279412, 0.240809))
.lineTo(0.272059, 0.255515)
.lineTo(0.46875, 0.255515)
.lineTo(0.46875, 0.294118)
.lineTo(0.213235, 0.294118)
.lineTo(0.213235, 0.255515)
.lineT... |
Start by creating a new coordinate system with specific Euler angles and a translation vector. Draw a two-dimensional sketch on the first face, forming a quadrilateral shape. After completing the sketch, scale it down to fit the desired dimensions. Transform this scaled sketch into a three-dimensional object by applyin... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.6875)
.lineTo(0.1914, 0)
.lineTo(0.585, 0)
.lineTo(0.3936, 0.6875)
.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, ... |
Start by creating a new coordinate system with specific angles and translations. Draw a complex 2D sketch on the first face, consisting of several lines and an arc to form a unique shape. This shape includes a rectangular section with a curved ramp. Scale the sketch to fit the desired size. Transform the scaled 2D sket... | 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.5941, 0.0618)
.lineTo(0.5941, 0.2176)
.lineTo(0.5324, 0.2176)
.threePointArc((0.3765, 0.0618), (0.2176, 0.2176))
.lineTo(0.1559, 0.2176)
.lineTo(0.155... |
The design consists of two main parts. The first part is a flat, elongated, curved shape with rounded edges. It has a length of zero point seven five, a width of zero point two seven two six, and a height of zero point zero one three six. The second part involves creating five cylindrical holes along the length of the ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.1118, 0)
.lineTo(0.2118, 0)
.lineTo(0.6206, 0)
.threePointArc((0.75, 0.1353), (0.6206, 0.2735))
.lineTo(0.2118, 0.2735)
.lineTo(0.1118, 0.2735)
.threePointArc((0, 0.1353), (0.1118, 0))
.close()
.extrude(... |
Start by creating a rectangular block with a curved notch. The block has a length of 0.75 units, a width of 0.60 units, and a height of 0.15 units. The curved notch is located on one of the longer sides of the block, extending inward from the top edge. The notch consists of a straight section and a curved section that ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.2265)
.lineTo(0.5618, 0.2265)
.threePointArc((0.6382, 0.3), (0.5618, 0.3765))
.lineTo(0.75, 0.3765)
.lineTo(0.75, 0.6)
.lineTo(0, 0.6)
.close()
.extrude(0.1484)
)... |
The design involves creating a rectangular prism with rounded edges. Start by setting up a new coordinate system with default angles and translations. Draw the first face with a rectangular outline and a small circular cutout in the center. On the second face, draw another rectangular outline extending upwards. Scale t... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.0676, 0)
.lineTo(0.0676, 0.0676)
.lineTo(0, 0.0676)
.close()
.moveTo(0.0353, 0.0353)
.circle(0.0118)
.extrude(0.0234)
)
part_1 = part_1.union(
cq.Workplane("XY")
.moveTo(0, 0.0676)
... |
The CAD model consists of three rectangular prisms that form an L-shaped structure. The first part is a horizontal rectangular prism with a height of 0.6404 units, a width of 0.0057 units, and a length of 0.021 units. This part is positioned with its base at coordinates [0.0, 0.6404, 0.0785]. The second part is a verti... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.023438, 0)
.lineTo(0.023438, 0.006434)
.lineTo(0, 0.006434)
.close()
.extrude(0.640625)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.640625, 0.078125))
# Part 2: new
part_2 = (
... |
Start by creating a new coordinate system with no rotation or translation. Draw a square on a new face, ensuring it has equal sides. Scale the square to reduce its size proportionally. Transform the scaled square into a three-dimensional shape by extruding it along the normal direction. The final dimensions of 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.0156)
)
result = part_1
cq.exporters.export(result, "./stlcq/0014/00145733.stl")
|
Start by creating a new coordinate system with specific Euler angles and a translation vector. Draw a two-dimensional sketch of the first face, which consists of a series of connected lines forming a unique shape. This shape includes a rectangle with one side shortened and a smaller square attached to it. After drawing... | 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.3765, 0.75)
.lineTo(0.3765, 0.3765)
.close()
.extrude(0.375)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.75, 0))
result = part_1
cq.exp... |
Start by setting up a new coordinate system with specific angles and translations. Draw two identical two-dimensional sketches on two faces, each consisting of a square with a small circular cutout at the center. Scale the sketches to the appropriate size and transform them into three dimensions. Extrude the scaled ske... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.07)
.lineTo(0.0706, 0.0006)
.lineTo(0.1406, 0.07)
.lineTo(0.0706, 0.1412)
.close()
.moveTo(0.07, 0.07)
.circle(0.0303)
.extrude(0.75)
)
part_1 = part_1.union(
cq.Workplane("XY")
.moveTo(0, 0.07)
... |
To create a cylindrical object, start by setting up a new coordinate system with specific rotations and translations. Then, draw two identical circular profiles on two faces, each consisting of an outer circle and an inner circle. After drawing, scale down the entire profile to fit the desired size. Transform the scale... | 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.1118)
.extrude(0.75)
)
part_1 = part_1.union(
cq.Workplane("XY")
.moveTo(0.1882, 0.1882)
.circle(0.1868)
.moveTo(0.1882, 0.1882)
.circl... |
To construct the ring-shaped object, start by setting up a new coordinate system with default angles and positions. Draw a two-dimensional sketch consisting of two concentric circles. The outer circle has a larger radius, while the inner circle has a smaller radius. Scale the sketch to reduce its size. Transform the sc... | 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.25)
.extrude(0.0781)
)
result = part_1
cq.exporters.export(result, "./stlcq/0031/00313924.stl")
|
The first part is a vertical cylinder with a small, thin, vertical rod extending from its center. The cylinder has a height of 0.75 units, and both its length and width are 0.0191 units. The second part is a cylindrical object with a small rectangular protrusion at the top. This cylindrical object has a height of 0.710... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.0078, 0.0078)
.circle(0.0078)
.moveTo(0.0078, 0.0078)
.circle(0.0052)
.extrude(0.75)
)
# Part 2: new
part_2 = (
cq.Workplane("XY")
.moveTo(0.0078, 0.0078)
.circle(0.0078)
.extrude(0.7109)
)
part_2 = par... |
The design consists of a rectangular plate with rounded edges. The first part is a rectangular plate with a length of 0.01875 meters, a width of 0.75 meters, and a height of 0.2875 meters. The second part adds rounded edges to the top and bottom of the plate, each with a length of 0.0053347 meters, a width of 0.7375 me... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.0176, 0)
.lineTo(0.0176, 0.75)
.lineTo(0, 0.75)
.close()
.extrude(0.2891)
)
# Part 2: join
part_2 = (
cq.Workplane("XY")
.moveTo(0.0029, 0)
.threePointArc((0, 0.0058), (0.0058, 0.0029))
... |
Start by setting up a new coordinate system with default angles and no translation. Draw a circle in a new face, centered at a point slightly offset from the origin, and then scale the circle down to a smaller size. Transform the scaled circle into a three-dimensional object by rotating and translating it according to ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.3765, 0.3765)
.circle(0.3735)
.extrude(0.0625)
)
result = part_1
cq.exporters.export(result, "./stlcq/0033/00333967.stl")
|
The rectangular block is a simple yet precise component. It features a flat top and bottom with straight, sharp edges. The top surface is slightly wider than the bottom, giving it a subtle tapering effect. The block’s dimensions include a length that is significantly longer than its width, and a relatively small height... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.2794)
.lineTo(0, 0.2794)
.close()
.extrude(0.0625)
)
result = part_1
cq.exporters.export(result, "./stlcq/0052/00522876.stl")
|
To create the rounded cylindrical object, start by setting up a new coordinate system with specific Euler angles and a translation vector. Draw a two-dimensional sketch consisting of two concentric circles on a single face. The outer circle has a larger radius, while the inner circle has a smaller radius. Scale the ent... | 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.5469)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.546875, 0))
result = part_1
cq.exporters.export(result, "./stlc... |
Start by creating a new coordinate system with specific Euler angles and a translation vector. Then, draw a circle on a new face and scale it to the desired size. Transform this scaled circle into a three-dimensional shape by applying the same Euler angles and translation vector used earlier. Extrude the transformed sh... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.0235, 0.0235)
.circle(0.0233)
.extrude(0.7109)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).rotate((0, 0, 0), (0, 0, 1), 90).translate((0.039062, 0.007812, 0.007812))
result = part_1
cq.exporters.export(result, "./stlcq... |
Start by constructing a rectangular plate. The plate has a length of 0.5909 units, a width of 0.7500 units, and a height of 0.0227 units. Next, create a cylindrical hole. This hole has a diameter of 0.1136 units and a depth of 0.1818 units. Position the cylindrical hole within the rectangular plate so that it penetrate... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.5912, 0)
.lineTo(0.5912, 0.75)
.lineTo(0, 0.75)
.close()
.extrude(0.0234)
)
# Part 2: cut
part_2 = (
cq.Workplane("XY")
.moveTo(0.0588, 0.0588)
.circle(0.0584)
.extrude(0.1797)
)
part_... |
Start by creating a new coordinate system with specific Euler angles and a translation vector. Then, draw a two-dimensional sketch that includes a single circle. This circle is scaled and transformed into three dimensions. The sketch is then extruded in both directions along the normal to form a solid cylindrical objec... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.0157, 0.0157)
.circle(0.0156)
.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 = part_1
cq.exporters.export(result, "./stlcq/0036/00369974.st... |
The design involves creating a cylindrical object. Start by establishing a new coordinate system aligned with the default axes. Draw a circular shape on the first face, then scale this shape to reduce its size. Transform the scaled shape into three dimensions and extrude it to form a solid cylinder. The final cylinder ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.1059, 0.1059)
.circle(0.1051)
.extrude(0.75)
)
result = part_1
cq.exporters.export(result, "./stlcq/0075/00751574.stl")
|
Start by creating a new coordinate system aligned with the default axes. Draw a rectangular shape on a new face, ensuring that the dimensions are proportional to the desired final size. After drawing the rectangle, apply a uniform scaling to reduce its size. Transform this scaled rectangle into a three-dimensional obje... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.3353)
.lineTo(0, 0.3353)
.close()
.extrude(0.4844)
)
result = part_1
cq.exporters.export(result, "./stlcq/0080/00803923.stl")
|
Start by creating a new coordinate system and setting the rotation and translation values. Draw a rectangular shape on the first face, forming a closed loop with four straight lines. After completing the sketch, apply a scaling transformation to adjust its size. Rotate and translate the scaled sketch according to the c... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.3029)
.lineTo(0, 0.3029)
.close()
.extrude(0.125)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.125, 0))
result = part_1
cq.exporters.export(result, "./stl... |
To create a rounded cylinder, start by setting up a new coordinate system with specific rotations and translations. Draw a single circle on the first face, then scale the sketch to adjust its size. Transform the sketch by rotating and translating it to the desired position. Extrude the sketch to form a solid body. The ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.3765, 0.3765)
.circle(0.3735)
.extrude(0.1406)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.140625, 0))
result = part_1
cq.exporters.export(result, "./stlcq/0061/00614990.stl")
|
The washer is created by defining a circular outer boundary and a concentric inner hole. The outer circle has a diameter that is twice the radius, and the inner hole is significantly smaller, creating a ring-like structure. After scaling down the initial sketch, the shape is transformed into a three-dimensional object.... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.3765, 0.3765)
.circle(0.3735)
.moveTo(0.3765, 0.3765)
.circle(0.1706)
.extrude(0.0547)
)
result = part_1
cq.exporters.export(result, "./stlcq/0080/00807521.stl")
|
The first part involves creating a rectangular box with a length of approximately 0.6037 units, a width of 0.4024 units, and a height of 0.1866 units. This part is created by drawing a 2D sketch, scaling it, transforming it into 3D, and then extruding it to form a solid body. The second part is a smaller rectangular bl... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.6016, 0)
.lineTo(0.6016, 0.401)
.lineTo(0, 0.401)
.close()
.extrude(0.1875)
)
part_1 = part_1.translate((0.148438, 0, 0))
# Part 2: join
part_2 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo... |
The first part is a cylindrical base with a length and width of 0.75 and a height of 0.3125. The second part is a smaller cylindrical hole with a length and width of 0.50375 and a height of 0.0625, which is recessed into the top surface of the base. The third part is an even smaller cylindrical hole with a length and w... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.3765, 0.3765)
.circle(0.3735)
.extrude(0.3125)
)
# Part 2: cut
part_2 = (
cq.Workplane("XY")
.moveTo(0.251, 0.251)
.circle(0.249)
.extrude(0.0625)
)
part_2 = part_2.rotate((0, 0, 0), (1, 0, 0), -178.5937).trans... |
Start by creating a new coordinate system with specific rotations and translations. Then, draw a two-dimensional rectangular sketch on the first face. This sketch forms a closed loop with four straight lines. After drawing the sketch, scale it down to fit the desired size. Transform the scaled sketch into three-dimensi... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.6941)
.lineTo(0, 0.6941)
.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 three main parts. The first part is a circular base with a length and width of 0.75 units and a height of 0.03 units. The second part is a cylindrical object that sits centrally on the base, with a length and width of 0.225 units and a height of 0.1875 units. The third part is a cylindrical cutou... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.3765, 0.3765)
.circle(0.3735)
.extrude(0.0312)
)
# Part 2: join
part_2 = (
cq.Workplane("XY")
.moveTo(0.1137, 0.1137)
.circle(0.1128)
.extrude(0.1875)
)
part_2 = part_2.translate((0.265625, 0.265625, 0.03125))
... |
Start by creating a new coordinate system with specific Euler angles and a translation vector. Then, draw a two-dimensional rectangular sketch on a new face. After drawing the rectangle, apply a scaling factor to reduce its size. Transform the scaled sketch into three dimensions by rotating and translating it according... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.4529, 0)
.lineTo(0.4529, 0.75)
.lineTo(0, 0.75)
.close()
.extrude(0.0156)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).rotate((0, 0, 0), (0, 0, 1), 90)
result = part_1
cq.exporters.export(resul... |
Create a new coordinate system with default settings. Draw a two-dimensional hexagonal shape on the first face. This hexagon is then scaled down to fit the desired dimensions. Transform the scaled hexagon into three-dimensional space and extrude it 0.75 units along the normal direction to form a solid body. The resulti... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.2162)
.lineTo(0.2335, 0)
.lineTo(0.4536, 0.2181)
.lineTo(0.3899, 0.442)
.lineTo(0.2374, 0.4922)
.lineTo(0.0463, 0.4536)
.close()
.extrude(0.75)
)
result = part_1
cq.exporters.export(result, "./stlcq/005... |
The design consists of two main parts. The first part is a rounded rectangular base with a length of 0.75 units, a width of 0.375 units, and a height of 0.25 units. This base is created by drawing a specific shape and then extruding it to form a solid body. The second part is a cube extension that adds to the existing ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.1265)
.lineTo(0.5, 0.1265)
.lineTo(0.25, 0.1265)
.lineTo(0.25, 0.3735)
.lineTo(0, 0.3735)
.lineTo(0, 0.1265)
.close()
.extrude(0.25)
)
# Part 2: join
part_2 = (
... |
The design involves creating a cylindrical shape with a central hole. Start by setting up a coordinate system with default angles and positions. Draw a larger circle and a smaller concentric circle on the first face. Scale the drawing to reduce its size, then transform it into a three-dimensional object by extruding it... | 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.1618)
.extrude(0.1641)
)
result = part_1
cq.exporters.export(result, "./stlcq/0049/00499000.stl")
|
Start by creating a new coordinate system aligned with the global axes and positioned slightly above the origin. Draw a rectangular 2D sketch on the first face, forming a closed loop with four straight lines. After drawing the rectangle, apply a uniform scale factor to reduce its size. Transform the scaled 2D sketch in... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.4294)
.lineTo(0, 0.4294)
.close()
.extrude(0.0078)
)
part_1 = part_1.translate((0, 0, 0.007812))
result = part_1
cq.exporters.export(result, "./stlcq/0067/00679739.stl")
|
The rectangular bar is created by first establishing a new coordinate system with specific rotations and translations. A two-dimensional rectangular sketch is then drawn, which is later transformed into a three-dimensional object. The bar has a length of zero point seven five units, a width of zero point one zero seven... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.1059)
.lineTo(0, 0.1059)
.close()
.extrude(0.0234)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.023438, 0))
result = part_1
cq.exporters.export(result, ".... |
A cylindrical object is created by defining a new coordinate system with specific Euler angles and a translation vector. A single circle is drawn on the first face, then scaled and transformed to create a 3D sketch. This sketch is extruded to form a solid cylinder. The final dimensions of the cylinder are approximately... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.051, 0.051)
.circle(0.0506)
.extrude(0.6484)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0.046875, 0.648438, 0.046875))
result = part_1
cq.exporters.export(result, "./stlcq/0067/00678221.stl")
|
The first part is a rectangular base with a length and width of 0.75 units and a height of 0.0625 units. The second part is a cylindrical hole located centrally within the base, with a diameter of 0.1423 units and a depth of 0.3125 units. The third part is a rounded cylindrical object placed on top of the base, 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.75)
.lineTo(0, 0.75)
.close()
.extrude(0.0625)
)
# Part 2: join
part_2 = (
cq.Workplane("XY")
.moveTo(0.0706, 0.0706)
.circle(0.07)
.extrude(0.3125)
)
part_2 = p... |
The design involves creating a rectangular prism with a triangular cutout and a circular hole. Start by setting up a new coordinate system and drawing a 2D sketch on the first face. The sketch consists of a rectangular shape with a triangular section removed and a circular hole in the middle. After scaling and transfor... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.2706)
.lineTo(0.2735, 0.0029)
.lineTo(0.75, 0)
.lineTo(0.75, 0.4794)
.lineTo(0.1912, 0.4794)
.close()
.moveTo(0.2206, 0.2765)
.circle(0.0794)
.extrude(0.1562)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0... |
The design involves creating a torus with a cylindrical base and a circular hole in the center. Start by defining a coordinate system aligned with the global axes. Draw two concentric circles on a plane, one larger and one smaller, to form the base of the torus. Scale this base down to fit the desired dimensions. Trans... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.3765, 0.3765)
.circle(0.3735)
.moveTo(0.3765, 0.3765)
.circle(0.1706)
.extrude(0.1641)
)
result = part_1
cq.exporters.export(result, "./stlcq/0098/00985830.stl")
|
The design involves creating a cylindrical object with a central circular hole. Start by setting up a coordinate system with no rotation or translation. On the first face, draw two concentric circles; the outer circle represents the outer boundary of the cylinder, and the inner circle forms the hole. These circles are ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.3765, 0.3765)
.circle(0.3735)
.moveTo(0.3765, 0.3765)
.circle(0.1971)
.extrude(0.4531)
)
result = part_1
cq.exporters.export(result, "./stlcq/0089/00899536.stl")
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.