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
let shells: Vec<truck_topology::Shell<Point3, Curve3D, Surface>> = table.shell.values().cloned().filter_map(|step_shell| {
let mut cshell = match table.to_compressed_shell(&step_shell) {
Ok(shell) => shell,
Err(e) => {
println!("Error during compression: {:?}", e);
return None;
}
};
cshell.robust_split_closed_edges_and_faces(0.1);
match truck_topology::Shell::extract(cshell) {
Ok(shell) => Some(shell),
Err(e) => {
println!("Failed to extract shell: {:?}", e);
None
}
}
}).collect();
Failed to extract shell: NotSimpleWire
This code will cause this error, causing my model to render incompletely. Is there any way to solve this problem?
The text was updated successfully, but these errors were encountered:
Perhaps your STEP data does not meet the requirements. Boundary representation in truck does not accept boundary wires with self-intersections. This is a problem when editing the shape, and if you just want to display it, just leave the meshing as CompressedShell. If you want to edit the shape, try this method.
Failed to extract shell: NotSimpleWire
This code will cause this error, causing my model to render incompletely. Is there any way to solve this problem?
The text was updated successfully, but these errors were encountered: