25 lines
734 B
C++
25 lines
734 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
|
|
struct ShrinkwrapShellRequest {
|
|
std::string software_type = "creo";
|
|
int quality = 5; // 1-10
|
|
double chord_height = 0.1; // 当前版本不映射到 OTK Shrinkwrap
|
|
bool fill_holes = false;
|
|
bool ignore_small_surfaces = false;
|
|
double small_surface_percentage = 0.0;
|
|
std::string output_file_path; // 必填
|
|
std::string output_type = "solid_surface";
|
|
bool ignore_quilts = true;
|
|
bool ignore_skeleton = true;
|
|
bool assign_mass_properties = false;
|
|
int timeout_seconds = 60; // 当前版本仅用于 API 透传
|
|
};
|
|
|
|
struct ShrinkwrapShellResult {
|
|
std::string output_path;
|
|
std::string file_size;
|
|
std::string execution_time;
|
|
};
|