{ "module": "Kreisel", "version": "1.0", "description": "ILS Kreisel Testfaelle - alle Richtungen und Kreiselarten", "base_dxf": "kreisel_testbase.dxf", "output_dxf": "kreisel_tests.dxf", "output_results": "kreisel_results.json", "tests": [ { "id": "KR_Horiz_ObenUnten", "function": "draw-module", "description": "Horizontaler Kreisel, oben nach unten, STANDARD", "params": { "basepoint": [500.0, 5000.0, 2500.0], "abstand": 4200.0, "rotation": 270.0, "attribs": { "KREISELART": "STANDARD", "NAME": "TEST_H_ObenUnten" } }, "expect": { "attributes": { "KREISELART": "STANDARD", "DREHUNG": "270.0", "ABSTAND": "4200" }, "block_prefix": "KR_", "min_entities": 6 } }, { "id": "KR_Horiz_UntenOben", "function": "draw-module", "description": "Horizontaler Kreisel, unten nach oben, PIN", "params": { "basepoint": [1500.0, 0.0, 2500.0], "abstand": 4200.0, "rotation": 90.0, "attribs": { "KREISELART": "PIN", "NAME": "TEST_H_UntenOben" } }, "expect": { "attributes": { "KREISELART": "PIN", "DREHUNG": "90.0", "ABSTAND": "4200" }, "block_prefix": "KR_", "min_entities": 6 } }, { "id": "KR_Vert_LinksRechts", "function": "draw-module", "description": "Vertikaler Kreisel, links nach rechts, PIN", "params": { "basepoint": [0.0, 500.0, 2500.0], "abstand": 4200.0, "rotation": 0.0, "attribs": { "KREISELART": "PIN", "NAME": "TEST_V_LinksRechts" } }, "expect": { "attributes": { "KREISELART": "PIN", "DREHUNG": "0.0", "ABSTAND": "4200" }, "block_prefix": "KR_", "min_entities": 6 } }, { "id": "KR_Vert_RechtsLinks", "function": "draw-module", "description": "Vertikaler Kreisel, rechts nach links, STANDARD", "params": { "basepoint": [5000.0, 1500.0, 2500.0], "abstand": 4200.0, "rotation": 180.0, "attribs": { "KREISELART": "STANDARD", "NAME": "TEST_V_RechtsLinks" } }, "expect": { "attributes": { "KREISELART": "STANDARD", "DREHUNG": "180.0", "ABSTAND": "4200" }, "block_prefix": "KR_", "min_entities": 6 } }, { "id": "KR_Insert_Schraeg", "function": "draw-module", "description": "Kreisel mit 10 Grad Drehung, 6000mm Abstand, PIN", "params": { "basepoint": [3000.0, 3000.0, 2000.0], "abstand": 6000.0, "rotation": 10.0, "attribs": { "KREISELART": "PIN", "NAME": "TEST_Insert" } }, "expect": { "attributes": { "KREISELART": "PIN", "DREHUNG": "10.0", "ABSTAND": "6000" }, "block_prefix": "KR_", "min_entities": 6 } } ] }