Skip to content

How to solve NotSimpleWire? #74

@vltown

Description

@vltown
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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions