Topologic is a software modelling library enabling hierarchical and topological representations of architectural spaces, buildings and artefacts through non-manifold topology.
GNU Affero General Public License v3.0
74
stars
19
forks
source link
Merge operation of the same object (i.e. vertex) throws an exception. #3
Merge operation of the same object (i.e. vertex) should be doable and should return a vertex. This is test case ID V_V_5_M.
Current Behavior
Currently, I am getting the following message:
Warning: IronPythonEvaluator.EvaluateIronPythonScript operation failed.
Traceback (most recent call last):
File "", line 53, in
Exception: Error: There are no enough arguments to perform the operation
Line 53 is: resultV_V_5_M = va.Merge(va)
Possible Solution
...
Steps to Reproduce (for bugs)
Entity Creation
p1 = Point.ByCoordinates(0,0,0)
va = Topologic.Vertex.ByPoint(p1)
Expected Behavior
Merge operation of the same object (i.e. vertex) should be doable and should return a vertex. This is test case ID V_V_5_M.
Current Behavior
Currently, I am getting the following message: Warning: IronPythonEvaluator.EvaluateIronPythonScript operation failed. Traceback (most recent call last): File "", line 53, in
Exception: Error: There are no enough arguments to perform the operation
Line 53 is: resultV_V_5_M = va.Merge(va)
Possible Solution
...
Steps to Reproduce (for bugs)
Entity Creation
p1 = Point.ByCoordinates(0,0,0) va = Topologic.Vertex.ByPoint(p1)
Test V_V_5_M
resultV_V_5_M = va.Merge(va)
Analyse results
resultV_V_5_MAnalysis = Topologic.Topology.Analyze(resultV_V_5_M)
Number of result entities
nbVerticesV_V_5_M = len(resultV_V_5_M.Vertices()) nbEdgesV_V_5_M = len(resultV_V_5_M.Edges())
Assign your output to the OUT variable.
OUT = [nbVerticesV_V_5_M, nbEdgesV_V_5_M]
Context
I am setting up the testing schema, so came across this exception.
Your Environment