simulation #52

Merged
Vishnu merged 11 commits from simulation into main 2025-04-08 13:48:36 +00:00
3 changed files with 1 additions and 3 deletions
Showing only changes of commit a6993ccd2e - Show all commits

View File

@@ -150,7 +150,6 @@ async function handleModelLoad(
const organization = email ? email.split("@")[1].split(".")[0] : "";
getAssetEventType(selectedItem.id, organization).then(async (res) => {
console.log('res: ', res);
if (res.type === "Conveyor") {
const pointUUIDs = res.points.map(() => THREE.MathUtils.generateUUID());

View File

@@ -513,7 +513,6 @@ function PathConnector({ pathsGroupRef }: { pathsGroupRef: React.MutableRefObjec
// For Vehicles, check if they're already connected to anything
if (intersected.userData.path.type === 'Vehicle') {
console.log('intersected: ', intersected);
const vehicleConnections = intersected.userData.path.points.connections.targets.length;
if (vehicleConnections >= 1) {
console.log("Vehicle can only have one connection");

View File

@@ -19,7 +19,7 @@ function Simulation() {
const [processes, setProcesses] = useState([]);
useEffect(() => {
console.log('simulationStates: ', simulationStates);
// console.log('simulationStates: ', simulationStates);
}, [simulationStates]);
// useEffect(() => {