mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Formulate layerview logic using numpy to speed up. Also changed layer data packets from engine to make it possible.
This commit is contained in:
parent
ac0f743855
commit
f184baadf0
6 changed files with 202 additions and 92 deletions
|
|
@ -44,21 +44,9 @@ message Layer {
|
|||
}
|
||||
|
||||
message Polygon {
|
||||
enum Type {
|
||||
NoneType = 0;
|
||||
Inset0Type = 1;
|
||||
InsetXType = 2;
|
||||
SkinType = 3;
|
||||
SupportType = 4;
|
||||
SkirtType = 5;
|
||||
InfillType = 6;
|
||||
SupportInfillType = 7;
|
||||
MoveCombingType = 8;
|
||||
MoveRetractionType = 9;
|
||||
}
|
||||
Type type = 1; // Type of move
|
||||
bytes points = 2; // The points of the polygon, or two points if only a line segment (Currently only line segments are used)
|
||||
float line_width = 3; // The width of the line being laid down
|
||||
bytes line_type = 1;
|
||||
bytes points = 2;
|
||||
bytes line_width = 3;
|
||||
}
|
||||
|
||||
message GCodeLayer {
|
||||
|
|
@ -86,4 +74,4 @@ message GCodePrefix {
|
|||
}
|
||||
|
||||
message SlicingFinished {
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue