Монтажная плита с пазом: скрипт CadQuery (model.py)
Построено нейросетью по описанию: «Монтажная плита 120×80×10 мм: четыре отверстия 8 мм в углах на расстоянии 10 мм от краёв, сквозной паз 40×10 мм в центре». Здесь все файлы модели: STEP, STL, GLB, архив, скрипт CadQuery и картинки. Сделать свою деталь: aisearch.ru/aimedia/3d-model
import cadquery as cq
import cadkit as ck
# Parameters
PLATE_L = 120.0 # Length of the plate (mm)
PLATE_W = 80.0 # Width of the plate (mm)
PLATE_T = 10.0 # Thickness of the plate (mm)
HOLE_D = 8.0 # Diameter of mounting holes (mm)
HOLE_OFFSET = 10.0 # Distance of holes from edges (mm)
SLOT_L = 40.0 # Length of the central slot (mm)
SLOT_W = 10.0 # Width of the central slot (mm)
CORNER_R = 2.0 # Fillet radius for the plate corners (mm)
# Calculate hole positions
# Holes are at (±(L/2 - offset), ±(W/2 - offset))
hx = (PLATE_L / 2) - HOLE_OFFSET
hy = (PLATE_W / 2) - HOLE_OFFSET
hole_points = [
(-hx, -hy),
(hx, -hy),
(hx, hy),
(-hx, hy)
]
# Build the plate using cadkit.plate as a base or custom CQ
# Since we need a specific slot and specific holes, we'll build it with CQ
# to ensure the slot is precisely centered and the corners are handled.
plate = (
cq.Workplane("XY")
.box(PLATE_L, PLATE_W, PLATE_T, centered=(True, True, False))
.edges("|Z").fillet(CORNER_R)
)
# Add the mounting holes
plate = (
plate.faces(">Z").workplane()
.pushPoints(hole_points)
.hole(HOLE_D)
)
# Add the central slot
# The slot is 40x10, centered on the plate
plate = (
plate.faces(">Z").workplane()
.rect(SLOT_L, SLOT_W)
.cutBlind(-PLATE_T)
)
# Final touch: chamfer the top edges of the slot for a cleaner look
plate = plate.edges(">Z").chamfer(0.5)
# Assembly for the final result
assy = cq.Assembly()
assy.add(plate, name="mounting_plate", color=cq.Color(0.7, 0.7, 0.7))
result = assyПохожее
Монтажная плита с пазом: превью
Построено нейросетью по описанию: «Монтажная плита 120×80×10 мм: четыре отверстия 8 мм в углах на расстоянии 10 мм от краёв, сквозной паз 40×10 мм в центре». Здесь все файлы модели: STEP, STL, GLB, архив, скрипт CadQuery и картинки. Сделать свою деталь: aisearch.ru/aimedia/3d-model
3d-модельcadМонтажная плита с пазом: четыре вида
Построено нейросетью по описанию: «Монтажная плита 120×80×10 мм: четыре отверстия 8 мм в углах на расстоянии 10 мм от краёв, сквозной паз 40×10 мм в центре». Здесь все файлы модели: STEP, STL, GLB, архив, скрипт CadQuery и картинки. Сделать свою деталь: aisearch.ru/aimedia/3d-model
3d-модельcadКрышка корпуса 80×60 мм: скрипт CadQuery (model.py)
import cadquery as cq import cadkit as ck # Parameters PLATE_L = 80.0 # Length of the cover PLATE_W = 60.0 # Width of the cover PLATE_T = 3.0 # Thickness of the main plate RIM_H = 4.0 # Height of the bottom rim RIM_T = 2.0 # Thickness of
3d-модельcadКорпус для платы 70×50 мм: скрипт CadQuery (model.py)
import cadquery as cq import cadkit as ck # Parameters PCB_L, PCB_W = 70.0, 50.0 # PCB dimensions OUTER_L, OUTER_W, OUTER_H = 80.0, 60.0, 30.0 # Outer box dimensions WALL_T = 2.0 # Wall and bottom thickness STANDEE_H = 4.0
3d-модельcadЗубчатая рейка, модуль 2: скрипт CadQuery (model.py)
import cadquery as cq import cadkit as ck import math # Parameters MODULE = 2.0 # Module of the gear teeth TEETH_COUNT = 60 # Number of teeth for the 120mm length (120 / (2*M)) LENGTH = 120.0 # Total length of the rack SECTION_W = 20.0
3d-модельcadСтупенчатый вал со шпоночным пазом: скрипт CadQuery (model.py)
import cadquery as cq import cadkit as ck # Parameters # Shaft dimensions S1_D = 20.0 # Diameter of first step S1_L = 40.0 # Length of first step S2_D = 25.0 # Diameter of second (middle) step S2_L = 80.0 # Length of second step S3_D = 20.0 # Diameter of third ste
3d-модельcad