Commit graph

55 commits

Author SHA1 Message Date
daid
de60050130 Extra sanity check on the GCode layer Z view height, in rare cases layers are empty and cause problems. 2012-05-16 12:10:56 +02:00
daid
666bbbb6b0 What was I smoking? This code is much simpler this way. 2012-05-07 18:12:26 +02:00
daid
8a495554d8 Generate 1 GCode layer per draw cycle, this keeps the UI responsive during the generation of display lists with huge GCode files. 2012-05-07 13:51:28 +02:00
daid
58b4a48162 Updated gcode interperter and GCode preview. Fixed #77 2012-05-07 13:24:26 +02:00
Daid
c1dc9f4354 Some code cleanup 2012-05-03 20:11:20 +02:00
Daid
82a3aafc37 Some fixes to the preview window OpenGL code. Needed after last changes in GCode preview.
However, also changes the view height depending on the selected layer now.
2012-05-03 20:09:46 +02:00
daid
32d1ea11c2 Changed GCode preview code to be faster on layer switching. 2012-05-03 18:41:58 +02:00
daid
92c42d1afa Only show gcode buttons when GCode is loaded. Only show layer selection in GCode and mixed view. Fixed #87 2012-05-02 14:14:41 +02:00
daid
11d9022741 Update preferences to allow math expressions. Fixed #86 2012-05-01 11:39:52 +02:00
Daid
74d8329a73 Fixed positioning when using multiple extruders. Fixed GCode preview for multiple extruders. Removed multiply, depricated because of the project planner, and does not work right with multiple extruders. 2012-04-29 14:22:20 +02:00
Daid
2e6f887499 Remove other models when loading a single model again after a dual load. 2012-04-29 11:44:07 +02:00
daid
94f0597be0 Multiple extruders, not functional yet. Final GCode has wrong E values. But the idea starts to work. 2012-04-24 18:46:29 +02:00
daid
a5fdfdb55a Really fix the machine center this time 2012-04-23 14:16:23 +02:00
Daid
86af877c13 Add Z/Y/Z indicators. Fixes #70 2012-04-22 13:11:21 +02:00
Daid
57c3b1c2bb Fix for bug caused by offloading scaling to the 3D card 2012-04-18 22:51:19 +02:00
Ferdi van der Werf
9b31b8f6b3 Added icons for top toolbar of preview panel 2012-04-18 20:27:34 +02:00
Ferdi van der Werf
ba37075ad5 Added icons for 3d and top-down view 2012-04-18 19:03:31 +02:00
daid
5ffbe43329 Speed up preview when changing multiply/scale by offloading that to the 3D card, instead of recalculating vertex positions. 2012-04-18 17:48:34 +02:00
daid
c49b6c99a9 Fixing feature 32 - expressions in scale. 2012-04-18 17:06:32 +02:00
daid
5879a9e71b Do less stuff in software, and more on the video card. Could be improved even more. 2012-04-18 17:04:03 +02:00
Ferdi van der Werf
0a4fa748a8 When scale is empty, default to 1.0 for profile and preview 2012-04-18 16:08:58 +02:00
daid
57cd3cccd3 Viewmode as radio button, still needs proper icons 2012-04-18 15:14:43 +02:00
daid
3f9c5d53b3 Auto select first radio item on toolbar. 2012-04-18 14:48:05 +02:00
daid
b09f2f1837 Add radio toolbar buttons for 3D/Top view. Some minor cleanup in toggle button code. 2012-04-18 12:39:05 +02:00
daid
e92506cd5a Move "scale to max" button to scale entry, we should have room for it there now 2012-04-18 12:22:01 +02:00
daid
c195ab04bc Move toolbar button classes to an differnt file, so they are re-usable. Also cleaned up the code a bit. 2012-04-18 12:15:07 +02:00
daid
4d10199e74 Fix bugs where scale/rotate will not update on Linux 2012-04-18 11:00:41 +02:00
Ferdi van der Werf
928b359086 Reset scale to 1.0 instead of 1 2012-04-18 01:56:25 +02:00
Ferdi van der Werf
3bc4eeea89 Removed unused method 2012-04-18 01:54:04 +02:00
Ferdi van der Werf
2a3428e023 Refactored scale and rotate statictext to reset buttons 2012-04-18 01:51:34 +02:00
Ferdi van der Werf
cbadc04c0f Added multiply icons and buttons 2012-04-18 00:41:40 +02:00
Daid
10515a6125 Add NormalButton for toolbars, which has tooltip support, and proper image loading. Add icon for scale to machine size. 2012-04-18 00:08:42 +02:00
Daid
2b20654057 Fix the toolbar buttons file path to be relative to the python file instead of the current working directory 2012-04-17 23:27:11 +02:00
Ferdi van der Werf
949b6c1a1e Refactored GenBitmapToggleButton to ToolButton:
* Added ToggleButton, refactored mirrorX, mirrorY, mirrorZ, swapXZ and swapYZ to use ToggleButton.
* Removed old event handlers for mirrorX, mirrorY, mirrorZ, swapXZ and swapYZ.
2012-04-17 23:16:24 +02:00
Ferdi van der Werf
599f79db89 Moved some code for consistency, fixed swapXY button 2012-04-17 20:08:24 +02:00
Ferdi van der Werf
7a2ef03c8c Removing first separator on toolbar2, we need all the space can get 2012-04-17 15:31:25 +02:00
Ferdi van der Werf
e25d5cb300 Merge upstream, fixed conflicts, showing complete toolbar at bottom of preview 2012-04-17 15:19:15 +02:00
daid
aea30f1e0b Change default FOV to look more natural 2012-04-17 13:29:16 +02:00
daid
ddaca56c89 Added "scale up to max size" button, we really need those icons... 2012-04-17 12:08:19 +02:00
Ferdi van der Werf
20d975004c New layout icons for 3d preview pane 2012-04-16 23:06:02 +02:00
Ferdi van der Werf
e062908f0d Removed ToolTip, only popup used right now 2012-04-13 00:11:11 +02:00
Ferdi van der Werf
44c4085881 Flip renamed to Mirror, need to propagate to variables 2012-04-13 00:05:09 +02:00
Ferdi van der Werf
05e13100f7 Added popup window for OSX 2012-04-12 23:13:56 +02:00
Ferdi van der Werf
fe0ca4563c Switched flip y and z images, removed comments 2012-04-12 22:25:09 +02:00
Ferdi van der Werf
2fc8ef6a7c Experimental icons for flip x,y,z and swap xz,yz 2012-04-12 22:18:34 +02:00
daid
a79a7c066d Allow math expressions in fields. 2012-04-10 16:45:53 +02:00
Daid
251a96141e Split up some OpenGL stuff from preview3d. Added swapXZ and swapYZ for rotating on the platform 2012-04-05 22:35:52 +02:00
daid
835b7883ca Add bottom layer thickness. Fix bug with line with in 3D preview (was not calculated from layer thickness) 2012-04-05 16:50:59 +02:00
Daid
96d014b2c4 Add support and skirt/raft colors to GCode preview 2012-04-03 23:45:42 +02:00
Daid
7d13b17dd9 Small optimalization in gcode preview, saves a square root per line 2012-03-31 21:48:23 +02:00