Commit Graph

127 Commits

Author SHA1 Message Date
4c319150f1 1st installment of ModelInstance 3D scale components 2018-09-24 15:54:09 +02:00
f1454578f4 1st installment of ModelInstance 3D rotation components 2018-09-20 15:00:40 +02:00
51e650f6bf Merged with dev 2018-09-17 15:12:13 +02:00
c78432f355 Added perl callback for gizmo flatten 2018-09-10 14:10:08 +02:00
d38157e64e Added select by part tool to toolbar 2018-09-06 16:10:31 +02:00
1ccfbd9018 Renamed GLVolume member variables to match the corresponding ModelInstance ones 2018-09-05 09:11:58 +02:00
b940c36a05 Removed scale and rotate actions from toolbar 2018-08-24 15:08:19 +02:00
d837ac38dc Fixed conflicts after merging with branch eigenize 2018-08-23 15:37:38 +02:00
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
5ebf7f093d Merged with master 2018-08-17 18:07:45 +02:00
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
bdefe2d635 Merge branch 'opengl_to_cpp' of https://github.com/prusa3d/Slic3r into gizmos_3d 2018-08-15 14:39:40 +02:00
478630e5a7 Use of bounding box of rotated 3D convex hull for out of print volume detection 2018-08-15 12:50:06 +02:00
1f92ab12bc Merge branch 'master' of https://github.com/prusa3d/Slic3r into opengl_to_cpp 2018-08-13 08:51:58 +02:00
9ff7da892d Merge branch 'lm_wipe_tower_block_improvements' into lm_wipe_tower_block_improvements_merged 2018-08-02 13:29:39 +02:00
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
1af0a74118 Fixed conflict after merge with master 2018-07-27 12:15:35 +02:00
1a7c625280 3D scene toolbar actions 2018-07-27 12:08:33 +02:00
75f8d94e9b Reddish background when detected out of print volume toolpaths 2018-07-27 09:38:39 +02:00
d27a7f9c5f Out of print volume detection for toolpaths 2018-07-24 13:39:17 +02:00
59904bc16c Merge branch 'master' of https://github.com/prusa3d/Slic3r into opengl_to_cpp 2018-07-24 11:20:02 +02:00
356d161ca1 1st installment of 3D scene toolbar 2018-07-23 13:49:48 +02:00
82ef5afcf0 Fixed status of Slice now and Export G-Code buttons after object import 2018-07-23 10:16:56 +02:00
7f0945ad20 Merge branch 'scene_manipulators' of https://github.com/prusa3d/Slic3r into scene_manipulators 2018-07-18 15:07:56 +02:00
a340778454 Unified opengl textures 2018-07-18 15:07:52 +02:00
4dd9712c17 Disable slicing when one object crosses the print volume boundary 2018-07-18 14:26:42 +02:00
7b49a0b9cd Merge branch 'master' of https://github.com/prusa3d/Slic3r into opengl_to_cpp 2018-06-27 13:52:57 +02:00
c2256b2faa 3rd attempt to fix opengl on ubuntu 2018-06-27 12:36:49 +02:00
537033462d 1st attempt to fix opengl on ubuntu 2018-06-27 11:31:11 +02:00
dd392198f8 Merge branch 'master' of https://github.com/prusa3d/Slic3r into opengl_to_cpp 2018-06-25 15:24:58 +02:00
fab492e951 Fix of interaction between opengl contexts and main page notebook 2018-06-25 15:17:13 +02:00
afc4bbb680 Merge branch 'master' of https://github.com/prusa3d/Slic3r into opengl_to_cpp 2018-06-22 16:13:51 +02:00
13d59bca12 Forced render of 3D scene when changing tab in plater's notebook 2018-06-22 16:06:37 +02:00
f0e09fc4b4 Geometry info updated while using gizmos 2018-06-22 11:19:38 +02:00
8881f43162 Faster gizmos update 2018-06-21 08:37:04 +02:00
1017bf7355 Object updated by rotate gizmo 2018-06-19 09:46:26 +02:00
972fb8e29e Object updated by scale gizmo 2018-06-18 15:07:17 +02:00
713f1f71db 1st installment of gizmos 2018-06-13 09:12:16 +02:00
5600f207b3 Attempt to workaround bug in wxWidgets IsShownOnScreen() method 2018-06-12 09:18:25 +02:00
af7f07ae4c Use a single gl context created in c++ 2018-06-11 15:49:04 +02:00
ed5982ec71 Removed 3DScene volumes from perl 2018-06-11 13:48:02 +02:00
a1e5f5b234 class 3D on_select callback moved to c++ 2018-06-08 11:37:07 +02:00
76861888f7 reload_scene method of 3D class moved to c++ 2018-06-08 09:40:00 +02:00
f2ab6a33ad class 3D callbacks moved to c++ 2018-06-07 11:18:28 +02:00
230c9bcb34 Key down and char event handlers of class 3D moved to c++ 2018-06-07 09:22:19 +02:00
966fd0190e 3DScene member variables moved to c++ 2018-06-06 12:36:52 +02:00
a065413dc0 3DScene load_object method moved to c++ 2018-06-06 10:16:58 +02:00
9ec27825b4 Generation of preview paths moved to c++ 2018-06-05 14:09:36 +02:00
21e9aae197 Generation of gcode paths moved to c++ 2018-06-05 10:56:55 +02:00
3a448b616a Another set of 3DScene methods moved to c++ 2018-06-04 15:42:34 +02:00