input stringlengths 267 2.05k | output stringlengths 209 3.36k |
|---|---|
The design involves creating a rounded cylindrical object. Start by setting up a new coordinate system with specific Euler angles and a translation vector. Then, draw a circle on the first face and scale it to achieve the desired size. Transform this scaled circle into a three-dimensional shape by applying the rotation... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.0902, 0.0902)
.circle(0.0895)
.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/0043/00439298.stl")
|
Start by creating a new coordinate system aligned with the default axes. On the first face, draw a rectangular loop. This rectangle has a length of 0.75 units and a width of 0.375 units. Scale the entire sketch to reduce its size proportionally. Transform the sketch into a three-dimensional object by extruding it 0.375... | 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.375)
)
result = part_1
cq.exporters.export(result, "./stlcq/0018/00180578.stl")
|
The design consists of two cylindrical sections. The first section has a height of 0.75 units, a width of 0.18 units, and a length of 0.18 units. This forms the base of the structure. The second section, which is smaller, has a height of 0.675 units, a width of 0.165 units, and a length of 0.165 units. This smaller sec... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.0902, 0.0902)
.circle(0.0895)
.moveTo(0.0902, 0.0902)
.circle(0.0817)
.extrude(0.75)
)
# Part 2: join
part_2 = (
cq.Workplane("XY")
.moveTo(0.0824, 0.0824)
.circle(0.0817)
.moveTo(0.0824, 0.0824)
.c... |
To create a tapering rectangular prism, start by setting up a new coordinate system with specific Euler angles and a translation vector. Then, draw a rectangular shape on the first face. This rectangle has a length of 0.75 units and a width of 0.6578 units. Scale this rectangle down by 75% and transform it into three d... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.6588)
.lineTo(0, 0.6588)
.close()
.extrude(0.3203)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.320312, 0))
result = part_1
cq.exporters.export(result, ".... |
The design consists of two main parts: a rectangular box and a cylindrical object. The rectangular box has a length, width, and height of approximately 0.824, 0.723, and 0.397 units, respectively. This box is created by extruding a two-dimensional rectangular sketch along the normal direction. The cylindrical object, w... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.8203, 0)
.lineTo(0.8203, 0.7206)
.lineTo(0, 0.7206)
.close()
.extrude(0.3984)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.59375, 0))
# Part 2: join
part_2 = (
cq.Workplane("... |
Design a square box with a hollow center and a flat bottom. The box has a square base with a smaller square cut out in the middle, creating a hollow area. The outer boundary of the base measures 0.75 units by 0.75 units, while the inner boundary measures slightly smaller to create the hollow effect. The box is extruded... | 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.0235, 0.0235)
.lineTo(0.7235, 0.0235)
.lineTo(0.7235, 0.7235)
.lineTo(0.0235, 0.7235)
.close()
.extrude(0.1719)
)
res... |
Create a new coordinate system and draw a rectangle on the X-Y plane. The rectangle forms the base of the part. Transform this two-dimensional sketch into a three-dimensional object by extruding it along the positive Z-axis. The extrusion creates a solid body with a rectangular top and a cylindrical base. The top has a... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.2266, 0)
.lineTo(0.2266, 0.151)
.lineTo(0, 0.151)
.close()
.extrude(0.75)
)
result = part_1
cq.exporters.export(result, "./stlcq/0034/00347464.stl")
|
Start by creating a new coordinate system with specific angles and translations. Then, draw a larger circle and a smaller circle within it on the first face. Scale down the entire sketch to fit the desired size. Transform the sketch into a three-dimensional object by rotating and translating it according to the coordin... | 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.0147)
.extrude(0.0469)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.046875, 0))
result = part_1
cq.exporters.export(result, "./stlc... |
Start by creating a new coordinate system and drawing a two-dimensional rectangular sketch. This rectangle will be scaled down and transformed into a three-dimensional shape. The final shape is a rectangular base with a length of 0.75, a width of 0.0375, and a height of 0.0375. The transformation involves rotating and ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.0382)
.lineTo(0, 0.0382)
.close()
.extrude(0.0391)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.039062, 0))
result = part_1
cq.exporters.export(result, ".... |
Start by creating a new coordinate system with a specific orientation and position. Draw a rectangular shape on a plane, ensuring that it forms a closed loop. Scale this rectangle to reduce its size, then rotate and move it to align with the desired orientation and position. Finally, extrude the shape to create a solid... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.4676)
.lineTo(0, 0.4676)
.close()
.extrude(0.4688)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.46875, 0))
result = part_1
cq.exporters.export(result, "./... |
The first part is a rectangular staircase with a length of 0.75 units, a width of 0.2846 units, and a height of 0.37 units. This part is created by extruding a scaled two-dimensional sketch in both directions to form a solid body. The second part is a rectangular prism with rounded edges, measuring 0.2009 units in leng... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.055882)
.lineTo(0.655882, 0.055882)
.lineTo(0.655882, 0.114706)
.lineTo(0.561765, 0.114706)
.lineTo(0.561765, 0.170588)
.lineTo(0.467647, 0.170588)
.lineTo(0.467647, ... |
Start by creating a rectangular bar with a length of 0.75 units, a width of 0.125 units, and a height of 0.03 units. Next, construct two smaller cubes on top of the rectangular bar. Each cube has a length of 0.03 units, a width of 0.125 units, and a height of 0.03125 units. These cubes are positioned along the width of... | 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()
.extrude(0.0312)
)
# Part 2: cut
part_2 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.0299, 0)
.lineTo(0.0299, 0.0377)
.li... |
The part consists of a rectangular base with a smaller protrusion on top. The base has a length of 0.6569 units and a width of 0.75 units. The protrusion extends 0.5561 units above the base. The overall shape is created by extruding a two-dimensional sketch that outlines the base and the protrusion. The sketch is then ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.6559, 0)
.lineTo(0.6559, 0.3735)
.lineTo(0.4412, 0.3735)
.lineTo(0.4412, 0.75)
.lineTo(0.2176, 0.75)
.lineTo(0.2176, 0.3735)
.lineTo(0, 0.3735)
.close()
.extrude(0.5547)
)
part_1 = part... |
The first part involves creating a rectangular plate with four holes. The plate has a length of approximately 0.382 units, a width of 0.75 units, and a height of 0.0171 units. The second part involves constructing a cube with rounded edges and corners. The cube has a length of approximately 0.0874 units, a width of 0.3... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.3824, 0)
.lineTo(0.3824, 0.75)
.lineTo(0, 0.75)
.close()
.moveTo(0.0412, 0.7088)
.circle(0.0176)
.moveTo(0.3412, 0.7088)
.circle(0.0176)
.moveTo(0.0412, 0.0412)
.circle(0.0176)
... |
Start by creating a rectangular prism with a smaller rectangular prism attached to its bottom face. The larger rectangular prism has a length slightly less than half a meter and a width just over three-quarters of a meter. The smaller rectangular prism is significantly shorter and narrower, fitting perfectly on the bot... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.4735, 0)
.lineTo(0.4735, 0.2382)
.lineTo(0, 0.2382)
.close()
.extrude(0.0156)
)
part_1 = part_1.union(
cq.Workplane("XY")
.moveTo(0, 0.5118)
.lineTo(0.4735, 0.5118)
.lineTo(0.4735, 0.75... |
Start by creating a new coordinate system and then draw a two-dimensional sketch on the first face. This sketch includes two concentric circles, one larger and one smaller, centered at the same point. Scale the entire sketch to achieve the desired size. Transform the scaled sketch into three dimensions and position it ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.0078, 0.0078)
.circle(0.0078)
.moveTo(0.0078, 0.0078)
.circle(0.0052)
.extrude(0.75)
)
result = part_1
cq.exporters.export(result, "./stlcq/0040/00406840.stl")
|
The design involves creating a U-shaped structure. Start by setting up a new coordinate system with specific rotations and translations. Draw a two-dimensional sketch of the U-shape, which consists of several straight lines forming a complex outline. After drawing, scale the sketch to fit the desired size. Transform th... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.7, 0)
.lineTo(0.7, 0.75)
.lineTo(0.4765, 0.75)
.lineTo(0.4765, 0.1235)
.lineTo(0.2265, 0.1235)
.lineTo(0.2265, 0.75)
.lineTo(0, 0.75)
.close()
.extrude(0.1875)
)
part_1 = part_1.rotate(... |
The first part involves creating a torus. A new coordinate system is established with specific rotations and translations. A two-dimensional sketch is drawn with two concentric circles, which is then scaled, rotated, and translated into three-dimensional space. The sketch is extruded in both directions to form a solid ... | 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.3588)
.extrude(0.1406)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.203125, 0))
# Part 2: cut
part_2 = (
cq.Workplane("XY")
... |
Create a rounded cylindrical object by starting with a new coordinate system aligned to the default orientation. Draw a circular face with a diameter that fits the desired proportions. Scale the circle to achieve the correct size, then extrude it to form a three-dimensional cylinder. The final shape will have a height ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.3765, 0.3765)
.circle(0.3735)
.extrude(0.6484)
)
result = part_1
cq.exporters.export(result, "./stlcq/0044/00442639.stl")
|
The CAD model consists of a rectangular base with a slightly recessed top and two vertical protrusions on the sides of the top surface. The base is created by drawing a 2D sketch and then transforming it into a 3D object through rotation and translation. The final shape is achieved by extruding the 2D sketch along the ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.2)
.lineTo(0.5882, 0.2)
.lineTo(0.5882, 0.5147)
.lineTo(0.4471, 0.5147)
.lineTo(0.4471, 0.2735)
.lineTo(0.3029, 0.2735)
.lineTo(0.3029, 0.5147)
.lineTo(0.1618, 0.... |
The design consists of three parts. The first part is an L-shaped solid with a length of 0.1343 units, a width of 0.0806 units, and a height of 0.0537 units. It is positioned using a coordinate system with Euler angles of 0.0, 0.0, -90.0 degrees and a translation vector of (0.1696, 0.0537, 0.3379). The second part is a... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.1328, 0)
.lineTo(0.1328, 0.0797)
.lineTo(0.0932, 0.0797)
.lineTo(0.0932, 0.0401)
.lineTo(0.0401, 0.0401)
.lineTo(0.0401, 0.0797)
.lineTo(0, 0.0797)
.close()
.extrude(0.0547)
)
part_1 = ... |
The design involves creating a cylindrical object with a circular cross-section. The first step is to establish a new coordinate system aligned with the default axes. A two-dimensional sketch is then created on the first face, featuring an outer circle and an inner circle. These circles are scaled down to fit the desir... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.2296, 0.2296)
.circle(0.2314)
.moveTo(0.2296, 0.2296)
.circle(0.1717)
.extrude(0.75)
)
result = part_1
cq.exporters.export(result, "./stlcq/0016/00169898.stl")
|
Create a rectangular bar with circular holes by starting with a two-dimensional sketch on a flat face. The sketch consists of a rectangular shape with rounded corners and two smaller circles positioned at the ends of the rectangle. After completing the sketch, scale it down to fit the desired size. Transform the scaled... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.0676, 0)
.lineTo(0.6824, 0)
.threePointArc((0.75, 0.0676), (0.6824, 0.1353))
.lineTo(0.0676, 0.1353)
.threePointArc((0, 0.0676), (0.0676, 0))
.close()
.moveTo(0.0676, 0.0676)
.circle(0.0324)
.moveTo(0.68... |
The first part consists of a rectangular block with a square hole in the center. The block measures 0.75 units in length, 0.1082 units in width, and 0.0361 units in height. The hole is centered on the top surface of the block. The second part is a cube with a square hole in the center. The cube measures 0.5769 units in... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.0853, 0)
.lineTo(0.0853, 0.1088)
.lineTo(0, 0.1088)
.close()
.moveTo(0.0441, 0.0529)
.circle(0.0147)
.extrude(0.0391)
)
part_1 = part_1.union(
cq.Workplane("XY")
.moveTo(0.6647, 0)
... |
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 unique shape with five sides. Transform this sketch into three dimensions and extrude it to create a solid body. The final shape is a cube with one corner cut off, re... | 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.3794, 0.7529)
.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))
result = part_1
cq.exporte... |
Start by creating a new coordinate system aligned with the default axes. Draw a rectangular shape on a new face. The rectangle has a length of 0.75 units and a width of 0.5139 units. Scale the rectangle to reduce its size uniformly. Transform the scaled rectangle into a three-dimensional object by extruding it 0.0444 u... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.5147)
.lineTo(0, 0.5147)
.close()
.extrude(0.0469)
)
result = part_1
cq.exporters.export(result, "./stlcq/0039/00391329.stl")
|
The design consists of two cylindrical objects, both with hollow centers and rounded edges. The first cylindrical object measures 0.75 in length, 0.75 in width, and 0.28125 in height. The second cylindrical object is smaller, measuring 0.515625 in length, 0.515625 in width, and 0.28125 in height. These two parts are po... | 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.2559)
.extrude(0.2812)
)
# Part 2: new
part_2 = (
cq.Workplane("XY")
.moveTo(0.2588, 0.2588)
.circle(0.2568)
.moveTo(0.2588, 0.2588)
.... |
The triangular ring with a circular hole is created by first establishing a new coordinate system with specific angles and a slight translation along the x-axis. A complex two-dimensional sketch is drawn on the first face, consisting of a series of arcs forming a triangular outline and a smaller circular hole within it... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.5794)
.threePointArc((0.1, 0.2618), (0.3265, 0.0147))
.threePointArc((0.3735, 0), (0.4235, 0.0147))
.threePointArc((0.65, 0.2618), (0.75, 0.5794))
.threePointArc((0.7382, 0.6294), (0.7, 0.6647))
.threePointArc((0... |
The design involves creating a rounded cylindrical object. Begin by setting up a new coordinate system with specific rotations and translations. Draw a circular sketch on a new face, then scale this sketch to achieve the desired size. Transform the scaled sketch into a three-dimensional object by applying the specified... | 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/0070/00700209.stl")
|
Create a rectangular block by starting with a new coordinate system aligned with the global axes. Draw a rectangular sketch on the first face, ensuring it forms a closed loop. After drawing the sketch, scale it down to fit the desired size. Transform the sketch into a three-dimensional object by rotating and translatin... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.4088)
.lineTo(0, 0.4088)
.close()
.extrude(0.3438)
)
result = part_1
cq.exporters.export(result, "./stlcq/0067/00676907.stl")
|
The process involves creating a rectangular prism by defining a new coordinate system with specific Euler angles and a translation vector. A 2D sketch is then drawn on a face, forming a rectangle. This sketch is scaled and transformed to create a 3D shape. The final extrusion step forms a solid body. The resulting rect... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.0312, 0)
.lineTo(0.0312, 0.0134)
.lineTo(0, 0.0134)
.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... |
Construct a rounded cylindrical object with a flat circular base and top. Begin by setting up a coordinate system with specific Euler angles and a translation vector. Draw a circle within a two-dimensional sketch, scale it appropriately, and transform it into three-dimensional space. Extrude the transformed sketch to c... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.07, 0.07)
.circle(0.0706)
.extrude(0.7109)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0.101562, 0.75, 0.101562))
result = part_1
cq.exporters.export(result, "./stlcq/0077/00770676.stl")
|
The design involves creating a rectangular prism with a protruding section. The first step is to establish a new coordinate system with specific Euler angles and a translation vector. This sets the orientation and position of the model. The model is constructed by drawing three faces, each defined by a series of lines.... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.5, 0)
.lineTo(0.5, 0.1265)
.lineTo(0.5, 0.25)
.lineTo(0, 0.25)
.close()
.extrude(0.375)
)
part_1 = part_1.union(
cq.Workplane("XY")
.moveTo(0.5, 0)
.lineTo(0.6265, 0)
.lineTo(0.6265... |
The design involves creating a three-dimensional object with a rectangular base and a curved top. The object features a symmetrical design with two parallel sides and a central depression. The overall shape is achieved by drawing a 2D sketch, scaling it, transforming it into 3D, and then extruding it to form the final ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.2382, 0.1676)
.lineTo(0.6029, 0.1676)
.lineTo(0.75, 0)
.lineTo(0.7441, 0.45)
.lineTo(0.6029, 0.2441)
.lineTo(0.2294, 0.2441)
.lineTo(0, 0.45)
.close()
.extrude(0.5469)
)
part_1 = part_1... |
Start by creating a new coordinate system aligned with the global axes and positioned 0.375 units along the z-axis. On the top face, draw a circular profile. Scale this profile down to 75% of its original size. Transform the scaled profile back into the original position and extrude it in both directions along the z-ax... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.3765, 0.3765)
.circle(0.3735)
.extrude(0.375)
)
part_1 = part_1.translate((0, 0, 0.1875))
result = part_1
cq.exporters.export(result, "./stlcq/0004/00045289.stl")
|
The design consists of two cylindrical parts. The first part is a larger cylinder with a central hole. It has a length and width of approximately 0.75 units and a height of 0.25 units. The second part is a smaller solid cylinder with a length and width of about 0.375 units and a height of 0.5 units. These parts are ali... | 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.25)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.5, 0))
# Part 2: new
part_2 = (
cq.Workplane("XY")
.moveTo... |
The design involves creating a rounded rectangular base. Start by setting up a new coordinate system with standard angles and no translation. Draw a rectangular shape on the first face, ensuring the sides are proportional to the given dimensions. Scale the rectangle to fit the desired size. Convert this two-dimensional... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.5912)
.lineTo(0, 0.5912)
.close()
.extrude(0.6562)
)
result = part_1
cq.exporters.export(result, "./stlcq/0046/00467531.stl")
|
The design consists of two cylindrical objects. Each cylinder has a length of 0.2143, a width of 0.2143, and a height of 0.75. The first cylinder is positioned with a translation vector of (0.0, 0.0, 0.3608) and the second cylinder with a translation vector of (0.0, 0.0143, 0.0). Both cylinders are created by defining ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.1059, 0.1059)
.circle(0.1051)
.extrude(0.75)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).rotate((0, 0, 0), (0, 0, 1), 90).translate((0, 0, 0.359375))
# Part 2: new
part_2 = (
cq.Workplane("XY")
.moveTo(0.1059, 0... |
The design involves constructing two main parts. The first part is a cube with rounded edges and corners. It measures 0.6429 units in length and width, and 0.75 units in height. The second part is a rectangular cutout, also with rounded edges and corners, measuring 0.4286 units in length, 0.5357 units in width, and 0.4... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.6406, 0)
.lineTo(0.6406, 0.6406)
.lineTo(0, 0.6406)
.close()
.extrude(0.75)
)
# Part 2: cut
part_2 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.4312, 0)
.lineTo(0.4312, 0.5391)
.... |
Start by creating a new coordinate system and drawing a rectangular face with a circular hole in the middle. The rectangle forms the base of the cube, and the circular hole will be centered within this rectangle. After defining the initial shape, scale the entire sketch to fit the desired dimensions. Transform the scal... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.4531, 0)
.lineTo(0.4531, 0.3021)
.lineTo(0, 0.3021)
.close()
.moveTo(0.2275, 0.151)
.circle(0.1013)
.extrude(0.375)
)
part_1 = part_1.translate((0, 0, 0.1875))
result = part_1
cq.exporters.ex... |
Start by creating a new coordinate system with a specific orientation and position. Draw a two-dimensional outline on a flat surface, forming a complex rectangular shape with a cutout. Transform this sketch into a three-dimensional object by applying a specific rotation and translation. Extrude the transformed sketch t... | 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.3765, 0.1265)
.lineTo(0.3765, 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))
... |
The design involves creating a rectangular bar with rounded ends. The process starts by defining a new coordinate system and drawing a two-dimensional sketch on the first face. The sketch consists of a series of lines and arcs that form the outline of the bar. After completing the sketch, scale it down by 75%. The scal... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.1029, 0)
.threePointArc((0.1353, 0.0176), (0.1706, 0.0265))
.lineTo(0.3765, 0.0265)
.lineTo(0.5794, 0.0265)
.threePointArc((0.6147, 0.0176), (0.6471, 0))
.lineTo(0.75, 0)
.lineTo(0.75, 0.1)
... |
Start by creating a new coordinate system with specific angles and a translation vector. On the first face, draw two concentric circles, one larger and one smaller. Scale the entire sketch to fit the desired size. Transform the sketch into three-dimensional space using the specified angles and translation vector. Extru... | 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.0232)
.extrude(0.375)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).rotate((0, 0, 0), (0, 0, 1), 90).translate((0.1875, 0, 0.132812))
result = part_1... |
The design involves creating a ring-shaped object with a flat, circular base. The ring has a central hole and is formed by extruding a two-dimensional sketch into a three-dimensional solid. The overall dimensions of the object are 0.75 units in length and width, with a height of 0.075 units. The sketch consists of two ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.3765, 0.3765)
.circle(0.3735)
.moveTo(0.3765, 0.3765)
.circle(0.1971)
.extrude(0.0781)
)
result = part_1
cq.exporters.export(result, "./stlcq/0060/00603456.stl")
|
Create a cylindrical object with a flat top and bottom, a smooth surface, and a uniform diameter throughout its length. Start by setting up a new coordinate system at the origin. Draw a two-dimensional sketch consisting of two concentric circles, then scale the sketch to the desired size. Transform the sketch into thre... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.0667, 0.0667)
.circle(0.0661)
.moveTo(0.0667, 0.0667)
.circle(0.0281)
.extrude(0.75)
)
result = part_1
cq.exporters.export(result, "./stlcq/0040/00406495.stl")
|
To create the rectangular block, start by setting up a new coordinate system with default angles and positions. Draw a two-dimensional rectangle on the first face, ensuring that it forms a closed loop. After completing the sketch, scale it down to fit the desired size. Transform the scaled sketch into a three-dimension... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.25)
.lineTo(0, 0.25)
.close()
.extrude(0.1484)
)
result = part_1
cq.exporters.export(result, "./stlcq/0027/00278523.stl")
|
The cylindrical washer is created by defining a new coordinate system with specific Euler angles and translation vectors. A two-dimensional sketch is drawn on the first face, consisting of two concentric circles. The outer circle has a larger radius, while the inner circle has a smaller radius. This sketch is then scal... | 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.1016)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.101562, 0))
result = part_1
cq.exporters.export(result, "./stlcq/... |
Construct a rectangular box and a pentagonal cutout to form the final design. The rectangular box is created by drawing a rectangle and extruding it 0.3 units in the positive normal direction. The dimensions of the box are approximately 0.42 units in length, 0.75 units in width, and 0.3 units in height. The pentagonal ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.4206, 0)
.lineTo(0.4206, 0.75)
.lineTo(0, 0.75)
.close()
.extrude(0.2969)
)
# Part 2: cut
part_2 = (
cq.Workplane("XY")
.moveTo(0, 0.3775)
.lineTo(0.0543, 0)
.lineTo(0.0543, 0.3775)
... |
Create a cylindrical object by defining a new coordinate system with specific Euler angles and a translation vector. Draw a circle on a single face and scale it appropriately. Transform this sketch into three-dimensional space and extrude it to form a solid cylinder. The final dimensions of the cylinder are 0.08625 uni... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.0431, 0.0431)
.circle(0.0428)
.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/0015/00157817.stl")
|
Create a new coordinate system with default settings to establish the origin point. Draw a two-dimensional rectangular sketch on the first face, ensuring it forms a closed loop. Scale the sketch to reduce its size proportionally. Transform the scaled sketch into a three-dimensional shape by extruding it along the norma... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.4176)
.lineTo(0, 0.4176)
.close()
.extrude(0.5391)
)
result = part_1
cq.exporters.export(result, "./stlcq/0078/00784795.stl")
|
Start by creating a new coordinate system with specific angles and translations to orient the model correctly. Draw a two-dimensional sketch that forms a rectangular base with a sloped top. The sketch includes a series of connected lines that define the shape. After completing the sketch, scale it down to fit the desir... | 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.5382, 0.5382)
.lineTo(0.2147, 0.5353)
.lineTo(0.2147, 0.3206)
.lineTo(0, 0.3206)
.close()
.extrude(0.2109)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, ... |
To create the cylindrical object with a hollow center, start by defining a new coordinate system with default settings. Draw the first face by creating two concentric circles, one larger and one smaller, to form the outer and inner boundaries of the cylinder. Scale the 2D sketch to fit the desired dimensions and then 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.1971)
.extrude(0.4531)
)
result = part_1
cq.exporters.export(result, "./stlcq/0055/00550539.stl")
|
The first part of the model involves creating a rounded rectangular base. Begin by setting up a new coordinate system and then draw a two-dimensional sketch on the X-Y plane. This sketch forms the first face, which is a rectangle. The rectangle is then scaled down to fit the desired dimensions. After scaling, the sketc... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.6353)
.lineTo(0, 0.6353)
.close()
.extrude(0.1797)
)
result = part_1
cq.exporters.export(result, "./stlcq/0058/00586867.stl")
|
The design consists of two main parts. The first part is a triangular plate with several circular cutouts. The plate has a length of approximately 0.75 units, a width of about 0.65 units, and a thickness of 0.0492 units. The second part is a wedge-shaped block with triangular cutouts. This block has a length of about 0... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.3765, 0.65)
.close()
.moveTo(0.3765, 0.2176)
.circle(0.0853)
.moveTo(0.5471, 0.1176)
.circle(0.0853)
.moveTo(0.3765, 0.4176)
.circle(0.0853)
.moveTo(0.2029, 0.1176)... |
The design consists of two parts. The first part features a rectangular prism with a triangular cutout. This part has a length of zero point four six eight seven five units, a width of zero point three two eight one two five units, and a height of zero point one four zero six two five units. The second part is a simple... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.4688, 0)
.lineTo(0.4688, 0.329)
.lineTo(0.329, 0.329)
.lineTo(0, 0.0938)
.close()
.extrude(0.1406)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).rotate((0, 0, 0), (0, 0, 1), 90).translate((0.6... |
Create a rectangular base by starting with a new coordinate system that is rotated and translated to position the base correctly. Draw a two-dimensional sketch of a rectangle on the first face. The rectangle has a length of 0.75 units and a width of 0.4918 units. Scale this sketch to fit the desired size, then transfor... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.4912)
.lineTo(0, 0.4912)
.close()
.extrude(0.4922)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.492188, 0))
result = part_1
cq.exporters.export(result, ".... |
The design involves creating a rectangular base with cylindrical holes. Start by setting up a new coordinate system with specific Euler angles and a translation vector. On the first face, draw a complex shape consisting of several lines and arcs to form the outline of the base. Two circular holes are also included in t... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.1059)
.lineTo(0.3235, 0.0059)
.threePointArc((0.3735, 0), (0.4265, 0.0059))
.lineTo(0.75, 0.1059)
.lineTo(0.75, 0.2441)
.lineTo(0.5059, 0.2912)
.lineTo(0.5059, 0.4176)
.lineTo(0.3912, 0.4176)
.lineTo(... |
To create the cylindrical object, start by setting up a new coordinate system with specific Euler angles and a translation vector. This will orient the sketch plane correctly. Next, draw two identical faces, each consisting of two concentric circles. These circles will form the base and top of the cylinder.
After draw... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.0667, 0.0667)
.circle(0.0661)
.moveTo(0.0667, 0.0667)
.circle(0.0625)
.extrude(0.75)
)
part_1 = part_1.union(
cq.Workplane("XY")
.moveTo(0.0667, 0.0667)
.circle(0.0661)
.moveTo(0.0667, 0.0667)
.circl... |
The design involves creating a cylindrical object with a hollow center. Start by setting up a new coordinate system. Draw a two-dimensional sketch consisting of two concentric circles. The larger circle has a radius that defines the outer boundary of the cylinder, while the smaller circle defines the inner hollow space... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.3765, 0.3765)
.circle(0.3735)
.moveTo(0.3765, 0.3765)
.circle(0.1971)
.extrude(0.4531)
)
result = part_1
cq.exporters.export(result, "./stlcq/0057/00578394.stl")
|
To create the rectangular prism with rounded edges, start by setting up a new coordinate system with specific Euler angles and a translation vector. Then, draw a simple rectangular shape in a two-dimensional sketch. This sketch is scaled and transformed into a three-dimensional object by rotating and translating it. Th... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.0547, 0)
.lineTo(0.0547, 0.015)
.lineTo(0, 0.015)
.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, "./stl... |
Start by creating a coordinate system aligned with the default axes. Draw a two-dimensional sketch consisting of two concentric circles on the first face. The outer circle represents the outer boundary of the ring, while the inner circle defines the inner boundary. After defining the sketch, scale it down to fit the de... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.3765, 0.3765)
.circle(0.3735)
.moveTo(0.3765, 0.3765)
.circle(0.1971)
.extrude(0.0781)
)
result = part_1
cq.exporters.export(result, "./stlcq/0086/00869933.stl")
|
The design involves two main parts. The first part is a rounded cylindrical shape created from four circular faces arranged in a specific pattern. After scaling and transforming, this part is extruded to form a solid body with a length of 0.7500000028328758, a width of 0.6685049809759136, and a height of 0.071579974243... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.111765, 0.329412)
.circle(0.111765)
.extrude(0.070312)
)
part_1 = part_1.union(
cq.Workplane("XY")
.moveTo(0.376471, 0.552941)
.circle(0.114706)
.extrude(0.070312)
)
part_1 = part_1.union(
cq.Workplane("XY")... |
The design involves creating a ring-shaped object with a flat, circular base. Start by defining a new coordinate system aligned with the default axes. Next, draw two concentric circles to form the first face of the object. These circles share the same center point and differ in size to define the outer and inner edges ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.3765, 0.3765)
.circle(0.3735)
.moveTo(0.3765, 0.3765)
.circle(0.1971)
.extrude(0.0781)
)
result = part_1
cq.exporters.export(result, "./stlcq/0061/00611063.stl")
|
Start by creating a new coordinate system with specific Euler angles and a translation vector. Then, draw a two-dimensional rectangular sketch on a new face. This sketch will form the base of the rectangular bar. After drawing the sketch, apply a scale factor to adjust its size. Transform the scaled sketch into three-d... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.0859, 0)
.lineTo(0.0859, 0.0179)
.lineTo(0, 0.0179)
.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 rectangular object with curved edges. The first step is to establish a new coordinate system with specific Euler angles and a translation vector. The object is constructed by drawing three faces. The first face consists of a line and two arcs, forming a curved edge. The second face includ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.0324, 0)
.threePointArc((0.0853, 0.1), (0.1706, 0.1706))
.lineTo(0.1529, 0.2)
.threePointArc((0.0559, 0.1147), (0, 0))
.close()
.extrude(0.3672)
)
part_1 = part_1.union(
cq.Workplane("XY")
... |
The design involves creating a rectangular plate with specific dimensions and transformations. Initially, a new coordinate system is established with a rotation of negative ninety degrees around the z-axis and a slight vertical translation. A two-dimensional sketch of a rectangle is drawn, and this sketch is scaled dow... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.4676)
.lineTo(0, 0.4676)
.close()
.extrude(0.0234)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.023438, 0))
result = part_1
cq.exporters.export(result, ".... |
The first part of the design involves creating a long, slender rectangular prism with a sharp, pointed tip and a flat square base. The part starts with a coordinate system adjustment and a two-dimensional sketch that outlines the basic shape. After scaling and transforming the sketch, it is extruded to form a solid bod... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.0235, 0)
.lineTo(0.0235, 0.75)
.lineTo(0, 0.7147)
.close()
.extrude(0.0078)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.007812, 0))
result = part_1
cq.exporters.export(result, ... |
The design consists of four parts that are assembled to form a complex structure. The first part is a cube with rounded edges and corners, measuring 0.625 units in length, 0.25 units in width, and 0.5 units in height. The second part is a rectangular prism with a tapering effect, measuring 0.5 units in length, 0.25 uni... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.5, 0)
.lineTo(0.625, 0)
.lineTo(0.625, 0.25)
.lineTo(0, 0.25)
.close()
.extrude(0.5)
)
part_1 = part_1.rotate((0, 0, 0), (1, 0, 0), 90).translate((0, 0.5, 0.25))
# Part 2: join
part_2 = (
cq.W... |
To create the U-shaped bracket, start by setting up a new coordinate system with specific angles and no translation. Then, draw a two-dimensional sketch on the first face, outlining a complex rectangular shape with several segments. After completing the sketch, scale it down and transform it into a three-dimensional ob... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.5078, 0)
.lineTo(0.5078, 0.3744)
.lineTo(0.4481, 0.3744)
.lineTo(0.4481, 0.0737)
.lineTo(0.0896, 0.0737)
.lineTo(0.0896, 0.3744)
.lineTo(0, 0.3744)
.close()
.extrude(0.75)
)
part_1 = pa... |
Start by creating a new coordinate system aligned with the default axes. Draw a two-dimensional rectangle in the first face, ensuring that the sides are parallel to the axes. Scale the rectangle to fit the desired proportions. Transform this scaled rectangle into a three-dimensional object without altering its orientat... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.5391, 0)
.lineTo(0.5391, 0.4714)
.lineTo(0, 0.4714)
.close()
.extrude(0.75)
)
result = part_1
cq.exporters.export(result, "./stlcq/0069/00697522.stl")
|
Start by creating a rectangular plate with four holes at the corners. The plate is defined by a rectangular outline and four smaller circles placed at the corners to represent the holes. After defining the basic shape, scale the entire sketch to reduce its size. The final step involves transforming the two-dimensional ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.5588, 0)
.lineTo(0.5588, 0.75)
.lineTo(0, 0.75)
.close()
.moveTo(0.0324, 0.7206)
.circle(0.0118)
.moveTo(0.5265, 0.7206)
.circle(0.0118)
.moveTo(0.0324, 0.0294)
.circle(0.0088)
... |
The design involves creating an irregular shape with circular holes. Start by defining a new coordinate system with specific Euler angles and a translation vector. The first face consists of a complex closed loop made up of eight arcs, forming an irregular outline. Inside this outline, there are three smaller circular ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.2878)
.threePointArc((0.1083, 0.1168), (0.2764, 0))
.threePointArc((0.453, 0.0456), (0.4473, 0.2279))
.threePointArc((0.4416, 0.2878), (0.4929, 0.3163))
.threePointArc((0.5499, 0.3277), (0.5926, 0.3676))
.threePo... |
Start by creating a new coordinate system with specific rotations and translations. Then, draw a two-dimensional sketch that consists of three faces. The first face has a rectangular shape with a smaller rectangle cut out from one side. The second face features a narrow, rectangular protrusion extending from the middle... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.1)
.lineTo(0.5559, 0.1)
.lineTo(0, 0.1)
.close()
.extrude(0.3359)
)
part_1 = part_1.union(
cq.Workplane("XY")
.moveTo(0, 0.1)
.lineTo(0.5559, 0.1)
.lineTo(0.5... |
Start by creating a new coordinate system aligned with the default axes. Draw a series of concentric circles on two faces, forming a pattern that will serve as the base for the cylindrical object. Scale this pattern to fit the desired size. Transform the scaled pattern into a three-dimensional object by extruding it al... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.1945, 0.1945)
.circle(0.1961)
.moveTo(0.1945, 0.1945)
.circle(0.1731)
.extrude(0.75)
)
part_1 = part_1.union(
cq.Workplane("XY")
.moveTo(0.1945, 0.1945)
.circle(0.1731)
.moveTo(0.1945, 0.1945)
.circl... |
The cylindrical object is created by defining a new coordinate system and drawing a circular sketch on a face. The circle is then scaled down and transformed to its final position. The sketch is extruded to form a solid cylinder with a height of 0.375 units and a square cross-section of 0.1875 units by 0.1875 units. Th... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.0941, 0.0941)
.circle(0.0934)
.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/0005/00055614.stl")
|
The design involves creating a rectangular base with a recessed top. First, establish a new coordinate system with specific rotations and translations. Then, draw a two-dimensional sketch that outlines the base and the recess. After scaling the sketch to fit the desired size, transform it into a three-dimensional objec... | 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.5059, 0.2471)
.lineTo(0.5059, 0.7412)
.lineTo(0.2471, 0.7412)
.lineTo(0.2471, 0.2471)
.lineTo(0, 0.2529)
.close()
.extrude(0.4531)
)
part_1 = part... |
Start by creating a new coordinate system with Euler angles set to 0.0, 0.0, and -90.0 degrees and a translation vector of 0.0, 0.75, and 0.0 units. Draw a rectangular shape in a new face, ensuring it forms a closed loop. Scale the rectangle and then rotate and translate it according to the coordinate system settings. ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.2141, 0)
.lineTo(0.2141, 0.2266)
.lineTo(0, 0.2266)
.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 constructing two rectangular blocks. The first block has a length of approximately 0.75 units, a width of 0.25 units, and a height of 0.375 units. This block is positioned with a slight offset in the y-direction. The second block is smaller, with a length of about 0.375 units, a width of 0.125 units... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.25)
.lineTo(0, 0.25)
.close()
.extrude(0.375)
)
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")
.mo... |
The design consists of two cylindrical parts. The first part is a larger cylinder with a height of 0.3903 units, a width of 0.2621 units, and a length of 0.2621 units. This cylinder forms the base of the structure. The second part is a smaller cylinder placed on top of the first part. It has a height of 0.75 units, a w... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.1333, 0.1333)
.circle(0.1323)
.moveTo(0.1333, 0.1333)
.circle(0.1094)
.extrude(0.3906)
)
# Part 2: join
part_2 = (
cq.Workplane("XY")
.moveTo(0.1098, 0.1098)
.circle(0.1089)
.extrude(0.75)
)
part_2 = pa... |
The rectangular beam has a flat top and bottom with slightly curved sides. The beam's overall shape is defined by a series of lines that create a complex two-dimensional profile, which is then transformed into a three-dimensional object. After scaling and rotating the profile, the sketch is extruded to form the final s... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.0664, 0)
.lineTo(0.0664, 0.0629)
.lineTo(0.2771, 0.0629)
.lineTo(0.2771, 0)
.lineTo(0.2969, 0)
.lineTo(0.2969, 0.0035)
.lineTo(0.2817, 0.0035)
.lineTo(0.2817, 0.0664)
.lineTo(0.0629, 0.... |
To create the rectangular block, start by setting up a new coordinate system with no rotation and a vertical offset of 0.3125 units. Draw a rectangular sketch on the top face, then scale it down by 75%. Transform this scaled sketch into a three-dimensional object by applying the same vertical offset. Finally, extrude t... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.4794)
.lineTo(0, 0.4794)
.close()
.extrude(0.3125)
)
result = part_1
cq.exporters.export(result, "./stlcq/0099/00999114.stl")
|
Create a rectangular block by starting with a new coordinate system aligned with the global axes. Draw a two-dimensional rectangle on the first face, ensuring that the sides are parallel to the coordinate axes. Scale the rectangle to achieve the desired proportions. Transform the scaled rectangle into a three-dimension... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.2765)
.lineTo(0, 0.2765)
.close()
.extrude(0.0781)
)
result = part_1
cq.exporters.export(result, "./stlcq/0093/00932305.stl")
|
Create a rectangular plate by starting with a new coordinate system aligned with the default axes. Draw a two-dimensional sketch of a rectangle on the first face. Scale the sketch to reduce its size, then transform it into three dimensions. Extrude the sketch to form a solid rectangular plate. The final dimensions of t... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.5441, 0)
.lineTo(0.5441, 0.75)
.lineTo(0, 0.75)
.close()
.extrude(0.0312)
)
result = part_1
cq.exporters.export(result, "./stlcq/0019/00192220.stl")
|
Begin by creating a new coordinate system aligned with the default axes. Draw a circular shape on the first face, consisting of an outer circle and an inner circle. Scale the entire sketch to fit the desired size. Transform this sketch into a three-dimensional object by extruding it along the normal direction to create... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.0627, 0.0627)
.circle(0.0623)
.moveTo(0.0627, 0.0627)
.circle(0.0475)
.extrude(0.75)
)
result = part_1
cq.exporters.export(result, "./stlcq/0086/00866877.stl")
|
Start by creating a rectangular base with a cutout. The base has a length and width of zero point seven-five units and a height of zero point five units. The cutout is positioned centrally within the base, reducing the overall volume. The base is created by extruding a two-dimensional sketch, which includes a series of... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.25)
.lineTo(0.5, 0.25)
.lineTo(0.5, 0.75)
.lineTo(0.25, 0.75)
.lineTo(0.25, 0.25)
.lineTo(0, 0.25)
.close()
.extrude(0.5)
)
part_1 = part_1.rotate((0, 0, 0), (1, ... |
The part consists of a square plate with rounded corners and four holes located at the corners. The plate has a length of 0.75 meters and a width of 0.7031 meters. The thickness of the plate is 0.0141 meters. The rounded corners and holes ensure a smooth transition and reduce stress concentrations. The holes are evenly... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.0235)
.threePointArc((0.0059, 0.0059), (0.0235, 0))
.lineTo(0.7265, 0)
.threePointArc((0.7441, 0.0059), (0.75, 0.0235))
.lineTo(0.75, 0.6794)
.threePointArc((0.7441, 0.6971), (0.7265, 0.7029))
.lineTo(0.0235,... |
The design involves creating a rectangular prism with two distinct protruding sections. The main body of the prism measures 0.7129 units in both length and width, with a height of 0.1426 units. One side of the prism features a larger protruding section, while the opposite side has a smaller protruding section. These pr... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.1784, 0)
.lineTo(0.1784, 0.0892)
.lineTo(0.5325, 0.0892)
.lineTo(0.5325, 0)
.lineTo(0.7109, 0)
.lineTo(0.7109, 0.7109)
.lineTo(0.5325, 0.7109)
.lineTo(0.5325, 0.6217)
.lineTo(0.1784, 0.... |
The cylindrical object is created by first setting up a new coordinate system with specific Euler angles and a translation vector. A two-dimensional sketch is then drawn on a new face, featuring a single loop with a circle. This sketch is scaled and transformed into three dimensions before being extruded to form the fi... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.1882, 0.1882)
.circle(0.1868)
.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/00437921.stl")
|
Create a long, slender cylindrical rod with a rectangular cross-section. The rod features a complex profile on one face, including a main rectangular shape with rounded corners and two smaller circular cutouts. The overall dimensions of the rod are a length of zero point seven five, a width of zero point zero six five ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.0324)
.lineTo(0.0176, 0)
.lineTo(0.0294, 0)
.lineTo(0.75, 0)
.lineTo(0.7176, 0.0647)
.lineTo(0.0294, 0.0647)
.lineTo(0.0176, 0.0647)
.close()
.moveTo(0.3765, 0.0324)
.circle(0.0088)
.moveTo(0.... |
The first part consists of a square plate with four holes at the corners. The plate is positioned using a coordinate system with Euler angles set to [0.0, 0.0, 0.0] and a translation vector of [0.0, 0.0, 0.2961]. The plate has a length and width of approximately 0.75 units and a height of 0.0395 units. The second part ... | 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.6912, 0.6912)
.circle(0.0294)
.moveTo(0.0588, 0.6912)
.circle(0.0294)
.moveTo(0.6912, 0.0588)
.circle(0.0294)
.mov... |
The first part involves creating a rectangular prism with a cylindrical top and a circular depression. The base of the prism is a rectangle with a length of zero point seven five units and a width of zero point three units. The height of the prism is zero point one five units. The top of the prism features a circular d... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.0765)
.lineTo(0.75, 0.0765)
.lineTo(0.75, 0.2235)
.lineTo(0, 0.2235)
.close()
.extrude(0.1484)
)
part_1 = part_1.union(
cq.Workplane("XY")
.moveTo(0.2441, 0.0765)
.threePointArc((0.3765, 0), (0.5059, ... |
To create a rounded cube, start by setting up a new coordinate system with no rotation or translation. Draw a square on the first face, ensuring that the sides are equal. Scale the square down to fit the desired dimensions. Transform this scaled square into a three-dimensional object by extruding it along the normal di... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.75)
.lineTo(0, 0.75)
.close()
.extrude(0.75)
)
result = part_1
cq.exporters.export(result, "./stlcq/0037/00374335.stl")
|
The design involves creating a cylindrical object. Begin by setting up a new coordinate system with specific rotations and translations. Then, draw a circle on a face, scale it, and transform it into a three-dimensional shape. The final step is to extrude the shape to create a solid cylinder. The cylinder has a flat ci... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.0902, 0.0902)
.circle(0.0895)
.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/0042/00421578.stl")
|
The design consists of two cylindrical parts assembled to form a two-tiered structure. The first part is a larger cylinder with a height of 0.2083 units and a diameter of 0.75 units. The second part is a smaller cylinder placed on top of the first part, with a height of 0.2917 units and a diameter of 0.5167 units. The ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.3765, 0.3765)
.circle(0.3735)
.extrude(0.2109)
)
# Part 2: join
part_2 = (
cq.Workplane("XY")
.moveTo(0.2568, 0.2568)
.circle(0.2588)
.extrude(0.2891)
)
part_2 = part_2.translate((0.117188, 0.117188, 0.210938))... |
The first part is a square plate with rounded corners and a flat surface. It has a length of 0.725, a width of 0.74375, and a height of 0.01875. The second part is a U-shaped bracket with a rectangular cross-section. It has a length of 0.73125, a width of 0.75, and a height of 0.359375. This part is joined with the fir... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.0495, 0)
.lineTo(0.0495, 0.0087)
.lineTo(0.6491, 0.0087)
.lineTo(0.6491, 0)
.lineTo(0.7247, 0)
.lineTo(0.7247, 0.7422)
.lineTo(0, 0.7422)
.close()
.extrude(0.0156)
)
# Part 2: join
par... |
The first part involves creating a rounded rectangular L-shaped base with a length of 0.75 units, a width of 0.3343 units, and a height of 0.1355 units. The second part constructs a rectangular bar with rounded edges, positioned near the top of the L-shape, with a length of 0.0398 units, a width of 0.0199 units, and a ... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0)
.lineTo(0.091176, 0)
.lineTo(0.091176, 0.297059)
.lineTo(0.658824, 0.297059)
.lineTo(0.658824, 0)
.lineTo(0.75, 0)
.lineTo(0.75, 0.035294)
.lineTo(0.697059, 0.035294)
.lineTo(0.697059, 0.335294)
... |
The design involves creating a hollow cylindrical structure with a smaller inner cylinder. The outer cylinder has a smooth, rounded bottom. The overall dimensions are a length and width of approximately 0.75 units and a height of about 0.55 units. The inner and outer cylinders are concentric, forming a hollow space bet... | 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.2588)
.extrude(0.5469)
)
part_1 = part_1.union(
cq.Workplane("XY")
.moveTo(0.3765, 0.3765)
.circle(0.1235)
.extrude(0.5469)
)
result = par... |
To create the truncated pyramid, start by defining a new coordinate system with specific Euler angles and a translation vector. Next, draw a series of two-dimensional faces that form the base of the pyramid. These faces include several triangular and quadrilateral shapes, each contributing to the overall structure. Aft... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0, 0.4706)
.lineTo(0.3676, 0)
.lineTo(0.1882, 0.4706)
.close()
.extrude(0.25)
)
part_1 = part_1.union(
cq.Workplane("XY")
.moveTo(0, 0.4706)
.lineTo(0.1882, 0.4706)
.lineTo(0.1088, 0.6765)
.close()
... |
The rectangular plate is a simple yet precise component. It features a flat, rectangular shape with no rounded corners. The plate has a length of approximately 0.75 units, a width of around 0.375 units, and a thickness of about 0.0169 units. The design involves creating a two-dimensional sketch of a rectangle and then ... | 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.0156)
)
result = part_1
cq.exporters.export(result, "./stlcq/0074/00746864.stl")
|
The design involves creating a rounded L-shaped bracket. The first step is to establish a coordinate system with Euler angles and a translation vector set to zero. The bracket consists of six faces, each with specific shapes and loops. The first face has two concentric circles, while the second face features an outer l... | import cadquery as cq
# Part 1: new
part_1 = (
cq.Workplane("XY")
.moveTo(0.0941, 0.2912)
.circle(0.0941)
.moveTo(0.0941, 0.2912)
.circle(0.0206)
.extrude(0.0547)
)
part_1 = part_1.union(
cq.Workplane("XY")
.moveTo(0, 0.2941)
.threePointArc((0.0941, 0.3853), (0.1912, 0.2941))
.l... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.