Commit Graph

104 Commits

Author SHA1 Message Date
135633ef7a Refactor logging components and styles; remove unused CSS; enhance log icon functionality
- Removed the random color generation function from ProductionCapacity component.
- Updated ThroughputSummary component to remove unused imports.
- Simplified LogList component by removing unnecessary icons and integrating GetLogIcon for log types.
- Enhanced LoggerContext to support a new "success" log type and optimized logger methods with useMemo.
- Adjusted SimulationPlayer to conditionally render analysis components.
- Deleted index.css and removed its import from index.tsx.
- Cleaned up builder module by removing unused imports and optimizing state management.
- Removed savedTheme from Ground component.
- Changed log message from info to warning in Project component.
- Updated log color variables in SCSS files for better visibility and consistency.
- Added new log icons for success, error, info, and warning in LogIcons component.
- Created GetLogIcon utility to streamline log icon rendering based on log type.
2025-05-03 15:20:52 +05:30
Nalvazhuthi
2c37472928 feat: Add dragging and rotating state management to simulation store
- Introduced `useIsDragging` and `useIsRotating` stores to manage dragging and rotating states.
- Each store maintains its own state and provides setter functions.

refactor: Enhance storage unit and vehicle stores

- Added `clearStorageUnits` and `clearvehicles` methods to clear respective stores.
- Prevent duplicate entries in `addStorageUnit` and `addVehicle` methods by checking for existing model UUIDs.

style: Update SCSS variables and improve styling consistency

- Refactored background gradient variables for better readability.
- Introduced log indication colors for better visual feedback.
- Cleaned up and organized styles in various components for improved maintainability.

chore: Remove unused ROISummary styles

- Deleted `ROISummary.scss` as it was no longer needed.

feat: Implement new analysis component styles

- Created `analysis.scss` for the new analysis component layout and styles.
- Added styles for various sections including metrics, throughput values, and progress bars.

fix: Update main styles import

- Adjusted imports in `main.scss` to reflect the new structure and removed obsolete imports.
2025-05-03 11:20:31 +05:30
Nalvazhuthi
55d691074b updating UI 2025-05-03 11:20:04 +05:30
b8d24e2d32 Merge remote-tracking branch 'origin/simulation-armbot-v2' into v2 2025-05-03 10:10:11 +05:30
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
Nalvazhuthi
c187a07b22 updating UI 2025-05-03 10:03:39 +05:30
39c86b6fc1 consoles cleared 2025-05-02 18:34:44 +05:30
80e7bf4bf9 armbot position updated 2025-05-02 18:33:27 +05:30
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
928c683a79 Merge remote-tracking branch 'origin/simulation-agv-v2' into v2 2025-05-02 11:36:12 +05:30
2a669f6337 removed sample data and worked with schema for agv 2025-05-02 11:15:11 +05:30
29efeab387 Enhance event handling and backend updates across mechanics components; refactor trigger management in TriggerConnector 2025-04-30 20:16:26 +05:30
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
73f9bb29f7 Merge branch 'main' into v2 2025-04-30 12:01:39 +05:30
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
45fea9465e Refactor styles to use 'background' shorthand property instead of 'background-color' for consistency across components. Updated various components including confirmation pop-up, input fields, lists, marketplace, menu, module toggle, simulation, and more. Enhanced visual effects with backdrop filters and adjusted padding/margins for improved layout. Removed unnecessary styles and optimized hover effects for better user experience. 2025-04-29 16:27:03 +05:30
ab5ade7bee feat: Enhance camera control and user experience with improved key handling and speed adjustments 2025-04-29 13:42:24 +05:30
Nalvazhuthi
f427da34a7 added arm ui 2025-04-28 13:04:11 +05:30
Nalvazhuthi
3ebadf3c10 added arm ui 2025-04-28 12:26:31 +05:30
81b353307b feat: Integrate upsertProductOrEventApi in Simulations and Products components; adjust loadInitialFloorItems to accept renderDistance parameter; update material handling in addAssetModel and Vehicles components 2025-04-25 18:29:01 +05:30
c0e0bcb69d refactor: Update material default value and remove console logs for cleaner output 2025-04-25 11:49:39 +05:30
bfcb67c3c8 feat: Enhance EventProperties and mechanics components with new mechanics; refactor action handling and improve state management for various actions 2025-04-25 11:19:40 +05:30
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
0f716d64a6 feat: Add Simulator component to simulation and enable event logging 2025-04-23 18:25:49 +05:30
22fb00f731 feat: Enhance simulation event handling and material management with new components and state management 2025-04-23 18:13:32 +05:30
04f91585e6 feat: Update simulation stores and types to enhance robotic arm and vehicle handling 2025-04-23 14:53:27 +05:30
58b0e779fd Revert "Merge remote-tracking branch 'origin/simulation-agv-v2' into v2"
This reverts commit 27c7072cc9, reversing
changes made to cd737ed74c.
2025-04-23 12:27:02 +05:30
27c7072cc9 Merge remote-tracking branch 'origin/simulation-agv-v2' into v2 2025-04-23 12:26:42 +05:30
bcc908bfca added static agv 2025-04-23 09:13:33 +05:30
cd737ed74c feat: Implement Points management with PointsCreator component; enhance event handling and transform controls for simulation points 2025-04-22 19:02:44 +05:30
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
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
54cc3deb98 folder structure change 2025-04-21 11:53:42 +05:30
686c4e60c6 feat: Update visibility logic for path points and add new event schemas in simulation types 2025-04-17 17:47:27 +05:30
1e901c327d Merge remote-tracking branch 'origin/rtViz' into simulation 2025-04-16 18:31:41 +05:30
a59aa1d61c feat: Add MaterialInstances component for rendering animated materials based on active curves
refactor: Clean up console logs in ProcessAnimator for better readability
fix: Update group visibility logic in Agv and PathNavigator components
2025-04-16 13:22:47 +05:30
SreeNath14
b46b468e1c Merge remote-tracking branch 'origin/simulation' into simulation-animation 2025-04-16 11:45:29 +05:30
318ac6d939 Merge branch 'main' into rtViz 2025-04-16 09:22:15 +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
SreeNath14
c7147773c5 "updated arm logic" 2025-04-15 18:34:38 +05:30
db9c9fb8b5 duplicate zone rename bug resolved 2025-04-15 18:28:37 +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
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
3eecf30541 added global speed for agv 2025-04-11 18:08:53 +05:30
1256f33342 Debugged agv and conveyor interaction. 2025-04-11 17:52:07 +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
158cd2b1b8 Merge remote-tracking branch 'origin/ui' into simulation 2025-04-09 18:41:30 +05:30
a07bf917c5 Merge remote-tracking branch 'origin/rtViz' into simulation 2025-04-09 18:38:08 +05:30