public DesignVM(List <Line> lines, List <Curve> curves, List <Mesh> meshes, List <Brep> breps, bool isselected, bool isclickable, double score, Design design) { this.DesignLines = lines; this.IsClickable = isclickable; this.IsSelected = isselected; this.Score = score; this.Design = design; Console.WriteLine('1'); //this.Model = RhinoHelixUtilities.DrawLines(this.DesignLines,RenderingSettings.diameter, RenderingSettings.resolutiontube,RenderingSettings.mat); this.Model = RhinoHelixUtilities.Draw(curves, meshes, breps, RenderingSettings.diameter, RenderingSettings.resolution, RenderingSettings.resolutiontube, RenderingSettings.mat); }
public void UpdateCurrentModelAdvanced(List <Curve> curves, List <Mesh> meshes, List <Brep> brep, double diameter, int resolution, int resolutiontube, System.Windows.Media.Media3D.Material mat) { this.CurrentModel = RhinoHelixUtilities.Draw(curves, meshes, brep, diameter, resolution, resolutiontube, mat); }
// Updatecurrentmodel public void UpdateCurrentModel(List <Line> lines, double diameter, int resolutiontube, System.Windows.Media.Media3D.Material mat) { this.CurrentModel = RhinoHelixUtilities.DrawLines(lines, diameter, resolutiontube, mat); }