input stringlengths 267 2.05k | output stringlengths 209 3.36k |
|---|---|
The first part involves creating a rectangular prism with a flat top and bottom. The shape is defined by a complex 2D sketch that is scaled, rotated, and translated before being extruded to form a solid body. The final dimensions are a length of 0.75, a width of 0.076, and a height of 0.217.
The second part is a symme... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.0206)
.lineTo(0.2118, 0.0206)
.lineTo(0.2118, 0)
.lineTo(0.5382, 0)
.lineTo(0.5382, 0.0206)
.lineTo(0.75, 0.0206)
.lineTo(0.75, 0.0765)
.lineTo(0.5118, 0.0765)
.lineTo(0.5118, 0.0588)
.lineTo(0.23... |
Start by creating a rectangular block with a U-shaped notch. The block has a length of 0.75 units, a width of 0.2812 units, and a height of 0.2812 units. The U-shaped notch is located near the center of one of the longer sides, extending inward and downward. The notch reduces the effective width of the block in that ar... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.2824)
.lineTo(0, 0.2824)
.lineTo(0, 0.1882)
.lineTo(0.6559, 0.1882)
.lineTo(0.6559, 0.0941)
.lineTo(0, 0.0941)
.close()
.extrude(0.2812)
)
result = part_1
cq.ex... |
To create a right-angled triangular prism, start by setting up a new coordinate system with specific Euler angles and a translation vector. Then, draw a triangular sketch on a plane, ensuring that the sides form a right angle. Scale the sketch to fit the desired size and transform it into a three-dimensional object by ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.4853)
.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/0092/00929167.stl")
|
Start by creating a new coordinate system with specific rotations and translations. On the first face, draw two concentric circles to define the outer and inner boundaries of the cylinder. Scale the sketch appropriately and transform it into a three-dimensional shape by rotating and translating it. Extrude the sketch t... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.2824, 0.2824)
.circle(0.2801)
.moveTo(0.2824, 0.2824)
.circle(0.0463)
.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/0043... |
To construct the rectangular box base, 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 rectangle with the specified dimensions. Scale the sketch to reduce its size, then transform it into a three-dimensional object... | 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.4219)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.421875, 0))
result = part_1
cq.exporters.export(result, "./stl... |
The design involves creating a cube and then adding a cylindrical hole to it. First, construct a cube by extruding a square sketch 0.75 units high, wide, and deep. Next, create a cylindrical hole by extruding a circular sketch 1.2592 units deep into the cube. The hole has a diameter of 0.6 units and is positioned sligh... | 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.302, 0.302)
.circle(0.2996)
.extrude(0.9922)
)
part_2 = part... |
Create a rectangular block with a specific shape and structure. The block has a rectangular profile with rounded edges, and it is oriented in a standard position. The block is defined by its length, width, and height, which are the primary dimensions of interest. The length is approximately 0.75 units, the width is aro... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.2676)
.lineTo(0.0029, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.2765)
.close()
.extrude(0.1406)
)
result = part_1
cq.exporters.export(result, "./stlcq/0019/00197575.stl")
|
Start by creating a rectangular plate with a precise geometric shape. The plate has a rectangular base that is scaled down to fit the desired dimensions. After scaling, the base is transformed into a three-dimensional object and extruded to create the final shape. The final dimensions of the plate are approximately 0.7... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.6059)
.lineTo(0, 0.6059)
.close()
.extrude(0.0078)
)
result = part_1
cq.exporters.export(result, "./stlcq/0068/00683705.stl")
|
The cylindrical object is constructed by creating a new coordinate system and translating it. The first face consists of three loops, including a series of lines and arcs that form a complex shape, with two small circles added. The second face is a simple triangular shape, while the third face is a quadrilateral with a... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.064, 0.0786)
.lineTo(0.0728, 0.0524)
.lineTo(0.099, 0.0437)
.lineTo(0.099, 0.0233)
.threePointArc((0, 0.7422), (0.259, 0.0669))
.threePointArc((0.2241, 0.1048), (0.1892, 0.0669))
.threePointArc((0.163, 0.0582), ... |
The ring is designed with a smooth, cylindrical shape and a flat, circular top. It features a consistent thickness around its circumference. The overall dimensions are 0.75 units in both length and width, and 0.1034 units in height. The ring is created by extruding a two-dimensional sketch, which consists of two concen... | 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.3471)
.extrude(0.1016)
)
result = part_1
cq.exporters.export(result, "./stlcq/0046/00461317.stl")
|
The first part involves creating a rectangular prism with a rectangular cutout. Start by setting up a new coordinate system with specific Euler angles and a translation vector. Then, draw a 2D sketch on the first face, which consists of a larger rectangle with a smaller rectangle cut out from one side. After drawing th... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.3, 0)
.lineTo(0.3, 0.25)
.lineTo(0.45, 0.25)
.lineTo(0.45, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.3765)
.lineTo(0, 0.3765)
.close()
.extrude(0.0156)
)
part_1 = part_1.rotate((0, 0, 0), (1,... |
The design consists of two main parts. The first part is a rectangular plate with a length of 0.2892591483154263, a width of 0.1928394322102842, and a height of 0.02410492902628553. This plate is positioned with a slight offset along the x-axis. The second part is a cylindrical object with a diameter of 0.0482098580525... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.289062, 0)
.lineTo(0.289062, 0.192708)
.lineTo(0, 0.192708)
.close()
.extrude(0.023438)
)
part_1 = part_1.translate((0.460938, 0, 0))
# Part 2: new
part_2 = (
cq.Workplane("XY")
.moveTo(0.0233... |
The design consists of three main parts. The first part is a cylindrical base with a height of approximately 0.587 units, a length of 0.216 units, and a width of 0.216 units. This base forms the foundation of the structure. The second part is a rounded top and bottom section with a height of about 0.163 units, a length... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.108946, 0.108946)
.circle(0.109804)
.moveTo(0.108946, 0.108946)
.circle(0.106373)
.extrude(0.585938)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.75, 0))
# Part 2: cut
part_2 = (
cq.Workplane(... |
The design involves creating a rounded cylindrical object. Begin by setting up a new coordinate system with default angles and translations. Draw a circle on the first face, centering it at specific coordinates and setting its radius. Scale the circle to the desired size and then transform it into a three-dimensional s... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.1907, 0.1922)
.circle(0.1907)
.extrude(0.75)
)
result = part_1
cq.exporters.export(result, "./stlcq/0069/00691052.stl")
|
Create a rectangular box base by starting with a new coordinate system at the origin. Draw a two-dimensional rectangular sketch on the first face, forming a closed loop. Scale the sketch to fit the desired dimensions. Transform the sketch into a three-dimensional object by extruding it along the normal direction. The f... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.4853, 0)
.lineTo(0.4853, 0.75)
.lineTo(0, 0.75)
.close()
.extrude(0.3281)
)
result = part_1
cq.exporters.export(result, "./stlcq/0083/00836792.stl")
|
The design consists of two main parts: a ring and a cylinder. The ring is a hollow, circular object with a flat base and smooth edges. It measures zero point four-six-eight-seven-five units in both length and width, and zero point one-zero-one-five-six-two-five units in height. The cylinder is a shorter, cylindrical ob... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.2353, 0.2353)
.circle(0.2335)
.moveTo(0.2353, 0.2353)
.circle(0.125)
.extrude(0.1016)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.75, 0))
# Part 2: join
part_2 = (
cq.Workplane("XY")
.mov... |
The design involves creating a rectangular plate with a center hole. The plate has a rectangular outer boundary and a circular hole in the middle. After defining the initial shape, the sketch is scaled down to 75% of its original size. The scaled sketch is then transformed into a three-dimensional model and extruded to... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.1324)
.lineTo(0.1118, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.2735)
.lineTo(0.1176, 0.2735)
.close()
.moveTo(0.0647, 0.1382)
.circle(0.0294)
.extrude(0.0156)
)
result = part_1
cq.exporters.export(result... |
Start by creating a new coordinate system with default settings. Draw a square on the first face, ensuring that the sides are equal. Scale the square to the desired size and transform it into a three-dimensional shape by rotating and translating it according to the initial coordinate system. Extrude the square 0.75 uni... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.0938, 0)
.lineTo(0.0938, 0.0938)
.lineTo(0, 0.0938)
.close()
.extrude(0.75)
)
result = part_1
cq.exporters.export(result, "./stlcq/0052/00521441.stl")
|
The design involves creating a rectangular plate with two holes. Start by setting up a new coordinate system with specific rotations and translations. Draw the outline of the rectangular plate, including two circular cutouts near the edges. Scale the entire sketch to fit the desired dimensions. Rotate and translate the... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.1265)
.lineTo(0, 0.1265)
.close()
.moveTo(0.6882, 0.0618)
.circle(0.0176)
.moveTo(0.0618, 0.0618)
.circle(0.0176)
.extrude(0.0156)
)
part_1 = part_1.rotate((0, 0,... |
Start by creating a new coordinate system with specific rotations and translations. Draw a rectangular sketch on the first face, forming a closed loop with four lines. Scale the sketch to reduce its size, then transform it into a three-dimensional object by applying the same rotations and translations used in the coord... | 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_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.375, 0))
result = part_1
cq.exporters.export(result, "./stlcq/002... |
The first part involves creating a three-stepped rectangular base. Start by setting up a coordinate system with specific Euler angles and a translation vector. Draw a series of connected lines to form the base's outline, which includes several smaller sections with varying widths. After drawing the sketch, scale it dow... | 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.5353, 0.25)
.lineTo(0.3559, 0.25)
.lineTo(0.1794, 0.25)
.lineTo(0, 0.25)
.close()
.extrude(0.4141)
)
part_1 = part_1.union(
cq.Workplane("XY")
.... |
Start by creating a new coordinate system with the origin slightly offset from the default position. On the first face, draw a rectangular loop to define the base shape. This rectangle will serve as the foundation for the part. After defining the shape, transform it into three-dimensional space by applying a rotation a... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.7266, 0)
.lineTo(0.7266, 0.4787)
.lineTo(0, 0.4787)
.close()
.extrude(0.0078)
)
part_1 = part_1.translate((0.007812, 0.007812, 0))
result = part_1
cq.exporters.export(result, "./stlcq/0097/00975297.s... |
Start by creating a rectangular base with a length of approximately 0.75 units, a width of about 0.53 units, and a height of around 0.42 units. The base is constructed by defining a two-dimensional rectangle and then extruding it to form a three-dimensional solid. The final shape features a slightly rounded top and bot... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.5294)
.lineTo(0, 0.5294)
.close()
.extrude(0.4219)
)
result = part_1
cq.exporters.export(result, "./stlcq/0061/00617296.stl")
|
The design involves creating a curved, hollow structure with a cylindrical base and a flared top. The process starts by setting up a new coordinate system with specific angles and translations. A complex 2D sketch is then drawn, consisting of multiple arcs and lines that form a unique shape. This sketch is scaled down ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.4555)
.threePointArc((0.0097, 0.469), (0.0251, 0.4671))
.lineTo(0.0637, 0.4304)
.threePointArc((0.0656, 0.4169), (0.0695, 0.4053))
.threePointArc((0.0772, 0.3571), (0.0695, 0.3069))
.threePointArc((0.2471, 0.0598... |
Start by creating a new coordinate system with specific rotational settings and a translation vector. Sketch a rectangle on the first face, then scale down the sketch to fit the desired size. Transform the scaled sketch into three dimensions by rotating and translating it according to the initial coordinate system sett... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.2031, 0)
.lineTo(0.2031, 0.0024)
.lineTo(0, 0.0024)
.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 design consists of three parts that come together to form a table. The first and second parts are identical rectangular plates, each with a height of 0.375, a width of 0.0172, and a length of 0.25. These plates serve as the vertical supports of the table. The third part is an L-shaped bracket with a height of 0.357... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.25, 0)
.lineTo(0.25, 0.0176)
.lineTo(0, 0.0176)
.close()
.extrude(0.375)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.5625, 0.359375))
# Part 2: new
part_2 = (
cq.Workplane("... |
The first part involves creating a rectangular object with a complex 2D sketch that is then scaled, transformed, and extruded to form a 3D model. The final dimensions of this part are approximately 0.33 units in length, 0.087 units in width, and 0.725 units in height. The second part involves constructing a cube with r... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.0746)
.lineTo(0.0026, 0.0733)
.lineTo(0.2226, 0.0244)
.lineTo(0.3281, 0)
.lineTo(0.3281, 0.0129)
.lineTo(0.0026, 0.0862)
.close()
.extrude(0.7266)
)
part_1 = part_1.translate((0, 0, 0.015625))
# Part 2: ... |
Start by setting up a new coordinate system with default angles and translations. Draw a rectangular sketch on the first face, ensuring that the lines form a closed loop. Scale the sketch to reduce its size, then transform it into a three-dimensional object without altering its orientation or position. Extrude the sket... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.4029, 0)
.lineTo(0.4029, 0.75)
.lineTo(0, 0.75)
.close()
.extrude(0.0156)
)
result = part_1
cq.exporters.export(result, "./stlcq/0034/00347124.stl")
|
Create a rectangular block with rounded edges and corners. Begin by defining a new coordinate system with no rotation or translation. Draw a two-dimensional rectangle on the first face, then scale this rectangle down to 75% of its original size. Transform the scaled rectangle into a three-dimensional object by extrudin... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.1618)
.lineTo(0, 0.1618)
.close()
.extrude(0.1094)
)
result = part_1
cq.exporters.export(result, "./stlcq/0092/00924937.stl")
|
The design involves creating a rectangular prism with rounded edges. Start by defining a new coordinate system with default settings. Draw the first face of the prism using a series of connected lines to form a closed loop. Scale this 2D sketch to the desired size and then transform it into 3D space. Extrude the 2D ske... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.125)
.lineTo(0.0044, 0.0554)
.lineTo(0.0426, 0)
.lineTo(0.0877, 0.0456)
.lineTo(0.0544, 0.0951)
.close()
.extrude(0.75)
)
result = part_1
cq.exporters.export(result, "./stlcq/0089/00890396.stl")
|
Start by setting up a new coordinate system with all angles and translations set to zero. Create a rectangular face by drawing four lines that form a closed loop. After drawing the rectangle, apply a scaling factor to reduce its size. Transform the scaled 2D sketch into a 3D object using the coordinate system settings.... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.3912, 0)
.lineTo(0.3912, 0.75)
.lineTo(0, 0.75)
.close()
.extrude(0.0312)
)
result = part_1
cq.exporters.export(result, "./stlcq/0025/00255668.stl")
|
Construct a rectangular block by creating a new coordinate system with specific Euler angles and a translation vector. Draw a 2D sketch on the first face, forming a loop with four lines to outline the shape. Scale the sketch and transform it using the coordinate system settings. Extrude the transformed sketch to create... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.0343, 0)
.lineTo(0.0343, 0.125)
.lineTo(0, 0.125)
.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 design involves creating a hollow cylinder. Start by establishing a new coordinate system aligned with the default axes. Draw a circular profile with a concentric inner circle to define the cross-section of the cylinder. Scale this profile to fit the desired size and then extrude it along the vertical axis to form ... | 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.2735)
.extrude(0.4219)
)
result = part_1
cq.exporters.export(result, "./stlcq/0023/00234096.stl")
|
Start by creating a new coordinate system and drawing a two-dimensional sketch on a new face. The sketch forms a rectangular shape with rounded edges. After scaling the sketch, transform it into a three-dimensional object by rotating and translating it according to the specified angles and vectors. Finally, extrude the... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.3765)
.lineTo(0, 0.3765)
.close()
.extrude(0.0391)
)
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... |
To create the rounded cylindrical object, start by defining a new coordinate system with specific Euler angles and a translation vector. Next, draw a circular shape with an inner and outer boundary on a flat surface. This shape is then scaled and transformed according to the coordinate system settings. The transformed ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.0157, 0.0157)
.circle(0.0156)
.moveTo(0.0157, 0.0157)
.circle(0.0099)
.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.023438, 0.007812, 0.007812))
resul... |
The design involves creating a cylinder with a square base and a rectangular top. The base and top surfaces are parallel, and the sides are straight and perpendicular to the base. The height of the cylinder is zero point seven five units, and both the length and width of the base are approximately zero point zero four ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.0469, 0)
.lineTo(0.0469, 0.0469)
.lineTo(0, 0.0469)
.close()
.moveTo(0.0028, 0.0028)
.lineTo(0.0441, 0.0028)
.lineTo(0.0441, 0.0441)
.lineTo(0.0028, 0.0441)
.close()
.extrude(0.75)
... |
The cylindrical base is created by starting with a new coordinate system aligned to the default axes. A circular sketch is drawn on a new face, centered at [0.375, 0.375], and then scaled down. This sketch is extruded along its normal to form a solid cylinder. The final dimensions of this part are 0.75 units in both le... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.3765, 0.3765)
.circle(0.3735)
.extrude(0.0312)
)
result = part_1
cq.exporters.export(result, "./stlcq/0072/00722907.stl")
|
Start by creating a new coordinate system aligned with the default axes. Draw a circular shape on the first face, then scale this shape to achieve the desired size. Transform the scaled shape into a three-dimensional object and extrude it to form a solid cylinder. The final dimensions of the cylindrical object are 0.06... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.031127, 0.031373)
.circle(0.031127)
.extrude(0.75)
)
result = part_1
cq.exporters.export(result, "./stlcq/0090/00908750.stl")
|
The design consists of three cylindrical objects that are assembled to form a complex 3D structure. The first cylindrical object has a height of 0.2386 units, a width of 0.1818 units, and a length of 0.1818 units. The second smaller cylindrical object has a height of 0.1364 units, a width of 0.1288 units, and a length ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.0902, 0.0902)
.circle(0.0895)
.extrude(0.2344)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).rotate((0, 0, 0), (0, 0, 1), 90).translate((0.257812, 0, 0))
# Part 2: join
part_2 = (
cq.Workplane("XY")
.moveTo(0.0627... |
The first part involves creating a rectangular bar with two circular holes. Start by setting up a coordinate system with specific angles and translations. Draw a rectangle and two circles on the first face, then scale the sketch and transform it into 3D by rotating and translating it. Extrude the sketch to form a recta... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.1029)
.lineTo(0, 0.1029)
.close()
.moveTo(0.6647, 0.0529)
.circle(0.0265)
.moveTo(0.0853, 0.0529)
.circle(0.0265)
.extrude(0.1016)
)
part_1 = part_1.rotate((0, 0,... |
The design involves creating a cylindrical object with a height of 0.75 units and a square cross-section with sides of 0.225 units. The process starts by setting up a new coordinate system and drawing two concentric circles on a face. These circles are then scaled down and transformed into a three-dimensional shape by ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.1137, 0.1137)
.circle(0.1128)
.moveTo(0.1137, 0.1137)
.circle(0.0977)
.extrude(0.75)
)
result = part_1
cq.exporters.export(result, "./stlcq/0042/00420076.stl")
|
Start by creating a new coordinate system with specific Euler angles and a translation vector. Draw a two-dimensional rectangular sketch on the first face. This rectangle will have a length of approximately 0.75 units and a width of approximately 0.434 units. Scale the sketch to fit the desired size and transform it in... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.4353)
.lineTo(0, 0.4353)
.close()
.extrude(0.1953)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.195312, 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 2D sketch that includes two concentric circles. Apply a scaling factor to the sketch to adjust its size. Transform the scaled 2D sketch into 3D by rotating and translating it to the desired position. Extrude th... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.0784, 0.0784)
.circle(0.0778)
.moveTo(0.0784, 0.0784)
.circle(0.0625)
.extrude(0.3203)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0.078125, 0.320312, 0.09375))
result = part_1
cq.exporters.export(re... |
To construct the cylindrical object, start by creating a new coordinate system with specific Euler angles and a translation vector. Draw a circle on the first face, then scale the sketch and transform it into three dimensions by rotating and translating it. Finally, extrude the sketch in both directions to form a solid... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.0784, 0.0784)
.circle(0.0778)
.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/0018/00185088.stl")
|
Create a rectangular plate with a circular hole. The plate has a length of 0.375 units, a width of 0.75 units, and a height of 0.0375 units. The circular hole is centered within the plate and has a diameter that fits proportionally within the plate's dimensions. The plate is then extruded to form a solid body, maintain... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.3765, 0)
.lineTo(0.3765, 0.75)
.lineTo(0, 0.75)
.close()
.moveTo(0.1882, 0.2265)
.circle(0.1118)
.extrude(0.0391)
)
result = part_1
cq.exporters.export(result, "./stlcq/0018/00189052.stl")
|
The design involves creating a vertical, cylindrical structure with a rectangular cross-section at the top. This structure has a smooth, continuous surface that tapers slightly at the top. The overall dimensions are approximately 0.0066 units in length, 0.015 units in width, and 0.7865 units in height. The structure is... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.0069, 0)
.lineTo(0.0069, 0.0156)
.lineTo(0, 0.0156)
.close()
.extrude(0.7891)
)
result = part_1
cq.exporters.export(result, "./stlcq/0075/00754202.stl")
|
The design involves creating a rectangular plate with a central rectangular hole. The plate is initially sketched in two dimensions, consisting of an outer rectangle and a more intricate inner shape. These shapes are then scaled down by 75% and transformed into a three-dimensional object. The plate is extruded to a hei... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.4353, 0)
.lineTo(0.4353, 0.75)
.lineTo(0, 0.75)
.close()
.moveTo(0.2324, 0.3559)
.lineTo(0.3412, 0.3559)
.lineTo(0.3412, 0.3235)
.lineTo(0.3794, 0.3235)
.lineTo(0.3794, 0.4265)
.lin... |
The design consists of two main parts: a cylindrical object with a hollow center and rounded edges, and a rectangular protruding rod. The cylindrical object has a length and width of approximately 0.5163 units and a height of 0.4098 units. It features a hollow center, creating a tube-like structure. The rectangular rod... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.2588, 0.2588)
.circle(0.2568)
.moveTo(0.2588, 0.2588)
.circle(0.1618)
.extrude(0.4062)
)
part_1 = part_1.translate((0.234375, 0, 0.03125))
# Part 2: new
part_2 = (
cq.Workplane("XY")
.moveTo(0, 0.0137)
.lin... |
Create a square block with a circular hole in the center. The block has a length and width of 0.75 units and a height of 0.2129 units. The circular hole is positioned at the center of the block, ensuring symmetry. The block is created by extruding a two-dimensional sketch of a square with a circular cutout into a three... | 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.1265)
.extrude(0.2109)
)
result = part_1
cq.exporters.export(result, "./stlcq/0065/00657120.stl")
|
The design involves creating a cylindrical object with rounded ends and a smooth surface. Start by setting up a coordinate system and drawing a circular sketch. This sketch is then scaled, rotated, and translated into a three-dimensional space. The sketch is extruded in both directions along the normal to form the fina... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.0588, 0.0588)
.circle(0.0584)
.extrude(0.2812)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).rotate((0, 0, 0), (0, 0, 1), 90).translate((0.234375, 0.0625, 0.0625))
result = part_1
cq.exporters.export(result, "./stlcq/004... |
The first part involves creating a rectangular base with a flat top and bottom, a sharp corner at the top, and a rectangular cross-section. The dimensions of this base are approximately 0.275 units in length, 0.25 units in width, and 0.75 units in height. The second part adds four cylindrical protrusions to one side of... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.2091)
.lineTo(0.2091, 0.2091)
.threePointArc((0.2263, 0.2016), (0.2338, 0.1844))
.lineTo(0.2338, 0)
.lineTo(0.2734, 0)
.lineTo(0.2734, 0.2488)
.lineTo(0, 0.2488)
.close()
.extrude(0.75)
)
# Part 2: j... |
Create a rectangular block by starting with a new coordinate system that is rotated and translated to position the block correctly. Draw a 2D sketch of the first face, forming a rectangle with four lines. Scale the sketch to fit the desired dimensions. Transform this 2D sketch into a 3D object by rotating and translati... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.1797, 0)
.lineTo(0.1797, 0.0373)
.lineTo(0, 0.0373)
.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 rotations and translations. Then, draw a two-dimensional rectangular sketch on a new face. After drawing the rectangle, apply a scaling transformation to adjust its size. Transform this scaled sketch into a three-dimensional object by applying the same rotation an... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.3206)
.lineTo(0, 0.3206)
.close()
.extrude(0.4531)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.453125, 0))
result = part_1
cq.exporters.export(result, ".... |
The design consists of six parts that are assembled to form a complex structure. The first part is an octagonal plate with rounded edges and a flat surface, measuring 0.7361 meters in length and width, and 0.0216 meters in height. The second part is a cube with rounded edges and a flat top, measuring 0.2013 meters in l... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.100797)
.lineTo(0.103676, 0.00288)
.lineTo(0.636458, 0)
.lineTo(0.734375, 0.100797)
.lineTo(0.734375, 0.633578)
.lineTo(0.636458, 0.737255)
.lineTo(0.100797, 0.734375)
.lineTo(0, 0.636458)
.close()
... |
The design consists of two parts. The first part involves creating a cube with rounded edges and corners. This cube has a length and width of 0.75 units and a height of 0.0682 units. The second part involves constructing a larger cube with a small hole in the center of one face. This cube has the same length and width ... | 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.0353, 0.0353)
.lineTo(0.7147, 0.0353)
.lineTo(0.7147, 0.7147)
.lineTo(0.0353, 0.7147)
.close()
.extrude(0.0703)
)
part... |
The model consists of a rectangular box with two circular holes on opposite sides. The box has a length of 0.2667 units, a width of 0.75 units, and a height of 0.4167 units. The circular holes are positioned symmetrically along the length of the box, one near the top and one near the bottom. These holes are designed to... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.2676, 0)
.lineTo(0.2676, 0.75)
.lineTo(0, 0.75)
.close()
.moveTo(0.1324, 0.1)
.circle(0.0676)
.moveTo(0.1324, 0.6324)
.circle(0.0676)
.extrude(0.4141)
)
part_1 = part_1.rotate((0, 0, 0)... |
The rectangular box base is created by first establishing a new coordinate system with specific angles and translations. A two-dimensional sketch is then drawn on the first face, forming a rectangular shape. This sketch is scaled down and transformed into a three-dimensional object by applying rotations and translation... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.2147)
.lineTo(0.75, 0.75)
.lineTo(0, 0.75)
.close()
.extrude(0.4297)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.429688, 0))
result = part_1
cq.expor... |
The L-shaped CAD model consists of a rectangular base and a vertical extension. The base measures approximately three-quarters of a unit in length and just over seven-tenths of a unit in width. The vertical extension rises to a height of slightly more than four-tenths of a unit. The base and the vertical extension form... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.3206, 0)
.lineTo(0.3206, 0.2794)
.lineTo(0.75, 0.2794)
.lineTo(0.75, 0.5118)
.lineTo(0.3206, 0.5118)
.lineTo(0.3206, 0.7176)
.lineTo(0, 0.7176)
.close()
.extrude(0.4297)
)
result = par... |
The design consists of five parts. The first part is a cylindrical object with a hollow center and smooth, rounded edges. It has a length and width of approximately 0.4087 units and a height of 0.4027 units. The second part is a rectangular block with curved edges on all sides, measuring about 0.3767 units in length, 0... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.203922, 0.203922)
.circle(0.202328)
.moveTo(0.203922, 0.203922)
.circle(0.129044)
.extrude(0.40625)
)
part_1 = part_1.translate((0.34375, 0, 0))
# Part 2: join
part_2 = (
cq.Workplane("XY")
.moveTo(0, 0)
.l... |
Start by creating a new coordinate system aligned with the default axes. Draw a rectangular sketch on a new face, forming a square with sides of equal length. Scale the sketch down by 75% to achieve the desired size. Transform the scaled sketch to its final position without any rotation or translation. 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.75)
.lineTo(0, 0.75)
.close()
.extrude(0.4531)
)
result = part_1
cq.exporters.export(result, "./stlcq/0031/00316703.stl")
|
The design involves creating a cube and two letters, A and B, which are combined to form a final assembly. The cube has a height, width, and depth of 0.75 units. The letter A has a height of 0.0375 units, a width of 0.4696 units, and a length of 0.4698 units. The letter B has a height of 0.0375 units, a width of 0.45 u... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.75)
.lineTo(0, 0.75)
.close()
.extrude(0.75)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.75, 0))
# Part 2: cut
part_2 = (
cq.Workplane("XY")
.move... |
Create a rounded cylindrical object by defining a new coordinate system and translating it to the desired position. Draw a circular shape within a two-dimensional sketch, scale it down, and transform it into a three-dimensional form. Extrude the scaled shape to create a solid cylindrical body with a height of 0.75 unit... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.1051, 0.1051)
.circle(0.1059)
.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/0033/00337037.stl")
|
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 straight lines. After completing the sketch, scale it down by 75%. Transform the scaled sketch into a three-dimensional object by rotating and translating it to the desir... | 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.4062)
)
result = part_1
cq.exporters.export(result, "./stlcq/0033/00338215.stl")
|
The design consists of two main parts. The first part features a curved top and has a length of 0.1393, a width of 0.1239, and a height of 0.1223. It is created by extruding a 2D sketch that includes a line and an arc, along with a smaller circle. The second part is a cylindrical object with a length of 0.0881, a width... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.140625, 0)
.threePointArc((0.070588, 0.125184), (0, 0))
.close()
.moveTo(0.070588, 0.043015)
.circle(0.036949)
.extrude(0.125)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0.015625... |
Start by creating a new coordinate system with specific angles and translations. On the first face, draw a loop that outlines a rectangular shape with rounded corners. The loop consists of several straight lines and arcs that define the curved edges. After drawing the initial sketch, scale it down by half. Rotate and t... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.5, 0)
.lineTo(0.5, 0.1255)
.lineTo(0.4, 0.1255)
.threePointArc((0.3471, 0.1431), (0.3118, 0.1882))
.threePointArc((0.251, 0.1255), (0.1882, 0.1882))
.threePointArc((0.1529, 0.1431), (0.1, 0.1255))
... |
Create a new coordinate system and draw a two-dimensional sketch on the first face. The sketch consists of a rectangular shape with a smaller rectangle cut out from one side. After completing the sketch, scale it down and transform it into a three-dimensional object by rotating and translating it. Finally, extrude the ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.25, 0)
.lineTo(0.25, 0.1265)
.lineTo(0.5, 0.1265)
.lineTo(0.5, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.6265)
.lineTo(0, 0.6265)
.close()
.extrude(0.5)
)
part_1 = part_1.rotate((0, 0, 0), (1... |
The design consists of three main parts. The first part is a cylindrical base that stands 0.0406 units tall, with a square cross-section measuring 0.4866 units on each side. This base forms the foundation of the model. The second part is a ring placed on top of the cylindrical base, also with a square cross-section mea... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.2431, 0.2431)
.circle(0.2412)
.extrude(0.0391)
)
# Part 2: join
part_2 = (
cq.Workplane("XY")
.moveTo(0.2431, 0.2431)
.circle(0.2412)
.moveTo(0.2431, 0.2431)
.circle(0.2089)
.extrude(0.0156)
)
part_2 = ... |
Start by creating a new coordinate system with specific rotations and translations. Draw a two-dimensional sketch on a new face, forming a single loop with a circle. Scale the sketch to the desired size and transform it into three dimensions using the coordinate system settings. Extrude the sketch in both directions al... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.1176, 0.1176)
.circle(0.1167)
.extrude(0.375)
)
part_1 = part_1.translate((0, 0, 0.1875))
result = part_1
cq.exporters.export(result, "./stlcq/0015/00159281.stl")
|
Start by creating a new coordinate system with specific angles and translations. Then, draw a two-dimensional sketch on a face, which includes a single circle. Scale this sketch down to a smaller size. Transform the scaled sketch into three-dimensional space using the coordinate system settings. Extrude the sketch to f... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.149, 0.149)
.circle(0.1479)
.extrude(0.75)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.75, 0))
result = part_1
cq.exporters.export(result, "./stlcq/0020/00204345.stl")
|
The design involves creating a rectangular prism with a cutout. Begin by setting up a new coordinate system with specific Euler angles and a translation vector. Next, draw a two-dimensional sketch on a face, forming a loop with eight lines to create the outline of the prism and the cutout. After completing the sketch, ... | 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.5515)
.lineTo(0.125, 0.5515)
.lineTo(0.125, 0.625)
.lineTo(0, 0.625)
.close()
.extrude(0.75)
)
part_1 = part_1.rotate((0... |
The design involves creating a hexagonal plate. Start by setting up a new coordinate system with no rotation or translation. Draw a two-dimensional hexagon on the X-Y plane. Once the hexagon is drawn, scale it down to 75% of its original size. Then, extrude the hexagon 0.126 units upwards to form a solid hexagonal plat... | 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.125)
)
result = part_1
cq.exporters.export(result, "./stlcq/0078/0078635... |
The design involves creating a rectangular block with a protruding extension and two holes. Start by setting up a new coordinate system with specific rotations and translations. Draw a two-dimensional sketch on the first face, which includes a rectangular block with a smaller extension and two circular holes. Scale the... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.25, 0)
.lineTo(0.25, 0.1353)
.lineTo(0.75, 0.1353)
.lineTo(0.75, 0.15)
.lineTo(0.25, 0.15)
.lineTo(0, 0.15)
.close()
.moveTo(0.0765, 0.1)
.circle(0.0147)
.moveTo(0.1882, 0.05)
.... |
Start by creating a new coordinate system with specific Euler angles and a translation vector. In the first face, draw two concentric circles to form a ring shape. Scale this ring shape to reduce its size. Transform the scaled ring shape into a three-dimensional object by rotating and translating it. Finally, extrude 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.1853)
.extrude(0.5625)
)
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/... |
Start by creating a new coordinate system with default settings. Draw the first face of the 2D sketch, forming a square outline. Inside the square, draw two smaller circles, each centered vertically and horizontally aligned. Scale the entire 2D sketch to fit the desired size. Transform the 2D sketch into a 3D model by ... | 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.1882)
.circle(0.0588)
.moveTo(0.3765, 0.5618)
.circle(0.0588)
.extrude(0.0781)
)
result = part_1
cq.exporters.ex... |
Start by creating a new coordinate system aligned with the default axes. On the first face, draw two concentric circles, with the outer circle being larger than the inner one. Scale down the entire sketch uniformly to fit within a square of 0.75 units by 0.75 units. Extrude this sketch 0.2386 units to form a solid cyli... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.3765, 0.3765)
.circle(0.3735)
.moveTo(0.3765, 0.3765)
.circle(0.1353)
.extrude(0.2422)
)
result = part_1
cq.exporters.export(result, "./stlcq/0094/00946952.stl")
|
Start by creating a new coordinate system with specific Euler angles and a translation vector. Next, draw a two-dimensional sketch of a face with a unique shape, consisting of a series of connected lines forming a loop. This sketch is then scaled down to fit the desired size. The scaled sketch is transformed into three... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.6088, 0.1118)
.lineTo(0.6088, 0.2324)
.lineTo(0.2971, 0.2324)
.close()
.extrude(0.1875)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).rotate((0, 0, 0), (0, 0, 1), 90)
result ... |
Start by creating a new coordinate system with specific Euler angles and a translation vector. Then, draw a two-dimensional sketch consisting of two concentric circles on a single face. Scale this sketch to reduce its size. Transform the scaled sketch into three dimensions by applying the rotation and translation from ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.1373, 0.1373)
.circle(0.1362)
.moveTo(0.1373, 0.1373)
.circle(0.1147)
.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/0084... |
The design consists of two main parts: a rectangular block and a series of cylindrical objects. The rectangular block has a height of zero point seven five units, a width of zero point one seven three one units, and a length of zero point one seven three one units. This block forms the base of the final shape. Six cyli... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.1719, 0)
.lineTo(0.1719, 0.1719)
.lineTo(0, 0.1719)
.close()
.extrude(0.75)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).rotate((0, 0, 0), (0, 0, 1), 90)
# Part 2: cut
part_2 = (
cq.Workplan... |
The design consists of four parts that form a complex structure. The first part is a rectangular prism with a square base, measuring 0.1934 units in length, 0.5953 units in width, and 0.0645 units in height. This part is created by extruding a two-dimensional sketch towards the normal. The second part is another rectan... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.0955, 0)
.lineTo(0.1933, 0)
.lineTo(0.1933, 0.163)
.lineTo(0.1933, 0.5938)
.lineTo(0.1746, 0.5938)
.lineTo(0.0186, 0.5938)
.lineTo(0, 0.5938)
.lineTo(0, 0.163)
.close()
.extrude(0.0... |
Start by creating a new coordinate system with default settings. On the first face, draw a square outline and place four small circular holes near the corners and one larger circular hole in the center. Scale the entire 2D sketch to reduce its size. Transform the scaled 2D sketch into a 3D model by extruding it in 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()
.moveTo(0.3765, 0.3765)
.circle(0.1853)
.moveTo(0.0941, 0.6559)
.circle(0.0294)
.moveTo(0.6559, 0.6559)
.circle(0.0294)
.mov... |
The rectangular prism base is constructed by first setting up a new coordinate system with specific Euler angles and a translation vector. A two-dimensional sketch is then drawn, forming a rectangle. This sketch is scaled down and transformed into three dimensions by applying rotation and translation. The sketch is ext... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.2353)
.lineTo(0, 0.2353)
.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, ".... |
To create the rectangular beam with a hollow center, start by setting up a new coordinate system with specific rotations and translations. Draw a complex closed loop on the first face, forming a unique shape. This shape is then scaled down and transformed into a three-dimensional object by applying the same rotations a... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.1853, 0)
.lineTo(0.1853, 0.0618)
.lineTo(0.1235, 0.0618)
.lineTo(0.1235, 0.157)
.lineTo(0.1853, 0.157)
.lineTo(0.1853, 0.2188)
.lineTo(0, 0.2188)
.lineTo(0, 0.157)
.lineTo(0.0626, 0.157... |
The first part involves creating a rectangular block with a flat top and bottom and straight edges. The block has a length of approximately 0.75, a width of approximately 0.45, and a height of 0.1125. The second part involves creating a similar rectangular block but with a hollow center. This block has a length of appr... | 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.1094)
)
part_1 = part_1.translate((0, 0, 0.054688))
# Part 2: cut
part_2 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.6719... |
Create a rectangular object with a flat top and bottom and sharp edges. The object has a uniform thickness throughout its length. The overall dimensions include a length of 0.225 units, a width of 0.01125 units, and a height of 0.75 units. The rectangular shape is formed by extruding a 2D sketch along the normal direct... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.2266, 0)
.lineTo(0.2266, 0.0116)
.lineTo(0, 0.0116)
.close()
.extrude(0.75)
)
result = part_1
cq.exporters.export(result, "./stlcq/0041/00419595.stl")
|
The CAD model consists of two main parts that are combined to form an L-shaped structure. The first part has a rectangular base with rounded edges. Its dimensions are approximately 0.75 units in length, 0.54 units in width, and 0.01 units in height. The second part is a curved L-shaped arm with a similar thickness of 0... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.4353)
.lineTo(0.1412, 0.4353)
.lineTo(0.2912, 0.35)
.lineTo(0.4088, 0.35)
.threePointArc((0.4971, 0.3206), (0.5471, 0.2441))
.lineTo(0.6118, 0)
.lineTo(0.75, 0.0382)
.lineTo(0.6588, 0.3441)
.threePoin... |
The cylindrical base with a central hole is created by defining a new coordinate system and transforming it accordingly. A two-dimensional sketch is drawn on the first face, featuring two concentric circles. The outer circle represents the base of the cylinder, while the inner circle forms the central hole. These circl... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.3765, 0.3765)
.circle(0.3735)
.moveTo(0.3765, 0.3765)
.circle(0.1353)
.extrude(0.125)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.179688, 0))
result = part_1
cq.exporters.export(result, "./stlcq... |
Start by creating a new coordinate system with specific orientation and position adjustments. On two faces, draw identical circles and then scale the sketch to fit the desired size. Transform the scaled sketch into a three-dimensional object by rotating and translating it according to predefined angles and vectors. Fin... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.0745, 0.0745)
.circle(0.0739)
.extrude(0.75)
)
part_1 = part_1.union(
cq.Workplane("XY")
.moveTo(0.0745, 0.0745)
.circle(0.0739)
.extrude(0.75)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.... |
To create the cylindrical object, start by setting up a new coordinate system with specific rotations and translations. Draw a circular sketch, scale it down, and then rotate and translate it into the correct position. Extrude the sketch to form a solid cylinder. The final dimensions of the cylinder are approximately 0... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.1137, 0.1137)
.circle(0.1128)
.extrude(0.75)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.75, 0))
result = part_1
cq.exporters.export(result, "./stlcq/0045/00457358.stl")
|
Start by creating a new coordinate system with default settings. Draw a two-dimensional rectangular sketch on a new face. The rectangle has sides of equal length, forming a square. Scale the sketch down to 75% of its original size. Transform the scaled sketch into a three-dimensional object by applying default rotation... | 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/0013/00138710.stl")
|
The design involves creating a rectangular prism with a curved depression and two raised sections. Start by setting up a new coordinate system with specific Euler angles and a translation vector. Draw a two-dimensional sketch on the first face, forming a complex shape with straight lines and a curved arc. This shape is... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.2471)
.lineTo(0.5794, 0.2471)
.lineTo(0.5765, 0.2471)
.threePointArc((0.4324, 0.1029), (0.2912, 0.2471))
.lineTo(0.2824, 0.2471)
.lineTo(0, 0.2471)
.close()
.extr... |
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.1439 units, and a height of 0.0227 units. This part is created by extruding a scaled two-dimensional rectangular sketch along the normal direction. The second part is a smaller rectangular protrus... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.1441)
.lineTo(0, 0.1441)
.close()
.extrude(0.0234)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90)
# Part 2: new
part_2 = (
cq.Workplane("XY")
.moveTo(0, 0)
.line... |
The design consists of two parts: a rectangular prism and a triangular prism. The rectangular prism has a length of 0.75, a width of 0.5, and a height of 0.25. It is created by extruding a scaled and transformed two-dimensional sketch. The triangular prism has a length of 0.375, a width of 0.375, and a height of 0.125.... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.5)
.lineTo(0, 0.5)
.close()
.extrude(0.25)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.375, 0))
# Part 2: cut
part_2 = (
cq.Workplane("XY")
.moveT... |
The part is a rectangular prism with rounded edges. It starts by defining a new coordinate system and drawing a two-dimensional rectangular sketch. This sketch is then scaled and transformed into three-dimensional space. The rectangular sketch is extruded along its normal to create a solid body. The final dimensions of... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.02, 0)
.lineTo(0.02, 0.0469)
.lineTo(0, 0.0469)
.close()
.extrude(0.75)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).rotate((0, 0, 0), (0, 0, 1), 90)
result = part_1
cq.exporters.export(result,... |
The design involves creating a rectangular base with a square top that is slightly offset. The base starts with a rectangular shape that transitions into a smaller rectangle at the top. The structure is created by transforming and extruding a two-dimensional sketch into a three-dimensional model. The final dimensions o... | 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.3, 0.15)
.lineTo(0.3, 0.45)
.lineTo(0, 0.45)
.close()
.extrude(0.2969)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.296875, 0))
resul... |
The design involves creating a main cylindrical object and two smaller cylindrical cutouts. The main cylinder has a height of 0.375 units and a diameter of 0.0357 units. Two smaller cylinders are then cut out from this main cylinder. The first cutout has a height of 0.0476 units and a diameter of 0.0173 units, position... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.0196, 0.0196)
.circle(0.0195)
.extrude(0.375)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.5625, 0))
# Part 2: cut
part_2 = (
cq.Workplane("XY")
.moveTo(0.0078, 0.0078)
.circle(0.0078)
.ex... |
The first part of the CAD model consists of a rounded rectangular base. This base has a length of approximately 0.4007, a width of about 0.7500, and a height of around 0.1878. The top of this base features a curved edge and a small protrusion on one side.
The second part is a hollow cylindrical section that combines a... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.2, 0)
.lineTo(0.4, 0)
.lineTo(0.4, 0.2265)
.threePointArc((0.2, 0.75), (0, 0.2265))
.close()
.extrude(0.1875)
)
part_1 = part_1.translate((0.101562, 0, 0.09375))
# Part 2: cut
part_2 = (
cq.Wo... |
Start by creating a new coordinate system with specific Euler angles and a translation vector. On the first face, draw a loop that forms a pentagon with a triangular cutout. Scale this sketch to reduce its size. Rotate and translate the scaled sketch to position it correctly. Extrude the sketch to create a three-dimens... | 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.3118, 0.5)
.lineTo(0, 0.5)
.close()
.extrude(0.375)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.375, 0))
result = part_1
cq.exporters... |
Start by creating a rectangular section with four small circular holes. The rectangle forms the base of the part, and the holes are evenly spaced along its length. The part is then transformed and rotated to align with the desired orientation. Finally, the sketch is extruded to create a solid body. The resulting part h... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.0206)
.lineTo(0, 0.0206)
.close()
.moveTo(0.0294, 0.0118)
.circle(0.0029)
.moveTo(0.2588, 0.0118)
.circle(0.0029)
.moveTo(0.4912, 0.0118)
.circle(0.0029)
... |
The design consists of four parts: a rectangular prism, two cubes, and a rectangular plate. The rectangular prism has a length of 0.75 units, a width of 0.1689 units, and a height of 0.0054 units. It is positioned at the origin. The first cube has a length of 0.1351 units, a width of 0.1649 units, and a height of 0.005... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.1676)
.lineTo(0, 0.1676)
.close()
.extrude(0.0078)
)
# Part 2: new
part_2 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.1345, 0)
.lineTo(0.1345, 0.1641)
.li... |
Create a rectangular plate by starting with a two-dimensional sketch of a rectangle on a flat surface. The rectangle has a length that is twice its width. After drawing the sketch, scale it down to 75% of its original size. Transform this scaled sketch into a three-dimensional object by extruding it 0.025 units upwards... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.3765)
.lineTo(0, 0.3765)
.close()
.extrude(0.0234)
)
result = part_1
cq.exporters.export(result, "./stlcq/0032/00324013.stl")
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.