// CONSTRUCTOR public InterOptComponentStructure() : base("Interactive Optimization", "InterOpt", "Interactive Evolutionary Optimization", "StormCloud", "Optimization") { DesignView = new DesignToolVM(); compstruc = new ComputedStructure(); //paramval = new List<decimal>(); AllocConsole(); Console.WriteLine("CONSTRUCT COMPONENT"); }
public InterOptComponent() : base("StormCloud", "StormCloud", "Interactive Evolutionary Optimization", "DSE", "StormCloud") { Score = 0; DesignLines = new List <Line>(); DesignCurves = new List <Curve>(); DesignMeshes = new List <Mesh>(); DesignBreps = new List <Brep>(); DesignView = new DesignToolVM(); }
public StormCloudWindow(DesignToolVM designtoolvm, IGH_Component comp) { InitializeComponent(); this.Component = (InterOptComponent)comp; this.myDesignToolVM = designtoolvm; this.myDesignToolVM.Pos = new System.Windows.Media.Media3D.Point3D(0, 0, 20); this.myDesignToolVM.LookDir = new System.Windows.Media.Media3D.Vector3D(0, 0, -1); this.Pop.Minimum = NCOL; this.DataContext = designtoolvm; }