Commit Graph

113 Commits

Author SHA1 Message Date
a651f5f5d7 ModelInstance full 3D transform code moved into a single technology 2018-09-25 10:42:11 +02:00
0e1843a871 1st installment of ModelInstance 3D scale components 2018-09-24 15:54:09 +02:00
07274589a3 1st installment of ModelInstance 3D rotation components 2018-09-20 15:00:40 +02:00
3ddaccb641 Replaced CONFESS with throw std::exception in libslic3r, so now
libslic3r should be compilable without Perl.
2018-09-18 10:09:58 +02:00
fe3b92870f Merged with dev 2018-09-17 15:12:13 +02:00
9d9e4a0f7b WIP: Background processing. 2018-09-14 09:28:00 +02:00
c8f1369824 Added Vec3d ModelInstance::transform_vector() method 2018-09-06 09:16:32 +02:00
b9287d51dd Tweaks to ModelObject::center_around_origin() 2018-09-06 08:56:33 +02:00
87c5c8e7f6 Renamed GLVolume member variables to match the corresponding ModelInstance ones 2018-09-05 09:11:58 +02:00
15b1340514 Added ModelInstance::world_matrix() method and stl_transform using eigen transform 2018-09-04 14:42:14 +02:00
cfe49a20ad Removed unused methods 2018-08-28 15:19:53 +02:00
fef5a5252e Fixed conflicts after merging with master 2018-08-27 14:00:53 +02:00
66ce638439 Fixed conflicts after merging with branch eigenize 2018-08-23 15:37:38 +02:00
6829704475 d .. 2018-08-22 15:03:35 +02:00
0b5b02e002 Eradicated the Pointf class, replaced with Eigen Vector3d 2018-08-21 21:05:24 +02:00
cae0806112 Eradicated most of Pointf extras compared to pure Eigen::Vector2d. 2018-08-21 20:34:45 +02:00
cb138a20b8 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
86b67bbd42 Lay flat - rotation is now done in one go directly about the necessary axis 2018-08-21 15:40:11 +02:00
9e7634b6e8 Merged with master 2018-08-17 18:07:45 +02:00
65011f9382 Removed the x(), y(), z() Point/Pointf/Point3/Pointf3 accessors. 2018-08-17 15:53:43 +02:00
1ba64da3fe 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
4d98d32199 Use of bounding box of rotated 3D convex hull for out of print volume detection 2018-08-15 12:50:06 +02:00
f34252a27b 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
86da661097 Changing the internal representation of Point / Pointf / Point3 / Pointf3 to Eigen Matrix types, first step 2018-08-14 18:33:26 +02:00
6742735596 Better fix for minimum z of object to lay on the bed after rotations 2018-08-13 16:16:37 +02:00
66d1eb9b9d Merge remote-tracking branch 'origin/master' into feature_arrange_with_libnest2d 2018-08-02 13:16:11 +02:00
3e2aedaaf0 Merge commit '4e901a9db778660d3471a49cd95d66f85b2dbc88' 2018-08-01 13:16:30 +02:00
6cdec7ac9a Prepare integration for arbitrary shaped print beds. 2018-07-30 16:41:35 +02:00
d136d61edd linest2d ready for arbitrary shaped beds. 2018-07-30 15:16:44 +02:00
df201d65f4 Minimum z of object to lay on the bed after rotations. Fixes #1093 2018-07-30 11:38:36 +02:00
4e901a9db7 Merge remote-tracking branch 'origin/master' into feature_arrange_with_libnest2d 2018-07-27 17:46:19 +02:00
f364bd1884 New object function considering item size categories (big and small) 2018-07-27 17:31:30 +02:00
84f97e1f64 Improved libnest2d caching 2018-07-27 12:28:14 +02:00
c430f57187 Merge remote-tracking branch 'origin/master' into feature_arrange_with_libnest2d 2018-07-26 12:58:52 +02:00
629108265b Fix for SPE-421 and emergency fix for SPE-422 (needs further investigation) 2018-07-26 12:57:47 +02:00
c1d1721dae Merge branch 'scene_manipulators' of https://github.com/prusa3d/Slic3r 2018-07-20 10:31:53 +02:00
ed0f073ef3 Small objects can now fit inside free space surrounded by objects. 2018-07-20 09:01:24 +02:00
1745e5cff9 Small objects can now fit inside free space surrounded by objects. 2018-07-18 16:37:44 +02:00
d805c8ac3b Disable slicing when one object crosses the print volume boundary 2018-07-18 14:26:42 +02:00
d672a69554 Slice only objects contained into the print volume 2018-07-18 09:37:25 +02:00
f54fd553fe Merge remote-tracking branch 'origin/master' into feature_arrange_with_libnest2d 2018-07-17 16:36:59 +02:00
86ba75d692 New objectfunction that makes a proper circle shaped pile on arrange. 2018-07-17 12:04:06 +02:00
83f9813f56 Merge remote-tracking branch 'remotes/origin/opengl_to_cpp' 2018-07-17 09:37:38 +02:00
6bcd735655 Change to firstfit selection because DJD needs further testing. 2018-07-16 16:07:29 +02:00
256d44cc43 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
b26d1ef5bf Some comments 2018-07-04 14:36:14 +02:00
0b914c5ea3 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
4b9a504c04 Solution for SPE-347 (scale is not fed into the arrange alg) 2018-07-04 11:19:11 +02:00
d337fec8af Proper fix for SPE-324 2018-07-04 10:21:44 +02:00
c73f702922 Filtering invalid geometries as per: SPE-337 2018-07-03 14:58:49 +02:00