Marlin Firmware Simulator

  Рет қаралды 1,297

ZeKitez

ZeKitez

Күн бұрын

3D Printer.
The Marlin firmware comes with a simulator. Compile it as a simulated board and the then generated execuatble is a complete simulator / simulated 3D printer. On www.zekitez.com... there is some help on how to build the simulator for Linux and Windows.
Plus how to create an SD card image fs.img which is automatically loaded by the simulator.
Not in the video but you can try G and M codes by entering them in the edit box (at the bottom of the window) below the terminal scroll box.
To use TFT_CLASSIC_UI or TFT_COLOR_UI use the bugfix-2.1.x version ( github.com/Mar... and push the green ""Code" button and then "Download zip")..
Watch also the Benchy speed run with the simulator • 3D Benchy printed in 0...
Video contents:
00:08 "Build help" for Visual Studio Code in native.ini
00:47 platform.ini
00:52 Configuration.h
01:34 Auto build
01:55 SD card image fs.img
02:32 Err: EEPROM Version
03:14 SimRap 1.4
04:12 Signal analyser
05:42 Print XYZ_Cube
05:58 Realtime or Max speed
07:01 Zoom buildplate
Sound: Flames by Dan Henig (KZbin Royalty Free Music)

Пікірлер: 14
@miprova6179
@miprova6179 Жыл бұрын
😀👍
@SamuelFonseca393
@SamuelFonseca393 Жыл бұрын
Serve pra criar projetos e depois usar em uma impressora 3D real, é isso?
@zekitez4310
@zekitez4310 Жыл бұрын
También puede usarlo para obtener información sobre Marlin y Gcodes, para probar sus cambios en la configuración de Marlin *.h (limitado: no todo es compatible), incluso cambiar el código de Marlin, o lo que desee. Acabo de modificar a Marlin para que haga la prueba de velocidad de Benchy con el simulador, consulta kzbin.info/www/bejne/j6jGoGRvl86fjNU ...
@zekitez4310
@zekitez4310 Жыл бұрын
kzbin.info/www/bejne/mZ6ph4SQjZlni68
@zekitez4310
@zekitez4310 Жыл бұрын
kzbin.info/www/bejne/mZ6ph4SQjZlni68
@haroldv730
@haroldv730 Жыл бұрын
Promo'SM 💞
@usej76
@usej76 4 ай бұрын
Please help me! I'm getting a lot of errors while compiling, this is the terminal: PS C:\Users\User1\Documents\MarlinSimulatorFW\Marlin-bugfix-2.1.x> platformio run --silent -e simulator_windows In file included from Marlin\src\lcd/../libs/buzzer.h:28, from Marlin\src\lcd/marlinui.h:27, from Marlin\src\MarlinCore.cpp:64: Marlin\src\lcd/../libs/circularqueue.h:54:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 54 | CircularQueue() { | ^ Marlin\src\lcd/../libs/circularqueue.h:54:24: note: remove the '< >' (And a lot of similar warnings) In file included from .pio\libdeps\simulator_windows\MarlinSimUI\src\MarlinSimulator\visualisation.h:18, from .pio\libdeps\simulator_windows\MarlinSimUI\src\MarlinSimulator\application.h:11, from .pio\libdeps\simulator_windows\MarlinSimUI\src\MarlinSimulator\application.cpp:6: C:/msys64/mingw64/include/glm/gtx/euler_angles.hpp:22:9: error: #error "GLM: GLM_GTX_euler_angles is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it." 22 | # error "GLM: GLM_GTX_euler_angles is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it." | ^~~~~ In file included from C:/msys64/mingw64/include/glm/gtx/euler_angles.inl:3, from C:/msys64/mingw64/include/glm/gtx/euler_angles.hpp:333: C:/msys64/mingw64/include/glm/gtx/compatibility.hpp:20:9: error: #error "GLM: GLM_GTX_compatibility is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it." 20 | # error "GLM: GLM_GTX_compatibility is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it." | ^~~~~ *** [.pio\build\simulator_windows\debug\lib124\MarlinSimUI\MarlinSimulator\application.o] Error 1 In file included from .pio\libdeps\simulator_windows\MarlinSimUI\src\MarlinSimulator\visualisation.h:18, from .pio\libdeps\simulator_windows\MarlinSimUI\src\MarlinSimulator\application.h:11, from .pio\libdeps\simulator_windows\MarlinSimUI\src\MarlinSimulator\main.cpp:4: C:/msys64/mingw64/include/glm/gtx/euler_angles.hpp:22:9: error: #error "GLM: GLM_GTX_euler_angles is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it." 22 | # error "GLM: GLM_GTX_euler_angles is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it." | ^~~~~ In file included from C:/msys64/mingw64/include/glm/gtx/euler_angles.inl:3, from C:/msys64/mingw64/include/glm/gtx/euler_angles.hpp:333: C:/msys64/mingw64/include/glm/gtx/compatibility.hpp:20:9: error: #error "GLM: GLM_GTX_compatibility is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it." 20 | # error "GLM: GLM_GTX_compatibility is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it." | ^~~~~ *** [.pio\build\simulator_windows\debug\lib124\MarlinSimUI\MarlinSimulator\main.o] Error 1 ================================================================================================== [FAILED] Took 96.13 seconds ================================================================================================== Environment Status Duration ----------------- -------- ------------ simulator_windows FAILED 00:01:36.129 ============================================================================================= 1 failed, 0 succeeded in 00:01:36.129 ============================================================================================= PS C:\Users\User1\Documents\MarlinSimulatorFW\Marlin-bugfix-2.1.x> echo "done" >"C:\Users\User1\AppData\Local\Temp\ipc" PS C:\Users\User1\Documents\MarlinSimulatorFW\Marlin-bugfix-2.1.x> C:\msys64\mingw64\bin
@zekitez4310
@zekitez4310 4 ай бұрын
Did you try the configuration.h and configuration_adv.h as published on www.zekitez.com/marlin/simulator.html ? I assume the problems are in features disabled or enabled in these configuration files. It might be a good idea to compare the files from my site with your files with WinMerge. In addition I see you use a bugfix version and I did not. You could send me your files but currently I have only a Linux laptop with me so it may work on Linux but not on your windows. It may take several days before I have the time....
@usej76
@usej76 4 ай бұрын
The simulator example configuration in bugfix-2.1.x was the same as you mentioned, also i followed everything that you said in your website, so i don't actually know what is the problem. (I also tested the same marlin version that was in the video, it still fails.)
@usej76
@usej76 4 ай бұрын
Using Marlin 2.1.2.1 with your configuration files: PS C:\Users\user1\Documents\MarlinSimulatorFW\Marlin-2.1.2.1> platformio run --silent -e simulator_windows In file included from Marlin\src\feature\password\../../lcd/../libs/buzzer.h:28, from Marlin\src\feature\password\../../lcd/marlinui.h:27, from Marlin\src\feature\password\password.h:24, from Marlin\src\feature\password\password.cpp:27: Marlin\src\feature\password\../../lcd/../libs/circularqueue.h:54:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 54 | CircularQueue() { | ^ Marlin\src\feature\password\../../lcd/../libs/circularqueue.h:54:24: note: remove the '< >' In file included from Marlin\src\lcd/../libs/buzzer.h:28, from Marlin\src\lcd/marlinui.h:27, from Marlin\src\MarlinCore.cpp:61: Marlin\src\lcd/../libs/circularqueue.h:54:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 54 | CircularQueue() { | ^ Marlin\src\lcd/../libs/circularqueue.h:54:24: note: remove the '< >' In file included from Marlin\src\feature\../lcd/../libs/buzzer.h:28, from Marlin\src\feature\../lcd/marlinui.h:27, from Marlin\src\feature\cancel_object.cpp:29: Marlin\src\feature\../lcd/../libs/circularqueue.h:54:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 54 | CircularQueue() { | ^ Marlin\src\feature\../lcd/../libs/circularqueue.h:54:24: note: remove the '< >' In file included from Marlin\src\feature\../lcd/../libs/buzzer.h:28, from Marlin\src\feature\../lcd/marlinui.h:27, from Marlin\src\feature\pause.cpp:67: Marlin\src\feature\../lcd/../libs/circularqueue.h:54:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 54 | CircularQueue() { | ^ Marlin\src\feature\../lcd/../libs/circularqueue.h:54:24: note: remove the '< >' (And again a lot of warnings like these) from Marlin\src\sd\../lcd/marlinui.h:27, from Marlin\src\sd\cardreader.cpp:33: Marlin\src\sd\../lcd/../libs/circularqueue.h:54:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 54 | CircularQueue() { | ^ Marlin\src\sd\../lcd/../libs/circularqueue.h:54:24: note: remove the '< >' In file included from .pio\libdeps\simulator_windows\MarlinSimUI\src\MarlinSimulator\visualisation.h:18, from .pio\libdeps\simulator_windows\MarlinSimUI\src\MarlinSimulator\application.h:11, from .pio\libdeps\simulator_windows\MarlinSimUI\src\MarlinSimulator\application.cpp:6: C:/msys64/mingw64/include/glm/gtx/euler_angles.hpp:22:9: error: #error "GLM: GLM_GTX_euler_angles is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it." 22 | # error "GLM: GLM_GTX_euler_angles is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it." | ^~~~~ In file included from C:/msys64/mingw64/include/glm/gtx/euler_angles.inl:3, from C:/msys64/mingw64/include/glm/gtx/euler_angles.hpp:333: C:/msys64/mingw64/include/glm/gtx/compatibility.hpp:20:9: error: #error "GLM: GLM_GTX_compatibility is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it." 20 | # error "GLM: GLM_GTX_compatibility is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it." | ^~~~~ *** [.pio\build\simulator_windows\debug\lib939\MarlinSimUI\MarlinSimulator\application.o] Error 1 In file included from .pio\libdeps\simulator_windows\MarlinSimUI\src\MarlinSimulator\visualisation.h:18, from .pio\libdeps\simulator_windows\MarlinSimUI\src\MarlinSimulator\application.h:11, from .pio\libdeps\simulator_windows\MarlinSimUI\src\MarlinSimulator\main.cpp:4: C:/msys64/mingw64/include/glm/gtx/euler_angles.hpp:22:9: error: #error "GLM: GLM_GTX_euler_angles is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it." 22 | # error "GLM: GLM_GTX_euler_angles is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it." | ^~~~~ In file included from C:/msys64/mingw64/include/glm/gtx/euler_angles.inl:3, from C:/msys64/mingw64/include/glm/gtx/euler_angles.hpp:333: C:/msys64/mingw64/include/glm/gtx/compatibility.hpp:20:9: error: #error "GLM: GLM_GTX_compatibility is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it." 20 | # error "GLM: GLM_GTX_compatibility is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it." | ^~~~~ *** [.pio\build\simulator_windows\debug\lib939\MarlinSimUI\MarlinSimulator\main.o] Error 1 ================================================================================================= [FAILED] Took 103.84 seconds ================================================================================================= Environment Status Duration ----------------- -------- ------------ simulator_windows FAILED 00:01:43.838 ============================================================================================= 1 failed, 0 succeeded in 00:01:43.838 ============================================================================================= PS C:\Users\user1\Documents\MarlinSimulatorFW\Marlin-2.1.2.1> echo "done" >"C:\Users\user1\AppData\Local\Temp\ipc" PS C:\Users\user1\Documents\MarlinSimulatorFW\Marlin-2.1.2.1>
@zekitez4310
@zekitez4310 4 ай бұрын
Currently I am traveling and I have only access to a Linux laptop... Not Windows. That makes helping difficult if not impossible. I assume its in the MSYS2 environment, the pacman command failed partially or the paths. See native.ini . I had a problem, on Linux, with /usr/include/glm/glm.hpp but it disappeared after an update to the latest version of VSC (1.89.1) and PlatformIO (3.3.3). I suggest you mail me at gmail because KZbin is not the platform for exchanging information.
@usej76
@usej76 4 ай бұрын
Thank you for helping me, but i already fixed it by adding a command to native.ini
Marlin firmware explained: What it is and how to use it
10:32
Teaching Tech
Рет қаралды 105 М.
MARLIN - Essential Guide To Start Editing Your Own FIRMWARE
23:07
Шок. Никокадо Авокадо похудел на 110 кг
00:44
Остановили аттракцион из-за дочки!
00:42
Victoria Portfolio
Рет қаралды 2,7 МЛН
WORLD BEST MAGIC SECRETS
00:50
MasomkaMagic
Рет қаралды 32 МЛН
My daughter is creative when it comes to eating food #funny #comedy #cute #baby#smart girl
00:17
I run untested, viewer-submitted code on my 500-LED christmas tree.
45:17
Updated Marlin firmware setup guide - VS Code and Auto Build Marlin
14:55
Dear Game Developers, Stop Messing This Up!
22:19
Jonas Tyroller
Рет қаралды 712 М.
Marlin Firmware - VScode PlatformIO Install - Build Basics
27:51
Ed's 3d Tech
Рет қаралды 18 М.
3D Printer Problem: do you know How to Fix Z-Wobble?
7:28
Geek Detour
Рет қаралды 1,3 МЛН
Can Windows XP Run Minecraft 1 21?
44:40
ChrisPro
Рет қаралды 629 М.
Marlin Custom Menus - Make Tool Swapping Easier - Chris's Basement
23:41
Why Are Open Source Alternatives So Bad?
13:06
Eric Murphy
Рет қаралды 635 М.
Шок. Никокадо Авокадо похудел на 110 кг
00:44