Android port

classic Classic list List threaded Threaded
15 messages Options
Reply | Threaded
Open this post in threaded view
|

Android port

Joel Bodenmann
I couldn't find much about an android port of OpenSCAD. I found some informations in the mailinglist archive that it is at least considered to do.
What's the current state of that "project"? Is there already a port or won't there come anything?


Kind regards

Joel Bodenmann
Reply | Threaded
Open this post in threaded view
|

Re: Android port

Giles Bathgate-2

If someone could port cgal to android then there might be a chance. Other than that the only option would to be to provide a frontend to a server based rendering solution.

Regards

Giles

Reply | Threaded
Open this post in threaded view
|

Re: Android port

Joel Bodenmann
In reply to this post by Joel Bodenmann
I guess the server based solution wouldn't be that nice for you mobile data network traffic, right?

Regards

~ Joel Bodenmann


Giles Bathgate wrote:

If someone could port cgal to android then there might be a chance. Other than that the only option would to be to provide a frontend to a server based rendering solution.

Regards

Giles

Reply | Threaded
Open this post in threaded view
|

Re: Android port

Giles Bathgate-2
Well it wouldn't be as bad as it might sound, I am not suggesting
rendering images on the server and sending those over the net.
Rather convert the script to a 3D representation, and have an 3D
viewer on android.

Regards

Giles

Reply | Threaded
Open this post in threaded view
|

Re: Android port

Joel Bodenmann
Would it be hard to do that? Is anyone even interested in an Android port?
Could you actually do that?


Regards

~ Joel




Zitat von Giles Bathgate <[hidden email]>:

> Well it wouldn't be as bad as it might sound, I am not suggesting
> rendering images on the server and sending those over the net.
> Rather convert the script to a 3D representation, and have an 3D
> viewer on android.
>
> Regards
>
> Giles
> _______________________________________________
> OpenSCAD mailing list
> [hidden email]
> http://rocklinux.net/mailman/listinfo/openscad
> http://openscad.org - https://flattr.com/thing/121566
>




Reply | Threaded
Open this post in threaded view
|

Re: Android port

Mark Hornby
The Android NDK might be useful

http://developer.android.com/tools/sdk/ndk/index.html

On Mon, Sep 10, 2012 at 8:52 PM,  <[hidden email]> wrote:

> Would it be hard to do that? Is anyone even interested in an Android port?
> Could you actually do that?
>
>
> Regards
>
> ~ Joel
>
>
>
>
> Zitat von Giles Bathgate <[hidden email]>:
>
>> Well it wouldn't be as bad as it might sound, I am not suggesting
>> rendering images on the server and sending those over the net.
>> Rather convert the script to a 3D representation, and have an 3D
>> viewer on android.
>>
>> Regards
>>
>> Giles
>> _______________________________________________
>> OpenSCAD mailing list
>> [hidden email]
>> http://rocklinux.net/mailman/listinfo/openscad
>> http://openscad.org - https://flattr.com/thing/121566
>>
>
>
>
> _______________________________________________
> OpenSCAD mailing list
> [hidden email]
> http://rocklinux.net/mailman/listinfo/openscad
> http://openscad.org - https://flattr.com/thing/121566

Reply | Threaded
Open this post in threaded view
|

Re: Android port

Giles Bathgate-2
In reply to this post by Joel Bodenmann
To some extent it has already been done

http://www.youtube.com/watch?v=wj0UUwe16RE

Regards

Giles.

Reply | Threaded
Open this post in threaded view
|

Re: Android port

Alan Cox
In reply to this post by Giles Bathgate-2
On Mon, 10 Sep 2012 09:50:32 +0100
Giles Bathgate <[hidden email]> wrote:

> Well it wouldn't be as bad as it might sound, I am not suggesting
> rendering images on the server and sending those over the net.
> Rather convert the script to a 3D representation, and have an 3D
> viewer on android.

Does firefox on Android support WebGL, if so yo should just need to use
an STL to WebGL convertor.


Reply | Threaded
Open this post in threaded view
|

Re: Android port

Alan Cox
In reply to this post by Giles Bathgate-2
On Mon, 10 Sep 2012 08:28:50 +0100
Giles Bathgate <[hidden email]> wrote:

> If someone could port cgal to android then there might be a chance. Other
> than that the only option would to be to provide a frontend to a server
> based rendering solution.

Even if they did your Android device is going to struggle I suspect. The
processors on them are not terribly quick (be they ARM or x86 ones), and
the battery and power management only works because they spend all their
time asleep not crunching. All the abilities to do 3D and 1080p video
come from hardware accelerators which won't help you here beyond viewing.

"Easy" way to test would be to drop the Ubuntu on Android stuff onto the
rooted device concerned and build an ARM version of the libraries and
toolkits. Still probably a big job depending how clean CGAL and friends
are.

Alan

Reply | Threaded
Open this post in threaded view
|

Re: Android port

donbright
In reply to this post by Joel Bodenmann
The newest Android emulator has support for OpenGL ES 2.0 (if you turn
it on, by hand) which may help if you don't have a physical Android
device.

-DB

Reply | Threaded
Open this post in threaded view
|

