-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: add example notebooks for sweeps, map, and scale #1083
Conversation
m = Modeler() | ||
``` | ||
|
||
## Scale Body |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only thoughts on the scale body section: maybe it would be better to make copies and scale the copies and plot them all together so the user can see the difference (plotting one body at a time doesn't have an immediate visual difference between them)
# Create the circlular profile on the XZ-plane centered at (5, 0, 0) with radius 2 | ||
profile = Sketch(plane=Plane(direction_x=[1, 0, 0], direction_y=[0, 0, 1])).circle( | ||
Point2D([path_radius, 0]), profile_radius | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
) | |
) | |
profile.plot() |
Might as well show the sketch in the plotter for better visualization.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1083 +/- ##
=======================================
Coverage 90.22% 90.22%
=======================================
Files 93 93
Lines 6835 6835
=======================================
Hits 6167 6167
Misses 668 668 ☔ View full report in Codecov by Sentry. |
@dastan-ansys - branch has to be named as |
Description
Added example notebooks for sweep_sktech, sweep_chain, map, and scale.
Issue linked
Issue: 1049
Checklist
feat: extrude circle to cylinder
)