|
@@ -302,11 +302,11 @@ public class ConvertCadKjl {
|
|
|
JSONArray points = input.getJSONArray("vertex-xy");
|
|
|
for(int i=0;i<result.size();++i) {
|
|
|
JSONObject item = result.getJSONObject(i);
|
|
|
- int wallId = item.getIntValue("groundClearance");
|
|
|
+ //int wallId = item.getIntValue("groundClearance");
|
|
|
double _bottom = item.getDouble("bottom");
|
|
|
- double bottom = getbottomForWallId(wallId);
|
|
|
- double groundClearance = _bottom - bottom;
|
|
|
- item.put("groundClearance", groundClearance);
|
|
|
+ //double bottom = getbottomForWallId(wallId);
|
|
|
+ //double groundClearance = _bottom - bottom;
|
|
|
+ item.put("groundClearance", _bottom);
|
|
|
item.put("wallId", wallId);
|
|
|
item.remove("bottom");
|
|
|
}
|