private void setRbondField(String str1, String str2, String x) {
		if (!(model instanceof MolecularModel))
			return;
		MolecularModel m = (MolecularModel) model;
		int lb = str1.indexOf("[");
		int rb = str1.indexOf("]");
		double z = parseMathExpression(str1.substring(lb + 1, rb));
		if (Double.isNaN(z))
			return;
		int i = (int) Math.round(z);
		if (i >= m.bonds.size() || i < 0) {
			out(ScriptEvent.FAILED, "Radial bond " + i + " doesn't exisit.");
			return;
		}
		String s = str2.toLowerCase().intern();
		boolean b = true;
		if (s == "visible") {
			m.bonds.get(i).setVisible("on".equalsIgnoreCase(x) || "true".equalsIgnoreCase(x));
			m.notifyBondChangeListeners();
		} else if (s == "style") {
			for (Field f : RadialBond.class.getFields()) {
				if (f.getName().equalsIgnoreCase(x)) {
					try {
						m.bonds.get(i).setBondStyle(f.getByte(null));
					} catch (IllegalArgumentException e) {
						e.printStackTrace();
					} catch (IllegalAccessException e) {
						e.printStackTrace();
					}
				}
			}
		} else if (s == "torquetype") {
			for (Field f : RadialBond.class.getFields()) {
				if (f.getName().equalsIgnoreCase(x)) {
					try {
						m.bonds.get(i).setTorqueType(f.getByte(null));
					} catch (IllegalArgumentException e) {
						e.printStackTrace();
					} catch (IllegalAccessException e) {
						e.printStackTrace();
					}
				}
			}
		} else {
			out(ScriptEvent.FAILED, "Cannot set property: " + str2);
			b = false;
		}
		if (b) {
			view.repaint();
			notifyChange();
		}
	}