Open davibe opened 5 years ago
What are your thoughts on the JavaScript code editor on mobile? Do you think it is required?
The code editor of openjscad is both javascript and scad. I think it is required yes. I think with phablet and ipads it's an interesting option to be able to hack a few idea while you're traveling.
I forked openjscad and started customizing it. The main proble i faced is that ACE is not good on mobile. I was trying to integrate MONACO editor (the one from vscode) but it's not very straightforward. Them my holidays ended :)
I hope to get back to this at some point
Hi @davibe ! You came to similar conclusions I think :) For V2 of Jscad I tried out
The other thing that needs a bit of work is the camera handling (rendering view) for panning and rotating which should be based on multitouch. But it's probably not required at first. The rest is just layout.
the V2 viewer is build from the ground up to be more mobile friendly, (and the general UI as well ;)
CodeMirror does seem to work on mobile.
Yeah. There’s a lot of promise out there...
https://en.m.wikipedia.org/wiki/Comparison_of_JavaScript-based_source_code_editors
Good news everyone, I started a fork for mobile support (responsiveness) but in the master branch (v1). Here is the link to the branch: https://github.com/GDur/OpenJSCAD.org/tree/responsives-web Then I read that one should use the V2 branch but I can't get it to run on my computer. Some problem with node-gyp and the "rebuild" process. Can anybody here tell me where I can get help for this problem? I would really like to add a responsive feature. Thank you :) (I am using Windows 10)
@GDur can you try the latest V2 branch? i think you will have better luck now. here's some information on how to get started.
https://openjscad.org/dokuwiki/doku.php?id=early_v2
Also, if you find any issues in V2 then please open a new issue.
FYI, multi-touch gestures are now supported in V2. Maybe it's time to try V2? :)
www.openjscad.xyz
@davibe If satisfied then please close this issue.
I noticed that openjscad works great on my iPhone XS Max. It's only the UI that is not mobile friendly.
I think i want to try to modify one of the examples to make it more so. Maybe at some point I/we could create a mobile app that let's you save/list/export models. Could be wrapped with ReactNative so that it's both for iOS and Android.
If anyone is interested, has already done some work, wants to give some guidance, I hope we can discuss it here. Thank you