Commit Graph

107 Commits

Author SHA1 Message Date
Enrico Turri
6f9c547d07 Added Vec3d ModelInstance::transform_vector() method 2018-09-06 09:16:32 +02:00
Enrico Turri
f06259ef58 Tweaks to ModelObject::center_around_origin() 2018-09-06 08:56:33 +02:00
Enrico Turri
1ccfbd9018 Renamed GLVolume member variables to match the corresponding ModelInstance ones 2018-09-05 09:11:58 +02:00
Enrico Turri
fadee48454 Added ModelInstance::world_matrix() method and stl_transform using eigen transform 2018-09-04 14:42:14 +02:00
Enrico Turri
3869c45414 Removed unused methods 2018-08-28 15:19:53 +02:00
Enrico Turri
a3bd7c110f Fixed conflicts after merging with master 2018-08-27 14:00:53 +02:00
Enrico Turri
d837ac38dc Fixed conflicts after merging with branch eigenize 2018-08-23 15:37:38 +02:00
bubnikv
b96828526b d .. 2018-08-22 15:03:35 +02:00
bubnikv
7f49697944 Eradicated the Pointf class, replaced with Eigen Vector3d 2018-08-21 21:05:24 +02:00
bubnikv
2b2d7665d1 Eradicated most of Pointf extras compared to pure Eigen::Vector2d. 2018-08-21 20:34:45 +02:00
bubnikv
b616a0c183 Completely replaced the homebrew Pointf3 class with Eigen Vec3d.
Replaced the unscale macro with a template, implemented templates
for unscaling Eigen vectors.
2018-08-21 17:43:05 +02:00
Lukas Matena
64022acfff Lay flat - rotation is now done in one go directly about the necessary axis 2018-08-21 15:40:11 +02:00
bubnikv
5ebf7f093d Merged with master 2018-08-17 18:07:45 +02:00
bubnikv
2f09a89bfb Removed the x(), y(), z() Point/Pointf/Point3/Pointf3 accessors. 2018-08-17 15:53:43 +02:00
bubnikv
f738c42aa5 Removed Point::scale(),translate(),coincides_with(),distance_to(),
distance_to_squared(),perp_distance_to(),negative(),vector_to(),
translate(), distance_to() etc,
replaced with the Eigen equivalents.
2018-08-17 14:14:24 +02:00
Enrico Turri
478630e5a7 Use of bounding box of rotated 3D convex hull for out of print volume detection 2018-08-15 12:50:06 +02:00
bubnikv
55c903a6a2 Changing the internal representation of Point / Pointf / Point3 / Pointf3 to Eigen Matrix types:
Changed the Point3 / Pointf3 to composite Eigen Vec3crd / Vec3d.
Point3 is no more derived from Point,
Pointf3 is no more derived from Pointf.
Introduced Transform2f/3f/2d/3d types as aliases to Eigen::Transform.
2018-08-14 21:33:41 +02:00
bubnikv
b55e796d1e Changing the internal representation of Point / Pointf / Point3 / Pointf3 to Eigen Matrix types, first step 2018-08-14 18:33:26 +02:00
Enrico Turri
2282d33423 Better fix for minimum z of object to lay on the bed after rotations 2018-08-13 16:16:37 +02:00
tamasmeszaros
93757ac811 Merge remote-tracking branch 'origin/master' into feature_arrange_with_libnest2d 2018-08-02 13:16:11 +02:00
bubnikv
6360715d22 Merge commit '4e901a9db778660d3471a49cd95d66f85b2dbc88' 2018-08-01 13:16:30 +02:00
tamasmeszaros
eb736cf484 Prepare integration for arbitrary shaped print beds. 2018-07-30 16:41:35 +02:00
tamasmeszaros
5115fc6ba6 linest2d ready for arbitrary shaped beds. 2018-07-30 15:16:44 +02:00
Enrico Turri
e54901cee6 Minimum z of object to lay on the bed after rotations. Fixes #1093 2018-07-30 11:38:36 +02:00
tamasmeszaros
c5057fcfa8 Merge remote-tracking branch 'origin/master' into feature_arrange_with_libnest2d 2018-07-27 17:46:19 +02:00
tamasmeszaros
b153e7aabf New object function considering item size categories (big and small) 2018-07-27 17:31:30 +02:00
tamasmeszaros
a4846ced8b Improved libnest2d caching 2018-07-27 12:28:14 +02:00
tamasmeszaros
4573977376 Merge remote-tracking branch 'origin/master' into feature_arrange_with_libnest2d 2018-07-26 12:58:52 +02:00
tamasmeszaros
a8f7848cd6 Fix for SPE-421 and emergency fix for SPE-422 (needs further investigation) 2018-07-26 12:57:47 +02:00
Enrico Turri
9acec75cc5 Merge branch 'scene_manipulators' of https://github.com/prusa3d/Slic3r 2018-07-20 10:31:53 +02:00
tamasmeszaros
6fe03f1599 Small objects can now fit inside free space surrounded by objects. 2018-07-20 09:01:24 +02:00
tamasmeszaros
18a159fc1e Small objects can now fit inside free space surrounded by objects. 2018-07-18 16:37:44 +02:00
Enrico Turri
4dd9712c17 Disable slicing when one object crosses the print volume boundary 2018-07-18 14:26:42 +02:00
Enrico Turri
115f4d7152 Slice only objects contained into the print volume 2018-07-18 09:37:25 +02:00
tamasmeszaros
02239a4a8b Merge remote-tracking branch 'origin/master' into feature_arrange_with_libnest2d 2018-07-17 16:36:59 +02:00
tamasmeszaros
2c6a77b6ec New objectfunction that makes a proper circle shaped pile on arrange. 2018-07-17 12:04:06 +02:00
bubnikv
1830f4059a Merge remote-tracking branch 'remotes/origin/opengl_to_cpp' 2018-07-17 09:37:38 +02:00
tamasmeszaros
324b66a467 Change to firstfit selection because DJD needs further testing. 2018-07-16 16:07:29 +02:00
tamasmeszaros
79bc01276a Disabling reverse order checks in DJD selection. It causes unacceptable running times for large number of objects. 2018-07-13 11:26:59 +02:00
tamasmeszaros
aab11f9943 Some comments 2018-07-04 14:36:14 +02:00
tamasmeszaros
4cd7148e5b Customized object function for arrange algorithm to arrange into a circle.
Now we optimize for smallest diameter of the circle around the arranged pile of items. This implies that we can forget about pack efficiency but the result will be better for the heat characteristics of the print bed.
2018-07-04 14:11:21 +02:00
tamasmeszaros
a35dfc9f16 Solution for SPE-347 (scale is not fed into the arrange alg) 2018-07-04 11:19:11 +02:00
tamasmeszaros
c6412c9156 Proper fix for SPE-324 2018-07-04 10:21:44 +02:00
tamasmeszaros
32ce1896cb Filtering invalid geometries as per: SPE-337 2018-07-03 14:58:49 +02:00
tamasmeszaros
2a2448b807 Pull build fixes from libnest2d and allow reverse order checks in DJD placement for better quality results. 2018-07-02 10:45:06 +02:00
tamasmeszaros
b9aee1617f Autocenter finally disabled. Progress indication works. 2018-06-29 17:46:21 +02:00
tamasmeszaros
f11dd98cc4 Merge remote-tracking branch 'origin/master' into feature_arrange_with_libnest2d
# Conflicts:
#	CMakeLists.txt
#	lib/Slic3r/GUI/MainFrame.pm
2018-06-28 18:50:39 +02:00
tamasmeszaros
f0b44f95e2 AppController integration 2018-06-28 18:47:18 +02:00
tamasmeszaros
dd96d014d1 Incorporating performance optimizations from libnest2d 2018-06-28 16:14:17 +02:00
Enrico Turri
8881f43162 Faster gizmos update 2018-06-21 08:37:04 +02:00