Module svg_builder
source code
Constructs an SVG (Scalable Vector Graphics) object and writes it to
extraction_line.svg. This file is later embedded into the extraction line
html page get_extraction_line_html The graphic
displays the current state of the extraction line ie which valves are
open and which components are running
Imports:
os,
get_valve_state,
parse_setupfile
|
open a setup file and parse in the valve names and coordinates
- Returns:
dict
- a dictionary of
valve name : x,y
|
|
load the scene with objects
- Parameters:
|