Understanding Origin of Sketch Plane

Understanding Origin of Sketch Plane

nam_vt
Enthusiast Enthusiast
986 Views
1 Reply
Message 1 of 2

Understanding Origin of Sketch Plane

nam_vt
Enthusiast
Enthusiast

Hi,

 

I am testing on GenericModelCreation in SDK Samples.

 

I tried to create 2 extrusions. One extrusion has SketchPlane with Origin is new XYZ(XYZ.Zero.X, XYZ.Zero.Y, 1000). Another one has SketchPlane with Origin is XYZ.Zero.

 

I did not see any difference between those extrusions output.

 

Please help me to understand more about Origin of SketchPlane. How do I get location of a geometry in a family?

 

Thanks,

Nam.

0 Likes
987 Views
1 Reply
Reply (1)
Message 2 of 2

jeremytammik
Autodesk
Autodesk

Dear Nam,

 

Thank you for your query.

 

Your question cannot be answered as it stands, because the results depend on the extrusion parameters.

 

Every plane is defined by two input data items: an origin point and a normal vector.

 

https://en.wikipedia.org/wiki/Plane_(geometry)

 

The origin point is not unique, though.

 

Any arbitrary point that lies in the plane will give the same result.

 

A more precise, minimal, concise and canonical way to define a plane is to specify just four numbers: the three coordinates of its normal vector and its distance from the origin.

 

http://thebuildingcoder.typepad.com/blog/2014/09/planes-projections-and-picking-points.html#10

 

I hope this helps.

 

Best regards,

 

Jeremy



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

0 Likes