Commit Graph

12 Commits

Author SHA1 Message Date
Jerald-Golden-B b5ba3a0ce1 Refactor event handling and state management for StaticMachine and ArmBot types
- Updated `loadInitialFloorItems.ts` to streamline event data processing for StaticMachine and ArmBot types.
- Enhanced `copyPasteControls.tsx` and `duplicationControls.tsx` to support StaticMachine and ArmBot event data creation with proper UUID generation.
- Modified `moveControls.tsx`, `rotateControls.tsx`, and `transformControls.tsx` to include event data in the state.
- Improved `pathConnector.tsx` to handle connections for StaticMachine and ArmBot types, including deletion functionality.
- Updated store management to rename `useDeleteModels` to `useDeleteTool` for clarity.
- Adjusted type definitions in `worldTypes.d.ts` to include StaticMachine and ArmBot event schemas.
2025-04-08 14:56:45 +05:30
Jerald-Golden-B 272317991a feat: Extend simulation state types to include ArmBot events and update related components
- Updated RotateControls and SelectionControls to handle ArmBot events in simulation states.
- Enhanced PathConnector to manage connections involving ArmBot and StaticMachine types.
- Added ArmBotMechanics and StaticMachineMechanics components for managing properties of ArmBot and StaticMachine.
- Modified types in worldTypes to include rotation for ArmBot and StaticMachine events.
- Updated store to accommodate new ArmBot event types in simulation states.
2025-04-07 18:16:34 +05:30
Jerald-Golden-B 7060744ee1 feat: Add modeluuid assignment to userData in copy and duplication controls; log eventData and newEventData for debugging 2025-04-07 10:04:44 +05:30
Jerald-Golden-B 58d82da349 refactor: Simplify eventData structure in controls and remove console logs from simulation 2025-04-05 16:15:11 +05:30
Jerald-Golden-B b89589d8ea refactor: Update connection identifiers from pathUUID to modelUUID across simulation components 2025-04-05 15:15:01 +05:30
Jerald-Golden-B 1cc877aee1 feat: Enhance simulation state management to include StaticMachineEventsSchema
- Updated various modules to accommodate StaticMachineEventsSchema in simulation states.
- Modified event handling in addAssetModel, deleteFloorItems, and loadInitialFloorItems to support new event types.
- Adjusted type definitions in worldTypes.d.ts to define StaticMachineEventsSchema.
- Refactored path management in processCreator and simulation to handle new event types.
- Ensured compatibility in selection and manipulation controls for StaticMachine events.
- Removed bug that made the other assets not droppable
2025-04-05 14:33:25 +05:30
Jerald-Golden-B e92345d820 Refactor simulation paths to simulation states
- Updated all instances of `simulationPaths` to `simulationStates` across multiple components including copyPasteControls, duplicationControls, moveControls, rotateControls, selectionControls, and others.
- Adjusted related state management hooks in the store to reflect the change from `simulationPaths` to `simulationStates`.
- Ensured that all references to simulation paths in the simulation logic and UI components are consistent with the new naming convention.
2025-04-05 10:12:28 +05:30
Jerald-Golden-B cf6946750b added backend connection for conveyor and vehicle mechanics 2025-04-04 16:57:18 +05:30
Jerald-Golden-B d29ee03c44 refactor: remove console logs and enhance model userData structure 2025-04-03 19:46:52 +05:30
Jerald-Golden-B 526befad20 refactor: update backend URL and added conveyor event storing in ackend 2025-04-01 14:25:42 +05:30
Jerald_Golden b44aeb986f upstream pull + signIn/Up 2025-03-25 17:34:20 +05:30
Jerald-Golden-B 2303682a15 add initial components and utility functions for simulation and builder modules 2025-03-25 14:00:03 +05:30