Jump to content

scheerjacob

Member
  • Posts

    5
  • Joined

  • Last visited

Posts posted by scheerjacob

  1. Hi everyone,

     

    My name is Jacob. I'm a relatively new 3d printer engineer, and I have a lot of questions. I have a project that requires me to look into the source code of Cura to figure out how the software imlpements the infill patterns. Specifically, I need to understand how the code implements the infill angle inputs. I don't know exactly how this works, but I've started looking through the source code files and examining where this variable is called.

     

    If someone could mentor me or explain to me a little about how the classes work and how the source is implemented, I would be so grateful.

     

    Let me know if that sounds good,

    Jacob

  2. Hi friends, I am new to 3d printing and new to coding in C++.

     

    I am wondering if anyone here can tell me how the variable called line_distance is implemented in the infill.cpp file.

     

    Thank you so much,

    Jacob

  3. Thanks so much @gr5!! I did think of that because I had seen a few per model settings videos on youtube and some of the things people came up with were totally insane. That makes sense, but indeed it would be a real pain to create 50 tiny layers and set each one to a different density. 

     

    My question is really for anyone with a coding or developing background who knows how to modify the code that's working behind the scenes. Where is the density variable implemented in the code and can it be adjusted on a layer by layer basis like the angle matrix? I tried to figure that out on my own, but I'm not good enough at coding to really figure out where the variables are implemented and how.

     

    Any thoughts would be greatly appreciated.

  4. Hi Ultimaker Community,

     

    I would like to know if it's possible to change the infill density layer by layer. For instance infill line angle can be represented with a matrix of desired angles. If you input the following matrix [0,90] you get an infill pattern where every layer is perpendicular to the ones above and below. 

     

    What I want to know if it's possible to change the infill density layer by layer. To be able to put in a matrix like [20,40] and get 20% for the first layer and then 40% for the second layer and so on.

     

    Is that possible? As of now, I think I'd need to code that using CuraEngine. I am sort of a noob when it comes to programming, so I don't know how to implement that. I think I'd need to edit the infill.cpp file in the function addLineInfill or something like that. The variable that needs to be adjusted layer wise is line_distance, but I don't know how to do that.

     

    Any thoughts?

     

     

     

     

×
×
  • Create New...