Commit Graph

90 Commits

Author SHA1 Message Date
Jerald-Golden-B 7907bbab0a Refactor simulation store structures to use arrays instead of records for conveyors, machines, storage units, vehicles, and products; remove useSimulationStore; enhance state management and helper functions for better performance and readability. 2025-04-22 14:44:09 +05:30
Jerald-Golden-B 6363d5b9af feat: Implement Zustand stores for machine, simulation, storage unit, vehicle, and visualization management
- Added `useMachineStore` for managing machine statuses, including actions for adding, removing, and updating machines.
- Introduced `useSimulationStore` to handle product and event management with actions for adding, removing, and updating products and events.
- Created `useStorageUnitStore` for managing storage unit statuses, including load tracking and state updates.
- Developed `useVehicleStore` for vehicle management, including load and state updates.
- Implemented `useChartStore` for managing measurement data and visualization settings.
- Added `useDroppedObjectsStore` for handling dropped objects in visualization zones, including object manipulation actions.
- Created `useZone3DWidgetStore` for managing 3D widget data in zones, including position and rotation updates.
- Introduced `useZoneStore` for managing selected zone states and widget configurations.
2025-04-22 14:28:29 +05:30
Jerald-Golden-B 78b9663d0f feat: Implement socket responses for collaboration features including model updates, line management, and zone handling
feat: Add temporary markdown files for simulation actions, events, products, and triggers

