Axis is a standalone static Svelte application designed to create, manipulate, and analyze cross-sections. The app provides detailed calculations for area, centroid, and moments of inertia. It also supports importing surfaces from .IGES and .STEP file formats for enhanced flexibility.
- Cross-Section Creation: Easily design custom cross-sections using an intuitive interface.
- Cross-Section Manipulation: Modify existing designs with simple tools for precise adjustments.
- Analysis Tools: Automatically calculate:
- Area
- Centroid
- Moments of inertia (Ix, Iy, and Ixy)
- File Import Support: Load surfaces from:
.IGESfiles.STEPfiles
- Visualization: Interactive visual representation of cross-sections using D3.js.
- Framework: Svelte
- Visualization: D3.js
- Package Management: pnpm
Ensure you have the following installed:
- Node.js
- svelte v5
- pnpm
-
Clone the repository:
git clone https://github.com/nikitaiavdeev/Axis cd axis -
Install dependencies:
pnpm install
To start a development server:
pnpm devThe application will be available at http://localhost:5173 by default.
To create a production build:
pnpm buildThe build artifacts will be available in the dist directory.
To preview the production build locally:
pnpm preview- Open the application in your browser.
- Use the tools provided to design or manipulate cross-sections.
- Import
.IGESor.STEPfiles for advanced analysis. - View real-time calculations for area, centroid, and moments of inertia.
- Export or save your designs for future use.
Axis supports .IGES and .STEP file formats for surface imports. Ensure your files are correctly formatted to avoid import issues.
Axis is licensed under the GNU General Public License v3.0.
- Svelte: For providing a lightweight and efficient framework.
- D3.js: For enabling dynamic and interactive visualizations.
Feel free to reach out if you have any questions or need support using Axis!