Class BlockSupportGenerator
  
  
  
  
    Inheritance
    
    BlockSupportGenerator
   
  
  Namespace: g3
  Assembly: cs.temp.dll.dll
  Syntax
  
    public class BlockSupportGenerator
   
  Constructors
  
  
  
  
  BlockSupportGenerator(DMesh3, Double)
  
  
  Declaration
  
    public BlockSupportGenerator(DMesh3 mesh, double cellSize)
   
  Parameters
  
  
  
  
  BlockSupportGenerator(DMesh3, Int32)
  
  
  Declaration
  
    public BlockSupportGenerator(DMesh3 mesh, int grid_resolution)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | DMesh3 | 
        mesh | 
         | 
      
      
        | Int32 | 
        grid_resolution | 
         | 
      
    
  
  Fields
  
  
  
  CancelF
  if this function returns true, we should abort calculation 
 
  
  Declaration
  
    public Func<bool> CancelF
   
  Field Value
  
  
  
  CellSize
  
  
  Declaration
  
  Field Value
  
  
  
  DebugPrint
  
  
  Declaration
  
  Field Value
  
  
  
  ForceMinY
  If this is not set, 'ground' is Mesh.CachedBounds.Min.y
(eg, if mesh is floating off ground, set this to 0, otherwise support stops at bottom of mesh)
 
  
  Declaration
  
  Field Value
  
  
  
  Mesh
  
  
  Declaration
  
  Field Value
  
  
  
  OverhangAngleDeg
  overhang angle requiring support
 
  
  Declaration
  
    public double OverhangAngleDeg
   
  Field Value
  
  
  
  SubtractMesh
  subtract mesh from generated support
 
  
  Declaration
  
  Field Value
  
  
  
  SubtractMeshOffset
  offset applied to subtracted mesh. Note that this is uniform offset, and so
it leaves space at top and bottom of support as well!
 
  
  Declaration
  
    public double SubtractMeshOffset
   
  Field Value
  
  
  
  SupportMesh
  
  
  Declaration
  
    public DMesh3 SupportMesh
   
  Field Value
  
  Properties
  
  
  
  
  Dimensions
  
  
  Declaration
  
    public Vector3i Dimensions { get; }
   
  Property Value
  
  
  
  
  Grid
  winding-number grid available after calling Compute()
 
  
  Declaration
  
    public DenseGrid3f Grid { get; }
   
  Property Value
  
  
  
  
  GridOrigin
  Origin of the winding-number grid, in same coordinates as mesh
 
  
  Declaration
  
    public Vector3f GridOrigin { get; }
   
  Property Value
  
  
  
  
  Item[Int32, Int32, Int32]
  
  
  Declaration
  
    public float this[int i, int j, int k] { get; }
   
  Parameters
  
  Property Value
  
  Methods
  
  
  
  
  CellCenter(Int32, Int32, Int32)
  
  
  Declaration
  
    public Vector3f CellCenter(int i, int j, int k)
   
  Parameters
  
  Returns
  
  
  
  
  Generate()
  
  
  Declaration