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 EmployeeHi
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.
- FSAE CFD – Lesson 1 Preparation question (Using Discovery)
- Project lines/edges into a face with the direction normal to the face
- Script for subtracting models
- Multiple Instances of SpaceClaim taking multiple licenses
- No preview in explorer with scdox file
- Spaceclaim file reference error
- Issues after installing new service pack 2024R1 (sp5)
- Add-in Error Excel
- Problems with loading my Discovery Mesh into Fluent
- Missing SubDivWrapper.dll
-
3887
-
1414
-
1241
-
1118
-
1015
© 2025 Copyright ANSYS, Inc. All rights reserved.