Re: Android port

terramir
In reply to this post by Joel Bodenmann
I have a question about this whole thing some of the modern tablets
that are out there are more powerful than some of the pentium 4's I
occasionally use to render so why can't we just port cgal from linux
arm branch (or is there not cgal in the linux arm branch) would it be
that hard?
just curious
would be nice to use something like a rasberry pi on steriods (there
out there) to do everything in one small package :P
terramir
On Mon, Sep 10, 2012 at 12:33 AM, [hidden email] <[hidden email]> wrote:

> I guess the server based solution wouldn't be that nice for you mobile data
> network traffic, right?
>
> Regards
>
> ~ Joel Bodenmann
>
>
> Giles Bathgate wrote:
>
> If someone could port cgal to android then there might be a chance. Other
> than that the only option would to be to provide a frontend to a server
> based rendering solution.
>
> Regards
>
> Giles
>
>
> _______________________________________________
> OpenSCAD mailing list
> [hidden email]
> http://rocklinux.net/mailman/listinfo/openscad
> http://openscad.org - https://flattr.com/thing/121566



--
Respectfully,
R. Daniel Borkan
727 S. Coronado St. 201
Los Angeles, CA 90057
H: (213) 739-1863
C: (213) 271-6721

Reply | Threaded
Open this post in threaded view
|

Re: Android port

stonysmith
In reply to this post by Joel Bodenmann
I'd be VERY interested in an Android port.

I do have a suggestion for OpenSCAD on any portable devices:  Do not
configure the main window the way it is currently.

Set it up as two tabs: Edit and Display.  That way, both "panes" can take
advantage of the full display size, and the intended use of directional
motions (finger sliding) will be simpler to code.

Editing "software code" on any table or phone is rather painful. You need a
full qwerty keyboard WITH digits to do it reasonably.  
Especially in OpenSCAD, you're always flipping between alpha and numeric,
and the keyboard needs to be setup to handle that efficiently.


Reply | Threaded
Open this post in threaded view
|

Re: Android port

Alan Cox
In reply to this post by terramir
On Mon, 10 Sep 2012 05:45:32 -0700
"r.d. terramir" <[hidden email]> wrote:

> I have a question about this whole thing some of the modern tablets
> that are out there are more powerful than some of the pentium 4's I

On straight CPU performance - probably not.

> occasionally use to render so why can't we just port cgal

You can... I'm sure they'll take contributions. Go ahead.


Alan

Reply | Threaded
Open this post in threaded view
|

Re: Android port

Whosawhatsis
In reply to this post by Giles Bathgate-2
This doesn't run on my Android phone, but it still might be a better starting point for a port: http://joostn.github.com/OpenJsCad/

The difference between this and CloudSCAD is that CloudSCAD runs an instance of OpenSCAD on the server to do a CGAL rendering, then feeds the resulting STL to a WebGL viewer, while this one appears to be a port of OpenCSG to javascript with WebGL. The ideal solution would probably be a combination of both, with "Compile" (OpenCSG preview) functions staying in the browser and "Compile and render" (CGAL render for export) functions being done on a server.

On Monday, September 10, 2012 at 3:43 AM, Giles Bathgate wrote:

To some extent it has already been done


Regards

Giles.
_______________________________________________
OpenSCAD mailing list

Reply | Threaded
Open this post in threaded view
|

Re: Android port

donbright
In reply to this post by terramir
Ok please correct me if I am wrong, but does this page indicate that
Debian has OpenSCAD packages for a bunch of different architectures
including ARM?

http://packages.debian.org/wheezy/openscad

-DB

On Mon, Sep 10, 2012 at 7:45 AM, r.d. terramir
<[hidden email]> wrote:

> I have a question about this whole thing some of the modern tablets
> that are out there are more powerful than some of the pentium 4's I
> occasionally use to render so why can't we just port cgal from linux
> arm branch (or is there not cgal in the linux arm branch) would it be
> that hard?
> just curious
> would be nice to use something like a rasberry pi on steriods (there
> out there) to do everything in one small package :P
> terramir
> On Mon, Sep 10, 2012 at 12:33 AM, [hidden email] <[hidden email]> wrote:
>> I guess the server based solution wouldn't be that nice for you mobile data
>> network traffic, right?
>>
>> Regards
>>
>> ~ Joel Bodenmann
>>
>>
>> Giles Bathgate wrote:
>>
>> If someone could port cgal to android then there might be a chance. Other
>> than that the only option would to be to provide a frontend to a server
>> based rendering solution.
>>
>> Regards
>>
>> Giles
>>
>>
>> _______________________________________________
>> OpenSCAD mailing list
>> [hidden email]
>> http://rocklinux.net/mailman/listinfo/openscad
>> http://openscad.org - https://flattr.com/thing/121566
>
>
>
> --
> Respectfully,
> R. Daniel Borkan
> 727 S. Coronado St. 201
> Los Angeles, CA 90057
> H: (213) 739-1863
> C: (213) 271-6721
> _______________________________________________
> OpenSCAD mailing list
> [hidden email]
> http://rocklinux.net/mailman/listinfo/openscad
> http://openscad.org - https://flattr.com/thing/121566