input stringlengths 267 2.05k | output stringlengths 209 3.36k |
|---|---|
The first part involves creating a rectangular prism with a flat top and bottom, and four rectangular faces. The length is 0.73 units, the width is 0.35 units, and the height is 0.075 units. In the second part, a rectangular object with rounded edges and a flat top is constructed. This object has a length of 0.35 units... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.7266, 0)
.lineTo(0.7266, 0.3476)
.lineTo(0, 0.3476)
.close()
.extrude(0.0781)
)
part_1 = part_1.translate((0.007812, 0.007812, 0))
# Part 2: new
part_2 = (
cq.Workplane("XY")
.moveTo(0, 0)
... |
Start by creating a new coordinate system with specific Euler angles and a translation vector. On the first face, draw a two-dimensional sketch that includes a square outline and four smaller mounting holes, along with a larger central circular hole. After drawing the sketch, scale it down and rotate it to align with t... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.6265)
.lineTo(0, 0.6265)
.close()
.moveTo(0.3765, 0.3118)
.circle(0.0324)
.moveTo(0.1882, 0.0324)
.circle(0.0118)
.moveTo(0.0324, 0.1265)
.circle(0.0118)
... |
The design involves creating a rectangular prism with a rectangular cutout. Start by establishing a new coordinate system with specific rotations and translations. Draw a complex two-dimensional sketch that forms the outline of the prism with a cutout. After defining the sketch, transform it into three dimensions by ap... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.1118, 0)
.lineTo(0.1118, 0.75)
.lineTo(0, 0.75)
.lineTo(0, 0.6)
.lineTo(0.0559, 0.6)
.lineTo(0.0559, 0.4882)
.lineTo(0, 0.4882)
.close()
.extrude(0.4531)
)
part_1 = part_1.rotate((0, 0,... |
The design involves creating a T-shaped rectangular base. The first step is to draw the outline of the T-shape in two dimensions, which consists of two interconnected rectangular sections. The first section forms the vertical part of the T, while the second section forms the horizontal part. After defining the shape, s... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.1882)
.lineTo(0, 0.5618)
.lineTo(0.1882, 0.5618)
.lineTo(0.1882, 0.75)
.lineTo(0.3765, 0.75)
.lineTo(0.3765, 0)
.lineTo(0.1882, 0)
.lineTo(0.1882, 0.1882)
.close()
.extrude(0.75)
)
part_1 = part_1... |
The design consists of two cylindrical parts. The first part is a larger cylinder with a height of approximately 0.2083 and a diameter of about 0.75. This cylinder forms the base of the structure. The second part is a smaller cylinder placed on top of the first, with a height of around 0.2917 and a diameter of roughly ... | 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 with default settings. Draw a two-dimensional sketch consisting of two concentric circles, one slightly larger than the other. Scale the sketch down to reduce its size. Transform the scaled sketch to maintain its position and orientation. Extrude the sketch to form a cylindrica... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.2, 0.2)
.circle(0.1984)
.moveTo(0.2, 0.2)
.circle(0.1891)
.extrude(0.75)
)
result = part_1
cq.exporters.export(result, "./stlcq/0025/00251244.stl")
|
The design involves creating a rectangular prism with slightly rounded edges and a flat top and bottom. The first step is to establish a new coordinate system with default settings. A two-dimensional sketch is then drawn on the first face, outlining the shape of the rectangular prism. The sketch is scaled down to 75% o... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.0265)
.lineTo(0.0294, 0.0029)
.lineTo(0.7235, 0)
.lineTo(0.75, 0.0265)
.lineTo(0.75, 0.6118)
.lineTo(0.7265, 0.6412)
.lineTo(0.0265, 0.6382)
.lineTo(0, 0.6118)
.close()
.extrude(0.0078)
)
result ... |
Start by creating a new coordinate system with specific Euler angles and a translation vector. Next, draw a complex two-dimensional sketch on the first face. This sketch consists of two loops that define the outline and a cutout section. After completing the sketch, scale it down to fit the desired size. Transform the ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.3882)
.lineTo(0.6676, 0.3882)
.lineTo(0.6676, 0.4441)
.lineTo(0.5, 0.4441)
.lineTo(0.5, 0.3882)
.lineTo(0.4176, 0.3882)
.lineTo(0.4176, 0.2235)
.lineTo(0.0059, 0.... |
The rectangular plate is a simple yet precise component. It starts as a two-dimensional sketch of a rectangle, which is then transformed into a three-dimensional solid. The plate has a length of just over three-quarters of a unit, a width of half a unit, and a thickness of slightly more than one-hundredth of a unit. Th... | 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.0078)
)
result = part_1
cq.exporters.export(result, "./stlcq/0043/00437856.stl")
|
The design involves creating a rectangular base that forms the foundation of the model. The base is constructed by defining a new coordinate system and drawing a two-dimensional rectangular sketch. This sketch is then scaled, rotated, and translated to form a three-dimensional shape. The extrusion process adds depth to... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.6005, 0)
.lineTo(0.6005, 0.625)
.lineTo(0, 0.625)
.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, "./... |
The cylindrical base with a rectangular top and central hole is constructed by first setting up a coordinate system with specific Euler angles and a translation vector. A two-dimensional sketch is drawn on the first face, consisting of two loops. The first loop forms an irregular shape with arcs and lines, while the se... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.4015)
.threePointArc((0.0154, 0.2702), (0.0566, 0.1467))
.threePointArc((0.2934, 0), (0.5301, 0.1467))
.threePointArc((0.5739, 0.2702), (0.5893, 0.4015))
.lineTo(0.5893, 0.4607)
.lineTo(0.3937, 0.4607)
.lineT... |
The first part involves creating a rectangular prism with a slightly rounded top and bottom, and sharp edges. The prism measures 0.75 units in length, 0.3801 units in width, and 0.375 units in height. The second part involves creating a smaller cube with rounded edges and a slightly tilted perspective. The cube measure... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.0912, 0)
.lineTo(0.1676, 0)
.lineTo(0.75, 0.2206)
.lineTo(0.75, 0.3794)
.lineTo(0, 0.3794)
.close()
.extrude(0.375)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.5625, 0))
... |
The L-shaped CAD model features a rectangular base and a vertical rectangular extension. The base is wider than the vertical extension, giving the model its distinctive L-shape. The overall dimensions of the model are 0.4418 units in length, 0.75 units in width, and 0.5597 units in height. The base and the vertical ext... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.4412, 0)
.lineTo(0.4412, 0.2088)
.lineTo(0.2029, 0.2088)
.lineTo(0.2029, 0.7471)
.lineTo(0, 0.75)
.close()
.extrude(0.5625)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.56... |
The design consists of two main parts that are assembled together to form a complex shape. The first part is a torus-like structure with a central hole, measuring 0.46875 units in length and width, and 0.1015625 units in height. The second part is a ring-shaped object with a central hole, measuring 0.4375 units in leng... | 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... |
Construct a rectangular base that forms the foundation of the model. Begin by creating a new coordinate system and drawing a two-dimensional sketch of a rectangle on the first face. The rectangle has equal sides, forming a square. After drawing the sketch, scale it down to fit the desired dimensions. Transform the scal... | 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.0547)
)
result = part_1
cq.exporters.export(result, "./stlcq/0057/00571940.stl")
|
To create the solid cylinder, start by setting up a new coordinate system with specific angles and translations. Draw a circle on a new face, position it, and scale it down. Transform the scaled sketch into a three-dimensional object and extrude it to form a cylinder. The cylinder has a height of 0.3158 units, and both... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.2784, 0.2784)
.circle(0.2763)
.extrude(0.3125)
)
part_1 = part_1.translate((0.101562, 0.101562, 0))
result = part_1
cq.exporters.export(result, "./stlcq/0064/00643526.stl")
|
The design consists of three parts. The first part is a cylindrical object with a flat top and bottom, measuring approximately 0.08 units in length and width and 0.75 units in height. The second part is a larger cylindrical object with a circular base and top, measuring about 0.22 units in length and width and 0.74 uni... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.0392, 0.0392)
.circle(0.0389)
.extrude(0.75)
)
part_1 = part_1.translate((0.070312, 0.070312, 0))
# Part 2: join
part_2 = (
cq.Workplane("XY")
.moveTo(0.1098, 0.1098)
.circle(0.1089)
.moveTo(0.1098, 0.1098)
... |
The design involves creating a cylindrical object with rounded edges. A new coordinate system is established, and a two-dimensional sketch is drawn on the first face, featuring six circles arranged in a specific pattern. After scaling the sketch, it is transformed into three dimensions by rotating and translating it. T... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.3765, 0.3765)
.circle(0.3735)
.moveTo(0.5853, 0.3088)
.circle(0.0765)
.moveTo(0.1471, 0.3059)
.circle(0.0765)
.moveTo(0.3735, 0.1647)
.circle(0.0765)
.moveTo(0.2324, 0.5647)
.circle(0.0765)
.move... |
Start by creating a new coordinate system with specific rotations and translations. Draw a rectangular shape in a two-dimensional sketch, then scale this sketch to reduce its size. Transform the scaled sketch into three-dimensional space by applying the same rotations and translations used in the coordinate system. Ext... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.0412)
.lineTo(0, 0.0412)
.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, ".... |
Create a rectangular block by starting with a two-dimensional sketch that outlines a rectangle. The rectangle is then scaled down to 75% of its original size. This scaled-down sketch is transformed into a three-dimensional object by extruding it along its normal direction. The resulting solid has a length of 0.75 units... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.4735)
.lineTo(0, 0.4735)
.close()
.extrude(0.2969)
)
result = part_1
cq.exporters.export(result, "./stlcq/0072/00728519.stl")
|
The design consists of two main parts. The first part is a cylindrical washer with a central hole, measuring 0.75 units in length and width, and 0.075 units in height. This part is created by drawing two concentric circles on a face, scaling the sketch, and then extruding it in the opposite direction of the normal. 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.1059)
.extrude(0.0781)
)
# Part 2: new
part_2 = (
cq.Workplane("XY")
.moveTo(0.251, 0.251)
.circle(0.249)
.moveTo(0.251, 0.251)
.circl... |
The design consists of two main components: a larger cylindrical base and a smaller cylindrical top. The cylindrical base has a length and width of approximately 0.6 units and a height of about 0.29 units. The smaller cylindrical top is positioned on top of the base, centered and slightly offset. It has a length and wi... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.298, 0.298)
.circle(0.2957)
.extrude(0.2891)
)
# Part 2: join
part_2 = (
cq.Workplane("XY")
.moveTo(0.1804, 0.1804)
.circle(0.179)
.extrude(0.4609)
)
part_2 = part_2.translate((0.117188, 0.117188, 0.289062))
r... |
Construct a hollow cylindrical object by creating a new coordinate system aligned with the default axes. Draw two concentric circles on a single face, with the larger circle forming the outer boundary and the smaller circle defining the inner hollow space. Scale the entire sketch to reduce its size. Transform the scale... | 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.2324)
.extrude(0.2969)
)
result = part_1
cq.exporters.export(result, "./stlcq/0054/00549901.stl")
|
To construct the cylindrical base, start by setting up a new coordinate system with no rotation and a slight vertical offset. Draw a circular sketch on the first face, centering it at a specific point and defining its radius. Scale the sketch to reduce its size, then transform it into a three-dimensional shape by apply... | 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.translate((0, 0, 0.070312))
result = part_1
cq.exporters.export(result, "./stlcq/0055/00553470.stl")
|
The first part is a rectangular plate with rounded corners and two circular holes on opposite sides. The plate measures seven hundred fifty millimeters in length, one hundred thirty-three point nine millimeters in width, and thirty-three point five millimeters in height. The rounded corners and holes are precisely plac... | 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 creating a new coordinate system with specific Euler angles and a translation vector. Draw a rectangular shape on the first face. Scale the rectangle to adjust its size. Transform the scaled rectangle into a three-dimensional object by applying rotation and translation. Extrude the three-dimensional shape to c... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.0676)
.lineTo(0, 0.0676)
.close()
.extrude(0.0469)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).rotate((0, 0, 0), (0, 0, 1), 90)
result = part_1
cq.exporters.export(resul... |
The rectangular beam is a solid object with a flat top and bottom and a rectangular cross-section. It features a slight taper on the sides, giving it a unique profile. The beam is 0.15 units long, 0.2885 units wide, and 0.75 units tall. The overall shape is created by extruding a 2D sketch along the normal to form the ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.1508, 0)
.lineTo(0.1508, 0.017)
.lineTo(0.0295, 0.017)
.threePointArc((0.0159, 0.0227), (0.0113, 0.0363))
.lineTo(0.0113, 0.2528)
.threePointArc((0.0159, 0.2664), (0.0295, 0.2721))
.lineTo(0.15... |
Create a rectangular prism with a triangular cutout. Start by setting up a new coordinate system with specific angles and translations. Draw a two-dimensional sketch that forms a rectangle with a triangular section removed. Transform this sketch into three dimensions and extrude it to create the final solid body. The r... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.2176)
.lineTo(0.3765, 0.4382)
.lineTo(0, 0.4382)
.close()
.extrude(0.25)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.25, 0))
result = part_1
cq.expor... |
The design involves creating a cube with smooth edges and flat faces. Start by setting up a new coordinate system with specific Euler angles and a translation vector. Next, draw a rectangular sketch on a plane, then scale this sketch to fit the desired dimensions. After scaling, rotate and translate the sketch accordin... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.7344, 0)
.lineTo(0.7344, 0.4089)
.lineTo(0, 0.4089)
.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 Euler angles and a translation vector. Draw a two-dimensional sketch consisting of two concentric circles. Scale this sketch to reduce its size. Transform the scaled sketch into three dimensions using the defined coordinate system. Extrude the transformed sketch 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.2912)
.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, "./stlc... |
The design involves creating a rectangular prism with rounded edges and a slightly curved top surface. Start by setting up a new coordinate system with specific Euler angles and a translation vector. Draw a two-dimensional sketch that outlines the base shape of the prism, which includes a series of connected lines form... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.1324)
.lineTo(0.5529, 0.2353)
.lineTo(0.1971, 0.2353)
.lineTo(0, 0.1324)
.close()
.extrude(0.2812)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.2812... |
Start by creating a circular plate with a central hole and four smaller holes around the edge. The main circle forms the base of the plate, and the central hole is positioned in the middle. Four additional holes are evenly spaced around the perimeter of the plate. After drawing the initial 2D sketch, scale it down to f... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.3765, 0.3765)
.circle(0.3735)
.moveTo(0.3765, 0.3765)
.circle(0.1853)
.moveTo(0.3765, 0.7118)
.circle(0.0176)
.moveTo(0.0382, 0.3765)
.circle(0.0147)
.moveTo(0.3765, 0.0382)
.circle(0.0147)
.move... |
The design involves creating a rectangular prism with a rectangular cutout. Start by setting up a new coordinate system with default angles and positions. Draw a complex two-dimensional shape on the first face, which includes a series of lines forming a closed loop. After completing the sketch, scale it down to 75% of ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.15)
.lineTo(0.6294, 0.15)
.lineTo(0.6294, 0.3)
.lineTo(0.75, 0.3)
.lineTo(0.75, 0.45)
.lineTo(0, 0.45)
.lineTo(0, 0.3)
.lineTo(0.1206, 0.3)
.lineTo(0.1206, 0.... |
Create a rectangular prism with a rectangular cutout. Begin by setting up a new coordinate system with specific rotations and translations. Draw a two-dimensional sketch on the first face, forming a complex shape with multiple lines and a cutout. Scale this sketch to reduce its size. Transform the scaled sketch into a ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.2294)
.lineTo(0.3912, 0.2294)
.lineTo(0.3912, 0.1441)
.lineTo(0.3588, 0.1441)
.lineTo(0.3588, 0.2294)
.lineTo(0, 0.2294)
.close()
.extrude(0.0156)
)
part_1 = part... |
The staircase consists of nine parts, each contributing to the overall structure. The first part is a cube with rounded edges and corners, measuring 0.4314 in length, 0.2655 in width, and 0.3982 in height. The second part is a rectangular prism with a slightly rounded top and bottom, and sharp edges, measuring 0.0863 i... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.0859, 0)
.lineTo(0.1719, 0)
.lineTo(0.2578, 0)
.lineTo(0.3438, 0)
.lineTo(0.4297, 0)
.lineTo(0.4297, 0.2646)
.lineTo(0, 0.2646)
.close()
.extrude(0.3984)
)
part_1 = part_1.translate((0.... |
Start by creating a new coordinate system with no rotation and a slight vertical offset. Draw a rectangular shape on the first face, ensuring the corners are well-defined. Scale this rectangle to fit the desired dimensions. Transform the scaled rectangle into a three-dimensional object by applying the same orientation ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.4766, 0)
.lineTo(0.4766, 0.3588)
.lineTo(0, 0.3588)
.close()
.extrude(0.0625)
)
part_1 = part_1.translate((0, 0.03125, 0))
result = part_1
cq.exporters.export(result, "./stlcq/0022/00222002.stl")
|
The design involves creating a cylindrical ring. Start by setting up a new coordinate system with default angles and vectors. On the first face, draw two concentric circles. The outer circle forms the outer boundary, and the inner circle defines the inner boundary of the ring. Scale the entire sketch to reduce its size... | 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.2382)
.extrude(0.1719)
)
result = part_1
cq.exporters.export(result, "./stlcq/0041/00411503.stl")
|
Start by creating a new coordinate system with the specified Euler angles and translation vector. Draw a rectangular sketch on the first face, forming a closed loop with four lines. After drawing the sketch, apply a scaling factor to reduce its size. Transform the scaled sketch into three-dimensional space using the de... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.4441, 0)
.lineTo(0.4441, 0.75)
.lineTo(0, 0.75)
.close()
.extrude(0.5391)
)
part_1 = part_1.translate((0, 0, 0.171875))
result = part_1
cq.exporters.export(result, "./stlcq/0022/00229496.stl")
|
The design consists of two main parts. The first part is a rectangular prism base with a length of 0.75 units, a width of 0.175 units, and a height of 0.1 units. This base is created by defining a new coordinate system, drawing a 2D sketch, scaling it, transforming it into 3D, and then extruding it. The second part is ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.1765)
.lineTo(0, 0.1765)
.close()
.extrude(0.1016)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.101562, 0))
# Part 2: cut
part_2 = (
cq.Workplane("XY")... |
The cylindrical base is created by starting with a circular face that is then scaled down and transformed into a three-dimensional object. The circular face has a diameter that is approximately half the length and width of the final base. The base is then extruded to create a solid cylinder with a height of 0.0938 unit... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.3765, 0.3765)
.circle(0.3735)
.extrude(0.0938)
)
result = part_1
cq.exporters.export(result, "./stlcq/0037/00375285.stl")
|
Start by creating a new coordinate system with no rotation and a slight offset. Draw a circle on the first face and scale it down to a smaller size. Transform the scaled circle into a three-dimensional shape and extrude it to form a solid cylinder. The final dimensions of the cylinder will be a length of 0.25, a width ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.1255, 0.1255)
.circle(0.1245)
.extrude(0.125)
)
part_1 = part_1.translate((0.25, 0.101562, 0))
result = part_1
cq.exporters.export(result, "./stlcq/0031/00317140.stl")
|
The support bracket has a rectangular shape with four mounting holes. The main body consists of a complex outline that includes straight lines and arcs to form a unique profile. Four circular holes are strategically placed within the main body to serve as mounting points. The entire design is scaled down by a factor of... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.0378)
.lineTo(0, 0.3725)
.lineTo(0, 0.7044)
.threePointArc((0.0175, 0.7364), (0.0524, 0.7422))
.lineTo(0.521, 0.5763)
.threePointArc((0.5384, 0.5617), (0.5443, 0.5384))
.lineTo(0.5443, 0.3725)
.lineTo(0.5... |
Start by creating a rectangular object with curved edges. The object consists of a rectangular base with a rounded corner and a small circular cutout. After defining the basic shape, the object is scaled down to 75% of its original size. The final dimensions of the object are approximately 0.35 units in length, 0.75 un... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.3471, 0)
.lineTo(0.3471, 0.5765)
.threePointArc((0.1735, 0.75), (0, 0.5765))
.close()
.moveTo(0.1735, 0.5765)
.circle(0.0706)
.extrude(0.2344)
)
result = part_1
cq.exporters.export(result, ".... |
The cylindrical object is created by defining a new coordinate system and drawing a circular sketch on a new face. This circular sketch is then scaled and transformed into three-dimensional space. The sketch is extruded along the normal direction to form a solid body. The final dimensions of the cylinder are a height o... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.0471, 0.0471)
.circle(0.0467)
.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/0086/00864540.stl")
|
Create a cylindrical object by starting with a new coordinate system aligned with the global axes. Draw a circular profile on the first face, consisting of an outer circle and an inner circle. Scale the profile to fit the desired dimensions. Transform the profile into a three-dimensional shape by extruding it 0.75 unit... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.098, 0.098)
.circle(0.0973)
.moveTo(0.098, 0.098)
.circle(0.082)
.extrude(0.75)
)
result = part_1
cq.exporters.export(result, "./stlcq/0096/00963264.stl")
|
The design consists of two main parts. The first part is a pair of vertical bars with rounded edges. Each bar has a rectangular cross-section and is positioned side by side. The bars are extruded to a height of 0.75 units, creating a solid body. The second part is a ring with a cylindrical shape and a flat top surface.... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.0084, 0)
.lineTo(0.0474, 0)
.lineTo(0.0474, 0.0948)
.lineTo(0.0084, 0.0948)
.lineTo(0, 0.0948)
.close()
.extrude(0.75)
)
part_1 = part_1.union(
cq.Workplane("XY")
.moveTo(0.6635, 0)
... |
Create a rectangular plate with four circular holes at the corners. The plate has a complex shape with a series of lines and circles forming the edges and holes. The first and second faces of the plate are identical, featuring a rectangular outline with two smaller circles near the top and bottom edges. After drawing t... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0, 0.1)
.lineTo(0, 0.1353)
.lineTo(0, 0.75)
.lineTo(0.5882, 0.75)
.lineTo(0.5882, 0)
.close()
.moveTo(0.0618, 0.1353)
.circle(0.0382)
.moveTo(0.0618, 0.4971)
.circle(0.0382)
.move... |
Start by creating a new coordinate system with specific rotations and translations. On the first face, draw a 2D sketch of two concentric circles. The outer circle represents the outer boundary, and the inner circle defines the inner boundary of the ring. Scale the sketch to reduce its size. Transform this scaled sketc... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.3765, 0.3765)
.circle(0.3735)
.moveTo(0.3765, 0.3765)
.circle(0.2676)
.extrude(0.2578)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.257812, 0))
result = part_1
cq.exporters.export(result, "./stlc... |
The design involves creating a rectangular prism with rounded edges and a cylindrical base. The first step is to establish a new coordinate system with default settings. A two-dimensional sketch is drawn on the first face, consisting of a rectangular shape with rounded corners and three small circles. After scaling the... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.05, 0)
.lineTo(0.7, 0)
.threePointArc((0.75, 0.05), (0.7, 0.0971))
.lineTo(0.05, 0.0971)
.threePointArc((0, 0.05), (0.05, 0))
.close()
.moveTo(0.05, 0.05)
.circle(0.0059)
.moveTo(0.3765, 0.05)
.circl... |
The first part involves creating a square frame with a smaller square cutout in the middle. This part is scaled down and positioned at a height of 0.3044 units. It is then extruded 0.0132 units downward to form a thin solid body. The dimensions of this part are approximately 0.706 units in length, 0.75 units in width, ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.7059, 0)
.lineTo(0.7059, 0.75)
.lineTo(0, 0.75)
.close()
.moveTo(0.0324, 0.0765)
.lineTo(0.6735, 0.0765)
.lineTo(0.6735, 0.6735)
.lineTo(0.0324, 0.6735)
.close()
.extrude(0.0156)
)
... |
The first part involves creating a cylinder with a length and width of approximately 0.395 units and a height of about 0.383 units. This is achieved by defining a new coordinate system, drawing a circular sketch, scaling it, and then extruding it to form the cylinder. The second part involves creating a cube with a len... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.2, 0.2)
.circle(0.1984)
.extrude(0.3828)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.382812, 0.25))
# Part 2: join
part_2 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.4062, 0)
.lineTo(0... |
Start by creating a new coordinate system with specific Euler angles and a translation vector. Draw a two-dimensional sketch that forms a complex shape, which is then scaled down. Transform this scaled sketch into a three-dimensional object by applying a rotation and translation. Finally, extrude the sketch to create a... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.5)
.lineTo(0, 0.75)
.lineTo(0.5, 0.75)
.lineTo(0.5, 0.5)
.lineTo(0.3765, 0.5)
.lineTo(0.3765, 0)
.lineTo(0.1265, 0)
.lineTo(0.1265, 0.5)
.close()
.extrude(0.5)
)
part_1 = part_1.rotate((0, 0, 0), ... |
Start by creating a new coordinate system aligned with the default axes. Draw a circular shape on a flat surface, ensuring it is centered and proportionate. Scale the circle to fit the desired size. Convert this scaled circle into a three-dimensional object by extending it along the vertical axis to form a cylinder. Th... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.1137, 0.1137)
.circle(0.1128)
.extrude(0.75)
)
result = part_1
cq.exporters.export(result, "./stlcq/0062/00629345.stl")
|
The design involves creating a rectangular step on a cube. Begin by setting up a new coordinate system with specific Euler angles and a translation vector. Draw a 2D sketch on the first face, forming a complex shape with multiple segments. This shape is then scaled down and transformed into a 3D object by applying rota... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.25, 0)
.lineTo(0.25, 0.1265)
.lineTo(0.75, 0.1265)
.lineTo(0.75, 0.3765)
.lineTo(0.25, 0.3765)
.lineTo(0.25, 0.5)
.lineTo(0, 0.5)
.close()
.extrude(0.5)
)
part_1 = part_1.rotate((0, 0, ... |
Create a cylindrical base by starting with a new coordinate system and drawing a circle on the first face. Scale the circle and then transform it into a three-dimensional shape by extruding it along the normal direction. The final part is a solid cylinder with a flat circular top and bottom. The dimensions of the cylin... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.2431, 0.2431)
.circle(0.2412)
.extrude(0.0547)
)
part_1 = part_1.translate((0.132812, 0.132812, 0))
result = part_1
cq.exporters.export(result, "./stlcq/0013/00133912.stl")
|
To create the rectangular prism, start by setting up a new coordinate system with specific rotations and translations. Draw a simple rectangular shape on one face. After drawing the rectangle, scale it down to fit the desired dimensions. Transform this scaled sketch into a three-dimensional object by applying the same ... | 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, 0.75)
.close()
.extrude(0.25)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.25, 0))
result = part_1
cq.exporters.export(result, "./stlcq/002... |
Create a rectangular plate with rounded edges and a flat surface. The plate is defined by its length, width, and height, which are 0.75 units, 0.5827 units, and 0.0635 units, respectively. The plate is initially sketched in two dimensions and then transformed into a three-dimensional object by extruding it along the no... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.5824)
.lineTo(0, 0.5824)
.close()
.extrude(0.0625)
)
result = part_1
cq.exporters.export(result, "./stlcq/0086/00865042.stl")
|
Create a cylindrical object with a flat circular top and bottom. Start by defining a new coordinate system aligned with the global axes. Draw a circle on the first face, then scale it down to fit the desired dimensions. Transform the scaled sketch into a three-dimensional shape by extruding it 0.375 units along the nor... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.3765, 0.3765)
.circle(0.3735)
.extrude(0.375)
)
result = part_1
cq.exporters.export(result, "./stlcq/0041/00417960.stl")
|
The first part consists of a complex shape created by combining two faces. The first face features a large circle with a smaller concentric circle inside it. The second face is a more intricate shape formed by a combination of lines and arcs, also containing a smaller circle. After scaling down the entire sketch by 75%... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.144118, 0.144118)
.circle(0.144118)
.moveTo(0.144118, 0.144118)
.circle(0.079412)
.extrude(0.125)
)
part_1 = part_1.union(
cq.Workplane("XY")
.moveTo(0.147059, 0)
.lineTo(0.611765, 0.002941)
.threePointA... |
The design involves creating a rectangular base with rounded edges. Start by setting up a new coordinate system and drawing a rectangular sketch on two faces. Scale the sketch to reduce its size, then rotate and translate it into position. Extrude the sketch to form a solid body. The final shape is a cube with 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.45)
.lineTo(0, 0.45)
.close()
.extrude(0.4531)
)
part_1 = part_1.union(
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.45)
.lineTo(0, 0.45)... |
The design involves creating a cylindrical object. Begin by setting up a coordinate system with default angles and translations. Then, draw a circle on the first face, which will serve as the base of the cylinder. Scale the circle to reduce its size, and then transform it into a three-dimensional shape. Extrude the cir... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.3765, 0.3765)
.circle(0.3735)
.extrude(0.3906)
)
result = part_1
cq.exporters.export(result, "./stlcq/0046/00466908.stl")
|
Start by creating a new coordinate system aligned with the default axes. Draw a rectangular sketch on the first face, forming a loop with four straight lines. Scale the sketch to reduce its size. Transform the scaled sketch into three-dimensional space without changing its orientation or position. Extrude the sketch to... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.6324)
.lineTo(0, 0.6324)
.close()
.extrude(0.0156)
)
result = part_1
cq.exporters.export(result, "./stlcq/0091/00910646.stl")
|
The first part involves creating a rectangular beam with notches and circular cutouts. The beam has a complex shape with a central section and four small circular cutouts. The second part is a rectangular bar that fits into the first part. The bar has a smaller cross-section and is positioned to align with the notches ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.0088)
.lineTo(0.75, 0.0441)
.lineTo(0.6, 0.0441)
.lineTo(0.6, 0.0676)
.lineTo(0.75, 0.0676)
.lineTo(0.75, 0.1118)
.lineTo(0, 0.1118)
.close()
.moveTo(0.0147, ... |
Start by creating a new coordinate system aligned with the default axes. Draw a rectangular sketch on the first face, forming a closed loop with four lines. Scale the sketch to fit the desired size. Transform the scaled sketch into a three-dimensional object by extruding it along the normal direction. The resulting sol... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.2265)
.lineTo(0, 0.2265)
.close()
.extrude(0.1562)
)
result = part_1
cq.exporters.export(result, "./stlcq/0095/00957767.stl")
|
Create a cylindrical object by starting with a new coordinate system that is rotated and translated to position the object correctly. Draw a circular sketch on the first face, then scale it to the desired size. Transform this sketch into a three-dimensional object by applying the necessary rotations and translations. E... | 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/0098/00986752.stl")
|
The design involves creating a rectangular bracket with rounded edges and circular holes. Start by setting up a coordinate system with specific angles and translations. The first face consists of a rectangular shape with rounded corners and two circular holes. The second and third faces each contain a smaller circular ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.0853, 0)
.lineTo(0.6647, 0)
.threePointArc((0.75, 0.0853), (0.6647, 0.1735))
.lineTo(0.0853, 0.1735)
.threePointArc((0, 0.0853), (0.0853, 0))
.close()
.moveTo(0.0853, 0.0853)
.circle(0.0471)
.moveTo(0.66... |
Create a new coordinate system with the specified Euler angles and translation vector. Draw a circle on the first face and scale it down to fit the desired size. Transform the circle into a three-dimensional object and extrude it to form a cylinder. The final cylinder has a length and width of approximately 0.75 units ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.3765, 0.3765)
.circle(0.3735)
.extrude(0.3047)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).rotate((0, 0, 0), (0, 0, 1), 90)
result = part_1
cq.exporters.export(result, "./stlcq/0017/00170205.stl")
|
Create a rectangular prism with rounded edges and two circular holes. The prism has a length of 0.75, a width of 0.1365, and a height of 0.0225. The rectangular faces on both ends of the prism contain two circular holes, each centered and spaced evenly within the rectangle. These holes are used to create openings in th... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.1353)
.lineTo(0, 0.1353)
.close()
.moveTo(0.2559, 0.0676)
.circle(0.0294)
.moveTo(0.0676, 0.0676)
.circle(0.0294)
.extrude(0.0234)
)
part_1 = part_1.union(
cq... |
Start by creating a new coordinate system aligned with the default axes. Draw a two-dimensional hexagonal sketch on the first face. This hexagon will serve as the base of the plate. After completing the sketch, scale it down to 75% of its original size. Transform the scaled hexagon into a three-dimensional object by ro... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.35)
.lineTo(0.1735, 0.0176)
.lineTo(0.5471, 0)
.lineTo(0.75, 0.3147)
.lineTo(0.5765, 0.65)
.lineTo(0.2029, 0.6676)
.close()
.extrude(0.0703)
)
result = part_1
cq.exporters.export(result, "./stlcq/0041/0... |
The first part of the cylindrical object consists of a rounded base with a height of zero point three seven five units, a width of zero point zero six units, and a length of zero point zero six units. This part is created by transforming a two-dimensional circular sketch into three-dimensional space and extruding it to... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.0314, 0.0314)
.circle(0.0311)
.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/0002/00026832.st... |
Start by setting up a new coordinate system with specific angles and a translation vector. Draw the first face of the rectangular prism, which includes an arc and a line forming a closed loop. The second face consists of a series of lines and arcs that create a rounded edge. After completing the sketch, scale it down t... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.0938)
.threePointArc((0.0938, 0), (0.1875, 0.0938))
.close()
.extrude(0.25)
)
part_1 = part_1.union(
cq.Workplane("XY")
.moveTo(0, 0.0938)
.lineTo(0.1875, 0.0938)
.lineTo(0.1875, 0.4504)
.threePointAr... |
The rectangular block is a simple yet precise structure. It begins with a two-dimensional sketch that forms a rectangle. This sketch is then scaled down, rotated, and translated to align with the desired orientation. The sketch is extruded to create a solid body, resulting in a rectangular block with a uniform thicknes... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.5382)
.lineTo(0, 0.5382)
.close()
.extrude(0.1484)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.148438, 0))
result = part_1
cq.exporters.export(result, ".... |
Start by creating a new coordinate system with specific Euler angles and a translation vector. Draw a rectangular sketch on the first face, forming a closed loop with four straight lines. Scale this sketch to reduce its size. Transform the scaled sketch into a three-dimensional object by applying the rotation and trans... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.2412, 0)
.lineTo(0.2412, 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 involves creating a cylindrical base with a flat circular top and bottom. The top surface has a slight concavity. The part measures 0.75 units in both length and width, and stands 0.234375 units tall. The cylinder is formed by extruding a circular profile along the vertical axis to create a solid body. | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.3765, 0.3765)
.circle(0.3735)
.extrude(0.2344)
)
result = part_1
cq.exporters.export(result, "./stlcq/0021/00215160.stl")
|
Start by creating a new coordinate system with default settings. On the first face, draw two concentric circles. The outer circle serves as the boundary, while the inner circle defines a void within the outer circle. Scale the entire sketch to reduce its size. Extrude the scaled sketch to form a solid cylindrical objec... | 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.3324)
.extrude(0.3359)
)
result = part_1
cq.exporters.export(result, "./stlcq/0066/00660933.stl")
|
Start by defining a new coordinate system with specific rotations and translations. Create a single face and draw a circle within it. Scale the circle to the desired size and transform it into 3D space using the defined coordinate system. Extrude the 2D sketch along the normal direction to form a rounded cylindrical el... | 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/0023/00232259.stl")
|
Start by creating a rectangular base with rounded corners. The base has a square-like shape with rounded edges, ensuring smooth transitions between the sides. After defining the initial shape, transform it into a three-dimensional object by extruding it to create a solid body. The final part has a height of 0.3545 unit... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.7109, 0)
.threePointArc((0.6775, 0.3206), (0.3569, 0.3569))
.lineTo(0.3569, 0.7109)
.lineTo(0, 0.7109)
.close()
.extrude(0.3516)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.3... |
Create a new coordinate system to establish the origin point. Draw a rectangular shape in a two-dimensional plane, ensuring that the sides are parallel and perpendicular to each other. Scale the rectangle to the desired size and transform it into a three-dimensional object. Extrude the rectangle along its normal direct... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.0391, 0)
.lineTo(0.0391, 0.0391)
.lineTo(0, 0.0391)
.close()
.extrude(0.75)
)
result = part_1
cq.exporters.export(result, "./stlcq/0082/00823523.stl")
|
Create a cylindrical object with a flat top and bottom, characterized by a central axis and a circular cross-section. The cylinder is formed by extruding a circular sketch along the normal direction. The final dimensions of the cylinder are 0.75 units in height, and both the length and width are 0.10666666666666666 uni... | 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/0056/00566098.stl")
|
The rectangular plate is created by first defining a new coordinate system with no rotation or translation. A two-dimensional sketch is then drawn on the first face, forming a rectangle with a length of 0.75 units and a width of 0.3294 units. This sketch is scaled down and transformed into a three-dimensional object by... | 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.0156)
)
result = part_1
cq.exporters.export(result, "./stlcq/0064/00640616.stl")
|
The design involves creating a rounded rectangular prism. Start by setting up a new coordinate system with default Euler angles and translation vector. Draw a two-dimensional sketch that outlines a rounded rectangle. This shape is then scaled down to 75% of its original size. The scaled sketch is transformed into a thr... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.1265)
.threePointArc((0.0353, 0.0353), (0.1265, 0))
.lineTo(0.6265, 0)
.threePointArc((0.7147, 0.0353), (0.75, 0.1265))
.lineTo(0.75, 0.4676)
.threePointArc((0.7147, 0.5559), (0.6265, 0.5941))
.lineTo(0.1265,... |
To construct the hollow cylindrical object, start by setting up a new coordinate system with specific Euler angles and a translation vector. Draw a two-dimensional sketch that includes two concentric circles, representing the outer and inner boundaries of the cylinder. Scale the sketch to achieve the desired size. Tran... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.1725, 0.1725)
.circle(0.1712)
.moveTo(0.1725, 0.1725)
.circle(0.0768)
.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/0012... |
The design involves creating a rectangular prism with a U-shaped cutout. Begin by establishing a new coordinate system with specific Euler angles and a translation vector. Sketch the outline of the U-shaped cutout on one face of the prism. This sketch consists of several straight lines forming the U-shape. After comple... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.5, 0)
.lineTo(0.5, 0.625)
.lineTo(0.375, 0.625)
.lineTo(0.375, 0.5)
.lineTo(0.125, 0.5)
.lineTo(0.125, 0.625)
.lineTo(0, 0.625)
.close()
.extrude(0.75)
)
part_1 = part_1.rotate((0, 0, 0... |
The base section of the L-shaped CAD model consists of four primary faces. The first face forms the main body, with a complex outline that includes several horizontal and vertical segments. The second face is a rectangular inset within the first face, positioned near the middle. The third face is another rectangular ex... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.2618, 0)
.lineTo(0.2618, 0.1147)
.lineTo(0.4882, 0.1147)
.lineTo(0.4882, 0.1971)
.lineTo(0.4588, 0.1971)
.lineTo(0.3765, 0.1971)
.lineTo(0.2912, 0.1971)
.lineTo(0.1676, 0.1971)
.lineTo(... |
Create a rectangular plate with curved edges by starting with a new coordinate system positioned slightly above the default plane. Draw a two-dimensional sketch that outlines the main shape of the plate, including two rounded corners and two small circular cutouts. Scale the sketch to reduce its size. Transform the sca... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.1118)
.threePointArc((0.1118, 0), (0.2265, 0.1118))
.lineTo(0.2265, 0.6382)
.threePointArc((0.1118, 0.75), (0, 0.6382))
.close()
.moveTo(0.1118, 0.6382)
.circle(0.0235)
.moveTo(0.1118, 0.1118)
.circle... |
The design involves creating a rectangular base with rounded corners. The base is initially drawn as a two-dimensional rectangle on a new face, with each side measuring 0.75 units. The rectangle is then scaled down to 75% of its original size, maintaining its proportions. This scaled-down rectangle is transformed into ... | 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.1484)
)
result = part_1
cq.exporters.export(result, "./stlcq/0020/00205207.stl")
|
The design involves creating a rounded cylindrical object with a hollow center. Start by setting up a new coordinate system with specific Euler angles and a translation vector. Draw two concentric circles on a single face, representing the outer and inner boundaries of the cylinder. Scale the entire sketch to fit the d... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.3373, 0.3373)
.circle(0.3346)
.moveTo(0.3373, 0.3373)
.circle(0.1844)
.extrude(0.375)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.5625, 0))
result = part_1
cq.exporters.export(result, "./stlcq/0... |
The design consists of two main parts: a hexagonal prism and a cylinder. The hexagonal prism has a length of 0.75 units, a width of 0.6495 units, and a height of 0.2537 units. It forms the base of the object. The cylinder, which sits on top of the hexagonal prism, has a diameter of 0.6089 units and a height of 0.1269 u... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.3235)
.lineTo(0.1882, 0)
.lineTo(0.5618, 0)
.lineTo(0.75, 0.3235)
.lineTo(0.5618, 0.65)
.lineTo(0.1882, 0.65)
.close()
.extrude(0.25)
)
# Part 2: join
part_2 = (
cq.Workplane("XY")
.moveTo(0.3035... |
The design involves creating a cylindrical component with a rectangular base and a hollow center. The first step is to define a new coordinate system with specific Euler angles and a translation vector. The first face is a complex shape consisting of several lines and an arc, forming a rectangular base with a curved to... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.1618, 0)
.lineTo(0.1618, 0.0529)
.lineTo(0.2324, 0.0529)
.lineTo(0.2324, 0.3794)
.threePointArc((0.1912, 0.3853), (0.1529, 0.3971))
.lineTo(0.1529, 0.1088)
.lineTo(0, 0.1088)
.close()
.... |
Create a new coordinate system with specific rotations and translations. Draw a circular sketch on a new face, then scale the sketch to the desired size. Transform the scaled sketch into a three-dimensional object by applying the specified rotations and translations. Extrude the sketch along the normal direction to for... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.2824, 0.2824)
.circle(0.2801)
.extrude(0.75)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.75, 0))
result = part_1
cq.exporters.export(result, "./stlcq/0018/00181087.stl")
|
Start by creating a new coordinate system with default settings. Draw a rectangular shape on the first face, ensuring it forms a closed loop. After drawing the rectangle, apply a scaling factor to reduce its size. Extrude the scaled rectangle to create a thin rectangular plate. The final dimensions of the plate are app... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.5353)
.lineTo(0, 0.5353)
.close()
.extrude(0.0156)
)
result = part_1
cq.exporters.export(result, "./stlcq/0003/00035192.stl")
|
The cylindrical base is created by starting with a circular sketch on a plane. This circle is then scaled down and extruded to form a solid cylinder. The final dimensions of the cylinder are approximately 0.75 units in both length and width, and 0.19 units in height. This cylinder serves as the foundational element of ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.3765, 0.3765)
.circle(0.3735)
.extrude(0.1875)
)
result = part_1
cq.exporters.export(result, "./stlcq/0045/00455964.stl")
|
Create a rectangular block with rounded edges and a flat surface. Start by setting up a new coordinate system and drawing a two-dimensional sketch of a rectangle. Transform and scale the sketch to achieve the desired dimensions. Then, extrude the sketch to create a three-dimensional block. The final dimensions are appr... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.0353, 0)
.lineTo(0.0353, 0.25)
.lineTo(0, 0.25)
.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, "./st... |
Start by creating a new coordinate system with specific Euler angles and a translation vector. Draw a rectangular 2D sketch on the first face, ensuring that the dimensions are proportional to the desired final size. Scale the 2D sketch appropriately, then rotate and translate it to align with the coordinate system. Ext... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.0234, 0)
.lineTo(0.0234, 0.0118)
.lineTo(0, 0.0118)
.close()
.extrude(0.75)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.75, 0))
result = part_1
cq.exporters.export(result, "./s... |
The design consists of four main parts. The first part is a rectangular plate with a length of 0.2625 units, a width of 0.75 units, and a height of 0.0225 units. The second part is a cube positioned above the rectangular plate, with a length of 0.2625 units, a width of 0.2625 units, and a height of 0.045 units. The thi... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.2618, 0)
.lineTo(0.2618, 0.75)
.lineTo(0, 0.75)
.close()
.extrude(0.0234)
)
# Part 2: join
part_2 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.2656, 0)
.lineTo(0.2656, 0.2656)
.l... |
The design consists of two main parts. The first part is a cube with a length of approximately 0.683 units, a width of 0.75 units, and a height of 0.401 units. The second part is a rectangular prism with a U-shaped cutout. This prism has a length of about 0.455 units, a width of 0.75 units, and a height of 1.138 units.... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.6824, 0)
.lineTo(0.6824, 0.75)
.lineTo(0, 0.75)
.close()
.extrude(0.3984)
)
# Part 2: cut
part_2 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.4559, 0)
.lineTo(0.4559, 0.2382)
.li... |
Create a rectangular block with two smaller rectangular cutouts. The main rectangular block has a length of 0.75 units, a width of 0.3043 units, and a height of 0.1109 units. Inside the main rectangle, there are two smaller rectangles positioned along the length. These cutouts help reduce the material and weight 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.3029)
.lineTo(0, 0.3029)
.close()
.moveTo(0.0647, 0.0441)
.lineTo(0.4559, 0.0441)
.lineTo(0.4559, 0.2382)
.lineTo(0.0647, 0.2382)
.close()
.moveTo(0.5882, 0.0... |
Start by creating a coordinate system aligned with the default axes. Draw a square on the first face, ensuring that the sides are 0.75 meters long. Inside the square, draw a small circle centered at the midpoint of the square with a diameter much smaller than the square's side. Scale the entire sketch to reduce its siz... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.75)
.lineTo(0, 0.75)
.close()
.moveTo(0.3765, 0.3765)
.circle(0.0118)
.extrude(0.0234)
)
result = part_1
cq.exporters.export(result, "./stlcq/0044/00448401.stl")
|
The design involves creating a ring-shaped object with flat edges. Start by setting up a new coordinate system aligned with the default axes. Next, draw a circular outer boundary and a concentric inner boundary to define the ring's cross-section. After drawing, scale down the entire sketch to fit the desired size. The ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.3765, 0.3765)
.circle(0.3735)
.moveTo(0.3765, 0.3765)
.circle(0.1971)
.extrude(0.0781)
)
result = part_1
cq.exporters.export(result, "./stlcq/0042/00429410.stl")
|
Start by creating a new coordinate system aligned with the default axes. Draw a circular sketch on the first face, then scale it down to fit the desired dimensions. Transform the sketch into a three-dimensional object by extruding it along the normal direction to form a solid cylinder. The cylinder has a square cross-s... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.3765, 0.3765)
.circle(0.3735)
.extrude(0.0781)
)
result = part_1
cq.exporters.export(result, "./stlcq/0049/00490714.stl")
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.