Commit Graph

91 Commits

Author SHA1 Message Date
bubnikv
44487a1841 Improved stability (fixed crashes) of the Cut by plane function by
replacing the cut triangulation with freeglu tesselator.
Added performance tracing output of the Cut by plane function.
Added wait cursor to split to parts / objects, object cut, save to AMF/3MF.
2019-02-05 20:23:24 +01:00
bubnikv
cc06b9f06b Fixed an issue, where the output G-code file name was not always updated
from the current Model/ModelObjects.
Fixed a possible race condition in updating Print::m_placeholder_parser
with the proposed filename / filename base.
Improved documentation (source code comments).
2019-02-03 10:41:14 +01:00
bubnikv
36736ab72e Get name of both the G-code and project file from the 1st printable
object's name or file path.
Fixed some compilation warnings.
2019-02-01 11:44:08 +01:00
bubnikv
1ab6d67e97 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-01-31 09:09:42 +01:00
bubnikv
7609081697 Fixed name of the exported project file to respect the object name. 2019-01-31 09:08:40 +01:00
Enrico Turri
32dcaba725 replace #ifdef _DEBUG with #ifndef NDEBUG 2019-01-31 08:47:23 +01:00
Enrico Turri
eca770397c Fix of #1730 2019-01-29 14:16:31 +01:00
bubnikv
a4feec906d WIP: Optimization of the object's 2D convex silhouette for arrangement,
not working yet.
2019-01-28 10:10:23 +01:00
bubnikv
e5c201f2a3 Performance improvements:
Lazy "Place on face" gizmo update.
Caching of MeshObject::raw_mesh_bounding_box() for the object size display.
ModelObject::bounding_box(), raw_mesh_bounding_box(), full_raw_mesh_bounding_box() will not copy the mesh.
TriangleMesh::transformed_bounding_box(const Transform3d &trafo) will not copy the mesh data.
get_options_for_bundle() will not return reference to temp value
is_splittable() calls cheap mesh.has_multiple_patches()
2019-01-26 18:51:34 +01:00
Enrico Turri
05b6ed498a Code cleanup 2019-01-21 11:29:45 +01:00
Enrico Turri
15582af151 Merge branch 'master' of https://github.com/prusa3d/Slic3r into objects_centering 2019-01-21 11:21:21 +01:00
bubnikv
b76f438975 WIP Restoration of the layer editing. 2019-01-21 10:06:51 +01:00
Enrico Turri
a2dee15995 Fixed .prusa i/o and split to objects 2019-01-18 16:01:43 +01:00
Enrico Turri
5eb66728bb 1st installment of volumes centering fixes (WIP) 2019-01-18 12:52:09 +01:00
Enrico Turri
75e29ed2fb Generic subparts placed at one of the bottom corners of the world bounding box of the transformed current selected instance (#1517) 2019-01-14 13:29:06 +01:00
Enrico Turri
95cb345634 Fixed missing mirror transform data when increasing instances count 2019-01-03 15:04:29 +01:00
Enrico Turri
31986660a1 Model's volume transform set as default 2019-01-02 10:49:13 +01:00
Enrico Turri
e78324c7ed Fixed loading of huge models 2018-12-19 09:54:15 +01:00
Enrico Turri
54e9668397 Added method ModelObject::full_raw_mesh() 2018-12-18 10:49:22 +01:00
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