Notifications
Clear all

PrusaSlicer on IpadOS?  

Strona 2 / 3
  RSS
Nikolai
(@nikolai)
Noble Member
RE: PrusaSlicer on IpadOS?

@unteins

I've done iOS development in the past and I can tell you setting up the project is not the biggest issue here 🙂 

The biggest problem to solve is how you want to keep this two projects in sync. PrusaSlicer is under heavy development flow. Means PrusaSlicer have to stay a main project and iOS port is derived from that. Once you start the migration, you should also consider how to port all the upcoming upgrades. To give this new project a feature existence and not be obsolete after migration, following things need to happen:

First you need a clean interface between the UI and the core. Then you need an easy (automated) way to migrate the core to iOS. Once this part is done, you can start building a nice iOS UI.

Such a project needs to come from PR as they would need to support and commit to this requirements. If they keep changing PrusaSlicer at will, there is no way someone will running behind all the time and investing a lot of time and money.

Often linked posts:
Going small with MMU2
Real Multi Material
My prints on Instagram

Opublikowany : 15/01/2020 11:52 pm
AndyPants polubić
AndyPants
(@andypants)
Eminent Member
RE: PrusaSlicer on IpadOS?

  Very informative!

i personally think they could make some big waves and be the first to do it. The iPad Pro is perfect for it.

i hope others feel the same way and it becomes a reality!

Opublikowany : 16/01/2020 1:06 am
Ty polubić
Unteins
(@unteins)
Active Member
RE: PrusaSlicer on IpadOS?

@nikolai-r

Well, I've done iOs development as well and looked at the PrusaSlicer code in GitHub.

As I said above, PrusaSlicer uses wxWidgets as a UI toolkit - this is largely so that it can have a cross platform UI layer. Since that UI layer is available on iOS, you don't STRICTLY need clean separation between the UI and the underlying slicing code - you just need that UI layer to be feature complete relative to the UI controls used. 

That being said, it is better to think of PrusaSlicer as being made of a few distinct parts, and evaluate them independently.

1) The Slicing Engine - libslic3r

This is almost certainly buildable and able to run with minimal modification on iOS. It is written in C++ and can be run from the command line in Unix and Windows environments - this would be pretty easy to build a (terrible) iOS native UI around for pure slicing without any plating options - but it could be done. This is also shows that at least when it comes to the SLICING portions of PrusaSlicer, there already exists a pretty clean interface between the core and the UI (as there's no UI for command line tools at all).

2) The Configuration/Settings

These mostly exist as data. Now, here I am not sure how they are stored are passed to the slicing engine - but there are two options - one would be to create a new UI for setting this, but again, this is very likely already separate from the UI in PrusaSlicer - the UI likely just sets the parameters.

3) The 3D renderer

This is needed if you want to support plating on iOS so that you can visualize the models that you want to move around. I'm not sure how much of this is done in platform independent code or is built on top of wxWidget primitives. I haven't done nearly enough digging in the code to see how this is handled. Also, this would be an area where platform specific code might be really useful.

4) The UI

This is mostly for configuring the settings and plating. I suspect that the UI is mostly self contained and not co-mingled with the rest of the code, simply because it uses a UI framework in the first place. Even if the code and the UI is co-mingled, because the UI itself is built on an abstraction layer, it should be that much of a problem. You only need to ensure the abstraction layer works on the platform.

The abstraction layer is wxWidgets and there is a version for iOS. The iOS version has fewer primitives than the desktop version, that might be an issue - it depends on what percentage of the primitives used by PrusaSlicer has iOS version - however, there's not reason that the additional primitives couldn't be built as part of the work and then submitted upstream (as you do in Open Source).

The other option is to remove all of wxWidgets from PrusaSlicer on iOS and build a new iOS UI. I'm not sure that's really needed (especially on the Pro where mouse and keyboard are supported).

 

