OpenSCAD for iOS?

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

OpenSCAD for iOS?

macdarren
Has anyone seen or considered a port to iOS?

Seems like OS X and iOS are similar enough this might be possible without
a huge effort and current generation iPads seem powerful enough to run it.

I ask because OpenSCAD in one of the few apps that I use enough to miss it when
traveling with only my iPad.  Sure I could carry a light notebook too but for so many
things a tablet is better suited and while I don't think they will replace a traditional
computer for heavy content creation anytime soon they can do their fair share.

Anyway I was just wondering if someone else has looked at doing this or if it had already
been done...which would be awesome or if one of the sophisticated users/developers might want to give it a go.

Thanks
Darren
Reply | Threaded
Open this post in threaded view
|

Re: OpenSCAD for iOS?

doug.moen
There are lots of reasons why this might not happen. You have to pay money to Apple for the privilege of developing an iOS app. Apple places heavy restrictions on iOS apps, which AFAIK are incompatible with the GPL. You would be unable to load nightly developer builds of OpenSCAD onto your iPad, since those builds would not be present on the app store. Also, there is a rule, "Interpreted code may only be used in an Application if all scripts, code and interpreters are packaged in the Application and not downloaded.", which appears to forbid OpenSCAD entirely.

On 14 June 2017 at 20:53, macdarren <[hidden email]> wrote:
Has anyone seen or considered a port to iOS?

Seems like OS X and iOS are similar enough this might be possible without
a huge effort and current generation iPads seem powerful enough to run it.

I ask because OpenSCAD in one of the few apps that I use enough to miss it
when
traveling with only my iPad.  Sure I could carry a light notebook too but
for so many
things a tablet is better suited and while I don't think they will replace a
traditional
computer for heavy content creation anytime soon they can do their fair
share.

Anyway I was just wondering if someone else has looked at doing this or if
it had already
been done...which would be awesome or if one of the sophisticated
users/developers might want to give it a go.

Thanks
Darren



--
View this message in context: http://forum.openscad.org/OpenSCAD-for-iOS-tp21686.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
rew
Reply | Threaded
Open this post in threaded view
|

Re: OpenSCAD for iOS?

rew
On Wed, Jun 14, 2017 at 09:28:12PM -0400, doug moen wrote:
> Also, there
> is a rule, "Interpreted code may only be used in an Application if all
> scripts, code and interpreters are packaged in the Application and not
> downloaded.", which appears to forbid OpenSCAD entirely.

Weeeelllll.... That rule is meant to prevent applications from
changing character by downloading and executing scripts from the
manufacturer on a regular basis. So the question is: Will they enforce
this strictly according to the letter of the rule, or will they
recognize that in this case interpreting user-typed and
user-downloaded stuff is a useful feature that cannot be mis-used.

        Roger.

--
** [hidden email] ** http://www.BitWizard.nl/ ** +31-15-2600998 **
**    Delftechpark 26 2628 XH  Delft, The Netherlands. KVK: 27239233    **
*-- BitWizard writes Linux device drivers for any device you may have! --*
The plan was simple, like my brother-in-law Phil. But unlike
Phil, this plan just might work.

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: OpenSCAD for iOS?

doug.moen
According to https://stackoverflow.com/questions/4891642/interpreter-for-the-iphone,

"Apple started officially allowing programming language interpreters in the iOS App store late Q3 of 2010 (they changed their SDK agreement to clarify this). However interpreters (except for Javascript in a UIWebview) are not allowed to run any downloaded code. Only code built into the app, or typed in by the user."

"There are 5 or more Basic interpreters currently available in the App store. They all require you to type in your Basic program."

"If you create an interpreter, you might want to make sure it complies with the iOS SDK sandbox rules (doesn't allow file snooping outside the sandbox or attempts at spawning processes, etc.)"

