3
$\begingroup$

I was reading this research paper titled Sub-modeling Finite Element Analysis of 3D Printed Structures. In this, firstly, the author is trying to create a sketch for Engineering analysis using the 3D printing path coordinates and integrating it to a CAD software like Autodesk Inventor.

It says,

By analyzing the corresponding G-code for the desired structure, important information can be extracted, such as the coordinated of the 3D printing path, key points, paths of printing and non-printing paths.

...

The coordinate of the 3D printing path can then be imported into CAD software to obtain the corresponding sketch and consequently a solid body for each layer. Most of commercial CAD software packages are capable of this task. For this Purpose we have chosen Autodesk Inventor.

Paper is attached here: Research Paper in subject

Can anyone help me out with how this can be done?

$\endgroup$
5
  • $\begingroup$ This is very interesting to me . Are you planing on developing a software for this ? . Currently there isn't any adequate tool for FEA on 3D printed parts that actually takes into account all the nitty gritty stuff of 3D printers and successfully prepare a simulation for analysis . $\endgroup$ Jun 28 '18 at 6:03
  • $\begingroup$ Indeed very interesting and carries great practical utility too. Considering the complexities involved in merging the geometry of 3D printing to a CAD model, I have put this project to hold, at least for the time being. Do you have any domain specific knowledge on this? We can get together to make this happen! $\endgroup$
    – Kv07
    Jun 29 '18 at 7:59
  • $\begingroup$ this is all i do mate . I make solutions for the 3D printing industry and this problem is one i have been contemplating to tackle for ages . I though about using Autodesk Forge platform to make it but gosh there is a lot of work , mostly programming to be done . I don't mind starting a project and see if we can get developers on , but the solution should be on a mainstream platform to actually make any financial sense . $\endgroup$ Jun 29 '18 at 8:38
  • $\begingroup$ The developing work is only the Herculean task here, once the model is developed rest is piece of cake. What kind of solutions do you provide to the industry? $\endgroup$
    – Kv07
    Jun 29 '18 at 9:19
  • $\begingroup$ Have you found and fixed the problem? If so, has the answer below led you to the solution? Please vote to accept the answer so this question is not bumped up once in a while and can be removed from the unanswered question list. You may even add your own solution and accept that after 48 hours! If you have not been able to address the problem please update your question. $\endgroup$
    – 0scar
    Sep 18 '18 at 10:25
4
$\begingroup$

The wording in the paper is quite verbose and somewhat unclear. All it says is they read the G-code file and somehow turn it into a 3D model.

A g-code file is just a list of linear moves. Here is an example snippet I took from a random file (keep in mind a typical file would consist of thousands of such lines):

G1 X140.621 Y114.840 E0.0065
G1 X140.804 Y114.765 E0.0129
G1 X141.016 Y114.737 E0.0199
G1 X158.984 Y114.737 E0.6070
G1 X159.196 Y114.765 E0.6140

Each move is relative to the previous, so the second line of the code (for example) tells the printer to move to X=140.804 and Y=114.765 from the previous position (X=140.621, Y=114.840) while extruding an amount of material equal to 0.0129-0.0065=0.0064 mm of filament.

It appears that the authors have developed a toolchain to turn a G-code file into a 3D model, translating every extrusion segment into a part of a solid body (from the pictures, it appears that for a given move segment, they create an ellipsoidal extrusion and merge all of these together into a single solid body) - see Figure 9 in the paper.

$\endgroup$
4
  • $\begingroup$ Thanks for the help. But I struggled with the last paragraph in your answer, how can one create such a tool chain that converts the G-code into sketch and then in-turn a 3D model in CAD? Are there specific tools one can use, I only know Autodesk Inventor. I apologize if the answer is trivial to a heavy user, I'm relatively new to this. $\endgroup$
    – Kv07
    Jun 24 '18 at 14:20
  • $\begingroup$ @Kv07 Sadly, that is extremely complicated and well outside the scope of a stackexchange answer. It would take an experienced programmer many days to create such a tool. There's nothing ready-made that does this. A good starting point would be reading up on the Inventor API. $\endgroup$ Jun 24 '18 at 14:31
  • $\begingroup$ @TomvanderZanden ( This is a random brainstorming comment ) So wouldn't it be easier if they run a slicing algorithm on the 3D File , like create a .CLI and then convert it back into a mesh with an approximation of the distance between the layers taken into account , by maybe using a random value function with limits in place . After that if they run an FEA analysis they should be able to head in the right direction . Got any thoughts on this ? $\endgroup$ Jun 28 '18 at 6:07
  • $\begingroup$ @AxelFernandes They already run a slicing algorithm like you suggest. That's how they get the G-code from the 3D model. $\endgroup$ Jun 28 '18 at 11:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.