16 lines
493 B
C++
16 lines
493 B
C++
|
|
#pragma once
|
||
|
|
#include "vde/brep/brep.h"
|
||
|
|
#include <string>
|
||
|
|
#include <vector>
|
||
|
|
|
||
|
|
namespace vde::brep {
|
||
|
|
|
||
|
|
/// Export bodies to STEP AP214 (ISO 10303-214) format string.
|
||
|
|
/// Handles planes, cylinders, B-spline surfaces, lines, circles, and B-spline curves.
|
||
|
|
[[nodiscard]] std::string export_step(const std::vector<BrepModel>& bodies);
|
||
|
|
|
||
|
|
/// Export and write to file (AP214 compliant).
|
||
|
|
void export_step_file(const std::string& filepath, const std::vector<BrepModel>& bodies);
|
||
|
|
|
||
|
|
} // namespace vde::brep
|