cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 
kuvbur
Advocate

API_3DCutPlanesInfo - how to set coordinates?

I need to build a 3d cross section. I found an example code in the help (APIEnv_Change 3D Cutting Planes ID), but I don't understand - what do the "vertical" and "horizontal" coordinates of the section line mean in the API_3DCutShapeType structure?

Industrial Architect and Structural Design Engineer, developer of free addon for sync GDL param and properties

1 Solution

Accepted Solutions
BrunoValads
Booster

The doc description is not very useful, but from my tests I found that pa, pb, pc and pd are a, b, c and d from the plane equation a*x + b*y + c*z + d = 0, with {a, b, c} = normal of the plane, and -d being the result of the equation when you apply the plane origin into the equation (x = originX, y = originY, z = originZa = normalX, b = normalY, c = normalZ).

Go to post

2 Replies 2
BrunoValads
Booster

The doc description is not very useful, but from my tests I found that pa, pb, pc and pd are a, b, c and d from the plane equation a*x + b*y + c*z + d = 0, with {a, b, c} = normal of the plane, and -d being the result of the equation when you apply the plane origin into the equation (x = originX, y = originY, z = originZa = normalX, b = normalY, c = normalZ).

kuvbur
Advocate

Thank you for the advice, I'll try that method.

Industrial Architect and Structural Design Engineer, developer of free addon for sync GDL param and properties

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!