mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-30 05:21:51 -06:00
Store width and height in ExtrusionEntity objects for debugging purposes
This commit is contained in:
parent
78a08e0665
commit
98e40d3fe4
11 changed files with 113 additions and 15 deletions
|
@ -29,10 +29,13 @@ enum ExtrusionRole {
|
|||
class ExtrusionEntity
|
||||
{
|
||||
public:
|
||||
ExtrusionEntity() : mm3_per_mm(-1), width(-1), height(-1) {};
|
||||
virtual ExtrusionEntity* clone() const = 0;
|
||||
virtual ~ExtrusionEntity() {};
|
||||
ExtrusionRole role;
|
||||
double mm3_per_mm; // mm^3 of plastic per mm of linear head motion
|
||||
float width;
|
||||
float height;
|
||||
virtual void reverse() = 0;
|
||||
virtual Point first_point() const = 0;
|
||||
virtual Point last_point() const = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue