Commit Graph

8562 Commits

Author SHA1 Message Date
688b589757 Don't use fmemopen, its not standard. 2020-08-27 23:14:42 +02:00
8f0746fece SLA archive import will now recover the model's original position. 2020-08-27 23:14:42 +02:00
8c5db5020b Move SLA import to libslic3r with png reading using libpng
Also fix flipped object issue
2020-08-27 23:14:42 +02:00
26855a98e8 PNG image read with libpng 2020-08-27 23:14:42 +02:00
eccab6a6d9 Don't use sla::EncodedRaster in SLAImport, revive opencsg sandbox 2020-08-27 23:14:42 +02:00
cc0b30f494 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer 2020-08-27 13:11:49 +02:00
032ae27ab5 GCodeViewer -> Fixed generation of solid toolpaths 2020-08-27 13:11:28 +02:00
49830f2212 Fix discontinuous extrusion lines for adaptive infill 2020-08-27 13:04:53 +02:00
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
30838e3db3 Another code cleanup 2020-08-27 10:15:07 +02:00
2ee16ab700 Code cleanup 2020-08-27 09:13:30 +02:00
9bf5ae419d Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer 2020-08-27 08:00:45 +02:00
87244c6b81 Switch to smart pointers 2020-08-27 07:28:43 +02:00
f014afb08c Polylines merging 2020-08-27 01:59:35 +02:00
0b6841264c Add function for check existence of triangle in define radius 2020-08-26 23:28:52 +02:00
923687e06f Generating polylines from octree 2020-08-26 22:18:51 +02:00
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
e4aea124cf Building octree based on distance from mesh 2020-08-26 18:15:59 +02:00
f1a59060a3 Preparation for new infill 2020-08-26 16:51:34 +02:00
6da3befffd Starting a new Slicer instance from the menu - fix of Windows build 2020-08-26 15:50:05 +02:00
763792fb06 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer 2020-08-26 15:29:55 +02:00
8fd394acc2 GCodeViewer -> 1st iteration of rendering of extrude toolpaths as solid 2020-08-26 15:29:33 +02:00
65aa35c3cc Starting a new Slicer instance from the menu 2020-08-26 14:56:26 +02:00
f49597d70b Added icon for gcode viewer mode 2020-08-26 13:01:54 +02:00
d4d4bafc8f Renamed shaders 2020-08-25 08:12:28 +02:00
fd646e0094 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer 2020-08-24 15:11:15 +02:00
c427e9ce54 Drainholes are saved elevated for 3MF compatibility
This is a follow-up of previous commit
2020-08-24 08:11:12 +02:00
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
52b8298e6d ENABLE_GCODE_VIEWER -> KBShortcutsDialog shows only related tabs when gcode viewer state is active 2020-08-21 11:50:05 +02:00
b06cf1ebd0 GCodeViewer -> Allow to switch to gcode viewer state when an sla printer is selected 2020-08-21 11:36:08 +02:00
b3676e9753 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer 2020-08-21 11:10:27 +02:00
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
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
2de6016b99 Forbid translation of objects when SLA/Hollow/FDM gizmos are active 2020-08-21 09:49:39 +02:00
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
6f50117ed4 Fixed several indentation-related warnings 2020-08-19 17:15:01 +02:00
ca61d4794c Merge remote-tracking branch 'origin/master' into ys_unsaved_changes 2020-08-19 15:44:24 +02:00
b844581d86 Code refactoring for last commit 2020-08-19 15:35:58 +02:00
a072cf3740 GCodeViewer -> Modified shape of printbed for the unknown size case 2020-08-19 15:19:07 +02:00
71bd4c4281 Follow-up of eca4f0a4cd. Fixed preview background on all platforms 2020-08-19 13:14:47 +02:00
359412dba3 BedShape is extracted to the separate structure 2020-08-19 13:04:51 +02:00
9b00880871 GCodeViewer -> Changed layout of sliders in preview 2020-08-19 12:59:50 +02:00
54c2561bcc GCodeViewer -> Use only white texts in legend 2020-08-19 11:55:18 +02:00
7977d769ce ENABLE_GCODE_VIEWER -> Removed options_120_solid shader 2020-08-19 11:25:12 +02:00
de6267d912 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer 2020-08-19 08:18:23 +02:00
b7f7c6846d UnsavedChangesDialog : improvements
* Processed changes in options with nullable values
* Processed changes on the extruders count
2020-08-18 16:49:06 +02:00
079e7d0332 Fix build on msvc 2020-08-18 13:45:18 +02:00
451320fca0 Extended hover capability in DoubleSlider::Control 2020-08-18 12:39:46 +02:00
59bc7a74fc GCodeProcessor -> Calculate per layer time estimate 2020-08-18 12:37:07 +02:00
409304732b Slight code cleanup 2020-08-18 12:00:26 +02:00