I don't think creating an iOS version is inherently difficult if wxWidgets is sufficiently mature on iOS. Even if it isn't, the majority of the work would be on the wxWidgets library, not on PrusaSlicer itself. Keeping the versions in sync shouldn't require a huge amount of work, unless you decide to remove wxWidgets and call native UI APIs on iOS. That's not to say that the UI would feel GOOD on iOS, it might be a bit clunky and too "desktop", especially if wxWidgets is immature on iOS. 

Opublikowany : 17/01/2020 12:37 am
AndyPants polubić
Nikolai
(@nikolai)
Noble Member
RE: PrusaSlicer on IpadOS?

@unteins

Based on my experience it can be very painful to port something to iOS. C++ means not much if you can't compile the required lib for this destination. But this are details you can only find out once you start porting the stuff. Sometimes you're lucky.

Especially because I've never preferred wxWidgets for UI and 1:1 copy of the desktop UI to iPad is not the best choice, I would go for a complete redesign for an iPad.

Anyway, If you have already a rough idea how to implement it, and have time, then go for it. Even if we can get libslic3r to work on iOS and having a nice upgrade path, would be the first huge step. Based on that project you can still implement multiple UI interfaces on top, create multiple apps.

Often linked posts:
Going small with MMU2
Real Multi Material
My prints on Instagram

Opublikowany : 17/01/2020 1:08 am
AndyPants polubić
LincolnTech
(@lincolntech)
New Member
RE: PrusaSlicer on IpadOS?

The desire for iOS support has less to do with feature set and it being the appropriate form factor — it's that 3d printers are being used in school environments. Slicer and other apps are fine for upper and middle school kids who have access to full-featured computers, but you can bring the 3d printing experience into the lower schools and let the younger kids get hands-on with iOS support (maybe the most likely device they may use at an early age). It's mostly about being able to view and print to the machines... not necessarily creating new models, etc.

I'm looking at some of the apps mentioned here, but a basic viewer, printer app specific to the PRUSA machines would be great!

Opublikowany : 12/02/2020 7:23 pm
Ty polubić
tribgarry
(@tribgarry)
New Member
RE: PrusaSlicer on IpadOS?

oh .... how am I waiting for such a solution for the iPad. Please, if you hear, try as soon as possible, please! The iPad Pro is just made for it. 🤗 👍 

Opublikowany : 20/02/2020 2:11 pm
Rudi polubić
Rudi
 Rudi
(@rudi)
New Member
RE: PrusaSlicer on IpadOS?

Please!!! 

make Prusa slicer the first slicer on iOS, this make big waves and opens new possibilities. 

hopefully  it becomes a reality!

Opublikowany : 31/03/2020 11:16 am
Ty polubić
Grandpa Joe
(@grandpa-joe)
Eminent Member
RE: PrusaSlicer on IpadOS?

@neophyl

I use Shapr3D. iPad Pro and Apple Pencil.  Works well for me. 

Joe O. 

Opublikowany : 30/05/2020 8:30 pm
Rubic0n i BluecornNM polubić
Nikolai
(@nikolai)
Noble Member
RE: PrusaSlicer on IpadOS?

@grandpajoe

Pro or Basic license?

 

Often linked posts:
Going small with MMU2
Real Multi Material
My prints on Instagram

Opublikowany : 30/05/2020 8:37 pm
BluecornNM
(@bluecornnm)
Active Member
RE: PrusaSlicer on IpadOS?

@neophyl

All depends on perspective. $240 per year for professional quality CAD is 'cheap'. I've been using it for all of my design work, and prefer it over everything else I've tried; free or paid. 

Opublikowany : 05/06/2020 3:04 pm
Vojtěch Bubník
(@vojtech-bubnik)
Member Admin
RE: PrusaSlicer on IpadOS?

Got PrusaSlicer running on high end Android phone, but it is quite convoluted and the software 3D rendering is very slow.
https://twitter.com/bubnikv/status/1270966793419526145

Opublikowany : 11/06/2020 10:47 am
Nikolai
(@nikolai)
Noble Member
RE: PrusaSlicer on IpadOS?

