input stringlengths 267 2.05k | output stringlengths 209 3.36k |
|---|---|
The s-shaped object consists of a curved profile with two circular holes. The first face features a continuous curve that forms an s-shape, and within this curve, there are two smaller circular holes positioned symmetrically. The entire sketch is scaled down to 75% of its original size and then transformed into a three... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.1735, 0)
.threePointArc((0.3735, 0.0294), (0.5765, 0))
.threePointArc((0.75, 0.1294), (0.5765, 0.2588))
.threePointArc((0.3765, 0.2265), (0.1735, 0.2588))
.threePointArc((0, 0.1294), (0.1735, 0))
.close()
.moveT... |
The design involves constructing a rectangular box and a cylindrical hole. The rectangular box has a length of approximately 0.75 units, a width of about 0.5961 units, and a height of around 0.1861 units. The cylindrical hole, positioned on one side of the box, has a diameter of roughly 0.1354 units and a depth of abou... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.5971)
.lineTo(0, 0.5971)
.close()
.extrude(0.1875)
)
# Part 2: cut
part_2 = (
cq.Workplane("XY")
.moveTo(0.0667, 0.0667)
.circle(0.0661)
.extrude(0.0938)
)
part_... |
Start by creating a rectangular top for the cylinder. This involves setting up a new coordinate system and drawing a 2D sketch of a rectangle on the first face. The rectangle has a longer side and a shorter side, forming a closed loop. After drawing the sketch, scale it down to 75% of its original size. Next, transform... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.4971, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.0618)
.lineTo(0, 0.0618)
.close()
.extrude(0.0156)
)
part_1 = part_1.translate((0, 0, 0.015625))
result = part_1
cq.exporters.export(result, "./stlcq/008... |
The design consists of two main parts: a cylindrical body and a rounded cap. The cylindrical body has a length and width of approximately 0.0464 units and a height of 0.7423 units. This part forms the main body of the structure. The rounded cap, which is attached to the top of the cylindrical body, has a length and wid... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.0235, 0.0235)
.circle(0.0233)
.extrude(0.7422)
)
part_1 = part_1.translate((0, 0, 0.007812))
# Part 2: join
part_2 = (
cq.Workplane("XY")
.moveTo(0.0275, 0.0275)
.circle(0.0272)
.extrude(0.0078)
)
result = par... |
The design consists of two main parts: a rectangular block and a cylindrical protrusion. The rectangular block has a flat top and bottom, with the top surface slightly wider than the bottom. It measures approximately 0.25 units in length, 0.75 units in width, and 0.0094 units in height. The cylindrical protrusion is at... | 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.0078)
)
part_1 = part_1.translate((0, 0, 0.125))
# Part 2: join
part_2 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.0547, ... |
Create a square plate with a rectangular hole. The plate has a length of 0.5625 units and a width of 0.75 units. The rectangular hole is centered within the plate and is smaller in size. The plate is then scaled down to 75% of its original size. The final step involves transforming the two-dimensional sketch into a thr... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.5618, 0)
.lineTo(0.5618, 0.75)
.lineTo(0, 0.75)
.close()
.moveTo(0.2, 0.2265)
.lineTo(0.3618, 0.2265)
.lineTo(0.3618, 0.5235)
.lineTo(0.2, 0.5235)
.close()
.extrude(0.0234)
)
resul... |
The design consists of three cylindrical parts that are combined to form a complex structure. The first part is a larger cylinder with a height of 0.4286 units, a width of 0.5304 units, and a length of 0.5304 units. This cylinder forms the base of the structure. The second part is a smaller cylinder placed on top of th... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.2667, 0.2667)
.circle(0.2646)
.moveTo(0.2667, 0.2667)
.circle(0.1604)
.extrude(0.4297)
)
part_1 = part_1.union(
cq.Workplane("XY")
.moveTo(0.2667, 0.2667)
.circle(0.1604)
.extrude(0.4297)
)
part_1 = part... |
Start by creating a new coordinate system with no rotation or translation. Draw a two-dimensional sketch on the first face, forming a complex shape with six straight lines that create a rectangular outline with rounded corners. After completing the sketch, apply a scale factor to reduce its size. Transform this scaled ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.1647, 0)
.lineTo(0.1647, 0.7265)
.lineTo(0.1265, 0.75)
.lineTo(0.0176, 0.75)
.lineTo(0, 0.7029)
.close()
.extrude(0.0234)
)
result = part_1
cq.exporters.export(result, "./stlcq/0071/00718358.... |
Start by creating a new coordinate system aligned with the default axes. Draw a two-dimensional sketch on the first face, consisting of two concentric circles. The outer circle represents the outer boundary of the hollow cylinder, while the inner circle defines the hollow section. Scale the sketch to reduce its size, 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.2824)
.extrude(0.4766)
)
result = part_1
cq.exporters.export(result, "./stlcq/0059/00594732.stl")
|
The design involves creating a cylinder with a central hole. Start by setting up a new coordinate system with default angles and positions. On the primary face, draw two concentric circles, one larger and one smaller, to define the outer and inner boundaries of the cylinder. Scale the entire sketch uniformly to fit 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.1235)
.extrude(0.2344)
)
result = part_1
cq.exporters.export(result, "./stlcq/0076/00766255.stl")
|
Start by creating a new coordinate system aligned with the default axes. Draw a two-dimensional sketch on the first face, forming a rectangle. The rectangle has a length of 0.75 units and a width of 0.14 units. Scale the sketch to fit the desired dimensions. Transform the sketch into a three-dimensional object by extru... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.1412)
.lineTo(0, 0.1412)
.close()
.extrude(0.0391)
)
result = part_1
cq.exporters.export(result, "./stlcq/0066/00668470.stl")
|
The CAD model consists of four parts that form an L-shaped structure with a smooth, flat surface and sharp edges. The first part is a rectangular base with a protruding section, the second part extends the base with a smaller rectangular extension, the third part adds a triangular top, and the fourth part finalizes the... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.45)
.lineTo(0, 0.6059)
.lineTo(0.1559, 0.6059)
.lineTo(0.2382, 0.75)
.lineTo(0.3941, 0.75)
.lineTo(0.3941, 0)
.lineTo(0.2382, 0)
.lineTo(0.2382, 0.45)
.close()
.extrude(0.0391)
)
# Part 2: join
p... |
The design involves creating a rectangular prism with a curved edge. Start by setting up a new coordinate system with specific Euler angles and a translation vector. Draw a 2D sketch that forms the base of the prism, including a rectangular shape with one corner replaced by a smooth arc. This sketch is then scaled down... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.3735)
.threePointArc((0.5118, 0.5118), (0.3735, 0.75))
.lineTo(0, 0.75)
.close()
.extrude(0.375)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.375, 0))
... |
Start by creating a new coordinate system with specific Euler angles and a translation vector. Draw a two-dimensional sketch on a new face, which includes a circle. Scale the sketch to adjust its size. Transform the scaled sketch into a three-dimensional object by applying the rotation and translation from the coordina... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.2824, 0.2824)
.circle(0.2801)
.extrude(0.2031)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0.09375, 0.203125, 0.09375))
result = part_1
cq.exporters.export(result, "./stlcq/0030/00300580.stl")
|
Create a rectangular box with a specific set of dimensions. Begin by setting up a new coordinate system with no rotation or translation. Draw a two-dimensional rectangle on the first face, ensuring that the sides are parallel to the axes. Scale this rectangle to achieve the desired proportions. Transform the scaled rec... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.5794, 0)
.lineTo(0.5794, 0.75)
.lineTo(0, 0.75)
.close()
.extrude(0.2188)
)
result = part_1
cq.exporters.export(result, "./stlcq/0021/00219676.stl")
|
The first part consists of an L-shaped structure with a rectangular section and a curved section. The L-shape is defined by a series of lines and arcs, creating a complex profile that is then scaled down and transformed into a 3D model. The final dimensions of this part are approximately 0.75 units in length, 0.24 unit... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.117647, 0)
.lineTo(0.15, 0.094118)
.threePointArc((0.167647, 0.117647), (0.191176, 0.129412))
.lineTo(0.75, 0.158824)
.lineTo(0.75, 0.238235)
.lineTo(0.1, 0.238235)
.threePointArc((0.029412, 0.... |
Create a rectangular base with a vertical extension. Start by setting up a new coordinate system with specific angles and translations. Then, draw a two-dimensional sketch that forms a complex shape with several lines. After completing the sketch, scale it down and transform it into a three-dimensional object by applyi... | 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.1265, 0.25)
.lineTo(0.1265, 0.5)
.lineTo(0, 0.5)
.close()
.extrude(0.5)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.5, 0))
result = ... |
The design consists of two main parts. The first part is a two-step block with a rectangular base and a smaller rectangular top. The base has a length of 0.75 units, a width of 0.3974 units, and a height of 0.4466 units. The second part is a cube with smooth edges and flat faces, measuring 0.2283 units in length, 0.171... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.3971)
.lineTo(0.0088, 0)
.lineTo(0.0706, 0)
.lineTo(0.0676, 0.1559)
.lineTo(0.2765, 0.1559)
.lineTo(0.2794, 0)
.lineTo(0.4029, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.3206)
.lineTo(0.4206, 0.3206)
... |
The design involves creating a rectangular block with a circular hole. The block has a length of 0.75 units, a width of 0.2647 units, and a height of 0.4412 units. A circular hole is centered within the block, adding structural detail and potentially serving as a mounting point or pass-through. The overall shape is a s... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.2647)
.lineTo(0, 0.2647)
.close()
.moveTo(0.3765, 0.1324)
.circle(0.0882)
.extrude(0.4375)
)
result = part_1
cq.exporters.export(result, "./stlcq/0059/00594431.stl")
|
The design consists of two cylindrical objects. The first cylinder has a height of 0.6666666666666666 units and a uniform diameter of 0.2916666666666667 units. It is positioned with its center at [0.1458, 0.1458, 0.6667] and extends downward. The second cylinder is much smaller, with a height of 0.08333333333333333 uni... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.1451, 0.1451)
.circle(0.144)
.extrude(0.6641)
)
# Part 2: join
part_2 = (
cq.Workplane("XY")
.moveTo(0.0431, 0.0431)
.circle(0.0428)
.extrude(0.0859)
)
part_2 = part_2.translate((0.101562, 0.101562, 0.664062))
... |
The first part involves creating an L-shaped solid with a length of approximately 0.179, a width of 0.383, and a height of 0.303. This part is created by drawing an L-shaped sketch and extruding it along the normal direction. The second part is a smaller cube with rounded edges and corners, positioned slightly above an... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.1786, 0)
.lineTo(0.1786, 0.3828)
.lineTo(0, 0.3828)
.lineTo(0, 0.3032)
.lineTo(0.0646, 0.3032)
.lineTo(0.0646, 0.0796)
.lineTo(0, 0.0796)
.close()
.extrude(0.3047)
)
# Part 2: cut
part... |
Start by setting up a new coordinate system with default angles and positions. Draw a two-dimensional rectangular sketch on the first face. This rectangle has a length of 0.75 units and a width of 0.375 units. Scale the sketch to fit the desired size, then transform it into a three-dimensional object by extruding it 0.... | 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.4531)
)
result = part_1
cq.exporters.export(result, "./stlcq/0072/00727939.stl")
|
The design consists of a rounded rectangular base and two cylindrical protrusions. The base has a length of 0.2269 units, a width of 0.75 units, and a height of 0.0167 units. The base is created by drawing a 2D sketch of a rounded rectangle, scaling it, and then extruding it. The two cylindrical protrusions are positio... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.1059)
.threePointArc((0.0324, 0.0324), (0.1059, 0))
.lineTo(0.1206, 0)
.threePointArc((0.1941, 0.0324), (0.2265, 0.1059))
.lineTo(0.2265, 0.6441)
.threePointArc((0.1941, 0.7176), (0.1206, 0.75))
.lineTo(0.105... |
The first part involves creating a cylindrical object with a flat circular top and bottom. The object is 0.75 units wide, 0.75 units long, and 0.09375 units tall. The second part is a cylindrical ring with a flat circular cross-section. This ring is also 0.75 units wide and 0.75 units long but has a height of 0.1125 un... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.3765, 0.3765)
.circle(0.3735)
.extrude(0.0938)
)
part_1 = part_1.translate((0, 0, 0.046875))
# Part 2: cut
part_2 = (
cq.Workplane("XY")
.moveTo(0.3765, 0.3765)
.circle(0.3735)
.moveTo(0.3765, 0.3765)
.circ... |
Create a rectangular block by starting with a new coordinate system and drawing a two-dimensional sketch on the first face. The sketch forms a rectangle, which is then scaled down to 75% of its original size. The scaled sketch is transformed into a three-dimensional object by extruding it along the normal direction to ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.3029)
.lineTo(0, 0.3029)
.close()
.extrude(0.1406)
)
result = part_1
cq.exporters.export(result, "./stlcq/0049/00497566.stl")
|
The design consists of three parts. The first part is a cube with rounded edges and four small holes on the top surface. It measures 0.4375 units in length and width, and 0.5 units in height. The second part is a circular washer with a central hole, measuring 0.2292 units in diameter and 0.0208 units in thickness. The ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.0017, 0.0429)
.lineTo(0, 0.2179)
.lineTo(0, 0.3963)
.lineTo(0.0412, 0.4375)
.lineTo(0.2179, 0.4375)
.lineTo(0.3963, 0.4375)
.lineTo(0.4392, 0.398)
.lineTo(0.4375, 0.2179)
.lineTo(0.4375, 0.0412)
.lin... |
Start by setting up a new coordinate system with specific rotations and translations. Draw a two-dimensional sketch on a face that includes an outer square and an inner square. Scale the sketch to reduce its size. Transform the scaled sketch into a three-dimensional object by rotating and translating it according to pr... | 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.25, 0.25)
.lineTo(0.5, 0.25)
.lineTo(0.5, 0.5)
.lineTo(0.25, 0.5)
.close()
.extrude(0.75)
)
part_1 = part_1.rotate((0,... |
Create a new coordinate system and draw a two-dimensional sketch of a rectangle on the first face. The rectangle has a length of approximately 0.1809 and a width of about 0.1382. Transform this sketch into a three-dimensional object by rotating and translating it according to the specified angles and vectors. Extrude t... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.1797, 0)
.lineTo(0.1797, 0.1374)
.lineTo(0, 0.1374)
.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 parts. The first part is a cylindrical object with a rectangular top and rounded edges, measuring 0.0938 units in length, 0.275 units in width, and 0.75 units in height. The second part is a cylindrical object with slightly rounded top and bottom, measuring 0.0764 units in length, 0.2 units ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.0461, 0)
.threePointArc((0.0933, 0.1362), (0.0461, 0.2734))
.threePointArc((0, 0.1373), (0.0461, 0))
.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... |
Begin by creating a new coordinate system aligned with the default global coordinate system. Draw the first two-dimensional sketch on the first face, which consists of two concentric circles. The outer circle represents the boundary, and the inner circle defines a hollow section. After completing the sketch, scale it d... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.0706, 0.0706)
.circle(0.07)
.moveTo(0.0706, 0.0706)
.circle(0.0469)
.extrude(0.75)
)
result = part_1
cq.exporters.export(result, "./stlcq/0037/00376552.stl")
|
Start by creating a new coordinate system with no rotation or translation. Draw a large rectangle and a smaller rectangle inside it. The large rectangle forms the outer boundary of the plate, while the smaller rectangle represents a cutout in the center. Scale the entire sketch to 75% of its original size. Extrude the ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.6147, 0)
.lineTo(0.6147, 0.75)
.lineTo(0, 0.75)
.close()
.moveTo(0.0588, 0.3412)
.lineTo(0.0912, 0.3412)
.lineTo(0.0912, 0.4088)
.lineTo(0.0588, 0.4088)
.close()
.extrude(0.0156)
)
... |
Start by creating a new coordinate system with default settings. Draw a circular sketch on the first face, then scale this sketch to reduce its size. Next, transform the sketch into a three-dimensional object without any additional adjustments. Finally, extrude the sketch to create a solid body. The resulting shape is ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.3765, 0.3765)
.circle(0.3735)
.extrude(0.0156)
)
result = part_1
cq.exporters.export(result, "./stlcq/0031/00319190.stl")
|
The design consists of two cylindrical objects. The first cylindrical object has a hollow center and measures 0.282 units in both length and width, with a height of 0.75 units. The second cylindrical object is smaller, measuring 0.162 units in both length and width, and stands 0.57 units tall. Both cylinders have smoot... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.1412, 0.1412)
.circle(0.1401)
.moveTo(0.1412, 0.1412)
.circle(0.0805)
.extrude(0.75)
)
# Part 2: new
part_2 = (
cq.Workplane("XY")
.moveTo(0.0824, 0.0824)
.circle(0.0817)
.extrude(0.5703)
)
part_2 = par... |
The design involves creating a cylindrical object with a hollow center. Start by setting up a coordinate system with default angles and positions. Draw two concentric circles on a single face, one larger and one smaller, to define the outer and inner boundaries of the cylinder. Scale the entire sketch to reduce its siz... | 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.6484)
)
result = part_1
cq.exporters.export(result, "./stlcq/0037/00377466.stl")
|
Start by creating a new coordinate system with specific rotations and translations. Draw a complex two-dimensional sketch on the first face, which forms a unique shape with multiple straight edges. Scale this sketch down to seventy-five percent of its original size. Transform the scaled sketch into a three-dimensional ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.2088, 0)
.lineTo(0.1647, 0.0529)
.lineTo(0.5853, 0.0529)
.lineTo(0.5412, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.2088)
.lineTo(0.5412, 0.2088)
.lineTo(0.5853, 0.2647)
.lineTo(0.1647, 0.2647... |
The design involves creating a cube base with rounded edges. Start by setting up a new coordinate system with default angles and positions. Draw a square on the first face, then scale this square to fit the desired size. Transform the scaled square into a three-dimensional shape by rotating and translating it to the co... | 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.1953)
)
result = part_1
cq.exporters.export(result, "./stlcq/0083/00834757.stl")
|
To create the cylindrical object, start by setting up a new coordinate system with specific angles and translations. Draw a two-dimensional sketch that includes two concentric circles, forming a ring shape. Scale this sketch down to reduce its size. Transform the scaled sketch into a three-dimensional object by applyin... | 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.15)
.extrude(0.6016)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.601562, 0))
result = part_1
cq.exporters.export(result, "./stlcq/... |
Start by creating a new coordinate system with specific Euler angles and a translation vector. Next, draw a two-dimensional sketch that forms a complex shape consisting of three main faces. The first face is a quadrilateral with rounded edges, the second face is a triangular section, and the third face is a rectangular... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.0941)
.lineTo(0.6559, 0.0941)
.lineTo(0, 0.0941)
.close()
.extrude(0.0938)
)
part_1 = part_1.union(
cq.Workplane("XY")
.moveTo(0, 0.0941)
.lineTo(0.6559, 0.0941)
... |
The design consists of two parts. The first part is a rectangular plate with a length of approximately 0.4914 units, a width of 0.75 units, and a height of 0.0026 units. The second part is a smaller, nearly cylindrical object positioned slightly above and to the side of the rectangular plate. This cylindrical object ha... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.4912, 0)
.lineTo(0.4912, 0.75)
.lineTo(0, 0.75)
.close()
.extrude(0.0078)
)
# Part 2: join
part_2 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.0105, 0)
.lineTo(0.0105, 0.6719)
.l... |
Create a new coordinate system with specific Euler angles and a translation vector to position the object correctly. Draw two circular sketches on two different faces, each with a specific center point and radius. Scale both sketches uniformly to reduce their size. Transform the scaled sketches into three-dimensional s... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.1, 0.5265)
.circle(0.0971)
.extrude(0.5156)
)
part_1 = part_1.union(
cq.Workplane("XY")
.moveTo(0.65, 0.1)
.circle(0.0971)
.extrude(0.5156)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.5546... |
The part consists of a cylinder with a circular hole and a segment removed from the side. The process begins by setting up a new coordinate system and drawing a 2D sketch on the first face. This sketch forms a complex closed loop made of four arcs. After scaling the sketch, it is transformed into 3D space and extruded ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.5214, 0.2788)
.threePointArc((0.145, 0.0641), (0.5548, 0.2063))
.threePointArc((0.6412, 0.1812), (0.7109, 0.237))
.threePointArc((0, 0), (0.6468, 0.3764))
.threePointArc((0.5604, 0.3597), (0.5214, 0.2788))
.close()
... |
The design consists of two main parts that are combined to form the final shape. The first part is a cube column with a slightly wider base and a narrower top, standing 0.75 units tall. The second part is a rectangular prism with a triangular top, also 0.75 units tall. Both parts have a uniform thickness and sharp edge... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.1588)
.lineTo(0.1224, 0)
.lineTo(0.2812, 0.1224)
.lineTo(0.1588, 0.2812)
.close()
.extrude(0.75)
)
# Part 2: join
part_2 = (
cq.Workplane("XY")
.moveTo(0, 0.038)
.lineTo(0.2422, 0)
.lineTo(0.1539... |
To construct the rectangular block, start by setting up a new coordinate system with specific Euler angles and a translation vector. Draw the outline of the first face using four lines to form a rectangle. Once the sketch is complete, scale it down to seventy-five percent of its original size. Transform this scaled ske... | 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.2969)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.296875, 0))
result = part_1
cq.exporters.export(result, ".... |
The first part involves creating a cube with rounded edges and corners. The cube has a length, width, and height of 0.75 units. The second part involves constructing a rectangular prism with a slight diagonal tilt. This prism has a length and width of 0.25 units and a height of 0.5 units. Both parts are integrated into... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.25)
.lineTo(0.2529, 0.0029)
.lineTo(0.75, 0)
.lineTo(0.75, 0.75)
.lineTo(0, 0.75)
.close()
.extrude(0.75)
)
# Part 2: join
part_2 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.25, 0)
.lineTo... |
The design involves constructing two main parts: a cylindrical object and a torus. The cylindrical object has a length and width of approximately zero point seven three two units and a height of zero point six six six units. It features a smooth surface with rounded edges and a flat, circular top. The torus, on the oth... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.3657, 0.3657)
.circle(0.3686)
.moveTo(0.3657, 0.3657)
.circle(0.3456)
.extrude(0.6641)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0.007812, 0.664062, 0.007812))
# Part 2: new
part_2 = (
cq.Workpl... |
Create a rectangular block with a circular hole. First, establish a new coordinate system with a rotation and translation that aligns the block correctly. Then, draw a two-dimensional sketch of a rectangle and a circle inside it. The rectangle forms the outer boundary of the block, while the circle defines the hole. Tr... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.4062, 0)
.lineTo(0.4062, 0.3967)
.lineTo(0, 0.3967)
.close()
.moveTo(0.1705, 0.1848)
.circle(0.086)
.extrude(0.75)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.75, 0))
re... |
The first part involves creating a rectangular plate with rounded corners and two holes on the shorter sides. The plate has a length of 0.75 units, a width of 0.1323529411764706 units, and a height of 0.013235294117647059 units. The second part is a smaller rectangular plate with a circular hole in one corner. This pla... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.132353)
.lineTo(0, 0.132353)
.close()
.moveTo(0.732353, 0.002941)
.lineTo(0.741176, 0.002941)
.threePointArc((0.747059, 0.008824), (0.741176, 0.014706))
.lineTo(0.732... |
Start by creating a new coordinate system and setting the orientation using specific Euler angles. Translate this system along the x-axis. Draw a 2D sketch on the first face, forming a complex shape with multiple lines. This shape is then scaled and transformed into a 3D object by rotating and translating it. Finally, ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.0203, 0)
.lineTo(0.0203, 0.1016)
.lineTo(0, 0.1016)
.lineTo(0, 0.0558)
.lineTo(0.0076, 0.0558)
.lineTo(0.0076, 0.0458)
.lineTo(0, 0.0458)
.close()
.extrude(0.375)
)
part_1 = part_1.rota... |
The first part is a rectangular block with a slightly rounded top and a flat bottom. It measures approximately 0.75 units in length, 0.42 units in width, and 0.10 units in height. The second part is an S-shaped object with a cylindrical base and two smaller cylindrical sections. The S-shape is created by extruding a co... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.4235)
.lineTo(0, 0.4235)
.close()
.extrude(0.1016)
)
# Part 2: cut
part_2 = (
cq.Workplane("XY")
.moveTo(0.2557, 0.239)
.threePointArc((0, 0.0597), (0.3035, 0.1362))... |
The design consists of two main parts. The first part is a rectangular box with a length of 0.6501, a width of 0.405, and a height of 0.75. This box forms the base of the object. The second part involves a triangular cutout that is added to the top face of the rectangular box. The cutout has a base width of 0.6501 and ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.6484, 0)
.lineTo(0.6484, 0.4043)
.lineTo(0, 0.4043)
.close()
.extrude(0.75)
)
# Part 2: join
part_2 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.6484, 0)
.lineTo(0.3255, 0.2873)
... |
The design consists of three main parts. The first part is a cube with slightly rounded edges and a slightly tilted top, measuring approximately 0.75 in length, 0.5 in width, and 0.57 in height. The second part is a rectangular box with a slightly rounded top and bottom and sharp edges, positioned above the cube and ex... | 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.5703)
)
# Part 2: cut
part_2 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.2039, 0)
.lineTo(0.2039, 0.5)
.lineTo(0, 0... |
The design involves two main parts. The first part is a cube with a circular cutout on one face. This cube has a length of approximately 0.75 units, a width of about 0.75 units, and a height of around 0.57 units. The second part is a triangular section that fits within the cube. The triangular section has a length of a... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.75)
.lineTo(0, 0.75)
.close()
.moveTo(0.3706, 0.3735)
.circle(0.35)
.extrude(0.5703)
)
# Part 2: join
part_2 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.5... |
Create 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 multiple lines that outline the perimeter of the rectangular bracket. The sketch includes a series of straight lines that define the outer edges and internal ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.1118)
.lineTo(0, 0.2265)
.lineTo(0.0441, 0.2265)
.lineTo(0.0441, 0.3382)
.lineTo(0.3735, 0.3382)
.lineTo(0.7059, 0.3382)
.lineTo(0.7059, 0.2265)
.lineTo(0.75, 0.2265)
.lineTo(0.75, 0.1118)
.lineTo... |
The first part is a cylindrical base with a flat circular top and bottom, measuring 0.75 units in length and width, and 0.0208 units in height. The second part is a cylindrical body that sits on top of the base, with a smooth surface and rounded edges, measuring 0.4167 units in length and width, and 0.3333 units in hei... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.3765, 0.3765)
.circle(0.3735)
.extrude(0.0234)
)
# Part 2: join
part_2 = (
cq.Workplane("XY")
.moveTo(0.2078, 0.2078)
.circle(0.2062)
.extrude(0.3359)
)
part_2 = part_2.translate((0.164062, 0.164062, 0.023438))... |
The design involves creating a rounded L-shaped base. This base is constructed by first drawing a two-dimensional sketch that forms a specific outline. The outline is then scaled down and transformed into a three-dimensional object. Finally, the sketch is extruded to create a solid body. The finished base has a height ... | 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.4676, 0.2824)
.lineTo(0.1882, 0.6559)
.lineTo(0, 0.6559)
.close()
.extrude(0.2812)
)
result = part_1
cq.exporters.export(result, "./stlcq/0055/00554745.... |
The design consists of three main parts. The first part is a rectangular block with rounded edges, featuring a length of approximately 0.75 units, a width of about 0.20 units, and a height of around 0.08 units. This block forms the base of the assembly. The second part involves creating two circular holes within the fi... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.1, 0)
.lineTo(0.65, 0)
.threePointArc((0.75, 0.1), (0.65, 0.2))
.lineTo(0.1, 0.2)
.threePointArc((0, 0.1), (0.1, 0))
.close()
.extrude(0.0781)
)
# Part 2: cut
part_2 = (
cq.Workplane("XY")
.moveTo(0.044... |
The cylindrical base is constructed by creating a new coordinate system with specific Euler angles and a translation vector. A circular sketch is drawn and scaled down before being transformed into three-dimensional space. This sketch is then extruded to form a solid cylindrical body. The cylinder has a slightly rounde... | 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/0050/00508651.stl")
|
The design consists of three main parts. The first part is a rectangular box with a flat top and bottom and four vertical sides. The box has a slight curvature on the top and bottom edges, measuring approximately 0.75 units in length, 0.45 units in width, and 0.18 units in height. The second part involves four identica... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.4471)
.lineTo(0, 0.4471)
.close()
.extrude(0.1797)
)
# Part 2: cut
part_2 = (
cq.Workplane("XY")
.moveTo(0.0446, 0.3708)
.circle(0.0446)
.extrude(0.1797)
)
part_... |
The first part of the curved U-shaped structure consists of three interconnected faces. The first face forms a rounded corner with two arcs and two straight lines. The second face is a rectangular section that extends from the first face, adding depth to the structure. The third face is another small rectangular sectio... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.75)
.threePointArc((0.1324, 0.3294), (0.4824, 0.0618))
.lineTo(0.4853, 0.0676)
.threePointArc((0.1382, 0.3324), (0.0059, 0.75))
.close()
.extrude(0.1797)
)
part_1 = part_1.union(
cq.Workplane("XY")
.moveT... |
To create the cylindrical object, start by defining a new coordinate system with specific rotations and translations. Then, draw a circular shape on a flat surface and scale it down. Transform this scaled circle into a three-dimensional space by applying the previously defined rotations and translations. Extrude this t... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.1051, 0.1059)
.circle(0.1051)
.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/0078/00780265.stl")
|
The L-shaped CAD model consists of a rectangular base with a smaller rectangular protrusion at the top right. The base and protrusion are integrated into a single solid body. The base has a length that is significantly longer than its width, while the protrusion extends from the top right corner of the base. The height... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.6647)
.lineTo(0.3647, 0.6647)
.lineTo(0.3647, 0.4706)
.lineTo(0, 0.4706)
.close()
.extrude(0.1719)
)
result = part_1
cq.exporters.export(result, "./stlcq/0053/00539876.... |
To create a cube with one face slanted, start by setting up a new coordinate system with specific rotations and translations. Draw a two-dimensional sketch on the first face, forming a pentagon with five straight lines. Scale this sketch down to fit the desired size. Transform the scaled sketch into three dimensions by... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.3765, 0.3765)
.lineTo(0.3765, 0.75)
.lineTo(0.75, 0.75)
.lineTo(0.75, 0)
.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.expo... |
The design involves creating a ring-shaped component. The ring has a circular outer edge and a smaller circular inner edge, forming a hollow cylindrical shape. The overall dimensions of the ring are 0.75 units in length and width, and 0.0312 units in height. The ring maintains a uniform thickness throughout its circumf... | 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.3118)
.extrude(0.0312)
)
result = part_1
cq.exporters.export(result, "./stlcq/0094/00945903.stl")
|
The design involves creating a rectangular plate with rounded corners and four holes at the corners. The plate is initially drawn as a two-dimensional sketch, which includes a rectangle and four small circles representing the holes. After scaling the sketch to reduce its size, the sketch is transformed into a three-dim... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.5706, 0)
.lineTo(0.5706, 0.75)
.lineTo(0, 0.75)
.close()
.moveTo(0.0588, 0.0147)
.circle(0.0059)
.moveTo(0.5088, 0.0147)
.circle(0.0059)
.moveTo(0.0588, 0.7353)
.circle(0.0059)
... |
The design consists of two main parts. The first part is a solid cylindrical base with a height of 0.75 units and a square cross-section measuring 0.1644 units on each side. This part is created by extruding a scaled 2D sketch of concentric circles. The second part is a hollow cylindrical section that cuts into the fir... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.0824, 0.0824)
.circle(0.0817)
.moveTo(0.0824, 0.0824)
.circle(0.0721)
.extrude(0.75)
)
part_1 = part_1.union(
cq.Workplane("XY")
.moveTo(0.0824, 0.0824)
.circle(0.0721)
.extrude(0.75)
)
# Part 2: cut
pa... |
Create a new coordinate system and position it appropriately. Draw a two-dimensional rectangle on the first face. Scale the rectangle to adjust its size. Transform the scaled rectangle into three-dimensional space by rotating and translating it. Extrude the transformed rectangle to create a solid body. The final shape ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.4382)
.lineTo(0, 0.4382)
.close()
.extrude(0.1875)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.1875, 0))
result = part_1
cq.exporters.export(result, "./s... |
Start by creating a new coordinate system with specific Euler angles and a translation vector. Draw two two-dimensional sketches, each forming a loop with arcs and lines that define the outline of the cylindrical object. These sketches are then scaled down and transformed into three-dimensional space using the coordina... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.35)
.threePointArc((0.3735, 0), (0.7471, 0.35))
.lineTo(0.7471, 0.3765)
.lineTo(0.6353, 0.3765)
.threePointArc((0.3735, 0.1147), (0.1118, 0.3765))
.lineTo(0, 0.3765)
.close()
.extrude(0.2969)
)
part_1 = p... |
Start by creating a new coordinate system with specific rotations and translations. Draw a rectangular face in a two-dimensional sketch, then scale this sketch to the desired size. Transform the scaled sketch into three-dimensional space by applying the previously defined rotations and translations. Extrude the transfo... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.0547, 0)
.lineTo(0.0547, 0.0182)
.lineTo(0, 0.0182)
.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 involves creating a ring-shaped object with a flat base and a hollow center. Start by setting up a new coordinate system with default angles and vectors. Next, draw a two-dimensional sketch consisting of two concentric circles. After scaling the sketch to the desired size, transform it into a three-dimension... | 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.2265)
.extrude(0.1094)
)
result = part_1
cq.exporters.export(result, "./stlcq/0050/00509016.stl")
|
The design involves two main components. The first component is a tall, slender, and slightly curved structure with a rectangular cross-section. It stands 0.75 units high, with a base measuring 0.15625 units by 0.15625 units. This part is created by extruding a 2D sketch that includes a straight line and an arc, formin... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.1562, 0)
.threePointArc((0.1103, 0.1103), (0, 0.1562))
.close()
.extrude(0.75)
)
# Part 2: cut
part_2 = (
cq.Workplane("XY")
.moveTo(0.0078, 0.0078)
.circle(0.0078)
.extrude(0.25)
)
part_2... |
Start by creating a new coordinate system aligned with the default axes. Draw a two-dimensional rectangular sketch for the first face. The rectangle has a length of 0.13125 units and a width of 0.75 units. Scale the sketch to reduce its size by 25%. Transform the scaled sketch into a three-dimensional object by rotatin... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.1324, 0)
.lineTo(0.1324, 0.75)
.lineTo(0, 0.75)
.close()
.extrude(0.0156)
)
result = part_1
cq.exporters.export(result, "./stlcq/0054/00542046.stl")
|
The design consists of two main parts, both starting with the creation of a new coordinate system using Euler angles of [0.0, 0.0, -90.0] degrees and a translation vector of [0.0, 0.0369, 0.0]. The first part involves drawing a square with rounded edges and corners. The outer square has a side length of approximately 0... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.75)
.lineTo(0, 0.75)
.close()
.moveTo(0.0382, 0.0382)
.lineTo(0.7118, 0.0382)
.lineTo(0.7118, 0.7118)
.lineTo(0.0382, 0.7118)
.close()
.extrude(0.0391)
)
part... |
The first part involves creating a simple, flat ring. The ring has a smooth, circular shape with a length and width of 0.75 units and a height of 0.0652 units. The second part is a cylindrical object with a central hole. This cylinder has a smooth surface and uniform thickness, with a length and width of 0.6522 units a... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.3765, 0.3765)
.circle(0.3735)
.moveTo(0.3765, 0.3765)
.circle(0.3235)
.extrude(0.0625)
)
# Part 2: join
part_2 = (
cq.Workplane("XY")
.moveTo(0.3255, 0.3255)
.circle(0.3229)
.moveTo(0.3255, 0.3255)
... |
Start by creating a new coordinate system with specific Euler angles and a translation vector to position the object correctly. Draw a circular sketch on the first face, consisting of two concentric circles. Scale the sketch to reduce its size, then rotate and translate it to align with the desired orientation. Extrude... | 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.1941)
.extrude(0.1562)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.15625, 0))
result = part_1
cq.exporters.export(result, "./stlcq... |
The first part involves creating a rectangular plate with rounded corners and two holes. The plate has a length of 0.38135593220338987 units, a width of 0.75 units, and a height of 0.0635593220338983 units. The second part consists of two vertical cylinders with rounded tops and bottoms. Each cylinder has a length of 0... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.1912)
.threePointArc((0.1912, 0), (0.3824, 0.1912))
.lineTo(0.3824, 0.5588)
.threePointArc((0.1912, 0.75), (0, 0.5588))
.close()
.moveTo(0.0618, 0.3206)
.threePointArc((0.1912, 0.1912), (0.3206, 0.3206))
... |
The cylindrical cup consists of a main cylindrical body with a rectangular handle and a small rectangular cutout. The main body has a rounded top and bottom edge, giving it a smooth transition between the sides and the base. The handle is attached to the side of the cup and extends vertically, providing a grip. The sma... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.5265, 0.0794)
.threePointArc((0, 0.2088), (0.5265, 0.3412))
.threePointArc((0.5324, 0.3353), (0.5412, 0.3324))
.lineTo(0.7324, 0.3324)
.threePointArc((0.7441, 0.3265), (0.75, 0.3147))
.lineTo(0.75, 0.1059)
.thre... |
The design consists of three parts. The first part is a rectangular box with a length of 0.5 units, a width of 0.125 units, and a height of 0.75 units. This box is positioned at a specific location defined by a translation vector and rotated to align with the desired orientation. The second part is a right-angled trian... | 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, 0.1255)
.close()
.extrude(0.75)
)
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")
.m... |
Create a new coordinate system and position it appropriately. Draw a circular sketch on the first face, ensuring it is centered and properly sized. Scale the sketch to fit the desired dimensions. Transform the scaled sketch into a three-dimensional object by rotating and translating it to the correct orientation. Extru... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.0745, 0.0745)
.circle(0.0739)
.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/0029/00290300.stl")
|
The first part involves creating a rectangular prism with a triangular cutout. Start by setting up a new coordinate system with specific rotations and translations. Draw a two-dimensional sketch that forms a rectangle with a triangular section removed. Scale and transform this sketch into a three-dimensional shape, 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.1265, 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.375, 0))
# Part 2: cut
part_2 = (
... |
Create a rounded cylindrical object by starting with a new coordinate system that is rotated and translated to position the object correctly. Draw a circular shape and then scale it down to fit the desired size. Transform this scaled shape into three dimensions by rotating and translating it again. Finally, extrude the... | 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.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/00... |
To create the rectangular prism, start by establishing a new coordinate system with specific orientation and position adjustments. Draw a two-dimensional outline of the first face, forming a rectangle with rounded edges. After completing the outline, scale it down to fit the desired size. Transform this scaled outline ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.0588)
.lineTo(0.0618, 0.0029)
.lineTo(0.6912, 0)
.lineTo(0.75, 0.0588)
.close()
.extrude(0.0547)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.054688, 0))
result = part_1
cq.exporters.expor... |
The first part involves creating a ring-shaped object. This object has a flat, circular base with a central hole, making it resemble a washer. The ring measures 0.75 units in both length and width, and 0.0625 units in height. The second part involves constructing a cylindrical object. This cylinder has a circular base ... | 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.2029)
.extrude(0.0625)
)
# Part 2: join
part_2 = (
cq.Workplane("XY")
.moveTo(0.2039, 0.2039)
.circle(0.2023)
.moveTo(0.2039, 0.2039)
... |
The design involves creating a rectangular bar through a series of 2D sketches that are later transformed into a 3D model. The first sketch outlines a small rectangle, while the second sketch defines a larger rectangle above it. The third sketch introduces a more complex shape with straight lines and arcs, and the four... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.2265, 0)
.lineTo(0.2265, 0.0412)
.lineTo(0, 0.0412)
.close()
.extrude(0.0078)
)
part_1 = part_1.union(
cq.Workplane("XY")
.moveTo(0, 0.0471)
.lineTo(0.2265, 0.0471)
.lineTo(0.2265, 0.08... |
The design consists of two main parts. The first part is a rectangular block with a length of 0.75 units, a width of 0.25 units, and a height of 0.25 units. This block serves as the base of the structure. The second part is a smaller rectangular extension that is 0.25 units in length, 0.25 units in width, and 0.5 units... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.25, 0)
.lineTo(0.25, 0.25)
.lineTo(0, 0.25)
.close()
.extrude(0.25)
)
part_1 = part_1.union(
cq.Workplane("XY")
.moveTo(0.25, 0)
.lineTo(0.5, 0)
.lineTo(0.5, 0.25)
.lineTo(0.25, 0.2... |
The design involves creating a rectangular prism with a recessed top surface. A new coordinate system is established with specific Euler angles and a translation vector. The first face of the two-dimensional sketch outlines the basic shape, including a recessed section. This sketch is then scaled down, rotated, and tra... | 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 first part of the design involves creating a cylindrical base. Start by setting up a new coordinate system with no rotation or translation. Next, draw a circle in a new face, centering it at coordinates [0.375, 0.375] and giving it a radius of 0.375 units. Scale the circle to 75% of its original size. Extrude this ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.3765, 0.3765)
.circle(0.3735)
.extrude(0.125)
)
result = part_1
cq.exporters.export(result, "./stlcq/0085/00857788.stl")
|
The cylindrical shape with rectangular protrusions starts by creating a new coordinate system aligned with the global axes. The first face is defined by a complex loop consisting of straight lines and arcs, forming a unique profile. After defining the initial two-dimensional sketch, scale it down by 75%. Transform this... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.3765, 0)
.lineTo(0.7029, 0)
.lineTo(0.7029, 0.0147)
.lineTo(0.3765, 0.0147)
.threePointArc((0.7382, 0.3765), (0.3765, 0.7382))
.lineTo(0.7029, 0.7382)
.lineTo(0.7029, 0.75)
.lineTo(0.3765, 0.75)
.threePo... |
Create a rectangular block by defining a new coordinate system and drawing a two-dimensional sketch on the first face. The sketch forms a rectangle, which is then scaled down and transformed into three dimensions. The final step involves extruding the sketch to create a solid body. The resulting block has a length of z... | 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.25)
)
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 rounded cylindrical object with a hollow center. Start by setting up a coordinate system with specific Euler angles and a translation vector. Draw two concentric circles on a face, then scale the entire sketch to achieve the desired size. Transform the sketch into a three-dimensional shap... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.2235, 0.2235)
.circle(0.2218)
.moveTo(0.2235, 0.2235)
.circle(0.1065)
.extrude(0.375)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.5625, 0))
result = part_1
cq.exporters.export(result, "./stlcq/0... |
The first part involves creating a cylindrical base with a flat circular top and bottom, where the top surface is slightly concave. The cylinder has a length and width of approximately 0.537 units and a height of about 0.322 units. The second part involves constructing a smaller cylindrical top with a smooth surface an... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.2685, 0.2685)
.circle(0.2706)
.extrude(0.3203)
)
# Part 2: join
part_2 = (
cq.Workplane("XY")
.moveTo(0.1059, 0.1059)
.circle(0.1051)
.extrude(0.4297)
)
part_2 = part_2.translate((0.164062, 0.164062, 0.320312))... |
A rectangular object is created by defining a new coordinate system with specific Euler angles and a translation vector. The object is initially drawn as a two-dimensional sketch on a face, forming a rectangle. This sketch is then scaled down, rotated, and translated to its final position. The sketch is extruded to cre... | 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.0312)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.03125, 0))
result = part_1
cq.exporters.export(result, "./... |
The first part involves creating a rectangular plate with a length slightly under 0.75 units, a width of approximately 0.45 units, and a height of around 0.026 units. This plate forms the base of the design. The second part is a smaller rectangular cutout with a length of about 0.028 units, the same width as the first ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.452941)
.lineTo(0, 0.452941)
.close()
.extrude(0.023438)
)
# Part 2: cut
part_2 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.028431, 0)
.lineTo(0.028431, 0.453... |
The design consists of five cylindrical rings, each with a hollow center and varying dimensions. The first ring has a flat, circular base and a height of approximately 0.1 units, while the second ring has smooth, rounded edges and a height of about 0.2 units. The third ring features a flat, circular cross-section and a... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.3765, 0.3765)
.circle(0.3735)
.moveTo(0.3765, 0.3765)
.circle(0.2118)
.extrude(0.0938)
)
part_1 = part_1.translate((0, 0, 0.148438))
# Part 2: join
part_2 = (
cq.Workplane("XY")
.moveTo(0.2784, 0.2784)
.cir... |
Begin by creating a new coordinate system aligned with the default axes. Draw the first two-dimensional sketch on the first face, consisting of two concentric circles. The outer circle has a larger diameter, while the inner circle is smaller, creating a ring-like shape. Scale the entire sketch down to 75% of its origin... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.3765, 0.3765)
.circle(0.3735)
.moveTo(0.3765, 0.3765)
.circle(0.2235)
.extrude(0.375)
)
result = part_1
cq.exporters.export(result, "./stlcq/0047/00470643.stl")
|
Start by creating a new coordinate system with specific Euler angles and a translation vector to position the model correctly. Draw a two-dimensional sketch on the first face, forming a closed loop with four lines. After completing the sketch, scale it down to fit the desired dimensions. Transform this scaled sketch in... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.3)
.lineTo(0.3206, 0)
.lineTo(0.75, 0.2706)
.lineTo(0.2618, 0.4353)
.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(r... |
To construct the rectangular prism, start by setting up a new coordinate system with default angles and positions. Draw the first face of the prism on the X-Y plane, forming a square with sides of equal length. After drawing the initial shape, scale it down by 75%. The scaled 2D sketch is then transformed into a 3D mod... | 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.0078)
)
result = part_1
cq.exporters.export(result, "./stlcq/0026/00263821.stl")
|
The cylindrical object is created by first establishing a new coordinate system with specific Euler angles and a translation vector. A circular sketch is then drawn and scaled down. This scaled sketch is transformed into three dimensions and extruded to form a solid cylinder. The final dimensions of the cylinder are ap... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.0588, 0.0588)
.circle(0.0584)
.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/0080/00808081.stl")
|
The base section of the L-shaped CAD model consists of two primary faces. The first face is a trapezoid with a longer base at the bottom and a shorter base at the top. The second face is a rectangle that extends vertically from the shorter base of the first face. These faces are combined to form a three-dimensional L-s... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.3765, 0)
.lineTo(0.3765, 0.1265)
.lineTo(0.25, 0.1265)
.lineTo(0, 0.1265)
.close()
.extrude(0.125)
)
part_1 = part_1.union(
cq.Workplane("XY")
.moveTo(0.25, 0.1265)
.lineTo(0.3765, 0.12... |
Start by creating a new coordinate system with specific Euler angles and a translation vector. Draw a circular sketch on the first face, then scale the sketch to the desired size. Transform the sketch into three-dimensional space by rotating and translating it according to the coordinate system. Extrude the sketch to f... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.0157, 0.0157)
.circle(0.0156)
.extrude(0.75)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.75, 0))
result = part_1
cq.exporters.export(result, "./stlcq/0018/00189837.stl")
|
The rounded cylindrical base starts with the creation of a new coordinate system, which is then used to draw a circular shape on a two-dimensional plane. This circular shape is scaled down and transformed into three-dimensional space by rotating and translating it according to the defined coordinate system. The shape i... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.3735, 0.3765)
.circle(0.3735)
.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/0070/00705403.stl")
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.