microtome icon indicating copy to clipboard operation
microtome copied to clipboard

Integrate with Photonics 3D in a way as yet to be determined.

Open DanielJoyce opened this issue 9 years ago • 8 comments

Sounds cool, all for it. I also have Polymer UI experience, and I have to say Polymer + Typescript makes UI development pretty fast and easy. Data binding, code error checking, and three.js is a lot simpler to use with typing information

If we do integrate, the slicer will stay TypeScript (loosey-goosey typing in JS is madness!) though the resulting Javascript artifacts should work just fine no matter how you want to use them.

So what I could do is split out a library containing just the current slicer code and other dependencies.

DanielJoyce avatar Mar 29 '16 04:03 DanielJoyce

I completely agree. I'm generally pretty skeptical of developers who say that JS is fun or is somehow a good language. It's certainly a very important language though.

WesGilster avatar Mar 31 '16 01:03 WesGilster

Alright started back on this. Trying to get the new slicer out into a library and cleaning up the build. Gulp is a shit pile.

DanielJoyce avatar Nov 17 '16 07:11 DanielJoyce

Great to hear! If you install Photonic 3d it's got quite a nice restful interface, with detailed control of every printer function you might need. If something is missing or broken, feel free to open a bug or feature request. You'll find we are quite responsive. The API is also documented with a swaggerized "try-it" interface by going here: http://localhost:9091/apidoc/

Which will give you an overview of the 7 main APIs. We also have an undocumented websocket interface for push notifications as well. image

You'll probably be interested in the Printer and Printables APIs: image

And the try it interface is like this: http://localhost:9091/apidoc/#!/printers/deletePrinter image

WesGilster avatar Nov 17 '16 13:11 WesGilster

How do I build and run locally? Will need to add a custom page

The main idea is run the slicer in the browser, then ship the images to photonics3d to use as a job

DanielJoyce avatar Nov 17 '16 19:11 DanielJoyce

If you are just interested in getting up and running quickly we have several options here: https://wiki.photonic3d.com/doku.php?id=installing

If you are looking for a simple download we have our latest stable build here: https://github.com/area515/Photonic3D/releases

If you are looking for the latest development build you can go to my repo: https://github.com/WesGilster/Photonic3D/releases

If you are actually wanting to build from source and you are looking for the actual location of the gradle builds for building locally: https://github.com/area515/Photonic3D/tree/master/host

if you are interested in latching your fork(if you are going to fork) into a continuous integration system you can do that with your repo with this: https://github.com/area515/Photonic3D/blob/master/.travis.yml

You might also notice that slacer was already added as a git sub module for easy integration as well. I haven't written any of these scripts, so if you have further questions, feel free to ask them on our area515/Photonic3D repo issues.

WesGilster avatar Nov 17 '16 23:11 WesGilster

Okay, so after having yet another kid, and a job changes, and some time to work on the slicer on the train I've gotten things massively cleaned up and simplified.

DanielJoyce avatar Dec 13 '17 16:12 DanielJoyce

As opposed to git submodules which are their own flavor of evil, I'd use yarn or npm to pull them in.

DanielJoyce avatar Dec 14 '17 23:12 DanielJoyce

Cool nice job. When are you going to have supports available!? :)

WesGilster avatar Dec 15 '17 00:12 WesGilster