Interpolation_1 = model.addInterpolation(Part_1_doc, [p_1, p_2, p_3, p_4, p_5], False, False)
model.do()
-model.checkBooleansResult(Interpolation_1, model, 1, [0], [0], [0], [1], [2])
+model.checkResult(Interpolation_1, model, 1, [0], [0], [0], [1], [2])
# # =============================================================================
# # Test 2. Create curve 1-2-3-4-5-1, closed on, reorder off, without tangents
Interpolation_2 = model.addInterpolation(Part_1_doc, [p_1, p_2, p_3, p_4, p_5], True, False)
model.do()
-model.checkBooleansResult(Interpolation_2, model, 1, [0], [0], [0], [1], [2])
+model.checkResult(Interpolation_2, model, 1, [0], [0], [0], [1], [2])
# # =============================================================================
# # Test 3. Create curve 1-2-3-4, closed off, reorder on, without tangents
Interpolation_3 = model.addInterpolation(Part_1_doc, [p_1, p_2, p_3, p_4], False, True)
model.do()
-model.checkBooleansResult(Interpolation_3, model, 1, [0], [0], [0], [1], [2])
+model.checkResult(Interpolation_3, model, 1, [0], [0], [0], [1], [2])
# =============================================================================
# Test 4. Create curve 1-2-3-5, closed on, reorder on, without tangents
Interpolation_4 = model.addInterpolation(Part_1_doc, [p_1, p_2, p_3, p_5], True, True)
model.do()
-model.checkBooleansResult(Interpolation_4, model, 1, [0], [0], [0], [1], [2])
+model.checkResult(Interpolation_4, model, 1, [0], [0], [0], [1], [2])
# =============================================================================
# Test 5. Create curve 1-2-3-4-5, closed off, reorder off, with tangents
Tangent_1, Tangent_2, False, False)
model.do()
-model.checkBooleansResult(Interpolation_5, model, 1, [0], [0], [0], [1], [2])
+model.checkResult(Interpolation_5, model, 1, [0], [0], [0], [1], [2])
# =============================================================================
# Test 6. Try to create closed curve 1-2-1, closed off, reorder off, without tangents
Interpolation_8 = model.addInterpolation(Part_2_doc, points, False, False)
model.do()
-model.checkBooleansResult(Interpolation_8, model, 1, [0], [0], [0], [1], [2])
+model.checkResult(Interpolation_8, model, 1, [0], [0], [0], [1], [2])
# =============================================================================
# Test 9. Create curve on box vertices, closed off, reorder off, with tangents
Tangent_1, Tangent_2, False, False)
model.do()
-model.checkBooleansResult(Interpolation_9, model, 1, [0], [0], [0], [1], [2])
+model.checkResult(Interpolation_9, model, 1, [0], [0], [0], [1], [2])
# =============================================================================
# Test 10. Create curve using equal vertices