1
changelog
茂之钳 edited this page 2026-08-01 21:27:53 +08:00
This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

变更日志

ViewDesignEngine API 新增、修改和废弃记录

版本 1.0.1(当前版本)

新增功能

Core 模块

变更 说明
Matrix4D::Mirror() 新增镜面反射变换(关于任意平面)
extract_contour_from_mesh() 从 HalfedgeMesh 提取截面轮廓
extract_slice_contour() 规范命名别名(VDE-024)
contour_toolpath() / pocket_toolpath() (mesh 版) 直接基于 mesh 生成刀路
import_gcode() / import_gcode_from_string() G-code 文件/字符串导入解析
chip_thinning_optimization() 切屑减薄优化
trochoidal_turn_milling() 车铣复合摆线加工
high_speed_machining() HSM 高速加工策略
constant_engagement_milling() 恒接触角铣削
tool_life_management() 刀具寿命管理
probing_cycle() / probing_cycle_with_result() 探测循环
thread_milling() 螺纹铣削
后处理器扩展: MazakPost, OkumaPost, HaasPost, DMGPost 新增 4 种 CNC 后处理器
vde_version() / VersionInfo 版本信息查询 API
vde_version_compare() 版本号比较
vde_version_string() 人类可读版本字符串

B-Rep 模块

变更 说明
section_plane() B-Rep 体与平面求交(VDE-173)
clip_body() 半空间体裁剪(VDE-173)
cross_section_extents() 沿轴等距截面面积(VDE-173)
gizmo_transform() Gizmo 交互变换(VDE-194)
smart_dimension() 智能标注引擎(VDE-194)
linear_dimension() 线性标注(VDE-176)
angular_dimension() 角度标注(VDE-176)
radial_dimension() 径向标注(VDE-176)
hlr_edges() 消除隐藏线(VDE-183)
silhouette_edges() 轮廓边提取(VDE-195)
shaded_edges() 着色模式可见边(VDE-195)
bounding_sphere() 最小包围球(VDE-185)
view_frustum_cull() 视锥体裁剪(VDE-185)
camera_matrix() look-at 视图矩阵(VDE-197)
orientation_cube_face() 方向立方体面(VDE-197)
camera_interpolate() 相机插值动画(VDE-200)
scene_grid() 场景网格(VDE-202)
ground_plane() 地平面(VDE-202)
snap_to_geometry() 几何吸附(VDE-175)
midpoint() / center_point() / quadrant_points() 吸附辅助函数(VDE-175)
nearest_point_on_geometry() 几何最近点(VDE-175)
linear_pattern() B-Rep 线性阵列(VDE-070)
circular_pattern() B-Rep 圆形阵列(VDE-070)
mirror_body_pattern() B-Rep 镜像体(VDE-070)
assembly_boolean() 装配级布尔运算(VDE-070)
get_edge_by_position() / get_face_by_position() 基于位置查找边/面
make_i_beam() / make_c_channel() / make_angle() 结构型材生成
make_rectangular_tube() / make_round_tube() 管材生成
make_weld_bead() 焊道几何
make_spur_gear() 直齿圆柱齿轮(VDE-100)
make_helical_gear() 斜齿圆柱齿轮(VDE-100)
make_spring() 螺旋弹簧(VDE-105)
make_rib() 加强筋
make_cone() 圆锥/圆台基本体
make_torus() 圆环体基本体
fillet_variable() 变半径圆角
fillet_by_position() / chamfer_by_position() / shell_by_position() 基于位置的操作
face_type() / edge_type() 面/边类型识别(VDE-179/VDE-180)
face_area() 面面积查询
face_curvature() 面曲率查询
body_volume() 体体积查询
face_adjacency() (brep.h) 面邻接关系查询
extrude/revolve/sweep/loft (mesh 版) Mesh→B-Rep 扫掠(VDE-021/VDE-069)
constraint_solver 二维约束求解器
assembly_constraints 装配约束(配合/对齐/等距/同心等)
direct_modeling 直接建模(移动面/偏移面/移除面)
sheet_metal 钣金设计(折弯/展开)
ffd_deformation 自由变形
validate_brep() / heal_brep() B-Rep 验证与修复
interference_check 干涉检查

Curves 模块

