Missed this one, -not very active in here those days.Īnyway, I'll think most people do not know how good your "tools" is for 3 D printing, esp. Not sure if that entirely makes sense or if anyone can help. Any idea if it's possible to launch OpenScad outside of the AppImage sandbox so that it can run normally? Alternatively, is it possible for my plugin to include the needed libraries for Linux?Īgain, this is a complicated problem. Openscad: /tmp/.mount_curaUfAqOM/libstdc++.so.6: version `CXXABI_1.3.13' not found (required by /lib/x86_64-linux-gnu/libQt5Core.so.5)Īgain, it appears that OpenScad is being launched inside the Cura AppImage sandbox and that's the source of the problem - since the AppImage environment doesn't have the correct Qt (and other) libraries, OpenScad fails. Openscad: /tmp/.mount_curaUfAqOM/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /lib/x86_64-linux-gnu/libQt5Core.so.5) Openscad: /tmp/.mount_curaUfAqOM/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /lib/x86_64-linux-gnu/libQt5Network.so.5) Openscad: /tmp/.mount_curaUfAqOM/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /lib/x86_64-linux-gnu/libQt5Widgets.so.5) Openscad: /tmp/.mount_curaUfAqOM/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /lib/libqscintilla2_qt5.so.15) Openscad: /tmp/.mount_curaUfAqOM/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /lib/x86_64-linux-gnu/libboost_regex.so.1.74.0) Openscad: /tmp/.mount_curaUfAqOM/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /lib/x86_64-linux-gnu/libboost_program_options.so.1.74.0) Here's the command I'm using:ĮrrorMessage = n('openscad', capture_output=True, text=True, shell=False).stderr.strip()Īnd here are the error messages that result: The plugin simply creates a menu item that allows me to launch OpenScad and report any error messages. I've created a test plugin that does nothing other than attempt to launch OpenScad, so that I can rule out everything else. I would hope that, by launching OpenScad as a separate process, there wouldn't be any dependencies between it and Cura, but I'm guessing that OpenScad is stuck running within Cura's AppImage environment. OpenScad seems to use Qt 5, while Cura 5.1 now uses Qt 6. Under Cura 5.1, OpenScad fails with messages (see below) that suggest to me that it can't find the correct version of Qt it needs to run. Under Cura 4.13.1, OpenScad runs fine and generates STLs. My plugin runs OpenScad using the n() function. OpenScad runs just fine when I launch it from a normal terminal. I suspect this is the source of the problem, although I'm not positive. I use Linux (Xubuntu), where Cura is only available as an AppImage. This worked fine for me in Cura 4.13.1, but not now with Cura 5.1. I'm developing a plugin that relies on being able to launch OpenScad to automatically generate an STL file. I'll try to lay out the problem as clearly as possible. So, let's start with the basic shape for our box.I have a rather involved problem that is entirely beyond my skill to figure out. If you're just interested in the exact OpenSCAD file itself, forward to the last step and download the final step file. It should be fairly simple to turn it in to a fully rounded box or add a few more non-rounded sides to it. Understanding the steps will probably help you to make your own custom design along the way. This instructable shows you how to develop this box step by step. The OpenSCAD language is simple and concise, it took me half a day to get familiar with the basic concepts and another half day to turn our design into a fully parameterized model. So finally, we came to explore OpenSCAD, a free & open source tool which allows you create STL files for 3D printing and 3D models in general programmatically. We initially used 123D for the creation of the STL files for 3D printing, but found this solution way to inflexible ( here's the full reasoning). At hybrislabs, we've explored IoT quite a lot and at some point our prototypes became so small and integrated, that we had the need to create custom boxes for these.
0 Comments
Leave a Reply. |