Esempio n. 1
0
        protected override void SolveInstance(IGH_DataAccess DA)
        {
            Glulam gA = null, gB = null;
            double extension  = 10.0;
            bool   normalized = false;

            if (!DA.GetData <Glulam>("Glulam A", ref gA) ||
                !DA.GetData <Glulam>("Glulam B", ref gB))
            {
                return;
            }

            Brep bi = Glulam.GetGlulamBisector(gA, gB, extension, normalized);

            DA.SetData("Brep", bi);
        }