mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-21 15:51:10 -06:00
Initial work for 3D rendering of toolpaths
This commit is contained in:
parent
18e815d032
commit
e0a3d2577c
12 changed files with 166 additions and 2 deletions
|
@ -28,6 +28,7 @@
|
|||
%code{% RETVAL = THIS->entities.empty(); %};
|
||||
std::vector<size_t> orig_indices()
|
||||
%code{% RETVAL = THIS->orig_indices; %};
|
||||
Polygons grow();
|
||||
%{
|
||||
|
||||
void
|
||||
|
|
|
@ -31,6 +31,7 @@
|
|||
bool is_perimeter();
|
||||
bool is_infill();
|
||||
bool is_solid_infill();
|
||||
Polygons grow();
|
||||
%{
|
||||
|
||||
SV*
|
||||
|
|
|
@ -29,6 +29,7 @@
|
|||
std::string gcode(Extruder* extruder, double e, double F,
|
||||
double xofs, double yofs, std::string extrusion_axis,
|
||||
std::string gcode_line_suffix);
|
||||
Polygons grow();
|
||||
%{
|
||||
|
||||
ExtrusionPath*
|
||||
|
|
|
@ -33,6 +33,7 @@
|
|||
Polyline* as_polyline()
|
||||
%code{% RETVAL = new Polyline(*THIS); %};
|
||||
Clone<Point> normal();
|
||||
Clone<Point> vector();
|
||||
%{
|
||||
|
||||
Line*
|
||||
|
@ -79,4 +80,5 @@ Line::coincides_with(line_sv)
|
|||
Ref<Pointf3> b()
|
||||
%code{% RETVAL = &THIS->b; %};
|
||||
Clone<Pointf3> intersect_plane(double z);
|
||||
void scale(double factor);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue