Skip to content

Conversation

@sogalabhi
Copy link

No description provided.

faran4 and others added 30 commits June 4, 2025 12:09
- Updated database connection parameters in `populate_database.py`, `update_sequences.py`, and `postgres_credentials.py` for integration with the new PostgreSQL database.
- Removed error checking code in `inputData_view.py` for now(works without login).
- Added new  corecomponents for the UI: `DockTemplatePage`, `InputDockTemplate`, `InputField`, `MainNavBar`, `MiddleDockTemplate`, and `OutputDockTemplate` to improve the structure and functionality of the application.
- Introduced CSS styles for the new components to ensure a cohesive design across the application.
- Used the core files to create the page ui. Simualted api responses by adding hardcoded values in useeffect
- Cleaned up the JSX structure in the `Window.jsx` component by removing unnecessary line breaks and ensuring consistent indentation.
- Organized the rendering of design type buttons and connection items for better clarity.
- Updated the `Start` button functionality to navigate correctly based on the selected design type.
…ng React Three Fiber

Integrated a 3D model (.glb file) using @react-three/fiber and GLTFLoader. Added hover interaction to detect and display individual morph target keys dynamically using Html from @react-three/drei, enhancing user feedback for morphable meshes.
- Updated database connection parameters in `populate_database.py`, `update_sequences.py`, and `postgres_credentials.py` for integration with the new PostgreSQL database.
- Removed error checking code in `inputData_view.py` for now(works without login).
- Added new  corecomponents for the UI: `DockTemplatePage`, `InputDockTemplate`, `InputField`, `MainNavBar`, `MiddleDockTemplate`, and `OutputDockTemplate` to improve the structure and functionality of the application.
- Introduced CSS styles for the new components to ensure a cohesive design across the application.
- Deleted DockTemplatePage, InputDockTemplate, InputField, MainNavBar, MiddleDockTemplate, OutputDockTemplate components.
- Removed core_styles.css as it contained styles for deleted components.
- Updated BeamBeamEndPlate to change design module name in createDesign function.
- Refactored LoginPage for improved readability and consistency.
- Enhanced ModuleReducer and ModuleState to prevent direct state mutations and improve data handling.
- Updated database connection parameters in `populate_database.py`, `update_sequences.py`, and `postgres_credentials.py` for integration with the new PostgreSQL database.
- Removed error checking code in `inputData_view.py` for now(works without login).
- Added new  corecomponents for the UI: `DockTemplatePage`, `InputDockTemplate`, `InputField`, `MainNavBar`, `MiddleDockTemplate`, and `OutputDockTemplate` to improve the structure and functionality of the application.
- Introduced CSS styles for the new components to ensure a cohesive design across the application.
- Updated database connection parameters in `populate_database.py`, `update_sequences.py`, and `postgres_credentials.py` for integration with the new PostgreSQL database.
- Removed error checking code in `inputData_view.py` for now(works without login).
- Added new  corecomponents for the UI: `DockTemplatePage`, `InputDockTemplate`, `InputField`, `MainNavBar`, `MiddleDockTemplate`, and `OutputDockTemplate` to improve the structure and functionality of the application.
- Introduced CSS styles for the new components to ensure a cohesive design across the application.
- Removed duplicate route for BoltedToEndPage in App.jsx.
- Updated default selected profile in BoltedToEndPage from "Back to Back Angles" to "Angles".
- Changed member designation default value from "MB 300" to "All".
- Simplified parameter construction in BoltedToEndPage with hardcoded values for bolts and materials.
- Enhanced member designation selection logic to include "All" and dynamically populate based on selected profile.
- Added angleList and channelList to ModuleReducer and ModuleState for better state management.
- Introduced a new .osi file with predefined bolt and member parameters.
- Added debug print statements in Angle class for tracing database connection and attribute assignment.
- Updated CADGeneration view to include new session type for Tension Member Bolted Design.
- Enhanced CADDownload API to handle tension member session cookies.
- Integrated tension member bolted connection in design report CSV generation.
- Modified input data handling for tension member bolted design to return a formatted bolt list.
- Cleaned up output view for tension member bolted design by removing unnecessary print statements.
- Adjusted CAD model creation logic to accommodate new section types for tension members.
- Updated common logic for tension member design to reflect changes in module handling.
- Removed unused CSS styles from App.css to streamline the codebase.
- Introduced TensionDropdownMenu component for better dropdown management in the UI.
- Updated BoltedToEndPage to utilize the new TensionDropdownMenu and reflect changes in design preferences.
- Enhanced rendering logic in the Model component to include geometry for Member and Endplate sections.
- Fixed reducer logic to correctly set bolt diameter list from the action payload.
- Updated database connection parameters in `populate_database.py`, `update_sequences.py`, and `postgres_credentials.py` for integration with the new PostgreSQL database.
- Removed error checking code in `inputData_view.py` for now(works without login).
- Added new  corecomponents for the UI: `DockTemplatePage`, `InputDockTemplate`, `InputField`, `MainNavBar`, `MiddleDockTemplate`, and `OutputDockTemplate` to improve the structure and functionality of the application.
- Introduced CSS styles for the new components to ensure a cohesive design across the application.
sogalabhi and others added 30 commits December 6, 2025 07:00
Simple connections - Butt Joint and Lap Joint
- Replaced Material-UI dependencies with Ant Design icons and components.
- Added Firebase and js-yaml as new dependencies.
- Enhanced Butt Joint Welded configuration by adding KEY_DESIGN_FOR.
- Improved InputSection component styling for better option display.
- Refactored useEngineeringModule to include detailed logging and error handling during submission parameter building.
- Added new CAD generation and download endpoints in the API.
- Updated Firebase credential handling to prefer a centralized location.
- Improved logging for CAD model generation, including detailed error reporting.
- Refactored model rendering in the frontend to better handle individual parts and improve performance.
- Updated .gitignore to include additional CAD model file types.
…xed all issues

