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.

# 3D point

alberto_porras
Member Posts:

**2**EDU
Hi,

I would like to know if it's possible to create a 3D point by coordinates.

Sometimes it is useful to create geometry from a specific point, thus I need a 3D point.

Thanks a lot in advance

I would like to know if it's possible to create a 3D point by coordinates.

Sometimes it is useful to create geometry from a specific point, thus I need a 3D point.

Thanks a lot in advance

0

## Answers

1,010✭✭✭✭The more direct path would be to use featurescript. Here's an example script by @dave_cowden. It requires at least 2 points to be created, but it could be edited to allow an individual point.

https://cad.onshape.com/documents/502108ab33bd9af500b73c1a/w/68f73347f084d40c31271b24/e/5c9b644bfa74fd744d6bf626

117https://cad.onshape.com/documents/05e61f73d88c30ebe9e3baf8/w/6e72e2b08afb63489da10bdf/e/a7fc29bda73abe3a05aec06b

1,010✭✭✭✭1,010✭✭✭✭1,006✭✭✭✭✭I would propose this option to work with multy-edge paths as well.

UPD: and possibly when you will work on Intersection option you can make a subfeature which would create intersection wire body from sets of faces, which is also often needed

1,010✭✭✭✭1,845PROHere is a point FS: https://cad.onshape.com/documents/576d1e60c6cb90985345ac37

It supports projection, coordinates,and intersection

1,845PROTry this feature: https://cad.onshape.com/documents/84d939daceef6a928b8abcba

1,006✭✭✭✭✭match typeselector after the boolean block like this:1,010✭✭✭✭1,845PRO1,010✭✭✭✭1,845PROTry the new version 2.2, which adds localizedInFaces compatibility (With it set to true, it takes faces as input, which is cool)

1,010✭✭✭✭allthe targeted use cases And don't forget to support both length and and ratio along curve.1,006✭✭✭✭✭1,845PRODone

I can also add it for multiple points if you want

1,006✭✭✭✭✭1,845PROTry this other feature of mine (Delete Part): https://cad.onshape.com/documents/33416d14c3930276fd8453fc

1,010✭✭✭✭1,845PROMultiple Points along path: DONE!

1,010✭✭✭✭on opBoolean Plus, can you make it work for surfaces with internal boundaries the same way that Find Intersection does. Either that, or maybe allow Find Intersection to generate either a point OR curve(s)?

1,010✭✭✭✭For that matter, the single/multi workflow seems to be pretty redundant for all the input types. For along and coordinate, if there is just one input, it's a single. If there is more than one, it's a multi. Same goes for projection. If one vertex is selected, it's a single. If more than one, it's a multi.

The only "single" input left is intersection. That is currently limited to single points. 3 surfaces with 2 points of intersection currently fails. If possible, try to account for multiple intersections. I would also add support for intersecting curves with surfaces and again try to account for possible multiple intersection points. All these fringe cases are what held up my progress when trying to develop this FS myself, but if you have the time then these additions would make for a lot of versatility

Last, but not least, maybe add an "equal split" option for along curve to create N points equally spaced along a curve, either with or without endpoints.

All right, my wish list is over

1,845PROI did the multi coordinate input like it is, so it would allow copy-pasting from excel or csv

1,845PROWhat find intersection does is boolean the two surfaces without any holes, then uses evDistance to find the intersection, as that is the only way i know to get the intersection of a curve and a face.

1,010✭✭✭✭1,381I notice however that the 'Project' option projects to point on the surface that is normal to the surface.

In my case, i just need the point directly under the point (normal to the sketch containing the seed point).

Do you have an updated version of this that offers this option?

Thank you

1,010✭✭✭✭Edit: Nope, I lied. Both 3D Point and Find Intersection only take surfaces inputs. I guess the way around that would be to generate a couple surfaces whose intersection is your green line. Seems like a lot of work though for what seems like it should be a simple operation. @mbartlett21, maybe you can add a "projection direction" option that accepts a plane, planar surface, or linear edge/sketch/curve? Nothing selected = projected normal to target surface.

1,845PRO1,010✭✭✭✭1,845PRO@philip_thomas

Done!

It now has projection direction that can be specified (it uses opExtrude internally)