private void button1_Click(object sender, EventArgs e) { if (!validarMuroSeleccionado()) { return; } model.GetWorkPlaneHandler().SetCurrentTransformationPlane(new TransformationPlane()); TransformationPlane currentTP = model.GetWorkPlaneHandler().GetCurrentTransformationPlane(); T3D.CoordinateSystem coordenadasMuro = muro.GetCoordinateSystem(); model.GetWorkPlaneHandler().SetCurrentTransformationPlane(new TransformationPlane(coordenadasMuro)); ParametrosPanel p = new ParametrosPanel(muro); p.dx = Double.Parse(this.txtDx.Text); p.dy = Double.Parse(this.txtDz.Text); p.adicionalDerecha = Double.Parse(this.txtAddDer.Text); p.adicionalIzquierda = Double.Parse(this.txtAdIzq.Text); p.adicionalSuperior = Double.Parse(this.txtAdicionalSup.Text); p.adicionalInferior = Double.Parse(this.txtAdicionalInf.Text); p.diametroBarras = 7.0; p.diametroDiagonal = 4.0; PanelMoldar panel = new PanelMoldar(p); panel.fabricar(); model.GetWorkPlaneHandler().SetCurrentTransformationPlane(currentTP); model.CommitChanges(); }
public PanelMoldar(ParametrosPanel p) { this.p = p; if (this._placas == null) { this._placas = new ConjuntoPlacas(p); } }
private double _dxPlacas; // plomo de partida de la placa de más a la izquierda public ConjuntoPlacas(ParametrosPanel p) { this.p = p; if (p.dx == 0) { _largoPrimeraPlaca = largoPrimeraYUltimaPlaca(); } else { _largoPrimeraPlaca = p.dx; } }
public ViguetaVertical(ParametrosPanel p, double offsetX) : base(p, offsetX) { }
public Vigueta(ParametrosPanel p, double offset) { this.p = p; this.offset = offset; }
public ViguetaHorizontal(ParametrosPanel p, double offsetY) : base(p, offsetY) { }