Commit Graph

8562 Commits

Author SHA1 Message Date
tamasmeszaros
688b589757 Don't use fmemopen, its not standard. 2020-08-27 23:14:42 +02:00
tamasmeszaros
8f0746fece SLA archive import will now recover the model's original position. 2020-08-27 23:14:42 +02:00
tamasmeszaros
8c5db5020b Move SLA import to libslic3r with png reading using libpng
Also fix flipped object issue
2020-08-27 23:14:42 +02:00
tamasmeszaros
26855a98e8 PNG image read with libpng 2020-08-27 23:14:42 +02:00
tamasmeszaros
eccab6a6d9 Don't use sla::EncodedRaster in SLAImport, revive opencsg sandbox 2020-08-27 23:14:42 +02:00
enricoturri1966
cc0b30f494 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer 2020-08-27 13:11:49 +02:00
enricoturri1966
032ae27ab5 GCodeViewer -> Fixed generation of solid toolpaths 2020-08-27 13:11:28 +02:00
Lukáš Hejl
49830f2212 Fix discontinuous extrusion lines for adaptive infill 2020-08-27 13:04:53 +02:00
bubnikv
f67bb789c0 Clean-up of Shiny profiler integration, so that the intrusiver profiling
can be controlled per module.
2020-08-27 12:14:49 +02:00
enricoturri1966
30838e3db3 Another code cleanup 2020-08-27 10:15:07 +02:00
enricoturri1966
2ee16ab700 Code cleanup 2020-08-27 09:13:30 +02:00
enricoturri1966
9bf5ae419d Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer 2020-08-27 08:00:45 +02:00
Lukáš Hejl
87244c6b81 Switch to smart pointers 2020-08-27 07:28:43 +02:00
Lukáš Hejl
f014afb08c Polylines merging 2020-08-27 01:59:35 +02:00
Lukáš Hejl
0b6841264c Add function for check existence of triangle in define radius 2020-08-26 23:28:52 +02:00
Lukáš Hejl
923687e06f Generating polylines from octree 2020-08-26 22:18:51 +02:00
bubnikv
d2304417b8 Fixed performance issues when adding / removing Presets into PresetCollection.
This improves application startup time by 25-33%.
2020-08-26 21:51:50 +02:00
Lukáš Hejl
e4aea124cf Building octree based on distance from mesh 2020-08-26 18:15:59 +02:00
Lukáš Hejl
f1a59060a3 Preparation for new infill 2020-08-26 16:51:34 +02:00
Slic3rPE
6da3befffd Starting a new Slicer instance from the menu - fix of Windows build 2020-08-26 15:50:05 +02:00
enricoturri1966
763792fb06 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer 2020-08-26 15:29:55 +02:00
enricoturri1966
8fd394acc2 GCodeViewer -> 1st iteration of rendering of extrude toolpaths as solid 2020-08-26 15:29:33 +02:00
Slic3rPE
65aa35c3cc Starting a new Slicer instance from the menu 2020-08-26 14:56:26 +02:00
enricoturri1966
f49597d70b Added icon for gcode viewer mode 2020-08-26 13:01:54 +02:00
enricoturri1966
d4d4bafc8f Renamed shaders 2020-08-25 08:12:28 +02:00
enricoturri1966
fd646e0094 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer 2020-08-24 15:11:15 +02:00
Lukas Matena
c427e9ce54 Drainholes are saved elevated for 3MF compatibility
This is a follow-up of previous commit
2020-08-24 08:11:12 +02:00
Lukas Matena
0f53146d4b Changed internal coordinates of drain holes
Drain holes reference position was saved slightly above the mesh to avoid problem when the hole is placed on flat or nearly flat surface
The depth of the hole was internally bigger than what the user has set to compensato for it
However, this leads to problem with scaling and makes reprojection of the holes on the mesh complicated

This commit changes the reference point to the point on the mesh and the extra elevation is handled when rendering and drilling the hole.
The change is reflected in 3MF drain holes versioning so that old 3MFs are loaded correctly.
Reprojection on the mesh after reload from disk/fix through netfabb has been enabled.
2020-08-24 08:11:12 +02:00
enricoturri1966
52b8298e6d ENABLE_GCODE_VIEWER -> KBShortcutsDialog shows only related tabs when gcode viewer state is active 2020-08-21 11:50:05 +02:00
enricoturri1966
b06cf1ebd0 GCodeViewer -> Allow to switch to gcode viewer state when an sla printer is selected 2020-08-21 11:36:08 +02:00
enricoturri1966
b3676e9753 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer 2020-08-21 11:10:27 +02:00
enricoturri1966
33a290a11e GCodeViewer -> Show printbed model and texture for system printers detected when loading gcode files produced by PrusaSlicer 2020-08-21 10:59:07 +02:00
Lukas Matena
66b04930be TriangleSelector paints continuously when dragging fast
Previously there would be distinct circles with gaps in between
2020-08-21 09:49:39 +02:00
Lukas Matena
2de6016b99 Forbid translation of objects when SLA/Hollow/FDM gizmos are active 2020-08-21 09:49:39 +02:00
Paul Arden
bf09c55832 Rework G10 temperature support to be enabled only for a new Firmware type RepRapFirmware leaving the RepRap/Sprinter behaviour alone. Rename the enum for gcfRepRap to gcfRepRapSprinter and add new gcfRepRapFirmware enum value. Also adds code to only use the G10 searching in custom G-code if the flavour is RepRapFirmware. 2020-08-21 14:08:32 +10:00
Lukas Matena
6f50117ed4 Fixed several indentation-related warnings 2020-08-19 17:15:01 +02:00
YuSanka
ca61d4794c Merge remote-tracking branch 'origin/master' into ys_unsaved_changes 2020-08-19 15:44:24 +02:00
YuSanka
b844581d86 Code refactoring for last commit 2020-08-19 15:35:58 +02:00
enricoturri1966
a072cf3740 GCodeViewer -> Modified shape of printbed for the unknown size case 2020-08-19 15:19:07 +02:00
enricoturri1966
71bd4c4281 Follow-up of eca4f0a4cd. Fixed preview background on all platforms 2020-08-19 13:14:47 +02:00
YuSanka
359412dba3 BedShape is extracted to the separate structure 2020-08-19 13:04:51 +02:00
enricoturri1966
9b00880871 GCodeViewer -> Changed layout of sliders in preview 2020-08-19 12:59:50 +02:00
enricoturri1966
54c2561bcc GCodeViewer -> Use only white texts in legend 2020-08-19 11:55:18 +02:00
enricoturri1966
7977d769ce ENABLE_GCODE_VIEWER -> Removed options_120_solid shader 2020-08-19 11:25:12 +02:00
enricoturri1966
de6267d912 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer 2020-08-19 08:18:23 +02:00
YuSanka
b7f7c6846d UnsavedChangesDialog : improvements
* Processed changes in options with nullable values
* Processed changes on the extruders count
2020-08-18 16:49:06 +02:00
tamasmeszaros
079e7d0332 Fix build on msvc 2020-08-18 13:45:18 +02:00
enricoturri1966
451320fca0 Extended hover capability in DoubleSlider::Control 2020-08-18 12:39:46 +02:00
enricoturri1966
59bc7a74fc GCodeProcessor -> Calculate per layer time estimate 2020-08-18 12:37:07 +02:00
Lukas Matena
409304732b Slight code cleanup 2020-08-18 12:00:26 +02:00