Skip to main content

arrange

Function arrange 

Source
pub fn arrange(
    view: &Reader<'_>,
    args: &DrawingArgs,
    date: &str,
    parts: &[PartsListLine],
    projected: &Projected,
) -> GeopResult<Layout>
Expand description

The views projected of part laid out on the sheet args describe (see layout), dated date, with parts its bill of materials if args asks for one.

With a bill of materials, each line of it placed in the drawing gets a balloon with its item number, its leader pointing at its part in one view (see [balloon_view]). A bill too long for the sheet is refused.