September 19, 2017, 14:17
|
How to flip the cut using python script?
|
#1
|
New Member
Renuka
Join Date: Aug 2017
Posts: 15
Rep Power: 9
|
I added two cutting plane(parallel to each other) in my model using python script.following function I used to add plane
Quote:
pl1 = base.CreateEntity(deck, "CUTTING PLANE",
('Clip', "YES", 'oX', result[0], 'oY', result[1], 'oZ', result[2],
'xX', 1, 'xY', 0, 'xZ',0,
'zX', 0, 'zY', 0, 'zZ',1))
md_cut = base.GetEntity(deck, "PSHELL", 1)
base.ModelCutAddPlane(md_cut, pl1)
base.ModelCutApply(md_cut)
|
But problem is that I have to flip 2nd cutting plane to get required output.
I am looking for some function that flip(revert the direction of cut) a cutting plane.
Thank you
|
|
|