On Thursday, 15 June 2017, Rogier Wolff <[hidden email]> wrote:
On Wed, Jun 14, 2017 at 09:28:12PM -0400, doug moen wrote:
> Also, there
> is a rule, "Interpreted code may only be used in an Application if all
> scripts, code and interpreters are packaged in the Application and not
> downloaded.", which appears to forbid OpenSCAD entirely.

Weeeelllll.... That rule is meant to prevent applications from
changing character by downloading and executing scripts from the
manufacturer on a regular basis. So the question is: Will they enforce
this strictly according to the letter of the rule, or will they
recognize that in this case interpreting user-typed and
user-downloaded stuff is a useful feature that cannot be mis-used.

        Roger.

--
** [hidden email] ** http://www.BitWizard.nl/ ** +31-15-2600998 **
**    Delftechpark 26 2628 XH  Delft, The Netherlands. KVK: 27239233    **
*-- BitWizard writes Linux device drivers for any device you may have! --*
The plan was simple, like my brother-in-law Phil. But unlike
Phil, this plan just might work.

_______________________________________________
OpenSCAD mailing list
<a href="javascript:;" onclick="_e(event, &#39;cvml&#39;, &#39;Discuss@lists.openscad.org&#39;)">Discuss@...
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: OpenSCAD for iOS?

William Adams-2
(La)TeX was made available in TeXpad by going using a BSD-licensed distribution --- TeX is Tturing complete, so not sure how the interaction w/ Dropbox &c. is handled.

Over on the other side of the house there's http://www.scorchworks.com/ScorchCAD/scorchcad.html

Or use one of the web interfaces?

William


On Thu, Jun 15, 2017 at 7:49 AM, doug moen <[hidden email]> wrote:
According to https://stackoverflow.com/questions/4891642/interpreter-for-the-iphone,

"Apple started officially allowing programming language interpreters in the iOS App store late Q3 of 2010 (they changed their SDK agreement to clarify this). However interpreters (except for Javascript in a UIWebview) are not allowed to run any downloaded code. Only code built into the app, or typed in by the user."

"There are 5 or more Basic interpreters currently available in the App store. They all require you to type in your Basic program."

"If you create an interpreter, you might want to make sure it complies with the iOS SDK sandbox rules (doesn't allow file snooping outside the sandbox or attempts at spawning processes, etc.)"

On Thursday, 15 June 2017, Rogier Wolff <[hidden email]> wrote:
On Wed, Jun 14, 2017 at 09:28:12PM -0400, doug moen wrote:
> Also, there
> is a rule, "Interpreted code may only be used in an Application if all
> scripts, code and interpreters are packaged in the Application and not
> downloaded.", which appears to forbid OpenSCAD entirely.

Weeeelllll.... That rule is meant to prevent applications from
changing character by downloading and executing scripts from the
manufacturer on a regular basis. So the question is: Will they enforce
this strictly according to the letter of the rule, or will they
recognize that in this case interpreting user-typed and
user-downloaded stuff is a useful feature that cannot be mis-used.

        Roger.

--
** [hidden email] ** http://www.BitWizard.nl/ ** <a href="tel:+31%2015%20260%200998" target="_blank" value="+31152600998">+31-15-2600998 **
**    Delftechpark 26 2628 XH  Delft, The Netherlands. KVK: 27239233    **
*-- BitWizard writes Linux device drivers for any device you may have! --*
The plan was simple, like my brother-in-law Phil. But unlike
Phil, this plan just might work.

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org



_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
tp3
Reply | Threaded
Open this post in threaded view
|

Re: OpenSCAD for iOS?

tp3
In reply to this post by rew
OpenSCAD does not generate any code, it's simply parsing and evaluating
text. That's hardly different from any calculator app.

The main issue is, like someone mentioned before, that the AppStore is
not compatible with GPL, so that's a hard stop for having OpenSCAD as
normal application in the Apple AppStore.

Other options would be a web solution including something like RollApp
(if that still exists...).

ciao,
  Torsten.


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
-- Torsten