Commit Graph

120 Commits

Author SHA1 Message Date
Jerald-Golden-B 6b0ee0ae79 Enhance material handling: add support for additional materials in conveyor and machine mechanics, update action types, and implement material model loading. 2025-05-05 14:26:38 +05:30
Jerald-Golden-B 8ba2bae810 Refactor simulation action handlers: consolidate action handling, enhance spawn logic, and improve type definitions for actions. 2025-05-05 11:24:00 +05:30
Jerald-Golden-B 13af6c2c67 Refactor conveyor mechanics and action handlers: update spawn count, interval, and delay handling; enhance material management in useMaterialStore; implement spawn action handler; unify action handling across various components. 2025-05-03 18:36:30 +05:30
Jerald-Golden-B 71fdb26e16 Refactor trigger handling in Trigger component: update trigger selection logic and add memoization for performance; enhance renameTrigger function in useProductStore to return updated event. 2025-05-03 13:23:01 +05:30
Jerald-Golden-B d29c4ce48a Refactor Trigger component: remove console logs and clean up unused code in Trigger and RoboticArm components; update ArmBotUI to improve state management and backend integration; fix typo in useProductStore comments. 2025-05-03 10:28:59 +05:30
Jerald-Golden-B 8b0daa3305 Merge remote-tracking branch 'origin/v2-ui' into v2 2025-05-03 10:11:20 +05:30
Jerald-Golden-B 94c306c813 Refactor Trigger component usage in mechanics files: pass selectedPointData and type props for Machine, RoboticArm, StorageUnit, and Vehicle to enhance functionality and maintain consistency. 2025-05-03 10:09:39 +05:30
Vishnu fb0da32504 Merge remote-tracking branch 'origin/v2' into v2-ui 2025-05-02 18:52:30 +05:30
Vishnu 44e3f5c207 Refactor RealTimeVisualization component and handle widget drop functionality
- Commented out the handleDrop function in RealTimeVisualization.tsx and moved its logic to a new utility function createHandleDrop for better separation of concerns.
- Updated Project.tsx to utilize the new createHandleDrop function, improving readability and maintainability.
- Enhanced styling for the scene container and real-time visualization components to improve layout and responsiveness.
- Removed unnecessary styles and consolidated button and input styles for consistency.
- Cleaned up unused imports and variables in various files to streamline the codebase.
2025-05-02 17:39:11 +05:30
Jerald-Golden-B 01a03f5166 Refactor action updates to include productId in updateAction calls across mechanics components; enhance event handling in product store and trigger management. Add clear functions for various stores to reset state. Update action and trigger management to prevent duplicates and ensure integrity. Adjust initial load actions to use consistent naming conventions. 2025-05-02 13:13:41 +05:30
Jerald-Golden-B 34c30bb5a2 Enhance Machine and Vehicle components: add current action management and update machine sample structure 2025-05-02 12:11:09 +05:30
Jerald-Golden-B 96530b981f Add dragging and rotating state management to simulation store; enhance PointsCreator and VehicleUI components 2025-05-02 11:54:40 +05:30
Jerald-Golden-B d3f5c5e506 Enhance TriggerConnector and useProductStore: add removeTrigger return value and improve event handling in TriggerConnector 2025-05-02 11:35:03 +05:30
Jerald-Golden-B 29efeab387 Enhance event handling and backend updates across mechanics components; refactor trigger management in TriggerConnector 2025-04-30 20:16:26 +05:30
Jerald-Golden-B a704be77d3 Refactor VehicleMechanics component for improved state management and event handling
- Simplified state initialization and effect hooks for better readability.
- Enhanced event handling functions for speed, action type, and action renaming.
- Updated current values retrieval logic to utilize getEventByModelUuid.
- Cleaned up JSX structure for better maintainability.

Update addAssetModel to remove unnecessary console log

- Removed debug logging for roboticArmEvent in addAssetModel.

Enhance copyPasteControls and duplicationControls with event handling

- Integrated useEventsStore to manage events during copy and paste operations.
- Updated event data structure for Conveyor, Vehicle, ArmBot, and StaticMachine types.
- Ensured proper UUID generation for new events and actions.

Refactor PointsCreator to ensure event sphere clearing

- Re-enabled clearSelectedEventSphere on pointer miss events for better UX.

Add logging in Products component for debugging

- Added console log to inspect data fetched from getAllProductsApi.

Update useProductStore to return updated events after modifications

- Modified updateEvent, addAction, removeAction, updateAction, and renameAction to return updated event data.
- Ensured consistency in event handling across the product store.
2025-04-30 15:58:23 +05:30
Jerald-Golden-B 73f9bb29f7 Merge branch 'main' into v2 2025-04-30 12:01:39 +05:30
Jerald-Golden-B 014bc3a7ca Refactor model identifier naming conventions from 'modeluuid' and 'modelname' to 'modelUuid' and 'modelName' across multiple modules for consistency and clarity. Update related API calls and local storage handling to reflect these changes. Remove unused deleteProductDataApi service and implement deleteProductApi service for product data deletion. Introduce steeringAngle property in vehicle configurations. 2025-04-30 11:46:20 +05:30
Jerald-Golden-B 882c81a385 Refactor asset model handling and event data management
- Removed redundant data structure in handleModelLoad function.
- Introduced eventData object to encapsulate event-related information for different asset types (Conveyor, Vehicle, ArmBot, StaticMachine).
- Updated socket emission to include complete data with eventData.
- Enhanced copy-paste and duplication controls to maintain eventData integrity during object duplication.
- Integrated event data updates in move and rotate controls to reflect changes in the simulation state.
- Improved PointsCreator component to handle rotation for event groups.
- Updated handleAddEventToProduct function to support event data management.
- Enhanced product management to fetch existing products from the server and handle new product creation.
- Added new types for eventData in worldTypes and simulationTypes for better type safety.
- Refactored IndexedDB utility functions for cleaner code.
2025-04-29 19:15:17 +05:30
Vishnu c1a7fe3015 feat: Implement collaboration features including user following and avatar management 2025-04-29 12:50:14 +05:30
Jerald-Golden-B fe527a7e52 Merge remote-tracking branch 'origin/simulation-armbot-v2' into v2 2025-04-25 19:42:16 +05:30
Gomathi 05d8405188 armbot trigger 2025-04-25 19:40:15 +05:30
Poovizhi99 f1e55d9abc merged with orgin/v2 2025-04-25 19:31:46 +05:30
Jerald-Golden-B d7a22f5bfb feat: Refactor PickAndPlaceAction component to accept props for pick and place points; enhance RoboticArmMechanics with action handling and state management 2025-04-25 16:06:24 +05:30
Jerald-Golden-B a1a1eacb79 feat: Refactor event data handling and API integration; update variable names for consistency and clarity 2025-04-25 13:47:46 +05:30
Jerald-Golden-B a305c3c006 Refactor EventProperties component to utilize new state management for selected event data and asset selection; implement action handling based on asset type and improve action rendering logic.
Enhance Simulations component to support adding and removing events from products; integrate new asset selection store for better state management.

Fix import paths in Design component and related files to ensure correct module resolution.

Update Tools component to correct import paths for template saving functionality.

Refactor EditWidgetOption component to simplify option handling and remove unnecessary state management.

Add new mechanics components for various asset types (Conveyor, Machine, Robotic Arm, Storage, Vehicle) as placeholders for future implementation.

Implement Trigger and TriggerConnector components to manage right-click interactions and asset selection in the simulation environment.

Enhance product store with new helper functions for event and action retrieval based on UUIDs.

Introduce new selected event data and asset state management in the simulation store for improved event handling.

Update simulation types to include new action types and improve type definitions for better type safety.

Remove obsolete temp markdown file from triggers directory.
2025-04-24 16:38:42 +05:30
Jerald-Golden-B 85515c6cd3 feat: Refactor simulation components and enhance product management with new features 2025-04-24 11:07:15 +05:30
Jerald-Golden-B 22fb00f731 feat: Enhance simulation event handling and material management with new components and state management 2025-04-23 18:13:32 +05:30
Jerald-Golden-B 04f91585e6 feat: Update simulation stores and types to enhance robotic arm and vehicle handling 2025-04-23 14:53:27 +05:30
Jerald-Golden-B d161b70537 feat: Refactor vehicle management and update storage unit load handling; remove unused vehicle component and enhance vehicle status types 2025-04-22 17:24:30 +05:30
Jerald-Golden-B 83ee14e9c7 feat: Add state filtering methods for ArmBot, Conveyor, Machine, StorageUnit, and Vehicle stores 2025-04-22 15:34:49 +05:30
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