- Updated connection module identifiers from hyphenated to camel case format for consistency across the codebase.
- Adjusted related API endpoints and internal mappings to reflect the new naming conventions for 'CleatAngleConnection' and 'EndPlateConnection'.
- Enhanced logging and error handling in shear connection modules to improve debugging and maintainability.
- Added support for Column Cover Plate (Bolted/Welded) and Column End Plate connections.
- Updated API endpoints and internal mappings to accommodate new connection types.
- Enhanced CAD model generation logic to include new connection types.
- Improved error handling and logging for better maintainability and debugging.
- Refactored existing code to ensure consistency across connection modules.
- Added functionality to generate STL files alongside BREP files during CAD model creation.
- Improved error handling for STL file generation, ensuring warnings are logged without interrupting the process.
- Updated relevant modules to include the new STL writing capability, enhancing the overall CAD output options.
- Renamed "Plate" to "CoverPlate" in CAD generation logic for consistency across modules.
- Enhanced logging to provide clearer debug information during CAD model creation.
- Adjusted internal mappings to ensure legacy component names align with new naming conventions.
- Improved error handling and validation for section names in CAD model creation.
…eration

- Changed internal section name from "Connector" to "Cover Plate" for both bolted and welded column cover plates to align with CommonDesignLogic expectations.
- Enhanced comments to clarify the reasoning behind the naming convention changes and potential error prevention.
- Minor adjustments in logging for better traceability during CAD model creation.
centralized API base using file api.js
- Added new entries to .gitignore for design report files and Firebase service account.
- Enhanced moment connection logic by adding a key for column end plate connections.
- Removed unnecessary validation for EndPlateType in input validation.
- Updated output generation to streamline the process by using flange and web bolt spacing methods.
- Introduced a new example .env file for environment variable configuration in the osdagclient.
- Removed unused CSS for design modal in App.css.
- Updated BaseOutputDock component to improve layout and styling for better mobile experience.
- Refactored DesignReportModal to adjust width and styling based on screen size, ensuring a responsive design.
- Enhanced EngineeringModule to manage dock visibility and layout for mobile devices, including orientation detection.
- Improved ReportCustomizationModal to adapt its width and style for mobile screens, ensuring usability across devices.
- Enhanced mobile responsiveness by adjusting layout and styling in EngineeringModule.
- Organized menu items for better alignment and spacing on different screen sizes.
- Cleaned up code structure for improved readability and maintainability.
- Replaced OutputDockComponent with outputConfig in various connection modules for better configuration management.
- Removed unused imports and menu items to streamline code.
- Introduced BaseInputDock and BaseOutputDock components for improved input and output handling across modules.
- Enhanced EngineeringModule to manage output visibility and layout more effectively, ensuring a consistent user experience.
…ineeringModule

- Added handleCreateDesignReport and saveOutput props to BaseOutputDock for improved report generation and output saving capabilities.
- Updated title rendering in BaseOutputDock to dynamically display the provided title prop.
- Refactored EngineeringModule to utilize the updated BaseOutputDock, consolidating output handling and improving code organization.
- Removed redundant button elements from EngineeringModule, streamlining the component structure.
- Removed the btobRender component and replaced it with CadViewer for improved model rendering capabilities.
- Introduced SceneManager for centralized rendering logic, optimizing performance and maintainability.
- Added SmartPart component for individual part rendering with hover handling.
- Implemented configuration files for part colors and view mappings to streamline rendering logic.
- Updated EngineeringModule to utilize the new CadViewer, enhancing modularity and code organization.
…modules

- Added cad_helpers.py to provide reusable functions for CAD model generation, including section mappings and default section retrieval.
- Integrated CAD generation functionality into FlexureMember, MomentConnection, ShearConnection, SimpleConnection, and TensionMember viewsets.
- Updated API routes to support new CAD generation endpoints for each connection type, enhancing modularity and code organization.
- Improved error handling and response structure for CAD generation requests, ensuring better user feedback and debugging capabilities.
…nhance SceneManager rendering

- Removed the filtered model paths logic in EngineeringModule, directly utilizing normalized CAD model paths for rendering.
- Updated SceneManager to improve mesh rendering logic, ensuring dedicated geometries are rendered when available.
- Enhanced part position handling for better clarity and maintainability in the rendering process.
…ings

- Replaced hardcoded module keys in various components with centralized constants from DesignKeys.
- Updated API route mappings in apiRoutes.js to utilize new module keys for improved maintainability.
- Refactored module configurations to align with the new key structure, ensuring consistency across the application.
- Enhanced module slug retrieval logic in ModuleState and other components for better integration with the API.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants