Commit Graph

214 Commits

Author SHA1 Message Date
ebf38282ae Merge remote-tracking branch 'origin/ys_imperial_unit' 2020-05-18 16:01:10 +02:00
48afe91a81 Undo/redo in FDM supports gizmo 2020-05-05 13:45:04 +02:00
ced8e42504 Imperial units: Implemented just for the object's position and size 2020-04-29 19:10:13 +02:00
0709d361d1 Merge branch 'lm_fdm_custom_supports_backend' 2020-04-24 15:16:33 +02:00
2275698f1b Add ModelArrange.hpp as extension to Model.hpp, use it for duplicating
Refactored Arrange interface: remove the union based BedShapeHint, replace it with proper function overloads

WARN: this commit is only intermediate, it does not compile.
2020-04-23 18:19:03 +02:00
34e8adeadd Custom supports data change forces invalidation of supports step 2020-04-22 11:16:28 +02:00
1abc17915d Custom supports data are saved into ModelObject and propagate to the backend
Invalidation of supports after they change is not implemented yet.
2020-04-16 16:57:46 +02:00
e3f0a2adf6 Fix arrange for large beds 2020-03-30 13:26:24 +02:00
5d12b9bbab Invalidate object bounding box after arrange 2020-01-28 11:11:45 +01:00
322092a2f8 Merge branch 'master' into lm_tm_hollowing 2020-01-23 17:43:18 +01:00
eef74403bf Synchronized mode of color_print data to/from 3mf/amf
+ Code refactoring " CustomGCode extracted to separate namespace and file
2020-01-23 16:11:21 +01:00
a5ccb7a6c2 Merge branch 'master' into lm_tm_hollowing 2020-01-21 13:00:07 +01:00
d0955e38de Platter->Plater 2020-01-20 11:16:49 -05:00
e452247a97 Code refactoring to mode comparison 2020-01-17 12:24:58 +01:00
45ae1814ca ENABLE_KEEP_LOADED_VOLUME_TRANSFORM_AS_STAND_ALONE set as default 2020-01-17 12:12:38 +01:00
dfdd2c8cb9 Added "mode" variable for custom_gcode_per_print_z 2020-01-16 16:01:19 +01:00
7c0cdc3134 Refactoring of GCode::process_layer().
Refactoring of GCode export of color changes, extruder switches etc,
so that the "color change" like extruder switches are applied first
at the Wipe Tower / G-code export, so that adding / removing
an extruder switch at the G-code preview slider does not invalidate
slicing.
2020-01-14 10:31:18 +01:00
9aaf7a8c13 Merge branch 'master' into lm_tm_hollowing 2020-01-06 12:41:29 +01:00
f9752f1d75 Some minor polishing of Color print back end. 2020-01-06 09:32:13 +01:00
1aea9f0891 3mf and amf import: keep loaded volumes transformation as a member of ModelVolume without applying it to the mesh 2019-12-20 12:11:58 +01:00
51050f4a29 Merge branch 'master' into lm_tm_hollowing 2019-12-20 10:33:53 +01:00
e9c9dc7ff8 Improved accuracy of ModelVolume matrix store / restore
into the 3MF / AMF.
Improved accuracy of ModelVolume's mesh transform back from Object's
coordinate space to its own coordinate space after reloading
from 3MF / AMF.
2019-12-19 12:27:49 +01:00
44d00f6fca Added function to update of custom_gcode_per_print_z in Model from configuration
considering "colorprint_heights" option.

Changed thumb_up/down icons to better preview (feedback from #3256)

Commented some uncertain code
2019-12-17 14:16:38 +01:00
ee69087873 Code refactoring for Color change implementation 2019-12-17 08:37:50 +01:00
11feb259a3 Merge branch 'master' into lm_tm_hollowing 2019-12-12 11:37:33 +01:00
1906188e29 Implemented a message on Printer display for pause print
+ Added new icons
2019-11-27 14:44:33 +01:00
0cf10c144c Holes are now visible on slices in preview. 2019-11-13 15:55:37 +01:00
10f2d23ff6 Merge branch 'tm_openvdb_integration' into lm_tm_hollowing
* Refactor file names in SLA dir
2019-11-11 12:55:22 +01:00
617dc3e46f Drain holes are now saved in ModelObject
Internal changes in GLGizmoHollow.cpp
2019-11-08 14:05:56 +01:00
6005028fe0 Set custom color for color change 2019-11-04 13:42:47 +01:00
fb43c3f2d1 Save "color_change" for a selected extruder to G_code 2019-10-29 15:34:35 +01:00
c469699a7c Improved extruder_selector for DoubleSlider 2019-10-16 10:30:29 +02:00
9fbba6d8bd Implemented custom extruder(tool) change from DoubleSlider 2019-10-15 15:42:30 +02:00
e66f6111c4 Add missed icons 2019-10-11 10:39:54 +02:00
4ea0e7bf9d Information from DoubleSlider is saved to Model
GCode creating can work with that values.
2019-10-10 16:03:58 +02:00
03507f9b7d ENABLE_ENHANCED_RELOAD_FROM_DISK set as default 2019-09-23 15:35:49 +02:00
5918bbf2b6 ENABLE_ENHANCED_RELOAD_FROM_DISK
1) Modified .zip.amf import/export to save/load volume matrices and source data

2) Incremented .zip.amf version to 3
2019-09-19 12:39:59 +02:00
0c461f6db6 Added tech ENABLE_ENHANCED_RELOAD_FROM_DISK
1) Reworked void Plater::priv::reload_from_disk() to be more general

2) Added source data to class ModelVolume

3) Modified .3mf import/export to save/load volume matrices and source data

4) Incremented .3mf version to 2
2019-09-19 09:09:11 +02:00
976eb2b893 Fixed instance printable property after reload from disk 2019-09-10 11:16:59 +02:00
cc2d36dd29 Added version check for .3mf and .amf project files. PrusaSlicer will refuse to import files with newer version numbers. 2019-08-23 13:12:31 +02:00
9d4b69ec02 ModelInstance::is_printable() takes into account printability
of the parent ModelObject.
2019-08-07 10:18:16 +02:00
0fcc6cb159 Merge remote-tracking branch 'origin' into ys_printable_property 2019-08-06 10:31:17 +02:00
f2aba5d27a Fixed Model::convert_multipart_object() for STLs (regression from 8e2af5151dcf6f102b65981ff5aa56c2dfda5a2a).
Removed Model::s_auto_extruder_id and related, as it is a Perl interfacing legacy.
Fixed a typo in asserts introduced in the preceding commit.
2019-08-05 17:49:21 +02:00
fcb95df738 Code cleanup 2019-07-31 11:12:50 +02:00
947b0d5b4e Added member bool printable to ModelObject and ModelInstance 2019-07-31 08:36:08 +02:00
b3ad06b655 Hiding the sla support structures after undo/redo 2019-07-28 11:37:08 +02:00
124aa9a8ef Merge branch 'master' into tm_arrange_selection 2019-07-19 18:17:58 +02:00
5945c13ae6 Undo / Redo. Workaround for the Wipe tower. 2019-07-19 15:29:04 +02:00
e103460386 Storing the active printer technology onto the Undo / Redo stack,
remembering the last selected Printer profile for the SLA and FDM
technologies separately, and activating them on Undo / Redo.

When switching the technologies, user is asked whether to discard
the modified profiles or not.
2019-07-18 17:41:47 +02:00
4d5a6bfc94 Remove arrange cache. 2019-07-18 12:58:28 +02:00