@bubnikv

It's more an emulation on an Android device. UserLAnd->Debian->VNC server->VNC Client. Not really usable but anyway a cool project. 😀 

Often linked posts:
Going small with MMU2
Real Multi Material
My prints on Instagram

Opublikowany : 11/06/2020 6:02 pm
Claw
 Claw
(@claw)
New Member
RE: PrusaSlicer on IpadOS?

I use Onshape and it’s great with an iPad Pro. I had been using AstroPrint and octoprint on an Ender3 to be able to make models on my iPad or even my phone in a pinch, slice, then send to the printer. I just got my Mini and am struggling with using the Prusa Slicer as it would be the only step requiring me to go get the laptop, boot it up, etc. with Prusa marketed as a “it just works” platform, I agree including iOS or web based needs to be on their roadmap. I personally hope it’s soon. 

Opublikowany : 12/08/2020 4:16 am
Yveske
(@yveske)
Estimable Member
RE: PrusaSlicer on IpadOS?

OSX is moving to ARM hardware and I'm guessing OSX and IOS will share a common base then.
With a little bit of luck the same software will run on both operating systems.

Having problems with bed adhesion every morning...

Opublikowany : 12/08/2020 12:00 pm
cwbullet
(@cwbullet)
Member
RE: PrusaSlicer on IpadOS?

@yveske

I hope so.  

--------------------
Chuck H
3D Printer Review Blog

Opublikowany : 12/08/2020 12:35 pm
Nikolai
(@nikolai)
Noble Member
RE: PrusaSlicer on IpadOS?
Posted by: @yveske

OSX is moving to ARM hardware and I'm guessing OSX and IOS will share a common base then.
With a little bit of luck the same software will run on both operating systems.

macOS and iOS always shared a common base. So far Apple confirmed that even with the Apple Silicon macOS and iOS will still be separate developments though. There are iOS apps which are running on macOS but not vice versa.

Often linked posts:
Going small with MMU2
Real Multi Material
My prints on Instagram

Opublikowany : 12/08/2020 4:16 pm
BluecornNM
(@bluecornnm)
Active Member
RE: PrusaSlicer on IpadOS?

This is the notice in my developer console. 

Opublikowany : 12/08/2020 4:21 pm
Unteins
(@unteins)
Active Member
RE: PrusaSlicer on IpadOS?

@nikolai-r

That’s not exactly true.

MacOS has used completely different frameworks from iOS for most of the years. Apple has been slowly merging them together.

A complete rewrite of PrusaSlicer to use the iOS frameworks would be required to make an iPad version.

The difference now would be that the iPad version could easily be used to make the MacOS version going forward - that makes the costs of the port easier to justify.

But there still would be work. PrusaSlicer doesn’t use the native UI API - it uses a cross platform API that sits on top the of the OS APIs - last I checked that toolkit hasn’t seen much iOS development, so I don’t expect this will change much.

Opublikowany : 12/08/2020 4:24 pm
Nikolai
(@nikolai)
Noble Member
RE: PrusaSlicer on IpadOS?

@unteins

Correct. Frameworks,UI and many other  things are different but the kernel is the same.

We're on the same page. The way from iOS app to macOS app should get easier in the future. But I don't see any change to the other way around. Maybe Apple will unify some frameworks, so you could create macOS and iOS apps much easier. But as you mentioned PS is not using native macOS frameworks, so with the ARM mac we're not really closer to the PS for iOS.

Often linked posts:
Going small with MMU2
Real Multi Material
My prints on Instagram

Opublikowany : 12/08/2020 4:42 pm
Tellojsu
(@tellojsu)
New Member
RE: PrusaSlicer on IpadOS?

Is it bad I’m still holding my breath that an iPad slicer will be released? With the latest announcement it does show how iPad apps running on macOS will work but as mentioned not really in reverse. Unless I missed something 

Opublikowany : 11/11/2020 3:42 pm
Strona 2 / 3
Share: