The input of a membrane model is a set of points defined typically in several z-slices of a tomogram. Through the workflow specific for this model geometry, Dynamo will create a smooth continuous surface that represents the membrane. The output is a set of crop points and orientations. Each orientation will point in the direction of the outwards normal. The membrane model needs to have a center defined, which is merely used to defined the laterality of the surface (which side is "inward" and which side is "outward" )
Step by step
- Creation of control points.
- Creation of a supporting mesh
- Refinement of the supporting mesh
- Creation of the cropping mesh
- Extraction of the table points
Control points are equispaced points distributed along all user points defined for a same level (typically z). They are used as vertices for the initial triangulation that will be used to represent the continuous surface. </br> The original points need to have been picked in the right order on each z-level.</br> They are stored in the crop_pointsproperty of the model.
The continuous membrane will be represented.
Refining the supporting mesh
Each refinement step subdivides the triangulation stored in the mesh
This is merely a formatting step. In this point is crucial that the center property in the model has been already defined.