How to place point at the center of a sphere?

Use this space to ask how to do whatever you're trying to use SolidWorks to do.
User avatar
mbiasotti
Posts: 32
Joined: Tue Mar 23, 2021 1:57 am
Answers: 0
Location: San Jose, CA
x 41
Contact:

How to place point at the center of a sphere?

Unread post by mbiasotti »

Does anyone have a good method of placing a 3Dsketch point or Ref point at the center of a spherical body?

Thx

Mark
MJuric
Posts: 1067
Joined: Mon Mar 08, 2021 3:21 pm
Answers: 1
x 31
x 873

Re: How to place point at the center of a sphere?

Unread post by MJuric »

Depends on how the Sphere was created.

If it's a revolved half circle with a sketch, then show the sketch and place the point on the midpoint of the line.

Otherwise you have to create planes, axis and then intersect the axis with the remaining plane.
User avatar
Roasted By John
Posts: 366
Joined: Mon Mar 08, 2021 3:21 pm
Answers: 1
Location: Lebanon PA USA
x 268
x 583
Contact:

Re: How to place point at the center of a sphere?

Unread post by Roasted By John »

If you can't do what @MJuric mentioned then you could add six tangent planes and draw four lines equally spaced using the planes to anchor the line end points.
www.martinsroastapig.com
Pig Roast Your Way
User avatar
Arthur NY
Posts: 185
Joined: Sat Mar 27, 2021 12:32 pm
Answers: 0
x 34
x 166

Re: How to place point at the center of a sphere?

Unread post by Arthur NY »

Possibly two construction lines set up on axis with the points at the ends of the construction line made to have an "on surface" relationship. Then where they cross you can place the point. It's a workaround at best....but there really should be a way to grab this already in the software.

Along with grabbing the center of an object (i.e. tube) that can get the path that is at the center of the geometry. Have been wanting this forever!!
User avatar
AlexLachance
Posts: 1994
Joined: Thu Mar 11, 2021 8:14 am
Answers: 17
Location: Quebec
x 2157
x 1847

Re: How to place point at the center of a sphere?

Unread post by AlexLachance »

Isn't there a sort of temporary axys created by spheres? I don't really work with them which is why I'm asking
User avatar
matt
Posts: 1536
Joined: Mon Mar 08, 2021 11:34 am
Answers: 18
Location: Virginia
x 1158
x 2294
Contact:

Re: How to place point at the center of a sphere?

Unread post by matt »

This will probably depend on the kind of data you have, but if it is a real sphere you can use Face Curves and work it from there.
image.png
User avatar
jcapriotti
Posts: 1792
Joined: Wed Mar 10, 2021 6:39 pm
Answers: 29
Location: The south
x 1132
x 1940

Re: How to place point at the center of a sphere?

Unread post by jcapriotti »

mbiasotti wrote: Wed Apr 07, 2021 12:24 pm Does anyone have a good method of placing a 3Dsketch point or Ref point at the center of a spherical body?
Reference Geometry/Point worked for me
image.png
Jason
User avatar
matt
Posts: 1536
Joined: Mon Mar 08, 2021 11:34 am
Answers: 18
Location: Virginia
x 1158
x 2294
Contact:

Re: How to place point at the center of a sphere?

Unread post by matt »

You can also use a 3D sketch to draw a line, make it touch the sphere on one end, then make it perpendicular, then make it touch the sphere on the other end, and then make a midpoint.

Older versions of SW do not let you sketch a point at the midpoint of a line, but they fixed that at some point.
image.png
User avatar
Jaylin Hochstetler
Posts: 383
Joined: Sat Mar 13, 2021 8:47 pm
Answers: 4
Location: Michigan
x 375
x 353
Contact:

Re: How to place point at the center of a sphere?

Unread post by Jaylin Hochstetler »

I made a sphere via a revolve on the Front Plane (which like @Roasted By John said, you could put your ref point on the center point of that line or if you would use a midpoint line it would make it automatically) After that I made a sketch using the Right Plane which was in the center of the sphere then I made 2 construction lines that the end points were coincident to the quadrants on the outside of the sphere. Like this:
2021-04-07 13_12_09-Window.jpg
Then I dropped a point on the intersection
which resulted in this:
2021-04-07 13_31_09-Window.jpg
Don't know if this is any help, but thought I would give my 2 cents.
A goal is only a wish until backed by a plan.
MJuric
Posts: 1067
Joined: Mon Mar 08, 2021 3:21 pm
Answers: 1
x 31
x 873

Re: How to place point at the center of a sphere?

Unread post by MJuric »

jcapriotti wrote: Wed Apr 07, 2021 1:18 pm
mbiasotti wrote: Wed Apr 07, 2021 12:24 pm Does anyone have a good method of placing a 3Dsketch point or Ref point at the center of a spherical body?
Reference Geometry/Point worked for me

image.png
Well I mean if you want to do it the easy way...you could do that :oops:

I have never tried that and never even though to think of a sphere as a spherical face.
User avatar
Roasted By John
Posts: 366
Joined: Mon Mar 08, 2021 3:21 pm
Answers: 1
Location: Lebanon PA USA
x 268
x 583
Contact:

Re: How to place point at the center of a sphere?

Unread post by Roasted By John »

@Jaylin Hochstetler

You need to adjust your 2 cents for inflation, for the most value ;)
www.martinsroastapig.com
Pig Roast Your Way
User avatar
matt
Posts: 1536
Joined: Mon Mar 08, 2021 11:34 am
Answers: 18
Location: Virginia
x 1158
x 2294
Contact:

Re: How to place point at the center of a sphere?

Unread post by matt »

Oh, I like this game we should play this one more often.

- From a random view, RMB on sphere and select "Create Plane Normal To View"
- open a sketch on new plane
- select silhouette edge of sphere
- convert entities
- exit sketch
- create axis normal to plane through center of converted edge
- rotate view randomly
- RMB on sphere and select "Create Plane Normal To View"
- open sketch on new plane
- select silhouette edge of sphere
- convert entities
- exit sketch
- create axis normal to plane through center of converted edge
- open 3d sketch and place a point, make it coincident to both new axis features.
image.png
User avatar
Jaylin Hochstetler
Posts: 383
Joined: Sat Mar 13, 2021 8:47 pm
Answers: 4
Location: Michigan
x 375
x 353
Contact:

Re: How to place point at the center of a sphere?

Unread post by Jaylin Hochstetler »

Roasted By John wrote: Wed Apr 07, 2021 1:34 pm @Jaylin Hochstetler

You need to adjust your 2 cents for inflation, for the most value ;)
Mine don't inflate--backed by pure gold.
A goal is only a wish until backed by a plan.
User avatar
jcapriotti
Posts: 1792
Joined: Wed Mar 10, 2021 6:39 pm
Answers: 29
Location: The south
x 1132
x 1940

Re: How to place point at the center of a sphere?

Unread post by jcapriotti »

matt wrote: Wed Apr 07, 2021 1:35 pm Oh, I like this game we should play this one more often.

- From a random view, RMB on sphere and select "Create Plane Normal To View"
- open a sketch on new plane
- select silhouette edge of sphere
- convert entities
- exit sketch
- create axis normal to plane through center of converted edge
- rotate view randomly
- RMB on sphere and select "Create Plane Normal To View"
- open sketch on new plane
- select silhouette edge of sphere
- convert entities
- exit sketch
- create axis normal to plane through center of converted edge
- open 3d sketch and place a point, make it coincident to both new axis features.

Matt, you win for most complicated way to add a point to the center of a sphere. :lol:
Jason
User avatar
matt
Posts: 1536
Joined: Mon Mar 08, 2021 11:34 am
Answers: 18
Location: Virginia
x 1158
x 2294
Contact:

Re: How to place point at the center of a sphere?

Unread post by matt »

Oh, oh, oh, call on me please!! One more, one more.

