Commit Graph

79 Commits

Author SHA1 Message Date
5af0ba303e feat: Remove localStorage camera position and control target management from various components 2025-07-07 17:13:43 +05:30
d96730368b feat: Add logging for specific human model during trigger handling 2025-07-07 16:41:03 +05:30
6bcdf0a715 Merge branch 'dev-simulation/human' into main-dev 2025-07-07 16:21:40 +05:30
82ba6d24bc feat: Remove unused GLB models and enhance asset reset functionality 2025-07-07 16:21:21 +05:30
74094aee9f feat: Add assembly action handling and UI components
- Implemented `useAssemblyHandler` to manage assembly actions for humans.
- Enhanced `useHumanActions` to include assembly action handling.
- Updated `HumanInstance` to support assembly processes and animations.
- Modified `HumanUi` to allow for assembly point configuration and rotation.
- Created `AssemblyAction` component for setting process time and material swap options.
- Updated simulation types to include assembly action properties.
- Adjusted existing action handlers to accommodate assembly actions alongside worker actions.
- Refactored `MaterialAnimator` and `VehicleAnimator` to manage attachment states and visibility based on load.
- Updated product store types to include human point actions.
2025-07-07 15:00:16 +05:30
b7f29bf5db fix: Update position and rotation handling for selected human in HumanUi 2025-07-07 10:18:15 +05:30
36421fa70a added new human ui 2025-07-07 10:11:37 +05:30
2feedc7dcb fix: Update animation reset logic and frame update speed based on active module 2025-07-04 17:29:19 +05:30
a0039d84e9 Merge branch 'dev-simulation/human' into main-dev 2025-07-04 17:16:24 +05:30
508c88dce2 feat: Implement human event handling in copy and duplication controls
- Added support for handling "Human" type events in the copy and duplication controls.
- Created a new HumanEventSchema to manage human-related events, including position, rotation, and action details.
- Updated the HumanAnimator to improve rotation handling using quaternions for smoother transitions.
- Enhanced the HumanInstance to ensure proper synchronization of human positions and rotations.
- Integrated human event handling in the trigger handler for various interactions, including vehicle and machine actions.
- Introduced material drop functionality from vehicles to humans, allowing for dynamic interactions in the simulation.
2025-07-04 17:15:10 +05:30
ff02f01430 fix: Update asset animation state handling to ensure correct playback status 2025-07-04 14:02:44 +05:30
02490214d9 feat: Enhance InputWithDropDown to support disabled state
fix: Update Model component to manage animation states and transitions more effectively

feat: Implement worker action handling in useWorkerHandler for material management

feat: Add MaterialAnimator to HumanInstance for dynamic material loading

feat: Extend useTriggerHandler to support interactions between humans and various entities

feat: Create WorkerAction component for managing load capacity and actions

feat: Introduce MaterialAnimator for human instances to visualize material loads

refactor: Update asset store to manage animation completion state

