Commit Graph

56 Commits

Author SHA1 Message Date
Jerald-Golden-B 48fc770b51 Refactor AssetProperties and TransformControl to improve object position and rotation handling; streamline socket store structure for better maintainability 2025-05-13 13:40:51 +05:30
Jerald-Golden-B 3a9c41434d Merge branch 'main' into v2 2025-05-13 13:00:10 +05:30
Jerald-Golden-B ecab03c5f0 Refactor MoveControls and TransformControls for improved asset manipulation
- Cleaned up MoveControls component by removing unused variables and optimizing event handling.
- Enhanced asset movement logic with better key event detection and state management.
- Removed deprecated transform mode state from store.
- Updated worldTypes to remove unnecessary positionY property.
- Introduced TransformControls component for handling object transformations (translate/rotate) with proper state management and backend updates.
- Implemented event handling for mouse actions and keyboard shortcuts to toggle transformation modes.
2025-05-13 12:58:04 +05:30
Vishnu 34aa9b9dec Add logout functionality to MenuBar component; clear localStorage and navigate to homepage on logout 2025-05-13 10:41:39 +05:30
Vishnu 87d1c4ae12 Refactor distance finding controls and move controls for improved functionality and performance
- Updated `getRoomsFromLines.ts` to filter valid line features before polygonization.
- Enhanced `distanceFindingControls.tsx` to streamline measurement line updates and improve text label rendering.
- Refactored `moveControls.tsx` to optimize event handling and asset movement logic, ensuring smoother interactions.
- Adjusted `selectionControls.tsx` to safely parse stored floor items from local storage.
- Commented out unused imports in `roboticArmInstances.tsx` for cleaner code.
- Modified `polygonGenerator.tsx` to ensure only valid line features are processed for polygon generation.
2025-05-10 18:12:04 +05:30
Poovizhi99 1d35fbe055 Merge remote-tracking branch 'origin/v2-ui' into simulation-agv-v2 2025-05-10 16:42:52 +05:30
Poovizhi99 2debef7305 update 2025-05-10 16:39:19 +05:30
Jerald-Golden-B 3703dc629d Refactor material handling: update loadCapacity to 1 in multiple components, enhance storage unit actions, and implement new store handler logic for improved material management 2025-05-10 12:24:29 +05:30
v2constructionss 45a10b8673 Enhance storage unit functionality: update StorageAction component, integrate material handling in storage mechanics, and improve state management in vehicle and storage unit stores. 2025-05-09 22:50:47 +05:30
Jerald-Golden-B 75aa0c3d26 Add storage event handling and extend actionType in simulation types 2025-05-09 19:42:08 +05:30
Poovizhi99 21b6e1108b finding distance for wall and model 2025-05-09 19:23:08 +05:30
Jerald-Golden-B 75699e7199 Refactor multiple components: streamline action handling in ActionsList, RoboticArmMechanics, and Trigger; update vehicle and robotic arm data management in Products and Vehicles; unify action naming in loadInitialFloorItems, copyPasteControls, and duplicationControls; enhance ArmBotUI with selected event sphere integration. 2025-05-03 12:25:10 +05:30
Jerald-Golden-B 9233bb97c8 Merge remote-tracking branch 'origin/simulation-agv-v2' into v2 2025-05-03 10:12:02 +05:30
Gomathi 80e7bf4bf9 armbot position updated 2025-05-02 18:33:27 +05:30
Poovizhi99 ef2baacf55 added snap function for ctrl and ctrl+shift key 2025-05-02 14:04:52 +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 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
Jerald-Golden-B 54cc3deb98 folder structure change 2025-04-21 11:53:42 +05:30
Jerald-Golden-B 83f92d4b01 feat: Enhance connection removal logic to handle deleted models and their points 2025-04-16 10:16:54 +05:30
Jerald-Golden-B a26e0dacd0 Implement code changes to enhance functionality and improve performance 2025-04-16 10:03:01 +05:30
Jerald-Golden-B 693f58ff36 Merge remote-tracking branch 'origin/simulation-arm' into simulation 2025-04-16 09:37:31 +05:30
Jerald-Golden-B 5b42bd9c40 feat: Enhance simulation with StaticMachine integration and ArmBot updates
- Added StaticMachine component to manage static machine states and interactions.
- Implemented StaticMachineInstances for handling individual machine behaviors.
- Updated ArmBot and related components to support interactions with static machines.
- Refactored process handling to include ArmBot actions and trigger management.
- Improved type definitions for simulation types to accommodate new features.
2025-04-15 18:34:43 +05:30
Poovizhi99 c2a29fc893 integrated path while deleting the asset 2025-04-15 15:37:11 +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
Poovizhi99 3446507307 removed targets based on condition for armbot 2025-04-15 10:05:53 +05:30
Jerald-Golden-B d60d9812e4 Refactor SelectionControls component for improved readability and maintainability; consolidate event handlers and state management, and enhance selection logic. 2025-04-14 18:31:39 +05:30
Jerald-Golden-B 5219d545b8 Merge remote-tracking branch 'origin/simulation-arm' into simulation 2025-04-14 18:31:24 +05:30
Poovizhi99 1e76fcb71c while deleting the assets updated the path 2025-04-14 18:20:00 +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
Jerald-Golden-B 1256f33342 Debugged agv and conveyor interaction. 2025-04-11 17:52:07 +05:30
SreeNath14 7af1724715 Merge branch 'main' into simulation-animation 2025-04-10 17:52:30 +05:30
SreeNath14 863d2c6393 "updated single flow" 2025-04-10 17:46:11 +05:30
Vishnu de2bfc9149 refactor: Implement modifier key detection for keyboard shortcuts in various controls 2025-04-10 13:41:05 +05:30
Jerald-Golden-B 2fee9ccf24 feat: Update API version for asset file retrieval; add rotation data to event schemas and controls 2025-04-09 18:37:07 +05:30
Jerald-Golden-B f7a0f3b3d6 feat: Enhance ArmBotMechanics with connected models and process management; update ConveyorMechanics for radio input behavior; adjust NavMeshDetails cell size; add depthWrite to ZoneGroup material; include triggers in copy and duplication controls; refine path connector actions filtering; improve socket store zone management 2025-04-09 15:38:29 +05:30
Jerald-Golden-B 43df50c576 feat: Enhance ArmBot and StaticMachine mechanics with trigger handling and reset functionality 2025-04-08 18:31:57 +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 c44629f07d Merge branch 'main' into simulation 2025-04-07 11:24:09 +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
Vishnu aefbcdded9 Merge branch 'main' of http://185.100.212.76:7776/Dwinzo-Beta/Dwinzo_dev 2025-04-07 09:04:04 +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 8dc6b3949f refactor: update event handling in mechanics components to use socket communication 2025-04-04 17:46:19 +05:30
Jerald-Golden-B cf6946750b added backend connection for conveyor and vehicle mechanics 2025-04-04 16:57:18 +05:30
Vishnu cf4c026d79 update asset library URL, fix dropdown item comment, and adjust line color based on theme 2025-04-04 13:42:46 +05:30