Determine the area of a layer Hello,
I understand mine is more of a mathematical question.
I'm doing a project where I need to find the cross sectional area of a solid imported from an STL file.
I'm programming this and I'm having some trouble with the algorithm.
I've been following the "detailed description of geometry processing" of the RepRap host software and at this point I can calculate the intersection of the solid with an horizontal plane.
This puts me in the end of the slicing step. I have several lines defining a 2D polygon of my cross section.
Now I want to do the end matching of this lines as you describe in the end matching process.
However I don't quite understand how to compute this.
I tried to look for these routines in the source code in the provided link, but unfortunately i couldn't find them.
Could you please tell me what functions are you using to do the end-matching and/or point me to the place in the code where they are being used?
Thank you for your attention.
https://reprap.org/forum/read.php?4,377177,377177#msg-377177
Thu, 08 Aug 2024 22:02:18 -0400Phorum 5.2.23https://reprap.org/forum/read.php?4,377177,377177#msg-377177Determine the area of a layer
https://reprap.org/forum/read.php?4,377177,377177#msg-377177
I understand mine is more of a mathematical question.
I'm doing a project where I need to find the cross sectional area of a solid imported from an STL file.
I'm programming this and I'm having some trouble with the algorithm.

I've been following the "detailed description of geometry processing" of the RepRap host software and at this point I can calculate the intersection of the solid with an horizontal plane.
This puts me in the end of the slicing step. I have several lines defining a 2D polygon of my cross section.

Now I want to do the end matching of this lines as you describe in the end matching process.
However I don't quite understand how to compute this.

I tried to look for these routines in the source code in the provided link, but unfortunately i couldn't find them.

Could you please tell me what functions are you using to do the end-matching and/or point me to the place in the code where they are being used?

Thank you for your attention.]]>GuizboReprappersWed, 02 Jul 2014 10:50:22 -0400