Commit Graph

77 Commits (4d6bc5efae52c6b5055255244d9506a4fe9cc94b)

Author SHA1 Message Date
Daid 3a5faefb43 Some minor updates to fix some screen refresh issues. 2012-09-02 14:26:39 +02:00
daid 0951b35a44 these variable where not always initialised before use. 2012-08-31 14:51:06 +02:00
daid 1229a8b1b9 Fix X-Ray view after the machine bottom update. 2012-08-31 11:45:19 +02:00
daid c18fb0df4c Scale the model down if it is larger then the build area after loading. 2012-08-30 15:07:35 +02:00
daid 10a828d004 Replace the line grid with a checkerboard pattern, this looks better and less like RepG 2012-08-30 15:01:05 +02:00
daid 1d253f62f0 Zoom into the model when a model is loaded. 2012-08-30 12:27:19 +02:00
daid 16589b733d Fix the outline when the scale is no 1.0 2012-08-02 11:17:25 +02:00
daid 4a1fd13ff5 Added border view option for 3D view. 2012-07-31 16:39:31 +02:00
daid b65977a595 Fix X-Ray view. Broken after Numpy update. 2012-07-31 16:12:02 +02:00
daid 547fa84729 Add model colors for multiple extruders. 2012-07-31 11:55:21 +02:00
daid 50ff10bd6d Make 3D model colour configurable. 2012-07-30 12:26:30 +02:00
daid 8069d0633f Increase performance and decrease memory usage by using numpy library for 3D models. Saves more then 50% memory, and is about 30% faster when loading models. I think more performance can be gained with this library. 2012-07-26 16:30:43 +02:00
James Walker 57438e7b50 Fix typo in description of ScaleToFit button 2012-07-13 23:27:57 +10:00
daid 5522a9a588 Added yellow popup to reset scale/mirror/rotate on a new model load. Popup is none-intrusive and hides itself after 5 seconds. Fixed #156 2012-07-09 12:01:18 +02:00
daid 750ed6de67 Only draw layers up to the point where it takes less then 100ms to draw them. To avoid severe slowdown on slow machines. 2012-07-06 14:59:03 +02:00
daid ad48bc6484 Remove use of logfile to store model errors. Added print time and filament usage to comments in start code of resulting GCode file. 2012-07-05 14:12:13 +02:00
Daid bcabc0d96a Fixed #135 - Update preview window controls when loading a new profile. 2012-06-22 06:53:18 +02:00
Daid 31cbf5e1a8 Fix for double retraction, fix for errorlist in model not showing correctly. 2012-06-21 14:18:31 +02:00
daid a9ed300675 Fixed a few issues with a frozen executable. Slicing now works, and images work. Will need more testing. 2012-05-31 18:37:59 +02:00
daid eb44963079 Use a function to generate the "_export.xxx" filename 2012-05-29 13:42:33 +02:00
Daid 4785ad527a Ugly workaround for 3D preview not always refreshing on some ATI cards. 2012-05-18 10:26:13 +02:00
Daid d03d4ac400 Abstract the 3D model related functions into a seperate class, and remove some duplicate code from the project planner and the 3D preview. 2012-05-18 10:10:51 +02:00
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