Skip to main content

read_step

Function read_step 

Source
pub fn read_step(
    input: &str,
    topo: &mut Topology,
) -> Result<Vec<SolidId>, IoError>
Expand description

Read a STEP file and reconstruct topology.

Returns the list of solid IDs created in the topology.

ยงErrors

Returns IoError if:

  • The file is not valid STEP Part 21
  • Required entities are missing or malformed
  • Entity references cannot be resolved