pub mod annotations;
pub mod appearance;
pub mod attributes;
pub mod be;
pub mod bytes;
pub mod codec;
pub mod compression;
pub mod cursor;
pub mod decode;
pub mod diff;
pub mod document;
pub mod drawings;
pub mod eval;
pub mod examples;
pub mod features;
pub mod geometry;
pub mod hash;
pub mod ids;
pub mod le;
pub mod math;
pub mod native;
pub mod pmi;
pub mod presentation;
pub mod product;
pub mod products;
mod provenance;
pub mod read;
pub mod report;
pub mod semantic_annotations;
pub mod sketches;
pub mod source_fidelity;
pub mod spreadsheets;
pub mod subd;
pub mod tessellation;
pub mod topology;
pub mod transform;
pub mod units;
pub mod validate;
pub use annotations::{AnnotationBuilder, Annotations, ExactnessNote, Provenance};
pub use codec::{
CadirEncoder, Codec, CodecEntry, CodecError, Confidence, ContainerEntry, ContainerSummary,
DecodeOptions, DecodeResult, Encoder, ReadSeek,
};
pub use diff::{diff, ArenaDiff, IrDiff, ModifiedEntity};
pub use document::{CadIr, SourceMeta, IR_VERSION};
pub use features::{
BodyRetentionMode, BodySelection, BodyTrimSide, CoilConstruction, CoilExtent, CoilPlacement,
CoilResult, CoilSection, CoilSectionPlacement, ConfigurationBodies, ConfigurationId,
CurveProjectionDirection, CurveProjectionDirectionState, DesignConfiguration, DesignParameter,
FaceMotion, Feature, FeatureDefinition, FeatureId, ParameterId, ParameterPmi, ParameterValue,
PmiDimensionSubtype, ScaleCenter, ScaleFactors, SketchSpace,
};
pub use native::{LossCount, Native, NativeConvertError, NativeNamespace, NativeRecord};
pub use pmi::{
DatumReference, DimensionKind, GeometricToleranceKind, PmiAnnotation, PmiDefinition,
PmiQuantity, PmiTarget, PmiValue,
};
pub use presentation::{
CameraState, PresentationDocument, PresentationId, PresentationState, ViewPresentation,
};
pub use presentation::{PresentationItem, PresentationLayer};
pub use product::{OccurrenceParent, Product, ProductOccurrence};
pub use products::{
AssemblyJoint, Component, ComponentId, ComponentKind, ComponentReference, CopyOnChangePolicy,
ExternalDocumentReference, ExternalResolution, JointId, JointKind, JointLimits, JointOperand,
Occurrence, OccurrenceId,
};
pub use provenance::Provenance as LossProvenance;
pub use provenance::{Exactness, SourceObjectAssociation};
pub use report::{
Check, DecodeReport, ExportReport, Finding, LossCategory, LossCode, LossNote, Severity,
StrictConsequence, ValidationReport,
};
pub use sketches::{
Sketch, SketchAxis, SketchConstraint, SketchConstraintDefinition, SketchConstraintId,
SketchCoordinateAxis, SketchDistanceMeasurement, SketchEntity, SketchEntityId, SketchEntityUse,
SketchGeometry, SketchId, SketchNativeOperand, SketchPlacement, SpatialSketch,
SpatialSketchEntity, SpatialSketchEntityId, SpatialSketchEntityUse, SpatialSketchGeometry,
SpatialSketchId, SpatialSketchProfile,
};
pub use source_fidelity::{RetainedSourceRecord, SourceFidelity, SOURCE_FIDELITY_VERSION};
pub use spreadsheets::{Spreadsheet, SpreadsheetDimension, SpreadsheetId, SpreadsheetRange};
pub use subd::{
SubdEdge, SubdEdgeTag, SubdEdgeUse, SubdFace, SubdScheme, SubdSurface, SubdVertex,
SubdVertexTag,
};
pub use unknown::{NativeUnknownRecord, UnknownRecord};
pub use validate::{validate, validate_with_source_fidelity};
pub mod unknown;
pub fn cadir_json_schema() -> schemars::Schema {
schemars::schema_for!(CadIr)
}
#[cfg(test)]
mod tests;