Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
app = Application
oSel = app.Selection
#選択オブジェクトのポリゴンを全て選択する
#選択ポリゴンの周囲エッジを選択
#ゴテツさんの厚みつけを適応する
#生成したエッジを選択してベベルを実行する
app.SelectGeometryComponents()
app.ActivateRaycastPolySelTool("")
app.SelectAllConnectedComponents( oSel )
app.SelectAllUsingFilter("Polygon", "siCheckComponentVisibility", "", "")
app.SelectPolygonOutline("")
app.SelectFilter("Edge")
app.ActivateRaycastPolySelTool("")
app.Interactive_Thickness()
app.SelectFilter("Edge")
oBeve = app.ApplyTopoOp("BevelComponent","", "siUnspecified", "siPersistentOperation", "")
app.SetValue(".polymsh.bevelop.ratio", 0.1, "")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.