I am trying to find out what the differences are in PMM from running OpenSCAD locally.
I published a (private) project to PMM to test whether it works and found some differences from running OpenSCAD (2025-03-21) on my own system. I am looking for workarounds for some of these:
Conditional code – First is there a way to tell that I am running on PMM rather than real OpenSCAD? If so, I can have code conditionally run to solve the following. Though I doubt if I will be able to conditionally hide parts of the Customizer.
Viewport rotation – on the desktop I can set $vpr, etc. to keep my object rotated so I can see it. Online I have no control. Short of putting a rotate(){} around everything, how can I keep the object showing a descent view? I keep seeing the bottom of the object and have to spin it to make sure it looks right. If I have no control, how do I rotate something to force it to be visible? If the user puts some impossible values into the customizer, I want to produce a large red text message with an error. Right now, the view is from above the text (edge on) which is not readable.
3mf meta data – Is there any control over the 3mf metadata? In particular I prefer the lack of printer definition of a real OpenSCAD. PMM keeps changing my printer type to an X1 Carbon and defining my filament as White PLA Basic.
Perhaps Bambu Labs should provide an X1 to every user.