TAGGED: spaceclaim
-
-
March 22, 2024 at 5:58 pm
Shyam Prasad V Atri
SubscriberHelloÂ
Can anyone please tell me what is the python command to the following questions
1 create a plane normal to the starting point on a curve
2 draw a circle of a particular diameter
3 sweep that circle along that line
I saw some example scripts given in space claim by default but i don't see any examples given for question 1
I have already seen this video (
) which gives how the data structure of space claim model works but this also does not contain information about the question 1But i still can't understand how to create can anyone give me exact python commands for drawing one spline and sweep a circle of diameter 1mm along that spline
-
March 25, 2024 at 7:32 am
Erik Kostson
Ansys EmployeeÂ
Â
Hi
Ansys employees are not allowed to provide exact and extensive scripts – perhaps other forum members (not from Ansys) can do that .
What we can do is to give advice on how to easily create such a script.
1. Go to File-New Script.
2. Press the red record button as shown in the video image attached in your first post (think it is pressed by default):
3. Take steps 1-3. So as you would do this in the user interface (UI) so create a curve manually, a plane and a sketch, and then use the extrude tool, to create your geometry in the UI. These steps are now recorded and you have a Spaceclaim (SC) script which you can reuse and readapt. So this is a great way to record and create scripts in SC.
Hope this is clear.
ErikÂ
Â
Â
Â
-
- The topic ‘Ansys space claim sweep using python script’ is closed to new replies.
-
3155
-
1013
-
956
-
858
-
797
© 2025 Copyright ANSYS, Inc. All rights reserved.