Use Center Of Mass (assuming it's the only solid body in a part)
image.png
User avatar
DanPihlaja
Posts: 747
Joined: Thu Mar 11, 2021 9:33 am
Answers: 24
Location: Traverse City, MI
x 738
x 893

Re: How to place point at the center of a sphere?

Unread post by DanPihlaja »

mbiasotti wrote: Wed Apr 07, 2021 12:24 pm Does anyone have a good method of placing a 3Dsketch point or Ref point at the center of a spherical body?

Thx

Mark
image.png
Just use reference point and "Center of Face"

Does it automatically. Assuming it is actually radial.
-Dan Pihlaja
Solidworks 2022 SP4

2 Corinthians 13:14
User avatar
mbiasotti
Posts: 32
Joined: Tue Mar 23, 2021 1:57 am
Answers: 0
Location: San Jose, CA
x 41
Contact:

Re: How to place point at the center of a sphere?

Unread post by mbiasotti »

Thanks for all of your thoughtful replies -I'm still studying them. The assumption for my issue is that this is an import and I don't have access to the base feature that created the sphere. Also, the spherical face of the model is partial.

If the Spherical face was a full face, then the best I've found is to use the Reference point feature with the option of "Center of face" which puts the ref point exactly as the center (as Jason and Dan have suggested). So the process for me is to get the face back to a full sphere using Delete Hole or delete face. If neither of those work then the exercise becomes a bit harder. Here is the example of the part, a human mannequin and this is just one limb - and others were equally challenging:

Image
Femor-right.sldprt
(3.35 MiB) Downloaded 58 times
Attachments
image.png
User avatar
Roasted By John
Posts: 366
Joined: Mon Mar 08, 2021 3:21 pm
Answers: 1
Location: Lebanon PA USA
x 268
x 583
Contact:

Re: How to place point at the center of a sphere?

Unread post by Roasted By John »

@mbiasotti

I added a perpendicular line to your 3DSketch2
image.png
Then I added Plane2
image.png
Then I added Cut-Extrude1 - to cut the part in the center of the two spheres
image.png
Now you can add whatever you need for a reference, then mirror bodies ..
www.martinsroastapig.com
Pig Roast Your Way
User avatar
DanPihlaja
Posts: 747
Joined: Thu Mar 11, 2021 9:33 am
Answers: 24
Location: Traverse City, MI
x 738
x 893

Re: How to place point at the center of a sphere?

Unread post by DanPihlaja »

mbiasotti wrote: Thu Apr 08, 2021 9:38 am Thanks for all of your thoughtful replies -I'm still studying them. The assumption for my issue is that this is an import and I don't have access to the base feature that created the sphere. Also, the spherical face of the model is partial.

If the Spherical face was a full face, then the best I've found is to use the Reference point feature with the option of "Center of face" which puts the ref point exactly as the center (as Jason and Dan have suggested). So the process for me is to get the face back to a full sphere using Delete Hole or delete face. If neither of those work then the exercise becomes a bit harder. Here is the example of the part, a human mannequin and this is just one limb - and others were equally challenging:

Image

Femor-right.sldprt
What about untrim? If it is indeed a spherical face, then untrim should work to bring it back to a full sphere.
-Dan Pihlaja
Solidworks 2022 SP4

2 Corinthians 13:14
User avatar
DanPihlaja
Posts: 747
Joined: Thu Mar 11, 2021 9:33 am
Answers: 24
Location: Traverse City, MI
x 738
x 893

Re: How to place point at the center of a sphere?

Unread post by DanPihlaja »

dpihlaja wrote: Thu Apr 08, 2021 10:33 am
mbiasotti wrote: Thu Apr 08, 2021 9:38 am Thanks for all of your thoughtful replies -I'm still studying them. The assumption for my issue is that this is an import and I don't have access to the base feature that created the sphere. Also, the spherical face of the model is partial.

If the Spherical face was a full face, then the best I've found is to use the Reference point feature with the option of "Center of face" which puts the ref point exactly as the center (as Jason and Dan have suggested). So the process for me is to get the face back to a full sphere using Delete Hole or delete face. If neither of those work then the exercise becomes a bit harder. Here is the example of the part, a human mannequin and this is just one limb - and others were equally challenging:

Image

Femor-right.sldprt
What about untrim? If it is indeed a spherical face, then untrim should work to bring it back to a full sphere.
Yup, untrim works well.
See GIF below.
sphere.gif
-Dan Pihlaja
Solidworks 2022 SP4

2 Corinthians 13:14
User avatar
jcapriotti
Posts: 1792
Joined: Wed Mar 10, 2021 6:39 pm
Answers: 29
Location: The south
x 1132
x 1940

Re: How to place point at the center of a sphere?

Unread post by jcapriotti »

@dpihlaja Nice....untrim is amazing at times.
Jason
User avatar
mbiasotti
Posts: 32
Joined: Tue Mar 23, 2021 1:57 am
Answers: 0
Location: San Jose, CA
x 41
Contact:

Re: How to place point at the center of a sphere?

Unread post by mbiasotti »

Yes - untrim also as a method of getting back to full sphere. I believe I use untrimmed in the model I posted. If not I did use it on this model attached. It didn't get back to a full untrimmed sphere but did get me far enough to get a useable reference.
Attachments
Arm-right.sldprt
(3.34 MiB) Downloaded 47 times
User avatar
zxys001
Posts: 1050
Joined: Fri Apr 02, 2021 10:08 am
Answers: 4
Location: Scotts Valley, Ca.
x 2264
x 962
Contact:

Re: How to place point at the center of a sphere?

Unread post by zxys001 »

..four equal lines, 2 collinear and 2 perpendicular with the endpoints on the surface. (image/file)
Attachments
ct11.zip
(732.77 KiB) Downloaded 46 times
ct 1.png
"Democracies aren't overthrown; they're given away." -George Lucas
“We only protect what we love, we only love what we understand, and we only understand what we are taught.” - Jacques Cousteau
User avatar
Roasted By John
Posts: 366
Joined: Mon Mar 08, 2021 3:21 pm
Answers: 1
Location: Lebanon PA USA
x 268
x 583
Contact:

Re: How to place point at the center of a sphere?

Unread post by Roasted By John »

zxys001 wrote: Thu Apr 08, 2021 8:24 pm ..four equal lines, 2 collinear and 2 perpendicular with the endpoints on the surface. (image/file)
Ding Ding, Winner Chicken Dinner
www.martinsroastapig.com
Pig Roast Your Way
User avatar
DanPihlaja
Posts: 747
Joined: Thu Mar 11, 2021 9:33 am
Answers: 24
Location: Traverse City, MI
x 738
x 893

Re: How to place point at the center of a sphere?

Unread post by DanPihlaja »

mbiasotti wrote: Thu Apr 08, 2021 6:23 pm Yes - untrim also as a method of getting back to full sphere. I believe I use untrimmed in the model I posted. If not I did use it on this model attached. It didn't get back to a full untrimmed sphere but did get me far enough to get a useable reference.
All you had to do was run the untrim command twice, which gave you a full sphere.

Yeah, 100% isn't predictable for this. If the old forum were still alive, here is where I would link one of my own questions on the forum: What does 100% untrim really mean?
-Dan Pihlaja
Solidworks 2022 SP4

2 Corinthians 13:14
User avatar
Rob
Posts: 128
Joined: Mon Mar 08, 2021 3:46 pm
Answers: 2
Location: Mighty Glossop, UK
x 787
x 207
Contact:

Re: How to place point at the center of a sphere?

Unread post by Rob »

Here's an idea

Pop your part into an assembly.

Create a virtual part and float it, before mating it concentric to the sphere face.

Then edit the part in context and create a point using point on point to the origin of the virtual part.
image.png
If you don't want an external ref, you could use a 3d sketch point instead.

Unfortunately if you break refs, the point feature fails, but the sketch is happy.
image.png
To work entirely without ex refs, (and the part is not going to change) just fix a sketch point.
image.png
You can then delete the assembly.

this could be very quick if you have lots of spheres to work with as you can just edit the mate and capture the origin with a fixed sketch point
User avatar
mbiasotti
Posts: 32
Joined: Tue Mar 23, 2021 1:57 am
Answers: 0
Location: San Jose, CA
x 41
Contact:

Re: How to place point at the center of a sphere?

Unread post by mbiasotti »

@dpihlaja Hi Dan, great point - although I was actually referring to the first model I posted (Femor-right.sldprt) where the furthest I could take it was this:
image.png
User avatar
elmarklammer
Posts: 14
Joined: Mon Apr 05, 2021 3:48 am
Answers: 0
x 1
x 20

Re: How to place point at the center of a sphere?

Unread post by elmarklammer »

Hello Marc,

I would create a plane that intersects the sphere at any given distance. Create the 3D sketch as shown in the image using equal distance constraints and you will have your center point.

Elmar
Attachments
image.png
image.png (32.03 KiB) Viewed 2970 times
User avatar
Krzysztof Szpakowski
Posts: 63
Joined: Sun Mar 14, 2021 4:28 pm
Answers: 0
x 58
x 75

Re: How to place point at the center of a sphere?

Unread post by Krzysztof Szpakowski »

Use 3D sketch - 2 lines with a common one end
Add relations: Ends lines on surface and line perpendicular to surface for both.
Its all
Common end is at center
kula.png
Post Reply