Skip to content

Conversation

james-packer
Copy link
Contributor

This requires #575 to be merged first.

This example shows how arbitrary geometry from other sources as a set of X.Y points can be used in adaptive templates, using the geometry fitting approach to avoid excessive numbers of small geometry features.

@github-actions github-actions bot added the documentation Improvements or additions to documentation label Aug 28, 2025
Copy link

codecov bot commented Aug 28, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.21%. Comparing base (229280b) to head (fba42ab).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #576   +/-   ##
=======================================
  Coverage   88.21%   88.21%           
=======================================
  Files          24       24           
  Lines        3640     3640           
=======================================
  Hits         3211     3211           
  Misses        429      429           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

# Required files
# --------------
# The files Pocket_1.txt, Pocket_2.txt, Pocket_3.txt, and Pocket_4.txt should be downloaded and
# placed in the same folder as the mot file. These can be downloaded from
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

*Should be placed in a sub-directory called "Points"

for entity in curve_entities:
rotor_pocket.add_entity(entity)

magnet_region = motor_cad.get_region(magnet_name)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure it is necessary to do this with the magnet region?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll double check, I think this was needed to make sure the parent/child relationship was set.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants