Skip to content

Commit 1e287a1

Browse files
committed
test router3d_visualize.html (3)
1 parent eb6f9dc commit 1e287a1

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

router3d_visualize.html

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -121,38 +121,38 @@ <h3>3D Route Planning</h3>
121121
// Define connection types
122122
const CONNECTION_TYPES = {
123123
DIRECT: { color: 0x00ff00, width: 0.5 },
124-
ROUTED: { color: 0xff0000, width: 0.3 },
125-
CONSTRAINT: { color: 0xffa500, width: 0.3 },
124+
ROUTED: { color: 0xffa500, width: 0.3 },
125+
CONSTRAINT: { color: 0xff0000, width: 0.3 },
126126
ALTERNATE: { color: 0x0000ff, width: 0.3 }
127127
};
128128

129129
// Define keepout zones
130130
const keepouts = [
131131
{
132132
position: { x: 600, y: 0, z: 0 },
133-
size: { x: 300, y: 5, z: 500 },
133+
size: { x: 300, y: 10, z: 500 },
134134
visible: true
135135
},
136136
{
137137
position: { x: -500, y: 0, z: -400 },
138-
size: { x: 300, y: 5, z: 300 },
138+
size: { x: 300, y: 10, z: 300 },
139139
visible: true
140140
}
141141
];
142142

143143
// Define nodes based on the SVG data
144144
const nodes = [
145145
{ id: 'source', type: NODE_TYPES.SOURCE, position: {x: -973, y: 0, z: 728} },
146-
{ id: 'terminal_1', type: NODE_TYPES.TERMINAL, position: {x: -595, y: 1, z: 344} },
147-
{ id: 'terminal_2', type: NODE_TYPES.TERMINAL, position: {x: 377, y: 1, z: 216} },
146+
{ id: 'terminal_1', type: NODE_TYPES.TERMINAL, position: {x: -595, y: 2, z: 344} },
147+
{ id: 'terminal_2', type: NODE_TYPES.TERMINAL, position: {x: 377, y: 2, z: 216} },
148148
{ id: 'steiner_1', type: NODE_TYPES.STEINER, position: {x: -595, y: 0, z: 344} },
149149
{ id: 'terminal_3', type: NODE_TYPES.TERMINAL, position: {x: -352, y: 0, z: -808} },
150-
{ id: 'steiner_2', type: NODE_TYPES.STEINER, position: {x: 134, y: 1, z: 216} },
151-
{ id: 'terminal_4', type: NODE_TYPES.TERMINAL, position: {x: 134, y: 2, z: -168} },
152-
{ id: 'terminal_5', type: NODE_TYPES.TERMINAL, position: {x: 863, y: 3, z: 856} },
150+
{ id: 'steiner_2', type: NODE_TYPES.STEINER, position: {x: 134, y: 2, z: 216} },
151+
{ id: 'terminal_4', type: NODE_TYPES.TERMINAL, position: {x: 134, y: 4, z: -168} },
152+
{ id: 'terminal_5', type: NODE_TYPES.TERMINAL, position: {x: 863, y: 6, z: 856} },
153153
{ id: 'steiner_3', type: NODE_TYPES.STEINER, position: {x: -352, y: 0, z: -680} },
154154
{ id: 'terminal_6', type: NODE_TYPES.TERMINAL, position: {x: 620, y: 0, z: -680} },
155-
{ id: 'terminal_7', type: NODE_TYPES.TERMINAL, position: {x: 1106, y: 2, z: -296} },
155+
{ id: 'terminal_7', type: NODE_TYPES.TERMINAL, position: {x: 1106, y: 4, z: -296} },
156156
];
157157

158158
// Define connections based on the SVG data

0 commit comments

Comments
 (0)