layerview.app.main_window.dto module

class layerview.app.main_window.dto.ColoringGroupDTO(coloring_mode: 'ColoringMode', pixmap: 'Optional[QPixmap]' = None, text_left: 'Optional[str]' = '', text_center: 'Optional[str]' = '', text_right: 'Optional[str]' = '')[source]

Bases: object

coloring_mode: ColoringMode
pixmap: QPixmap
text_center: str = ''
text_left: str = ''
text_right: str = ''
class layerview.app.main_window.dto.IntRangeDTO(start: int, stop: int)[source]

Bases: object

class layerview.app.main_window.dto.LayerInfoDTO(layer_number: 'int', text_z_pos: 'str', text_thickness: 'str', text_temperature: 'str', text_feedrate: 'str')[source]

Bases: object

static from_layer_info(layer_info: LayerInfo, layer_num: int, z_position: float, height: float) LayerInfoDTO[source]
layer_number: int
static null_object() LayerInfoDTO[source]
text_feedrate: str
text_temperature: str
text_thickness: str
text_z_pos: str
class layerview.app.main_window.dto.ModelInfoDTO(text_layer_count: 'str', text_height: 'str', text_width: 'str', text_depth: 'str')[source]

Bases: object

static from_model_info(model_info: ModelInfo) ModelInfoDTO[source]
static null_object() ModelInfoDTO[source]
text_depth: str
text_height: str
text_layer_count: str
text_width: str
class layerview.app.main_window.dto.StatusBarMessageDTO(text: str, duration: int = 0)[source]

Bases: object