-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tips on building from mac #3
Comments
I realized I was using the wrong version of swift when attempting
This is probably a very newbie question, this is my first time using swift and really want to try your code for building PCBs. Thanks! |
Hello,
then you should be able to run it from XCode if that is what you are looking for. Give it a go and tell me if you still have issues. |
Thanks for your comment.
can't get past that :( |
That is very strange indeed. |
I'm using osx 10.11.6 (El Capitan) and xcode 8.2.1 |
Just curious, did you manually install/compile swift? |
I downloaded the latest release from https://swift.org/download/#releases. |
Unfortunately, it might be so. I will look into how much effort it would be to make it swift 3 compatible but I make no promises. |
I was able to upgrade to latest OSX and Xcode and could build. Even made my first DIY 2 layer PCB. Took some trial and error because I had to figure a suitable reference point and orientation to make the layers match. Still have some alignment issues but nothing too bad. |
Those are great news! It is very rewarding to get this feedback. |
Yes! gerber files would be great because I still have to use Illustrator to export the file aligned correctly.
This is all work in progress so dont take my measurements too seriously! |
Those measurements would be very useful since I don't own a photon to test myself. Especially the border between the actual area of exposure and the effective area of exposure. Currently, the 1440x2560px are defined for an area of 68.04x120.96mm. |
Yes, I started with 68.04x120.96mm at first but my 5mm grid was not matching. My current measurements say it is actually 116.56x66 mm but that might vary from machine to machine. |
That difference is severe! Especially for 3D prints that suffer from shrinkage... If you have the opportunity to re-check it would be great. |
Masking is a known "issue" on the photon, if you look closely at the anouced specs here and here it's smaller than the LCD image size. The way we are doing it in Photon File Validator is warn the user if the file has details in the known safe margins. The pixel resolution of the machine is 47u and that means that that is the modular unit of the machine 0.047mm so it would be great to have pixel alignment and dimension fitting to that unit. My idea for the registration is to make a template from the alan screws that ppl can cut out and make notches in the PCB so that you can use the screws to align front and back. if you do make the acrylic please share it here or in the Photonsters organization on github ;) As for not moving the platform you can use the config.gcode file to stop the peeling action like I do for the resin exposure range project. Basically have 2 Gcodes, one that put it into PCB mode and the other that returns the machine to it's original settings. You can check the project here |
@Hallulla can you post some of your results for me to share on the fb photon owner group? |
On mac, both
$ swift build
and building from xcode fail.On xcode I am using swift 4.1.2 toolchain
Error from
$ swift build
:and error from xcode:
The text was updated successfully, but these errors were encountered: