How to change the number of segments within an single arc? #6656
Unanswered
HarriVihriaelae
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello to everyone,
I am making a band in Maxwell. for the inner arc I would need a high number of segments, but the other sides should remain intact. xsection_num_seg does not work. Is there any other method than defining two coaxial circles, subtracting the inner cirlece and splitting the remining ring to a given lenght?
BR,
Harri
points_for_region=[
[r_o+10 ,0 ,0],
[(r_o+10)math.cos(2math.pi/partm/2) ,(r_o+10)math.sin(2math.pi/partm/2) ,0],
[(r_o+10)math.cos(2math.pi/partm) ,(r_o+10)math.sin(2math.pi/partm) ,0],
[(r_i_stator-tooth_h-yoke_h-10)math.cos(2math.pi/partm) ,(r_i_stator-tooth_h-yoke_h-10)math.sin(2math.pi/partm) ,0],
[(r_i_stator-tooth_h-yoke_h-10)math.cos(2math.pi/partm/2) ,(r_i_stator-tooth_h-yoke_h-10)math.sin(2math.pi/partm/2) ,0],
[(r_i_stator-tooth_h-yoke_h-10) ,0 ,0],
[r_o+10 ,0 ,0],
]
line_segments_region = [ "Arc", "Line", "Arc","Line"]
region_id= m2d.modeler.create_polyline(
points_for_region,
segment_type=line_segments_region,
name="Region",
close_surface=True,
cover_surface=True,
)
Beta Was this translation helpful? Give feedback.
All reactions