• vignesh

    @pulbrich awesome, thank you I'll check it out!

    posted in Pythonista read more
  • vignesh

    @cvp and @JonB and @Brun0oO have worked to adapt ARkit to Pythonista. I was wondering how able Pythonista is to handle code adapted from swift iOS tutorials into the ARkit sample code provided by @Brun0oO. I want to see if I am able to put an image on a surface using the AR framework in Pythonista, similar to this in swift:
    https://mobile-ar.reality.news/how-to/arkit-101-place-2d-images-like-painting-photo-wall-augmented-reality-0187598/

    posted in Pythonista read more
  • vignesh

    Thanks so much, @cvp this makes sense and I just tested it myself and it works

    posted in Pythonista read more
  • vignesh

    @JonB said:

    [4,4,4,4,4,4, # six faces, each has 4 sides
    0,3,2,1# bottom face
    1,2,6,5,# right face
    2,3,7,6# back face
    3,0, 4,7# left face
    0,1,5,4 # front face
    4,5,6,7]

    So I used the new index array you provided on the cube defined by these vertices:

        verts = [
        SCNVector3(0, 0, 0),
        SCNVector3(0.05, 0, 0),
        SCNVector3(0.05, 0, 0.05),
        SCNVector3(0, 0, 0.05),
        SCNVector3(0, 0.05, 0),
        SCNVector3(0.05, 0.05, 0),
        SCNVector3(0.05, 0.05, 0.05),
        SCNVector3(0, 0.05, 0.05)]
    

    and the result for me is triangles (covering half the face) instead of full square faces on the cube. Is there anything else I should change in cvp's original code to allow the new index array to work?

    posted in Pythonista read more
  • vignesh

    In this part of the code:

       indexes = [3,3,3,3,3,3,3,3,
        0, 1, 2,
        2, 3, 0,
        3, 4, 0,
        4, 1, 0,
        1, 5, 2,
        2, 5, 3,
        3, 5, 4,
        4, 5, 1]
    

    what does this part do:

    [3,3,3,3,3,3,3,3,
    

    I am trying to make a cube and I have four sides completed, but I can't cover the top and bottom because of these 3's I think.

    posted in Pythonista read more
  • vignesh

    @RomSpy it worked and my app is waiting on review now thank you!!

    posted in Pythonista read more
  • vignesh

    @RomSpy with the updated template, I am still getting code signing errors :(

    posted in Pythonista read more
  • vignesh

    @RomSpy So in the updated template, in the Py3kit_preflight.py file, there is no "#import pythonista' " statement at the beginning, was this intentional?

    posted in Pythonista read more
  • vignesh

    @RomSpy Thank you so much!

    posted in Pythonista read more
  • vignesh

    @JonB I looked into it more and I'm pretty sure I am

    posted in Pythonista read more
  • vignesh

    @RomSpy I tried what was provided in the stackoverflow, but it did not make a difference. Do you happen to remember which files from the Pythonista3Xcode Template you had to add the #import 'pythonista' line to? I already did the one for the py3kit_preflight.py

    posted in Pythonista read more
  • vignesh

    @RomSpy which files did you have to add the #import 'pythonista' line on? Even on application loader I am still getting the same error

    posted in Pythonista read more
  • vignesh

    @JonB Is there a difference between:

    1. #import pythonista

    and

    1. #import 'pythonista'

    posted in Pythonista read more
  • vignesh

    @JonB it just ended and still resulted in the error - App Store connect operation error: An error occurred uploading to the App Store.

    What else should I do for it to work?

    posted in Pythonista read more
  • vignesh

    @JonB Nevermind, I found it after showing the package contents of the py3kit framework!

    But now I while i'm uploading, it stopped after a full bar stating "Completed App Store Operation" and it seems like it should be done, but it's not finishing the upload.

    posted in Pythonista read more
  • vignesh

    @JonB what is pykit_preflight.py? I don't have that file

    posted in Pythonista read more
  • vignesh

    @JonB hmmmm, now when I try to upload it again all it says is "app store connect operation error: an error occurred uploading to the app store"

    posted in Pythonista read more
  • vignesh

    @JonB ok so now the only problem I'm having is the error saying :

    "App Store Connect Operation Error
    ERROR ITMS-90035: "Invalid Signature. Code object is not signed at all. The file at path [Pythonista3AppTemplate.app/Frameworks/Py3Kit.framework/pykit_preflight.py] is not properly signed. Make sure you have signed your application with a distribution certificate, not an ad hoc certificate or a development certificate. Verify that the code signing settings in Xcode are correct at the target level (which override any values at the project level). Additionally, make sure the bundle you are uploading was built using a Release target in Xcode, not a Simulator target. If you are certain your code signing settings are correct, choose "Clean All" in Xcode, delete the "build" directory in the Finder, and rebuild your release target. For more information, please consult https://developer.apple.com/library/ios/documentation/Security/Conceptual/CodeSigningGuide/Introduction/Introduction.html""

    I think that's the last roadblock. Thanks so much for your help so far!

    posted in Pythonista read more
  • vignesh

    @JonB

    So for example, this file is the PYAAppDelegate.h and I put '#import pythonista' at the top as seen in the code excerpt below.

    //
    // AppDelegate.h
    // Pythonista3AppTemplate
    //
    // Created by Ole Zorn on 25.08.18.
    // Copyright © 2018 Ole Zorn. All rights reserved.
    //

    #import pythonista
    #import <UIKit/UIKit.h>

    @interface PYAAppDelegate : UIResponder <UIApplicationDelegate>

    @property (strong, nonatomic) UIWindow *window;

    @end

    This results in an error that states "Expected "FILENAME" or <FILENAME>"

    What do I do to get rid of this error?

    posted in Pythonista read more
  • vignesh

    @sulcud Thanks so much!

    posted in Pythonista read more
Internal error.

Oops! Looks like something went wrong!