openjscad-aurora-webapp
Описание
Версия OpenJSCAD для 3d моделирования, которая работает в браузере Аврора 4
Языки
JavaScript
- Makefile
- Perl
- HTML
- CSS
Версия OpenJSCAD для 3D моделирования, которая работает на устройствах под управлением Аврора 4. Достаточно скачать и распаковать репозиторий и запустить phone.html. В ближайшее время упакую webview-приложение для Аврора 4.
Язык - OpenSCAD
Из оригинальной документации:
OpenJSCAD@Android
This is just a minimalistic mod of the original OpenJSCAD
to give it a try on my android devices.
Preparations
Download the ZIP file from GitHub or clone this fork % git clone https://github.com/miguelitoelgrande/OpenJSCAD.org cd to the OpenJSCAD.org local copy. You may remove the "OpenJSCAD.org.wiki" and "doc" folders and also most of the "examples" if you really want to reduce the footprint to less than 2MB.
Instructions for Mobile Device use as a Local Installation:
Copy the OpenJSCAD.org folder to the internal Android SD Storage. Rename the folder, it should now be found as /sdcard/OpenJSCAD with a file browser on your device. Use FireFox on Android, preferrably with the "Fullscreen" add-on. Type the URL: file:///sdcard/OpenJSCAD/phone.html DONE.Create an icon on the launcher as you like.
Server-sided installation
Almost the same as above. Copy the folder to your webspace. Point your device to http://yourspace/OpenJSCAD/phone.html DONE.
DEMO
Point your device to GitHub https://rawgithub.com/miguelitoelgrande/OpenJSCAD.org/master/phone.htmlAdditional functionality in this mod
- One Finger touch gesture on the left half of the screen will rotate the 3D view.
- Two finger pinch gestures (careful!) will zoom.
- Three fingers will pan the view.
- "Open" will allow to browse for local (.scad/.jscad) files on the device.
- "Save" will download the editor content to the browsers download folder.
- "KeepSession" will save editors content to localStorage of browser.
- earlier session will be loaded, if stored with THIS browser and same URL.
- Recompile Button: Click this button after changing or loading source.
- Stripped down menu. But new functionality mentioned there.
- Push the menu handle to toggle menu.
Major Changes
- Reduced footprint (everything in 2MB possible)
- Added simple touch support (cf. openjscad.js).
- phone.html and style_phone.css as derivate of index.html mainly to optimize for tiny screens.
- Menu toggles on/off on handle bar -> hover does not work well on touch.
- * Extra buttons: File operations as drag and drop not possible.
- * Compile Button additional to Shift+Control
- * Ability to store editor contents in browser across sessions (localStorage).
Limitations
several, but specifically- * The Swype-Keyboard on Android does not support backspace. Use another keyboard for editing.
- * Flipping screen orientation not recommended. rather refresh page afterwards.