fix: Ensure proper handling of human materials in useHumanStore
2025-07-04 13:14:39 +05:30
7cf82629e9 completed init movement for human 2025-07-03 18:01:11 +05:30
f3487d05fa Merge branch 'main-dev' into dev-zone 2025-07-03 17:57:33 +05:30
46ff5c0208 refactor: Update zone handling by integrating zoneStore in multiple components and removing unused zones state 2025-07-03 17:55:19 +05:30
1e715cee50 feat: Enhance human event handling and animation management, including state updates and monitoring 2025-07-03 16:55:30 +05:30
8dd853dd03 feat: Implement selected animation handling and integrate with human mechanics 2025-07-03 15:18:49 +05:30
eb5683eadc feat: Refactor human action handling to replace animatedTravel with worker actions and enhance animation management 2025-07-03 14:23:57 +05:30
98f4d48db2 feat: Refactor human action handling to support animated travel and streamline action structure 2025-07-03 12:11:58 +05:30
b5c69f3335 feat: Add human mechanics and event handling, including UI components and action management 2025-07-03 12:09:31 +05:30
424df54ff7 feat: Enhance asset and human event handling with animation and loop capabilities 2025-07-02 17:31:17 +05:30
2f0acbda3c feat: Add human action handling with animation and animated travel capabilities 2025-07-02 15:41:24 +05:30
7519aa90c6 feat: Implement human simulation features
- Added human event handling in the simulation, including the ability to add, update, and remove human instances.
- Introduced a new Human store to manage human states and actions.
- Updated the simulation context to include human management.
- Enhanced the Points and TriggerConnector components to support human interactions.
- Refactored existing components to integrate human-related functionalities.
- Added HumanInstance and HumanInstances components for rendering human entities in the simulation.
- Updated TypeScript definitions to include human-related types and actions.
2025-07-02 15:07:31 +05:30
3f59f5d2dd refactor: Clean up console log statements and improve component state management in SideBarRight, AssetProperties, WallInstances, WallCreator, and SocketResponses 2025-07-02 11:52:57 +05:30
458abdb9a5 Merge remote-tracking branch 'origin/merge/wall-collab' into main-dev 2025-07-02 11:14:18 +05:30
f17fa1f2f0 Merge branch 'main' into main-dev 2025-07-02 11:06:24 +05:30
9350ccb94e refactor: Remove console log for wallAssets in WallAssetGroup component 2025-07-02 11:02:41 +05:30
64d086f808 feat: Implement wall asset management APIs and socket integration for create, update, and delete operations 2025-07-02 10:49:07 +05:30
1d70212cde Implement code changes to enhance functionality and improve performance 2025-07-01 19:32:49 +05:30
e3d13be8dd refactor: change floor and wall props 2025-07-01 13:01:03 +05:30
d6f6c4c901 Merge remote-tracking branch 'origin/dev-collaboration' into dev-r3f-wall 2025-06-30 18:13:23 +05:30
0a039f34b1 feat: Integrate active tool management across builder components; add deletableWallAsset state and related functionality 2025-06-30 18:11:37 +05:30
364b643c72 feat: Enhance wall asset interaction and management; implement position updates and add closest point calculation utility 2025-06-30 17:48:29 +05:30
1a9aef323a feat: Add selectedWallAsset and selectedFloorAsset state management; implement corresponding setters in useBuilderStore 2025-06-30 16:59:27 +05:30
997775c27e feat: Implement wall asset management features including creation, instances, and rendering; enhance wall properties input validation 2025-06-30 16:21:54 +05:30
8ebd16db83 Merge remote-tracking branch 'origin/dev-r3f-wall' into merge/wall-collab 2025-06-30 15:57:56 +05:30
898179c2c1 Refactor: Update project handling and sharing functionalities; integrate shared projects retrieval; enhance user data structure and loading mechanisms; improve input handling in MultiEmailInvite component; adjust wall generation callbacks in DXF processing. 2025-06-30 15:54:41 +05:30
3a70a13c94 Refactor: Add setDfxUploaded to useDfxUpload hook and update useEffect to reset uploaded data on toggle view change 2025-06-30 14:02:44 +05:30
e589cb22b5 Refactor: Integrate activeLayer and builder store into SelectFloorPlan and LoadBlueprint components; enhance getWallPointsFromBlueprint function with additional parameters for wall creation; update wall handling in WallCreator and PolygonGenerator components. 2025-06-30 12:59:16 +05:30
943ad3ba49 refactor: Update color scheme for Floor and Zone components; enhance snapping logic in ReferenceFloor and ReferenceZone 2025-06-30 12:54:25 +05:30
0c8d822dc5 Add limitDistance check to rendering logic in Model component 2025-06-30 12:23:40 +05:30
7124a819b6 feat: Implement zone management features including creation, deletion, and updates
- Added zone handling in the Line component for removing and updating zones based on points.
- Enhanced Point component to support snapping and updating zone positions.
- Introduced zone-related API calls for upserting and deleting zones.
- Updated zone store to manage zones more effectively, including methods for removing zones by points and getting zones by point IDs.
- Improved zone instance rendering to handle dynamic point connections.
- Refactored zone creation logic to allow for better interaction and snapping behavior.
- Updated API endpoints for zone operations to use version 1 of the API.
2025-06-30 12:22:42 +05:30
90df6c2b01 Refactor: Update useEffect dependencies to include activeLayer for ReferenceAisle, ReferenceFloor, ReferenceWall; enhance usePointSnapping with zone snapping functionality and add ReferenceZone component for zone management 2025-06-27 18:06:19 +05:30
fa6506c0be Refactor: Remove deprecated API endpoints and implement new zone management features
- Deleted obsolete API files for wall items, layers, lines, and points.
- Introduced new zone management APIs including create, delete, and update functionalities.
- Enhanced zone state management in the store with new properties for height and color.
- Implemented 2D and 3D zone rendering components for better visualization.
- Added asset fetching functionalities for marketplace integration.
- Updated types to accommodate new zone properties and API responses.
2025-06-27 17:51:57 +05:30
812a4f6aef Refactor wall creator and socket responses; update nav mesh components and remove unused pillar functions
- Updated import path for getClosestIntersection in wallCreator.tsx
- Cleaned up socketResponses.dev.tsx by removing unused imports and code, simplifying the component structure
- Modified navMesh.tsx to remove lines prop and adjust NavMeshDetails accordingly
- Refactored navMeshDetails.tsx to remove lines dependency in useEffect
- Updated polygonGenerator.tsx to remove lines prop and commented out unused code
- Added getClosestIntersection helper function for better modularity
- Removed unused pillar-related functions and commented out code in addAndUpdateReferencePillar.ts, addPillar.ts, deletableHoveredPillar.ts, deletePillar.ts, and updateReferencePolesheight.ts
2025-06-27 16:54:38 +05:30
bfa4d7bbc6 Add Floor2DInstance component and integrate into FloorInstances for 2D floor rendering 2025-06-27 16:10:53 +05:30
540bb44e0c Add floorName property to Floor interface and update related components for floor creation 2025-06-27 16:01:58 +05:30
12f1dd1771 Refactor interaction handling: change click events to double-click for DecalInstance, FloorInstance, and Wall components. Prevent event propagation to ensure proper selection behavior. 2025-06-27 15:58:34 +05:30
edf76fa1c9 Fix bounding box position calculations and update distance finding controls for accurate positioning based on geometry. Enhance move controls to correctly handle floor intersections and adjust object positioning accordingly. 2025-06-27 15:46:06 +05:30
c73bdf4556 completed floor 2025-06-27 15:44:31 +05:30