123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147 |
- syntax = "proto3";
- package cura.proto;
- message ObjectList
- {
- repeated Object objects = 1;
- repeated Setting settings = 2;
- }
- message Slice
- {
- repeated ObjectList object_lists = 1;
- SettingList global_settings = 2;
- repeated Extruder extruders = 3;
- repeated SettingExtruder limit_to_extruder = 4;
- }
- message Extruder
- {
- int32 id = 1;
- SettingList settings = 2;
- }
- message Object
- {
- int64 id = 1;
- bytes vertices = 2;
- bytes normals = 3;
- bytes indices = 4;
- repeated Setting settings = 5;
- string name = 6;
- }
- message Progress
- {
- float amount = 1;
- }
- message Layer {
- int32 id = 1;
- float height = 2;
- float thickness = 3;
- repeated Polygon polygons = 4;
- }
- message Polygon {
- enum Type {
- NoneType = 0;
- Inset0Type = 1;
- InsetXType = 2;
- SkinType = 3;
- SupportType = 4;
- SkirtType = 5;
- InfillType = 6;
- SupportInfillType = 7;
- MoveCombingType = 8;
- MoveRetractionType = 9;
- SupportInterfaceType = 10;
- PrimeTowerType = 11;
- }
- Type type = 1;
- bytes points = 2;
- float line_width = 3;
- float line_thickness = 4;
- float line_feedrate = 5;
- }
- message LayerOptimized {
- int32 id = 1;
- float height = 2;
- float thickness = 3;
- repeated PathSegment path_segment = 4;
- }
- message PathSegment {
- int32 extruder = 1;
- enum PointType {
- Point2D = 0;
- Point3D = 1;
- }
- PointType point_type = 2;
- bytes points = 3;
- bytes line_type = 4;
- bytes line_width = 5;
- bytes line_thickness = 6;
- bytes line_feedrate = 7;
- }
- message GCodeLayer {
- bytes data = 2;
- }
- message PrintTimeMaterialEstimates {
-
- float time_none = 1;
- float time_inset_0 = 2;
- float time_inset_x = 3;
- float time_skin = 4;
- float time_support = 5;
- float time_skirt = 6;
- float time_infill = 7;
- float time_support_infill = 8;
- float time_travel = 9;
- float time_retract = 10;
- float time_support_interface = 11;
- float time_prime_tower = 12;
- repeated MaterialEstimates materialEstimates = 13;
- }
- message MaterialEstimates {
- int64 id = 1;
- float material_amount = 2;
- }
- message SettingList {
- repeated Setting settings = 1;
- }
- message Setting {
- string name = 1;
- bytes value = 2;
- }
- message SettingExtruder {
- string name = 1;
- int32 extruder = 2;
- }
- message GCodePrefix {
- bytes data = 2;
- }
- message SliceUUID {
- string slice_uuid = 1;
- }
- message SlicingFinished {
- }
|