Jump to content
Ultimaker Community of 3D Printing Experts
  • Sign Up
theduemmer

Part coordinate system transformations?

Recommended Posts

Posted · Part coordinate system transformations?

Hello All,

 

I am currently working on a post-processing script to incorporate FEA results into G-Code generated by Cura, similar to this video. I've gotten nearly everything working except for mapping FEA data aligned to the STL file's coordinate system to G-Code aligned to the printer's coordinate system, which includes rotations, translations, etc. As far as I have seen so far, my only options would be to manually transcribe the transformations done for every part into the program; doable, but very cumbersome. Does anyone  know of a way to either add that data to the G-Code output or extract the transformation data from, say, a *.3mf project file? I know that it is possible to add parameters to the G-Code output, though I couldn't find any that would do what I want.

 

For reference, I'm currently using Cura version 4.6.1 and have attached a sample STL along with a corresponding G-Code and project file.

 

Thanks!

StressTest.stl CCR10S5_StressTest_bare.gcode StressTest.3mf

Share this post


Link to post
Share on other sites
Posted · Part coordinate system transformations?

If you want to translate/transform the data, you can just use the getWoldTransformation of a SceneNode.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...