mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-15 10:47:50 -06:00
WIP: Duplicated the SLA gizmo for the FDM, removed what was not needed
Clipping plane and the m_model_object pointer keeping was duplicated
This commit is contained in:
parent
a48a79603c
commit
7afe7326b6
8 changed files with 548 additions and 13 deletions
|
@ -64,6 +64,7 @@ public:
|
|||
Cut,
|
||||
Hollow,
|
||||
SlaSupports,
|
||||
FdmSupports,
|
||||
Undefined
|
||||
};
|
||||
|
||||
|
@ -197,8 +198,11 @@ public:
|
|||
void set_flattening_data(const ModelObject* model_object);
|
||||
|
||||
void set_sla_support_data(ModelObject* model_object);
|
||||
|
||||
void set_fdm_support_data(ModelObject* model_object);
|
||||
|
||||
bool gizmo_event(SLAGizmoEventType action, const Vec2d& mouse_position = Vec2d::Zero(), bool shift_down = false, bool alt_down = false, bool control_down = false);
|
||||
ClippingPlane get_sla_clipping_plane() const;
|
||||
ClippingPlane get_clipping_plane() const;
|
||||
bool wants_reslice_supports_on_undo() const;
|
||||
|
||||
void render_current_gizmo() const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue