Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
366e28f22This file is pinned to the selected release. Download the original to open it in your design tool.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Media.Media3D;
using STPLoader;
using STPLoader.Implementation.Model.Entity;
namespace STPConverter.Implementation.Entity
{
class PlaneConvertable : IConvertable
{
private readonly Plane _surface;
private readonly IStpModel _model;
public PlaneConvertable(Surface surface, IStpModel model)
{
_surface = (Plane)surface;
_model = model;
Init();
}
private void Init()
{
//var planeAxis = _model.Get<Axis2Placement3D>(_surface.AxisId);
Points = new List<Vector3D>();
Indices = new List<int>();
}
public IList<Vector3D> Points { get; private set; }
public IList<int> Indices { get; private set; }
}
}