Export
Artifact export: STEP, STL, BOM, graph and manifest.
apply_linux_process_limits
Section titled “apply_linux_process_limits”function in machinewright.export_service
def apply_linux_process_limits( limits: ExportLimits) -> NoneApply hard limits to the current dedicated worker process on Linux.
ArtifactResult
Section titled “ArtifactResult”class in machinewright.export_service
class ArtifactResult(Contract)No description yet.
CancellationToken
Section titled “CancellationToken”class in machinewright.export_service
class CancellationTokenNo description yet.
cancel
Section titled “cancel”def cancel() -> Noneexport_artifacts
Section titled “export_artifacts”function in machinewright.export_service
def export_artifacts( assembly: AssemblyDefinition | ResolvedDesign, output_directory: str | Path, request: ExportRequest | None = None, progress: Callable[[ExportProgress], None] | None = None, cancellation: CancellationToken | None = None) -> ExportResultExport requested artifacts, cleaning partial output on any failure.
Memory and CPU limits are applied to the current process when requested, so callers should set them only in a dedicated Linux worker process. Elapsed time, part count, cancellation, and output bytes are enforced directly. A full bundle omits the print layout when there are no printed parts.
ExportFormat
Section titled “ExportFormat”class in machinewright.export_service
class ExportFormat(StrEnum)No description yet.
ExportLimits
Section titled “ExportLimits”class in machinewright.export_service
class ExportLimits(Contract)No description yet.
ExportProgress
Section titled “ExportProgress”class in machinewright.export_service
class ExportProgress(Contract)No description yet.
ExportRequest
Section titled “ExportRequest”class in machinewright.export_service
class ExportRequest(Contract)No description yet.
ExportResult
Section titled “ExportResult”class in machinewright.export_service
class ExportResult(Contract)No description yet.