Commit Graph

12 Commits

Author SHA1 Message Date
倪旌哲 3fff83f7ec 修改部分API的行为,尤其是在变换坐标系的问题。没有改变API定义 2025-07-16 19:21:08 +08:00
倪旌哲 a9d1de7747 Add beartype and ragflow-sdk packages; update simplecadapi version
- Introduced beartype version 0.18.5 with its source and wheel details.
- Added ragflow-sdk version 0.19.1, including dependencies on beartype and requests.
- Updated simplecadapi version from 0.1.2 to 1.0.0.
- Included ragflow-sdk in dev dependencies for testing purposes.
2025-07-07 03:01:09 +08:00
倪旌哲 e907fa88a4 Add Vertex and Wire classes documentation; implement auto documentation generation script
- Created `vertex.md` and `wire.md` to document the Vertex and Wire classes in the SimpleCAD API, detailing their attributes, methods, and usage examples.
- Introduced `auto_docs_gen.py` script to automate the extraction of API information from `operations.py` and generate markdown documentation.
- Updated `operations.py` to correct a comment regarding the target normal vector in the `helical_sweep_rsolid` function.
2025-07-06 23:24:31 +08:00
倪旌哲 0603c8111c Remove test for polyline edge creation and its exception handling from TestBasicShapes class in test_all_features.py 2025-07-06 15:15:58 +08:00
倪旌哲 c8edd62793 feat: 更新示例和测试用例以支持新的线性和径向阵列函数,改进导出函数类型注解 2025-07-06 10:16:45 +08:00
倪旌哲 a65e9399af feat: 添加NACA 0016桨叶示例,改进法向量计算和面、线创建函数 2025-07-06 09:45:26 +08:00
倪旌哲 f05d04edeb Refactor and enhance SimpleCAD API with new geometric functions and comprehensive tests
- Updated README.md to reflect changes in Edge and Wire creation.
- Removed outdated TEST_AND_EXAMPLES.md file.
- Modified examples.py to change output directory and improve example shapes.
- Deleted obsolete STL files from examples_output.
- Added new functions for creating segments, angle arcs, splines, polylines, and helices in operations.py.
- Updated __init__.py to include new functions and their aliases.
- Enhanced test_all_features.py with tests for new functions and error handling.
- Improved error handling in geometric operations.
2025-07-06 00:04:35 +08:00
倪旌哲 faec3a4151 Refactor code structure for improved readability and maintainability 2025-07-05 22:17:11 +08:00
倪旌哲 ba67ffd63b feat: Enhance comprehensive tests and add advanced module functionality
- Refactored comprehensive_test.py to include advanced modeling tests for round and square springs, triangle thread bolts, and comparisons of different spring and bolt parameters.
- Introduced a new function `test_advanced_module()` to validate advanced features and showcase models.
- Updated the model export section to include new test results and improved output messages.
- Updated version of simplecadapi to 0.1.1 and added 'rich' as a new dependency for better console output formatting.
2025-07-01 19:54:53 +08:00
倪旌哲 ff77b0d0a4 添加make_segment函数文档,修正拼写错误并更新相关调用 2025-07-01 16:28:57 +08:00
倪旌哲 0e53627d34 Add Doc 2025-07-01 02:28:58 +08:00
倪旌哲 78ba00a95d 初次提交,文档还不完善 2025-06-30 23:12:35 +08:00