Attached is a python script with a functioning GUI that can generate a craft, either with sideways or radial fuselages according to a function defined by the user (the function is in python).
On its use, I would prefer to have credit for the script. Feel free to modify or build upon it, though. And don't spam low-effort builds with it. Be creative, experiment, and don't just upload whatever comes out of the script. The radial mode I guess is also useful for people building hollow fuselages.
To run the script, having python 3 or something is probably a good idea. Then run ui.pyw
and you should see the GUI in front of you. There is sample code in both of the modes, so all you should need is there. And just remember: python trig functions use radians. You have no idea how much that hurt me during development.
Craft Generator Script
Dev WNP78
6.7 years ago
@TheReturningHound there should be tabs for linear and round.
Hi, I'm messing around with the script right now, and I can get the linear one to work. However, the "roundUI" doesn't work. To be precise, when I open the file, it just open the GUI for the Linear one. Is there a fix for this?
@Looney no problem, if you managed that I'd love to see it!
Working on a neural network version to have Deepdream craft, could I upload it when it's done?
@WNP78 So does Qpython3 work with this?
How does it feel to be the newest Dev?
@Nerfaddict your version of python doesn't appear to
tkinter
installed correctly - see this post about that.@WNP78 all I get is this
/data/user/0/org.qpython.qpy3/files/bin/qpython-android5.sh "/storage/emulated/0/qpython/scripts3/.lasttmp.py" && exit
5.sh "/storage/emulated/0/qpython/scripts3/.lasttmp.py" && exit <
Traceback (most recent call last):
File "/storage/emulated/0/qpython/scripts3/.last_tmp.py", line 2, in <module>
from uiBase import GeneratorUI
File "/storage/emulated/0/qpython/scripts3/uiBase.py", line 1, in <module>
from tkinter import *
File "/data/user/0/org.qpython.qpy3/files/lib/python32.zip/tkinter/init.py", line 39, in <module>
ImportError: No module named _tkinter
1|j3xltebmc:/ $
@WingMan yes. The text box in the window defines a python function allowing you to enter any kind of formula/expression you want. For instance using sin or cos, squaring, etc.
a shape other than the sine wave i thought i could use equations to make unique shapes, also when you generate where are these "simpleplane files"
@WNP78
@WingMan other shapes?
how do i make other shapes @WNP78
I have to say its a blast reading your responses to these stupid questions WNP!!! If I wasn't busy writing this i would literally be ROTFLMAO!!! :-D
@WNP78
@18039167610 what links can you open?
“Use radians”
Damn you went to high school!
😭@WNP78
@The1Big1Finger1111 nope.
Can i use this on iOS
@WNP78 I am clueless as of how to use this past craft generator how do i change the shape and size and ect??
@WNP78 how do you use python, I need a tutorial and I have already seen some videos, but it doesn't help
lolrip @sexylips35
@WNP78 I read your previous comment and i can't understand...
@sexylips35 no, you should read my previous comment.
@WNP78 Should i extract the script?
Plus, to create anything good looking, a decent grasp on trigonometric, exponential or other mathematical functions as well as symmetry and being able to code python. I'd be wasting my time.