Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.
First time visiting? Here are some places to start:- Looking for a certain topic? Check out the categories filter or use Search (upper right).
- Need support? Ask a question to our Community Support category.
- Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
- Be respectful, on topic and if you see a problem, Flag it.
If you would like to contact our Community Manager personally, feel free to send a private message or an email.
Creating Plane through 3 Points in featureScript
shane_poole
Member Posts: 7 ✭
Does anyone have any tips for creating a new plane through 3 points. Have not had any luck with all test attempts of cPlane, opPlane, etc.
This at least creates a plane just not the correct one...
Any tips appreciated!
var b = vector(32, 56, 0) * millimeter;
var a = vector(88, 0, 0) * millimeter;
var c = vector(88,56,50) * millimeter;
var _origin = (a+b+c)/3;
var _normal = cross((c-a), (b-a));
var newplane = plane(_origin, _normal);
This at least creates a plane just not the correct one...
Any tips appreciated!
Tagged:
0
Answers
Attempting to create plane ABC
a = (32, 0, 56)
b = (88, 50, 56)
c = (88, 0 ,0)
Y is into page.
Added triad as a visual guide.
Welcome to Onshape.