feat: Create events store with actions for managing events, points, actions, and triggers, including syncing with product store
2025-04-21 16:49:03 +05:30
Jerald-Golden-B 54cc3deb98 folder structure change 2025-04-21 11:53:42 +05:30
Jerald-Golden-B 31561428ef feat: Add immer for state management and define simulation store with event schemas 2025-04-17 18:22:27 +05:30
Jerald-Golden-B fa6404d86c Merge branch 'realTimeVisulization' into simulation 2025-04-15 18:35:25 +05:30
gabriel 109f88949c bug fix 2025-04-15 18:05:01 +05:30
Jerald-Golden-B 5cef9bdb8a Refactor simulation types and update imports
- Renamed simulation type imports from `simulation` to `simulationTypes` across multiple files for consistency.
- Consolidated simulation type definitions into a new `simulationTypes.d.ts` file.
- Updated relevant components (e.g., `ArmBot`, `IkInstances`, `PathConnector`, etc.) to use the new type definitions.
- Removed the old `simulation.d.ts` file to clean up the codebase.
- Adjusted function signatures and state management in components to align with the new type structure.
2025-04-15 14:15:39 +05:30
Jerald-Golden-B 37df5e8801 feat: Implement ArmBot simulation with IK animation and event handling
- Added ArmBot component to manage ArmBot instances in the simulation.
- Created ArmBotInstances component to render individual ArmBot models.
- Developed IKAnimationController for handling inverse kinematics during animations.
- Introduced IkInstances component to load and manage IK-enabled arm models.
- Defined simulation types for ArmBot events and connections in TypeScript.
- Enhanced type definitions for better clarity and maintainability.
2025-04-14 18:16:53 +05:30
gabriel c059fc8fd2 Merge branch 'main' into realTimeVisulization 2025-04-11 18:07:36 +05:30
gabriel 8f5837ec9f fixed floting and 3d widget buges 2025-04-11 18:01:27 +05:30
Gomathi 0e9c9fbd3e Merge branch 'main' into rtViz 2025-04-10 18:13:14 +05:30
Gomathi 1e22d82bff horizontal move updated based on zone points and bugs resolved 2025-04-10 17:53:28 +05:30
SreeNath14 863d2c6393 "updated single flow" 2025-04-10 17:46:11 +05:30
SreeNath14 e48195db98 "updated Animation" 2025-04-10 10:21:24 +05:30
Gomathi 8c95dd71eb Merge branch 'main' into rtViz 2025-04-09 18:36:51 +05:30
Gomathi 1c70ccd63a zone assets camera updation and rename.panel api added 2025-04-09 18:36:25 +05:30
Vishnu 03e9bcc740 feat: Add Shortcut Keys, activeSubTool state management and improve user avatar handling 2025-04-09 17:43:44 +05:30
Jerald-Golden-B 123fe88c22 Merge remote-tracking branch 'origin/rtViz' into simulation 2025-04-08 18:32:48 +05:30
Gomathi d76d09019e zone based assets added and 3d widgets dnd updated 2025-04-08 18:14:59 +05:30
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 c5d4507400 feat: Log camera update response data for debugging purposes; adjust user position parameter in findEnvironment function 2025-04-05 17:40:46 +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 34aea0ecf1 Refactor AGV and PathNavigator components; add NavMeshCreator for improved navigation handling and added backend event storage for connections 2025-04-05 12:25:29 +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 748a3d5eb0 Merge branch 'main' into simulation 2025-04-04 19:05:04 +05:30
Gomathi 6089c5538f Merge branch 'main' into rtViz 2025-04-04 18:50:12 +05:30
Gomathi baed3cd98b 3d editoption api added and rotation functionality added 2025-04-04 18:47:47 +05:30
Jerald-Golden-B 99a478f2e4 Merge remote-tracking branch 'origin/simulation-animation' into simulation 2025-04-04 18:05:38 +05:30
SreeNath14 c5ca0da1c5 "updated overall animation logics" 2025-04-04 18:02:53 +05:30
Nalvazhuthi 46d4308f9a display menu bugfix 2025-04-04 17:47:15 +05:30
Gomathi 60b778ff3d rotation added 2025-04-04 15:17:38 +05:30
Vishnu 719cfd04c4 Merge pull request 'simulation' (#41) from simulation into main
Reviewed-on: http://185.100.212.76:7776/Dwinzo-Beta/Dwinzo_dev/pulls/41
2025-04-03 14:28:12 +00:00
Jerald-Golden-B d29ee03c44 refactor: remove console logs and enhance model userData structure 2025-04-03 19:46:52 +05:30
Gomathi 22bb0332ac 3d widget editoption function added. 2025-04-03 19:31:25 +05:30
Vishnu 6d639edc43 update socket connection URL to include '/Builder' path 2025-04-03 09:58:55 +05:30
Jerald-Golden-B 7b9695f006 update socket connection URL to include '/Builder' path 2025-04-03 09:56:20 +05:30
Gomathi 194cdbbbee Merge branch 'main' into rtViz 2025-04-02 19:09:50 +05:30
Gomathi 238f76cb4c socket added for 3d and floating Widget 2025-04-02 18:49:18 +05:30
gabriel 09963d3337 resolved conflict and merged to main 2025-04-02 18:17:26 +05:30
gabriel f175822c3c Merge remote-tracking branch 'origin/main' into realTimeVisulization 2025-04-02 18:11:35 +05:30
Gomathi b828cb2437 socket added for 2d widget 2025-04-01 19:35:11 +05:30
gabriel 721d3a3657 Merge remote-tracking branch 'origin/simulation-agv' into realTimeVisulization 2025-04-01 19:15:06 +05:30
Poovizhi99 d2be2094eb functionality for grid distance 2025-04-01 18:16:11 +05:30
Gomathi 900723c14a server api changed for RealTimeVisulization 2025-04-01 15:16:54 +05:30
gabriel 03e7c32bfb Merge branch 'realTimeVisulization' of http://185.100.212.76:7776/Dwinzo-Beta/Dwinzo_dev into realTimeVisulization 2025-04-01 14:27:19 +05:30
Poovizhi99 a9bfef7693 changed marketplace assets 2025-04-01 14:27:08 +05:30
Gomathi 695b066c81 deletepanel added 2025-04-01 11:33:10 +05:30
Poovizhi99 21d96a31bc searching filtered assets 2025-04-01 08:58:56 +05:30