You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been playing around with PicoGK and is now trying to build a ConsoleApp that generates a positive pattern for a composite part from an STL model of the part and a few parameters(trim length and flange length in X,Y, and Z). I am trying to come up with a logic for generating the trim lengthgood explanation of what it is and how it's generated in CAD at a draft angle of 5degs.
What I have so far is(just the logic, I haven't implemented anything yet):
Find out coordinates of boundary vertices(by running a loop through all edges and finding out the ones that have only 1 triangle associated with it).
Make a transformation to get the location of the new vertices that will be on the boundary of the trim length.
Make new vertices at these points with msh.nAddVertex
Loop around these new vertices and the original boundary vertices and using msh.AddTriangle to complete the mesh.
This seems very complicated(at least as a person new to C#) and I am not even sure if this will work. Is there a simpler way to do this that I am missing?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I have been playing around with PicoGK and is now trying to build a ConsoleApp that generates a positive pattern for a composite part from an STL model of the part and a few parameters(trim length and flange length in X,Y, and Z). I am trying to come up with a logic for generating the trim lengthgood explanation of what it is and how it's generated in CAD at a draft angle of 5degs.
What I have so far is(just the logic, I haven't implemented anything yet):
msh.nAddVertex
msh.AddTriangle
to complete the mesh.This seems very complicated(at least as a person new to C#) and I am not even sure if this will work. Is there a simpler way to do this that I am missing?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions