discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

OpenSCAD for iOS?

M
macdarren
Thu, Jun 15, 2017 12:53 AM

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.

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.
DM
doug moen
Thu, Jun 15, 2017 1:28 AM

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 macdarren@mac.com 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
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

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 <macdarren@mac.com> 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 > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org >
RW
Rogier Wolff
Thu, Jun 15, 2017 7:08 AM

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. 

--
** R.E.Wolff@BitWizard.nl ** 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.

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. -- ** R.E.Wolff@BitWizard.nl ** 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.
DM
doug moen
Thu, Jun 15, 2017 11:49 AM

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 R.E.Wolff@bitwizard.nl 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.

--
** R.E.Wolff@BitWizard.nl ** 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
Discuss@lists.openscad.org javascript:;
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

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 <R.E.Wolff@bitwizard.nl> 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. > > -- > ** R.E.Wolff@BitWizard.nl ** 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 > Discuss@lists.openscad.org <javascript:;> > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org >
WA
William Adams
Thu, Jun 15, 2017 12:44 PM

(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 doug@moens.org 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 R.E.Wolff@bitwizard.nl 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.

--
** R.E.Wolff@BitWizard.nl ** http://www.BitWizard.nl/ ** +31-15-2600998
<+31%2015%20260%200998> **
**    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
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

(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 <doug@moens.org> 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 <R.E.Wolff@bitwizard.nl> 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. >> >> -- >> ** R.E.Wolff@BitWizard.nl ** http://www.BitWizard.nl/ ** +31-15-2600998 >> <+31%2015%20260%200998> ** >> ** 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 >> Discuss@lists.openscad.org >> http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org >> > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org > >
TP
Torsten Paul
Thu, Jun 15, 2017 5:45 PM

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 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.