You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
STEP file input (load) has been specified in ARCHITECTURE.md and implemented partially in ruststep::parser with later process by #12 . But, its output spec is not determined.
Duplication Elimination
For example, let us consider the entities discussed in ARCHITECTURE.md:
struct A {
x: f64,
y: f64,
}
struct B {
z: f64,
a: A,
}
into a STEP Record B((1.0, A((2.0, 3.0)) will be done by serde. The data mapping from Rust struct to serde data model has introduced in #18, #20, #21, and the responsibility of this issue is to implement serde::Serialize compatible for these existing implementations.
STEP file input (load) has been specified in ARCHITECTURE.md and implemented partially in
ruststep::parser
with later process by #12 . But, its output spec is not determined.Duplication Elimination
For example, let us consider the entities discussed in ARCHITECTURE.md:
If a user has two instances of
b
The problem here is how to eliminate the duplicated instance
A(1, 2)
:We can also emit duplicated instances without elimination process, and it would be somewhat easy to implement:
Rust API
Rust struct like
into a STEP Record
B((1.0, A((2.0, 3.0))
will be done by serde. The data mapping from Rust struct to serde data model has introduced in #18, #20, #21, and the responsibility of this issue is to implementserde::Serialize
compatible for these existing implementations.TODO
serde::Serialize
The text was updated successfully, but these errors were encountered: