Communicator::SC_Export_Options Struct Reference

#include <libconverter.h>

Public Attributes

bool clean_conflicting = true
 
std::string compute_bounding_boxes = "None"
 
bool export_assemblytree = true
 
bool export_attributes = false
 
bool export_exchange_ids = false
 
bool export_materials = false
 
bool export_matrices = true
 
bool export_measurement = true
 
bool export_physical_properties = true
 
bool export_pmi = true
 
bool export_views = true
 
bool generate_LODs = false
 
SC::Store::MemoryDevice * memory_device = nullptr
 
int prc_brep_compression = 0
 
bool prc_remove_brep = false
 
bool prc_tessellation_compression = false
 
std::string prepare_shattered_parts
 
std::string prepare_shattered_scs_parts
 
std::string prepare_shattered_xml
 
bool sc_compress_models = false
 
bool sc_compress_scz = true
 
bool sc_compute_lines = false
 
bool sc_compute_lines_add_non_adjacent = true
 
double sc_compute_lines_max_polyline_angle = 40.0
 
double sc_compute_lines_min_triangle_angle = 50.0
 
bool sc_compute_lines_split_faces = true
 
bool sc_create_scz = false
 
bool sc_discard_lines = false
 
int sc_discard_normals = -1
 
bool sc_logging = false
 
std::string sc_working_directory
 
bool set_wire_to_black = true
 
int step_format = 2
 
bool stl_ascii = false
 
int tessellation_quality = 2
 

Member Data Documentation

◆ clean_conflicting

bool Communicator::SC_Export_Options::clean_conflicting = true

Clean conflicting output files

◆ compute_bounding_boxes

std::string Communicator::SC_Export_Options::compute_bounding_boxes = "None"

Allow computing bounding boxes for All Nodes or Leaves Nodes or None. Values: All/Leaves/None. Default: None.

◆ export_assemblytree

bool Communicator::SC_Export_Options::export_assemblytree = true

If true assembly tree information is exported

◆ export_attributes

bool Communicator::SC_Export_Options::export_attributes = false

Export user attributes as part of assembly tree

◆ export_exchange_ids

bool Communicator::SC_Export_Options::export_exchange_ids = false

If true, exchange IDs will be exported for certain model types

◆ export_materials

bool Communicator::SC_Export_Options::export_materials = false

Export materials as part of assembly tree

◆ export_matrices

bool Communicator::SC_Export_Options::export_matrices = true

Export transform matrices as part of assembly tree

◆ export_measurement

bool Communicator::SC_Export_Options::export_measurement = true

Export measurement data as part of assembly tree

◆ export_physical_properties

bool Communicator::SC_Export_Options::export_physical_properties = true

Compute and export physical properties

◆ export_pmi

bool Communicator::SC_Export_Options::export_pmi = true

If true, export PMI

◆ export_views

bool Communicator::SC_Export_Options::export_views = true

If true, export views

◆ generate_LODs

bool Communicator::SC_Export_Options::generate_LODs = false

Generates low, medium, high LODs per brep body

◆ memory_device

SC::Store::MemoryDevice* Communicator::SC_Export_Options::memory_device = nullptr

An optional MemoryDevice used to sandbox IO.

◆ prc_brep_compression

int Communicator::SC_Export_Options::prc_brep_compression = 0

BREP compression level for PRC

◆ prc_remove_brep

bool Communicator::SC_Export_Options::prc_remove_brep = false

Remove BREP from PRC and PDF Export

◆ prc_tessellation_compression

bool Communicator::SC_Export_Options::prc_tessellation_compression = false

Compresses tessellation for PRC and PDF Export

◆ prepare_shattered_parts

std::string Communicator::SC_Export_Options::prepare_shattered_parts

If this path is set then shattered part level SC models are generated. The parts will be put in the directory specified

◆ prepare_shattered_scs_parts

std::string Communicator::SC_Export_Options::prepare_shattered_scs_parts

If this path is set then shattered part level SCS files are generated. The parts will be put in the directory specified

◆ prepare_shattered_xml

std::string Communicator::SC_Export_Options::prepare_shattered_xml

If this path is set then shattered related XML file is generated

◆ sc_compress_models

bool Communicator::SC_Export_Options::sc_compress_models = false

Deprecated - use sc_create_scz

◆ sc_compress_scz

bool Communicator::SC_Export_Options::sc_compress_scz = true

If true, .scz files will be compressed.

◆ sc_compute_lines

bool Communicator::SC_Export_Options::sc_compute_lines = false

If true then triangle edges matching certain criteria will be added to the model as lines. Default: False

◆ sc_compute_lines_add_non_adjacent

bool Communicator::SC_Export_Options::sc_compute_lines_add_non_adjacent = true

If true, a line will be added for each triangle edge that is not shared by any other adjacent triangle. Default: True

◆ sc_compute_lines_max_polyline_angle

double Communicator::SC_Export_Options::sc_compute_lines_max_polyline_angle = 40.0

The maximum angle in degrees between two adjacent lines that will cause the lines to join into a single polyline. [0,180]. 0 will connect no lines, 180 will connect every adjacent line. Default: 40.0"

◆ sc_compute_lines_min_triangle_angle

double Communicator::SC_Export_Options::sc_compute_lines_min_triangle_angle = 50.0

The minimum angle in degrees between two adjacent triangle normals that will trigger a line to be added for the connecting edge. [0,180]. 0 will add every line, 180 will add no lines. Default: 50.0

◆ sc_compute_lines_split_faces

bool Communicator::SC_Export_Options::sc_compute_lines_split_faces = true

If true and sc_compute_lines is enabled, each face of the mesh may be split into new faces that fit within the added lines. Default: True"

◆ sc_create_scz

bool Communicator::SC_Export_Options::sc_create_scz = false

If true, then generated SC models will be .scz files

◆ sc_discard_lines

bool Communicator::SC_Export_Options::sc_discard_lines = false

If true, original model lines will be removed. Default: False

◆ sc_discard_normals

int Communicator::SC_Export_Options::sc_discard_normals = -1

If enabled, vertex normals will not be included in SC output. This can greatly reduce memory usage. Acceptable values: -1 (enabled for STL input), 0 (disabled), 1 (enabled)

◆ sc_logging

bool Communicator::SC_Export_Options::sc_logging = false

If true, SC will do verbose logging.

◆ sc_working_directory

std::string Communicator::SC_Export_Options::sc_working_directory

If this path is set then SC will use it for a work space

◆ set_wire_to_black

bool Communicator::SC_Export_Options::set_wire_to_black = true

If true, wire edges will be black

◆ step_format

int Communicator::SC_Export_Options::step_format = 2

STEP output format

◆ stl_ascii

bool Communicator::SC_Export_Options::stl_ascii = false

If true then ascii stl files will be exported

◆ tessellation_quality

int Communicator::SC_Export_Options::tessellation_quality = 2

Tessellation quality to use for file export. Acceptable values: 0=Extra Low, 1=Low, 2=Medium, 3=High, 4=Extra High. Default: Medium