Commit Graph

215 Commits

Author SHA1 Message Date
Enrico Turri
c78432f355 Added perl callback for gizmo flatten 2018-09-10 14:10:08 +02:00
Enrico Turri
853341cf58 Merge branch 'master' of https://github.com/prusa3d/Slic3r into dev 2018-09-07 10:32:39 +02:00
Enrico Turri
296365b07c Fixed rendering of endcaps on open toolpaths 2018-09-07 10:30:13 +02:00
Enrico Turri
d38157e64e Added select by part tool to toolbar 2018-09-06 16:10:31 +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
affd4e0cbc Cached world matrix of GLVolume to speed up rendering 2018-08-28 16:08:43 +02:00
YuSanka
fddd0f566f Merge branch 'dev' of https://github.com/prusa3d/Slic3r into dev 2018-08-24 16:28:34 +02:00
Enrico Turri
b940c36a05 Removed scale and rotate actions from toolbar 2018-08-24 15:08:19 +02:00
YuSanka
a19d658cd3 Merge remote-tracking branch 'origin/new_main_page_ui' into dev 2018-08-24 15:01:26 +02:00
Enrico Turri
da5e97d461 Better fix for out of print volume detection 2018-08-24 10:03:34 +02:00
Enrico Turri
0088c82cc4 Fixed out of print volume detection 2018-08-24 08:56: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
b9adbf35cb Replaced Point3 with Eigen Vec3crd, removed Point3 from the Perl binding. 2018-08-21 22:14:47 +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
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
e67b07b690 Merge branch 'convex_hull' of https://github.com/prusa3d/Slic3r into gizmos_3d 2018-08-16 13:54:56 +02:00
Enrico Turri
96314d4296 Detection of out of print volume disabled for wipe tower of unknown size 2018-08-16 13:42:35 +02:00
Enrico Turri
ef61567d0b GLVolume use a pointer to ModelVolume's convex hull instead of a copy of it 2018-08-16 13:35:56 +02:00
Enrico Turri
bdefe2d635 Merge branch 'opengl_to_cpp' of https://github.com/prusa3d/Slic3r into gizmos_3d 2018-08-15 14:39:40 +02:00
bubnikv
dcd0d3f6aa Changing the internal representation of Point / Pointf / Point3 / Pointf3 to Eigen Matrix types:
Changed the Point3 / Pointf3 to derive from the Eigen Vec3crd / Vec3d.
Replaced the Point::concide_with() method calls with == operator.
Reduced some compiler warnings.
2018-08-15 13:51:40 +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
1b12ff4eac Code cleanup 2018-08-13 09:23:10 +02:00
Enrico Turri
1f92ab12bc Merge branch 'master' of https://github.com/prusa3d/Slic3r into opengl_to_cpp 2018-08-13 08:51:58 +02:00
bubnikv
430845c9d5 Minor tweaks of UI texts,
optimization of the wipe tower invalidation,
show collisions of the wipe tower with known dimensions.
2018-08-06 16:31:51 +02:00
Lukas Matena
a03474491e Changed color of preliminary wipe tower block 2018-08-03 15:36:47 +02:00
Lukas Matena
9ff7da892d Merge branch 'lm_wipe_tower_block_improvements' into lm_wipe_tower_block_improvements_merged 2018-08-02 13:29:39 +02:00
Lukas Matena
1226a480fd Wipe tower postprocessing, wipe tower block on 3D plate improved.
- it renders red with one egde as indeterminate, the front edge is where the wipe tower will start
- changing width changes depth of the block (as requested)
- the block shows the brim of the wipe tower
- after slicing, the block is rendered in usual dark green and takes the exact shape of the tower (also with brim)
- moving or rotationg the block after slicing does not invalidate the wipe tower (and hence the exact block dimensions are preserved)
- changing anything that invalidates the wipe tower reverts the block back to the "indeterminate" shape
- the block is not shown after slicing, if the wipe tower is not actually generated (printing single color object with the wipe tower enabled)

This required changes in the wipe tower generator, which now generates the tower
at origin with no rotation. Resulting gcode is postprocessed and transformed during
gcode export. This means the wipe tower needs not be invalidated when it is moved or rotated.
2018-08-02 11:04:04 +02:00
YuSanka
1ea1b1b241 Scale and rotation from scene to value updates correctly 2018-07-29 21:42:57 +02:00
Enrico Turri
1af0a74118 Fixed conflict after merge with master 2018-07-27 12:15:35 +02:00
Enrico Turri
1a7c625280 3D scene toolbar actions 2018-07-27 12:08:33 +02:00
Enrico Turri
75f8d94e9b Reddish background when detected out of print volume toolpaths 2018-07-27 09:38:39 +02:00
Enrico Turri
e1c5eabfee Out of print volume detection for extrusion toolpaths only 2018-07-27 08:49:58 +02:00
Enrico Turri
233b55040d Fixed color of all toolpaths when detected as out of print bed volume 2018-07-26 13:12:09 +02:00
Enrico Turri
d27a7f9c5f Out of print volume detection for toolpaths 2018-07-24 13:39:17 +02:00
Enrico Turri
59904bc16c Merge branch 'master' of https://github.com/prusa3d/Slic3r into opengl_to_cpp 2018-07-24 11:20:02 +02:00
Enrico Turri
356d161ca1 1st installment of 3D scene toolbar 2018-07-23 13:49:48 +02:00
Enrico Turri
82ef5afcf0 Fixed status of Slice now and Export G-Code buttons after object import 2018-07-23 10:16:56 +02:00
Enrico Turri
15bff4e02c Warning and legend textures moved from _3DScene class to GLCanvas3D class 2018-07-19 13:18:19 +02:00
Enrico Turri
a22e780791 Code cleanup 2018-07-18 15:52:20 +02:00
Enrico Turri
7f0945ad20 Merge branch 'scene_manipulators' of https://github.com/prusa3d/Slic3r into scene_manipulators 2018-07-18 15:07:56 +02:00
Enrico Turri
a340778454 Unified opengl textures 2018-07-18 15:07:52 +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
69c5c18c07 Merge with master + resolved conflicts 2018-07-17 10:44:23 +02:00