Skip to main content

read

Function read 

Source
pub fn read(text: &str) -> OgeomResult<(Model, Vec<Shape>)>
Expand description

Read a model and its root shapes back.

ยงErrors

OgeomError::Construction if the text is not this format, names a version this does not know, or is malformed; OgeomError::Dangling if it names a handle that is not in the file.