Commit Graph

72 Commits

Author SHA1 Message Date
Enrico Turri
587757c02e Fixed import from 3mf of rotated models 2018-12-14 09:52:15 +01:00
bubnikv
eb4a48c141 WIP: Merged commits from stable between 1.41.2-beta and 1.42.2 final.
Changes in SupportMaterial.cpp, TriangleMesh.cpp and 01_trianglemesh.t
are yet to be merged.

WIP: Refactoring of layer height editing.
Removed layer_height_ranges from PrintObject, as the Print/PrintObject
now hold their copies of Model/ModelObject.
2018-12-11 16:33:43 +01:00
Vojtech Kral
85f80bf938 Cut: Fix modifier transformation 2018-12-07 13:58:51 +01:00
bubnikv
5ea120e69a Fixed Canvas3D update after an object instance is deleted. 2018-12-04 11:35:04 +01:00
bubnikv
fb0c31c5a8 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2018-12-03 13:21:48 +01:00
bubnikv
e99fa7d104 Implemented naming of the SLA export file based on the output file name
template.

Reworked naming of the plater exports to not use the output file name
template, but to derive the file name from the first printable object's name.

Fixed error handling: Reimpemented the Perl's "eval" blocks
as try / catch blocks.
2018-12-03 13:14:28 +01:00
Enrico Turri
b7552954f3 Gizmo flatten -> allow for only single instance and let planes follow the instance when moving the object by dragging it on the scene 2018-12-03 11:14:17 +01:00
Enrico Turri
1897633d24 Fixed GLVolumes reuse after instance deletion 2018-12-03 10:37:46 +01:00
Enrico Turri
1b24349cd2 Fixed offset of last remaining object part after deletion 2018-11-30 10:25:09 +01:00
Vojtech Kral
952a9f5595 Cut: Account for instance Z properly 2018-11-28 13:36:31 +01:00
Vojtech Kral
1dd82611bf Cut: Fix lower part rotation 2018-11-26 17:43:27 +01:00
Vojtech Kral
9eaa9a9b2c Cut: Preserve Z-rotation, fix upper part mesh position,
perform custom placing instead of arrange()
2018-11-26 17:09:37 +01:00
Vojtech Kral
5eb7f0f0b8 Cut: Re-center objects after cut 2018-11-26 13:35:37 +01:00
Vojtech Kral
5b1bfb0b69 Cut: Use world coordinates 2018-11-26 12:08:10 +01:00
Vojtech Kral
ff5172eedb imgui: Refactor, use in cut gizmo 2018-11-26 11:16:39 +01:00
Enrico Turri
ede50f9303 Fixed transformations when deleting second-to-last sub-volume of an object 2018-11-23 10:50:25 +01:00
bubnikv
a625d03cb2 Fixed "setting an extruder does not change object's color" 2018-11-22 13:20:13 +01:00
bubnikv
80ee4feda4 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2018-11-21 17:35:58 +01:00
bubnikv
30f61bd66e WIP: Synchronization of SLA background processing. 2018-11-21 17:35:35 +01:00
Enrico Turri
c05c8f10fa Fixed split object to objects 2018-11-21 14:30:15 +01:00
bubnikv
2a7bd10ff3 Fix of "split volume to parts" to regenerate a new GLVolume
even for the first part.
2018-11-21 09:35:49 +01:00
bubnikv
72fa486d23 Merge branch 'vb_3dscene_partial_update' 2018-11-20 17:07:31 +01:00
Enrico Turri
98fdd898c3 Fixed slicing of objects splitted into parts 2018-11-20 08:36:35 +01:00
tamasmeszaros
91ff36dab9 Merge remote-tracking branch 'origin/dev_native' into tm_sla_supports_backend 2018-11-19 12:56:32 +01:00
Vojtech Kral
6f3e386e85 Cutting 2018-11-18 21:20:47 +01:00
bubnikv
63ee3dc63c Partial update of 3D scene (GLVolumes derived from Model and from
the SLAPrintObject).
Updated PrintBase to generate a unique timestamp at each step invalidation.
2018-11-16 18:28:50 +01:00
Enrico Turri
eb37c53913 Removed code committed by mistake in previous commit 2018-11-13 11:25:59 +01:00
Enrico Turri
a34531557b Fixed convex hull and volume offset after object split to part 2018-11-13 10:12:42 +01:00
Enrico Turri
245ccd56d3 Center volumes after split to parts 2018-11-13 08:36:10 +01:00
Enrico Turri
31c2174ffa Enhanced volumes manipulation - wip 2018-11-12 08:54:22 +01:00
Enrico Turri
b0cc748382 ModelObject::instance_bounding_box() fixed to take in account for volumes' transforms 2018-11-09 10:31:58 +01:00
bubnikv
96eba71a21 Integrated SLAPrint into background processing.
Fixed couple of compiler warnings.
2018-11-08 20:18:40 +01:00
Enrico Turri
78d6a0cd1b Fixed update of ModelVolume offset after GLVolume manipulation 2018-11-07 14:01:03 +01:00
Enrico Turri
97ea5a7cf5 Fixed backend detection of out of print volume 2018-11-06 16:04:30 +01:00
Enrico Turri
2e0f064e60 Selection of modifiers in 3D scene 2018-11-06 15:51:33 +01:00
bubnikv
42edbe6b0c Fixed some issues with front end / back end synchronization. 2018-11-05 17:52:55 +01:00
Enrico Turri
54872b0ec1 Mirror of ModelVolume as transformation component (without modifying the mesh) 2018-11-05 08:51:00 +01:00
Enrico Turri
21b1957b77 Rotate of ModelVolume as transformation component (without modifying the mesh) 2018-11-05 08:31:54 +01:00
bubnikv
b25d01ce1a Merge remote-tracking branch 'remotes/origin/vb_modelbase_id_refactor' into dev_native 2018-11-02 20:53:47 +01:00
bubnikv
e5758e9ef2 ModelBase ID refactoring, starting to work.
Now it remains to clean up some of the no more used Model interfaces.
2018-11-02 19:49:40 +01:00
bubnikv
0356d05ffd ModelBase ID refactoring, WIP 2018-11-02 14:47:13 +01:00
Enrico Turri
47163d239f Scale of ModelVolume as transformation component (without modifying the mesh) 2018-11-02 14:41:08 +01:00
Enrico Turri
0e241917ec Use Transform3d in place of Transform3f as parameter of mesh transform functions 2018-11-02 13:47:47 +01:00
Enrico Turri
8bd37b6d28 Translation of ModelVolume as transformation component (without modifying the mesh) 2018-11-02 12:11:28 +01:00
Enrico Turri
5af5f1e097 Fixed build when ENABLE_MODELVOLUME_TRANSFORM is disabled 2018-11-01 14:41:18 +01:00
Enrico Turri
605237d262 Refactoring 2018-11-01 14:25:10 +01:00
Enrico Turri
fff76c6aae New selection set as default 2018-11-01 10:06:55 +01:00
Enrico Turri
108110940c Mirror component of transformations set as default 2018-11-01 08:46:44 +01:00
Enrico Turri
c3bd44b3a3 Fixed autolevel on bed with non uniform scaling 2018-10-31 16:13:07 +01:00
Enrico Turri
e348d471e5 Added Geometry::Transformation class. Use it into ModelInstance, ModelVolume and GLVolume 2018-10-31 14:56:51 +01:00