JSCAD User Group
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Online versus offline functionality

    Scheduled Pinned Locked Moved General Discussions
    6 Posts 3 Posters 1.4k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Drew PearD Offline
      Drew Pear
      last edited by

      in my experience with openjscad, if i run it offline, i have to press f5 before my parameter box will show and the model render. online, it does it when i access the page automatically. why is this?
      thank you

      z3devZ 1 Reply Last reply Reply Quote 0
      • z3devZ Offline
        z3dev @Drew Pear
        last edited by

        @drew-pear can you provide the browser name and version? each has it's own set of quirks.

        1 Reply Last reply Reply Quote 0
        • drewpearD Offline
          drewpear
          last edited by

          howdy,
          sorry for the delay...life.
          i've tried all browsers.
          i'm trying to use it as an app in android.
          there isn't f5 or shift/return capability.
          i found reference to f5 in the javascript, but it's for windows or mac.
          i wonder why it doesn't load automatically if it is not being served up.

          z3devZ 1 Reply Last reply Reply Quote 0
          • z3devZ Offline
            z3dev @drewpear
            last edited by

            @drewpear interesting.

            so, just to confirm things... you are running the application on Android OS... Chrome browser.

            Do you know the versions of Android OS and Chrome?

            I haven't seen this before so some more information would be useful to reproduce.

            You point about SHIFT-RETURN and F5 is valid. Mobile support should be available. Do you have any suggestions on a keystroke for mobile browsers?

            drewpearD 1 Reply Last reply Reply Quote 0
            • drewpearD Offline
              drewpear @z3dev
              last edited by drewpear

              @z3dev
              thanks for the reply!

              my phone is running android 10 and chrome v. 87
              i created an android app using jscad. the editor, model,
              and parameter box will not show up because it isn't being served
              and there is no way to render the default model. once rendering starts,
              the editor and parameter box appears also.
              if i download jscad and open it up on my computer,
              i've always had to press f5 before the default model renders.
              this is true with all browsers.
              i am able to change the key that has to be pressed.
              i thought this is important because i think a function key
              is hard to emulate. i've been trying to figure out how to
              emulate a keypress with a button's onclick property.
              then i could just have a button labeled start and that would solve the issue
              with running it on android. i've played around with a couple online examples,
              but i haven't gotten there yet. besides a button, i think clicking anywhere on the page can be used to emulate a keypress also. that would work.

              why it auto renders when accessed from a server is curious.

              z3devZ 1 Reply Last reply Reply Quote 0
              • z3devZ Offline
                z3dev @drewpear
                last edited by

                @drewpear strange indeed.

                sorry, but i don't have any suggestions at this time. i will post again if i think of something.

                by the way, i just submitted a pull request to enable the editor again for the V2 website. this should be available in the next 'alpha' release.

                i also opened a new issue for changing the shortcuts for the 'reload' of designs. this will be important for mobile devices which has soft keyboards.

                1 Reply Last reply Reply Quote 0

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                • First post
                  Last post
                Powered by NodeBB | Contributors