Commit Graph

39 Commits

Author SHA1 Message Date
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
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
54cc3deb98 folder structure change 2025-04-21 11:53:42 +05:30
83f92d4b01 feat: Enhance connection removal logic to handle deleted models and their points 2025-04-16 10:16:54 +05:30
a26e0dacd0 Implement code changes to enhance functionality and improve performance 2025-04-16 10:03:01 +05:30
693f58ff36 Merge remote-tracking branch 'origin/simulation-arm' into simulation 2025-04-16 09:37:31 +05:30
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
c2a29fc893 integrated path while deleting the asset 2025-04-15 15:37:11 +05:30
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
3446507307 removed targets based on condition for armbot 2025-04-15 10:05:53 +05:30
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
5219d545b8 Merge remote-tracking branch 'origin/simulation-arm' into simulation 2025-04-14 18:31:24 +05:30
1e76fcb71c while deleting the assets updated the path 2025-04-14 18:20:00 +05:30
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
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
de2bfc9149 refactor: Implement modifier key detection for keyboard shortcuts in various controls 2025-04-10 13:41:05 +05:30
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
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
43df50c576 feat: Enhance ArmBot and StaticMachine mechanics with trigger handling and reset functionality 2025-04-08 18:31:57 +05:30
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
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
c44629f07d Merge branch 'main' into simulation 2025-04-07 11:24:09 +05:30
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
aefbcdded9 Merge branch 'main' of http://185.100.212.76:7776/Dwinzo-Beta/Dwinzo_dev 2025-04-07 09:04:04 +05:30
58d82da349 refactor: Simplify eventData structure in controls and remove console logs from simulation 2025-04-05 16:15:11 +05:30
b89589d8ea refactor: Update connection identifiers from pathUUID to modelUUID across simulation components 2025-04-05 15:15:01 +05:30
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
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
8dc6b3949f refactor: update event handling in mechanics components to use socket communication 2025-04-04 17:46:19 +05:30
cf6946750b added backend connection for conveyor and vehicle mechanics 2025-04-04 16:57:18 +05:30
cf4c026d79 update asset library URL, fix dropdown item comment, and adjust line color based on theme 2025-04-04 13:42:46 +05:30
d29ee03c44 refactor: remove console logs and enhance model userData structure 2025-04-03 19:46:52 +05:30
526befad20 refactor: update backend URL and added conveyor event storing in ackend 2025-04-01 14:25:42 +05:30
6e4c8282c5 Refactor AssetProperties layout, enhance PositionInput component with optional properties, and implement new asset event fetching logic 2025-03-31 14:28:24 +05:30
a4e1918849 Integrate active module checks in FloorItemsGroup and SelectionControls for improved event handling 2025-03-27 16:31:21 +05:30
b44aeb986f upstream pull + signIn/Up 2025-03-25 17:34:20 +05:30
2303682a15 add initial components and utility functions for simulation and builder modules 2025-03-25 14:00:03 +05:30