-
-
July 26, 2019 at 12:20 pm
kireevartur
SubscriberHello everyone!
I want to create some geometry by scripting in SpaceClaim and I have problems with rounding corners creation.
Recording with API V18 Beta creates such code:
# Create 2D Round
curveSelPoint1 = SelectionPoint.Create(GetRootPart().Curves[2], 0.000350858464285384)
curveSelPoint2 = SelectionPoint.Create(GetRootPart().Curves[3], 0.000864859402742673)
result = Sketch2DRound.Create(curveSelPoint1, curveSelPoint2, r)
# EndBlock
Where r -- variable, created by me.
I can not understand or find in any documentation what do the numbers after comma in SelectionPoint.Create mean.
And how can I address to the certain lines or curves in my code to make my code reproducible? Saying reproducible I mean situation, when curves where moved to slightly different position and I need to create rounded corner with these lines addressing to them by names.
-
September 6, 2020 at 10:27 pm
pini_daniel
SubscriberHellonI am facing the same problem. Have you discoverd how to creat 2d round using the script?nDanieln -
February 11, 2021 at 4:35 pm
Fuxx
SubscriberThe number should be the central angle of the arc of a circle which describes your curve.nL= a*RnL= Length of the arcna=central angle in rad(!)nR=Radius of the circlenI haven't used it for rounding edges yet but I experimented a bit with the splitting curves feature.nFor straight lines it should be just the segment of the line at which you want to round. nhttps://en.wikipedia.org/wiki/Arc_(geometry)nYou should be able to extract many of the variables via the MeasureHelper.nUnfortunately I don't know who to calc the correct r in result = Sketch2DRound.Create(curveSelPoint1, curveSelPoint2, r) right now. You might have to take a dive into maths for that.n
-
- You must be logged in to reply to this topic.

Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.

Ansys Blog
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
- How to work with STL file?
- Using Symmetry in DesignModeler and Expanding the Results
- Rotate tool in ANSYS Design Modeler
- drawing a geometry by importing a table of points
- section plane
- material properties
- ANSYS FLUENT – Operation would result in non manifold bodies
- Geometry scaling
- Parameters not imported into Workbench 18.2 from Solidworks/Inventor
- Convert Surface body to solid
-
2590
-
2080
-
1315
-
1108
-
459
© 2023 Copyright ANSYS, Inc. All rights reserved.