TAGGED: spaceclaim, spaceclaim-python-scripting
-
-
October 7, 2021 at 5:28 pm
Jthibault
SubscriberI 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 pmAniket
Forum 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 discussionsTop Contributors-
3467
-
1057
-
1051
-
928
-
896
Top Rated Tags© 2025 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.
-