变更 说明
NurbsCurve::line() 静态工厂:直线段(VDE-074)
NurbsCurve::circle() 静态工厂:完整圆(VDE-074)
NurbsCurve::arc() 静态工厂:圆弧(VDE-074)
NurbsCurve::helix() 静态工厂:螺旋线(VDE-074)
NurbsSurface::plane() 静态工厂:矩形平面(VDE-075)
NurbsSurface::box() 静态工厂:立方体 6 面(VDE-075)
NurbsSurface::cylinder() 静态工厂:圆柱面(VDE-076)
NurbsSurface::sphere() 静态工厂:球面(VDE-076)
NurbsSurface::cone() 静态工厂:圆锥面(VDE-076)
thicken_surface() 曲面加厚为实体
sew_surfaces() 多曲面缝合
boundary_surface() 边界网格生成曲面(Coons)
fill_surface() N 边填充曲面
ruled_surface() / offset_surface() 直纹面 + 等距偏移
extend_curve() / blend_surfaces() 曲线延伸 + 曲面融合

Foundation(IO)模块

变更 说明
import_gltf() / import_gltf_binary() glTF/GLB 导入(VDE-082 新增)
import_collada() / export_collada() COLLADA DAE(新增格式)
import_amf() / export_amf() AMF 格式(新增格式)
import_vrml() / export_vrml() VRML WRL(新增格式)
DwgImporter / DwgBridge DWG 插件接口(Apache 2.0 兼容设计)
import_dxf() / import_dxf_string() DXF 解析(12 种实体类型)
to_mesh() DXF→网格转换
import_stl() / export_stl() STL 返回 bool 修复
import_jt() → 返回 bool JT 导出返回 bool 修复
import_parasolid_xt_binary() XT 二进制内存导入
export_parasolid_xt_binary_str() XT 二进制字符串导出
import_acis_sat_binary() SAB 二进制导入
import_ifc() IFC BIM 导入
export_step_ap242() STEP AP242 导出(含 PMI)
export_pdf3d() PDF 3D(U3D 嵌入)导出

Mesh 模块

变更 说明
mesh_boundary_to_curve() 网格边界→NURBS(VDE-021)
extract_profiles_from_mesh() 多轮廓提取
mesh_contour_to_curves() Z 层截面轮廓曲线
mesh_fillet() / mesh_chamfer() 网格圆角/倒角
mesh_shell() / mesh_draft() 网格抽壳/拔模
PointCloud::load_e57() E57 点云加载
PointCloud::load_las() LAS/LAZ 点云加载
PointCloud::load_ptx() PTX 点云加载
PointCloud::save_ply() PLY 点云保存
PointCloud::voxel_downsample() 体素降采样
PointCloud::statistical_outlier_removal() 统计离群点剔除
PointCloud::normal_estimation() kNN 法线估计
PointCloud::curvature_aware_sampling() 曲率感知采样
PointCloud::smoothing_filter() 双边滤波平滑

Spatial 模块

变更 说明
BVH::index_of() 三角形→索引查询
BVH::query_knn_indices() KNN 查询(含索引)
BVH::query_range_indices() 范围查询(含索引)
BVH::query_ray_indices() 射线查询(含索引)
ray_cast_multi() B-Rep 多击穿射线投射(VDE-177)
face_adjacency() (spatial) 面邻接查询(VDE-178)
spatial_index() 均匀网格空间索引(VDE-186)

C API 模块

变更 说明
vde_body_create_box/cylinder/sphere B-Rep 基本体创建
vde_body_to_mesh() B-Rep→网格转换
vde_body_boolean() B-Rep 布尔运算
vde_body_load/save_step STEP 导入导出
vde_body_load/save_iges IGES 导入导出
vde_body_clone() B-Rep 克隆
vde_sdf_sphere/box/cylinder SDF 基本体
vde_sdf_union/intersection/difference SDF 布尔操作
vde_sdf_to_mesh() SDF→网格转换
vde_assembly_create/add_part/part_count C 装配体 API
vde_serialize_mesh/deserialize_mesh 网格序列化
vde_mesh_get_face() 网格面索引查询

修改

变更 说明
export_stl() 返回类型从 void 改为 bool
export_jt() 返回类型从 void 改为 bool
import_stl() 返回类型统一为 bool

废弃

暂无废弃项。