VladGribinchuk / FoundationBuilder

Application for calculation a stand(foundation) for 3d models
0 stars 0 forks source link

Create the main method for implementation of a foundation #21

Closed IlliaHryshchuk closed 4 years ago

IlliaHryshchuk commented 4 years ago
VladGribinchuk commented 4 years ago

@1m8o5s

All further work with integrating this method into Application workflow will be done after. Your goal is to implement only one block of Application: calculation of foundation. You can start working on it, even if related functions - simplification, polygon inflation - are haven't done yet. Create stubs for these methods (if they aren't created) and leave these stubs. These methods could be implemented after.

1m8o5s commented 4 years ago

@1m8o5s

  • The goal of this task is to implement algorithm outlined at #18 (actually, steps from 2 to 9).
  • The output of this task will be method: Mesh createFoundation(const Mesh& inputModel) { ... } This method should take the input 3D model as parameter inputModel, calculate 3D foundation geometry for it and return foundation as new Mesh object.

All further work with integrating this method into Application workflow will be done after. Your goal is to implement only one block of Application: calculation of foundation. You can start working on it, even if related functions - simplification, polygon inflation - are haven't done yet. Create stubs for these methods (if they aren't created) and leave these stubs. These methods could be implemented after.

Ok, I start working with this method

VladGribinchuk commented 4 years ago

@1m8o5s How things are going with this task? Do you have any questions or do you need some help?

VladGribinchuk commented 4 years ago

How things are going with this task? Do you have any questions or do you need some help?

@1m8o5s FYI, if you are asked that type of questions, it means please reply asap with your current progress status. Also, in that way you are politely asked to hurry up.

We've already failed all deadlines so we should complete this ASAP and move on. Let me know if you need help

1m8o5s commented 4 years ago

Oh, sorry, my bad, I not often check messages. Now I try to get vertices of input figure, which don`t duplicate

VladGribinchuk commented 4 years ago

Why do you need vertices which dont duplicate?

1m8o5s commented 4 years ago

photo_2020-06-09_23-53-07 I wanted to do this, because I think that can damage performance, like in this picture vertice "a" used in 8 triangles

1m8o5s commented 4 years ago

In general this method works, but now I fix it, because disproportionate foundation comes out in result

VladGribinchuk commented 4 years ago

Sorry, but still don't understand you clearly. The goal is to create well-defined 3d foundation structure, i.e. without holes, self-intersections, etc. And what do you mean for 'disproportionate foundation'?

vertice "a" used in 8 triangles

I don't see the problem here.

Anyway, if you are able, could you please show how your implementation works at the moment?

1m8o5s commented 4 years ago

image for this input figure in result we have that foundation: image

VladGribinchuk commented 4 years ago

Kinda what we need... okay, finish your fixes or whatever you're working at, and push changes

VladGribinchuk commented 4 years ago

@1m8o5s you can close this