Is there any way to visualise the openscad file on an android phone or
tablet?
Scorch cad is not workable and doesn't work for complex long codes
On 6-2-2023 02:52, Sanjeev Prabhakar wrote:
Is there any way to visualise the openscad file on an android phone or
tablet?
Scorch cad is not workable and doesn't work for complex long codes
It's possible to install the "real" openscad in the Termux app (pkg
install openscad), although that version's currently only 2019.05.
Latest version can be built from source though (but it takes quite a
while to build).
Either setup some X server and run the GUI, or (what I normally do) run
in headless mode and output preview to a .png / render a model, and view
those separately.
Note that the Termux app on the Play store is outdated, because it needs
to target an older Android API version (API > 28 disallows running
executables from data folder, which Termux requires), and the Play store
does not allow uploading such old-target apps anymore.
It's fine to install it via F-Droid though.
Thanks Jesse
Can get some more details as to where to download termux and how to install
openscad
On Mon, 6 Feb, 2023, 2:23 pm Jesse Schobben, openscad@js3.nl wrote:
On 6-2-2023 02:52, Sanjeev Prabhakar wrote:
Is there any way to visualise the openscad file on an android phone or
tablet?
Scorch cad is not workable and doesn't work for complex long codes
It's possible to install the "real" openscad in the Termux app (pkg
install openscad), although that version's currently only 2019.05.
Latest version can be built from source though (but it takes quite a
while to build).
Either setup some X server and run the GUI, or (what I normally do) run
in headless mode and output preview to a .png / render a model, and view
those separately.
Note that the Termux app on the Play store is outdated, because it needs
to target an older Android API version (API > 28 disallows running
executables from data folder, which Termux requires), and the Play store
does not allow uploading such old-target apps anymore.
It's fine to install it via F-Droid though.
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
On 6-2-2023 10:25, Sanjeev Prabhakar wrote:
Thanks Jesse
Can get some more details as to where to download termux and how to
install openscad
Termux can be downloaded directly from the F-Droid site, or it can be
installed using the F-Droid app (I'd recommend the latter, so you get
updates).
See here for Termux info: https://wiki.termux.com/wiki/Main_Page
Open Termux; it will do a first-time setup. Then you should be good to go:
pkg install openscad
openscad --version
To create a model:
openscad model.scad -o model.stl
The binary openscad in termux unfortunately does not support .png output
(OpenCSG) or .3mf output. To get that, you'd need to build openscad (can
be done in termux too).
For Termux comfort, you may want to install a keyboard with arrow keys
and such. I like Hacker's keyboard:
https://play.google.com/store/apps/details?id=org.pocketworkstation.pckeyboard
https://f-droid.org/packages/org.pocketworkstation.pckeyboard/
--
Thanks very much Jesse
It is wonderfully explained
Will give it a try
On Mon, 6 Feb, 2023, 3:34 pm Jesse Schobben, openscad@js3.nl wrote:
On 6-2-2023 10:25, Sanjeev Prabhakar wrote:
Thanks Jesse
Can get some more details as to where to download termux and how to
install openscad
Termux can be downloaded directly from the F-Droid site, or it can be
installed using the F-Droid app (I'd recommend the latter, so you get
updates).
See here for Termux info: https://wiki.termux.com/wiki/Main_Page
Open Termux; it will do a first-time setup. Then you should be good to go:
pkg install openscad
openscad --version
To create a model:
openscad model.scad -o model.stl
The binary openscad in termux unfortunately does not support .png output
(OpenCSG) or .3mf output. To get that, you'd need to build openscad (can
be done in termux too).
For Termux comfort, you may want to install a keyboard with arrow keys
and such. I like Hacker's keyboard:
https://play.google.com/store/apps/details?id=org.pocketworkstation.pckeyboard
https://f-droid.org/packages/org.pocketworkstation.pckeyboard/
--
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
On 06.02.23 02:52, Sanjeev Prabhakar wrote:
Scorch cad is not workable and doesn't work for complex long codes
I don't know if it works better (or at all) on Android, but you
could try one of the WASM versions, e.g.
https://ochafik.com/openscad/#
ciao,
Torsten.
Thanks will check if it works
On Mon, 6 Feb, 2023, 3:56 pm Torsten Paul, Torsten.Paul@gmx.de wrote:
On 06.02.23 02:52, Sanjeev Prabhakar wrote:
Scorch cad is not workable and doesn't work for complex long codes
I don't know if it works better (or at all) on Android, but you
could try one of the WASM versions, e.g.
https://ochafik.com/openscad/#
ciao,
Torsten.
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
Yesterday I tried both the approaches
With f-droid although latest version of openscad was installed, but could
not be of much use as there was no gui support and I have no experience
working with command line only.
Wasm somehow did not work
Finally found an app andronix in Google playstore
This has helped converting my samsung tab to a PC like experience with
ubuntu xfce.
Till now everything is working fine.
Openscad version in this is 2019 but there is no issue as I am working
through python and even the most complex models could be rendered without
any problem
On Mon, 6 Feb, 2023, 4:14 pm Sanjeev Prabhakar, sprabhakar2006@gmail.com
wrote:
Thanks will check if it works
On Mon, 6 Feb, 2023, 3:56 pm Torsten Paul, Torsten.Paul@gmx.de wrote:
On 06.02.23 02:52, Sanjeev Prabhakar wrote:
Scorch cad is not workable and doesn't work for complex long codes
I don't know if it works better (or at all) on Android, but you
could try one of the WASM versions, e.g.
https://ochafik.com/openscad/#
ciao,
Torsten.
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
I did a screen recording to show how it works on an android tablet.
It works great
https://github.com/sprabhakar2006/openSCAD/blob/main/Screen%20recording.mp4
On Tue, 7 Feb, 2023, 8:51 am Sanjeev Prabhakar, sprabhakar2006@gmail.com
wrote:
Yesterday I tried both the approaches
With f-droid although latest version of openscad was installed, but could
not be of much use as there was no gui support and I have no experience
working with command line only.
Wasm somehow did not work
Finally found an app andronix in Google playstore
This has helped converting my samsung tab to a PC like experience with
ubuntu xfce.
Till now everything is working fine.
Openscad version in this is 2019 but there is no issue as I am working
through python and even the most complex models could be rendered without
any problem
On Mon, 6 Feb, 2023, 4:14 pm Sanjeev Prabhakar, sprabhakar2006@gmail.com
wrote:
Thanks will check if it works
On Mon, 6 Feb, 2023, 3:56 pm Torsten Paul, Torsten.Paul@gmx.de wrote:
On 06.02.23 02:52, Sanjeev Prabhakar wrote:
Scorch cad is not workable and doesn't work for complex long codes
I don't know if it works better (or at all) on Android, but you
could try one of the WASM versions, e.g.
https://ochafik.com/openscad/#
ciao,
Torsten.
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org