TAGGED: spaceclaim, spaceclaim-python-scripting
-
-
October 7, 2021 at 5:28 pmJthibaultSubscriber
I have imported a point curve text file as a series of 141 evenly spaced curves and wish to use the blend tool to make them into a surface. I want to create a general script to apply the blend tool to each pair of curves in sequence.
Essentially what I want to do it perform this code block:
# Create Blend
selection = Selection.Create(Curve1, Curve2)
options = LoftOptions()
options.GeometryCommandOptions = GeometryCommandOptions()
result = Loft.Create(selection, None, options, Info1)
# EndBlock
and subsequently iterate Curve1 and Curve2 through all pairs of sequential curves in CurveFolder1
October 25, 2021 at 1:41 pmAniketForum Moderatorwould it work if you pythonically read the file and bring only two curves at a point blend them, and later delete them, and repeat?
-Aniket
How to access Ansys help links
Guidelines for Posting on Ansys Learning Forum
Viewing 1 reply thread- The topic ‘How to loop blend script through several curves.’ is closed to new replies.
Ansys Innovation SpaceTrending discussions- Data Center Simulation
- Unable to attach geometry 2024 R2
- Getting Mesh Faces With Specified Normal Via SpaceClaim Scripting (V241)
- How to provide blade angles in bladegen.
- DXF file loaded incorrectly
- plugin error failed to import assembly from spaceclaim
- Crash by using Script Editor
- Overlapping contact face
- Thermoelectric Cooler Model
- Temperature’s Distribution not available in Refine Mode ?
Top Contributors-
1216
-
543
-
523
-
225
-
209
Top Rated Tags© 2024 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.
-