Commit Graph

180 Commits

Author SHA1 Message Date
e67eef4c06 Fixed some more issues in copy / paste of objects and volumes
due to the layer_height_profile, paint on supports and seam
being stored as an object on its own onto the Undo / Redo stack.
2020-10-15 17:29:49 +02:00
575da4840f Removed m_ prefix from public member variables. 2020-10-09 13:09:21 +02:00
f1a358509d Fixing Undo / Redo issues after copy / paste due to not updating
ObjectIDs of support painting / seam painting / layer height profile.
2020-10-09 12:26:28 +02:00
4e0a0c5c51 New class ModelConfig wrapping DynamicPrintConfig and a timestamp
to help with detecting "not changed" event when taking
Undo/Redo snapshot or synchronizing with the back-end.

Converted layer height profile and supports / seam painted areas
to the same timestamp controlled structure.
2020-09-24 15:34:13 +02:00
e7ba06259f Tiny polishing and documentation. 2020-09-23 12:59:15 +02:00
b3e936bda3 Refactoring of adaptive cubic / support cubic:
1) Octree is built directly from the triangle mesh by checking
   overlap of a triangle with an octree cell. This shall produce
   a tighter octree with less dense cells.
2) The same method is used for both the adaptive / support cubic infill,
   where for the support cubic infill the non-overhang triangles are
   ignored.
The AABB tree is no more used.
3) Optimized extraction of continuous infill lines in O(1) instead of O(n^2)
2020-09-17 18:39:28 +02:00
58b6d94166 Custom seam: Model integration, backend invalidation, 3MF loading/saving 2020-09-01 22:35:01 +02:00
8e113adee0 Renamed FacetSupportType to EnforcerBlockerType
So it's not misleading if we use it for seam painting
2020-08-18 12:00:26 +02:00
fa4a160a2c TriangleSelector: 3MF loading and saving 2020-07-24 17:47:16 +02:00
efa8fe63aa TriangleSelector: Schedule restarting background process after edit 2020-07-24 17:47:16 +02:00
abe1cf6c61 TriangleSelector: backend is aware of divided triangles 2020-07-24 17:47:16 +02:00
438f758a2a TriangleSelector: Separated frontend/backend, support of multiple volumes, etc. 2020-07-24 17:47:16 +02:00
ed4f3c6ddf TriangleSelector: draft of interface 2020-07-24 17:47:16 +02:00
00878e21e9 Implemented merge of the objects to the one multi-part object
+ Implemented merge of the parts to the one object. But now this function doesn't used.

+ Fixed Model::looks_like_imperial_units()
2020-05-27 11:59:43 +02:00
a8628a040c Include cleanup: do not include Model.hpp from 3DScene.hpp 2020-05-26 13:45:36 +02:00
45006f6e0d Implemented "from/to imperial units conversation" for loaded objects and volumes 2020-05-20 20:07:31 +02:00
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