On 08/07/2013 at 13:22, xxxxxxxx wrote:
Cinema 4D Version: 12
Platform: Mac ; Mac OSX ;
Language(s) : C++ ;
My C4D to G-Code plugin is coming along. I am learning a lot and it's already producing some usable output.
But here is a more theoretical question I put off so far:
In C4D (and all other 3D software I have seen) the coordinate system is defined as X=width, Z=depth and Y=height. On a CNC machine (or rather in the software that runs it - in my case EMC2) X=width, Y=depth and Z=height. So Z and Y are switched.
The interface of my C4D plugin uses the CNC version which of course now that I am starting to use it a bit is becoming utterly confusing because it conflicts with the way C4D sees it.
I am looking for a solution and have a few ideas so far:
the CNC machine of course could be rewired to exchange the Y and Z stepper motors. Which would be kicking the ball up the field. And the user shouldn't have to do that.
somehow alter C4D to switch Z and Y - which in the end just means reorienting the "floor"
leave everything as it is and build the models standing on their side (my plugin already has an export part and a tool to create a machine hierarchy so a 'Setup' tool could also work)
Any other ideas?