Add iAssembly class for creating UC2 cube assemblies in 50x50x55mm grids #4
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds comprehensive support for creating complex UC2 assemblies in grid patterns, addressing the need to place UC2 cubes based on a table with specific positions and orientations.
New Features
iAssembly Class
iAssembly
class for working with Inventor assembly documents (.iam files)Key Methods
Utility Functions
Example Usage
The implementation directly addresses the issue example:
Files Added
PyInventor/pyinvent.py
withiAssembly
classuc2_grid_example.py
,simple_uc2_issue_example.py
uc2_grid_utilities.py
with helper functionssample_uc2_components.csv
for CSV workflowUC2_Grid_Documentation.md
with complete API referencetest_uc2_grid.py
for validationGrid Coordinate System
CSV Workflow Support
Backward Compatibility
iPart
class__init__.py
to exportiAssembly
alongside existing classesFixes #3.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.