package kicadsch

  1. Overview
  2. Docs

A module able to paint a schematic file in a painter context

type schContext

the schematic context

type painterContext

the underlying context

val initial_context : unit -> schContext

initial_context ()

  • returns

    an new empty context

val add_lib : string -> schContext -> schContext

add_lib line context parse the content of line provided to libs to the context.

  • returns

    the updated context

val parse_line : Stdlib.String.t -> schContext -> schContext

parse_line line context parse a new line of schematic and update context.

  • returns

    the updated context

val output_context : schContext -> painterContext

output_context context output write the context as a image format to output

OCaml

Innovation. Community. Security.