Center cylinder in object

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
Panthermal
Posts: 9
Joined: Wed Aug 29, 2018 7:48 am

Center cylinder in object

Postby Panthermal » Wed Aug 29, 2018 2:39 pm

Hi

Another newbie question;
How do I position a cylinder (or object) within another object to perfect center? Or do I have to do all the calculations myself of dimensions and position? https://imgur.com/a/NE7NiQh

Using FreeCAD 0.17
Bance
Posts: 2041
Joined: Wed Feb 11, 2015 3:00 pm
Location: London

Re: Center cylinder in object

Postby Bance » Wed Aug 29, 2018 3:15 pm

You can use the symmetry constraint from diagonally opposing corners....

HTH Steve.
User avatar
meme2704
Posts: 2926
Joined: Sat Apr 01, 2017 2:47 pm
Location: Vosges

Re: Center cylinder in object

Postby meme2704 » Wed Aug 29, 2018 3:53 pm

Hi
1st idea: you center the square in XY, then the circle on these same XY
2sd: you use the tool to create reference edges, then the symmetric constraint tool to center the circle
Attachments
centrer.PNG
centrer.PNG (80.42 KiB) Viewed 688 times
Panthermal
Posts: 9
Joined: Wed Aug 29, 2018 7:48 am

Re: Center cylinder in object

Postby Panthermal » Wed Aug 29, 2018 7:26 pm

meme2704 wrote: Wed Aug 29, 2018 3:53 pm 1st idea: you center the square in XY, then the circle on these same XY
2sd: you use the tool to create reference edges, then the symmetric constraint tool to center the circle
Hm, how do you get the XY cross? Also the toolbar/icons you have marked are grey, probably due to there not being the XY cross?
User avatar
easyw-fc
Posts: 2979
Joined: Thu Jul 09, 2015 9:34 am

Re: Center cylinder in object

Postby easyw-fc » Wed Aug 29, 2018 7:36 pm

Panthermal wrote: Wed Aug 29, 2018 2:39 pm Hi

Another newbie question;
How do I position a cylinder (or object) within another object to perfect center? Or do I have to do all the calculations myself of dimensions and position? https://imgur.com/a/NE7NiQh

Using FreeCAD 0.17
you may consider Aligner of Manipulator WB
chrisb
Posts: 36051
Joined: Tue Mar 17, 2015 9:14 am

Re: Center cylinder in object

Postby chrisb » Wed Aug 29, 2018 10:56 pm

Panthermal wrote: Wed Aug 29, 2018 7:26 pm Hm, how do you get the XY cross?
It should be always there if you are in sketcher. Perhaps you did not align your basic sketch or primitive properly in the origin.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Panthermal
Posts: 9
Joined: Wed Aug 29, 2018 7:48 am

Re: Center cylinder in object

Postby Panthermal » Thu Aug 30, 2018 7:33 am

chrisb wrote: Wed Aug 29, 2018 10:56 pm
Panthermal wrote: Wed Aug 29, 2018 7:26 pm Hm, how do you get the XY cross?
It should be always there if you are in sketcher. Perhaps you did not align your basic sketch or primitive properly in the origin.
After having created the parts, going over to "Sketcher" I can click "Create new sketch" to get such cross. If I click the cone shape I've made, and click "Create new sketch" it has "Concentric" as predefined value in the drop menu. If I click ok the cross seems to be aligned with the face of the cone but I cant click to select anything but the corss lines and the dot in the middle. Where am I going wrong?
Bance
Posts: 2041
Joined: Wed Feb 11, 2015 3:00 pm
Location: London

Re: Center cylinder in object

Postby Bance » Thu Aug 30, 2018 9:07 am

It makes it a LOT easier to help if you read and follow the posting guidelines as laid out in the link in the big pink box at the top of the page,
In this instance an included file would be of great value.

Steve.
chrisb
Posts: 36051
Joined: Tue Mar 17, 2015 9:14 am

Re: Center cylinder in object

Postby chrisb » Thu Aug 30, 2018 9:14 am

Panthermal wrote: Thu Aug 30, 2018 7:33 am If I click the cone shape I've made, and click "Create new sketch" it has "Concentric" as predefined value in the drop menu.
I have never seen this "concentric". Where do you click the cone shape: in the tree or in 3D view one of the faces?
If I click ok the cross seems to be aligned with the face of the cone but I cant click to select anything but the corss lines and the dot in the middle. Where am I going wrong?
Nowhere. X-axis, Y-axis and origin are all you have in an empty sketch. Now you can add elements by selecting one of the icons line, circle, arc, ...

If you just start with sketcher I would encourage you to have a look at my Sketcher tutorial (at the end of first post) and give some feedback.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Panthermal
Posts: 9
Joined: Wed Aug 29, 2018 7:48 am

Re: Center cylinder in object

Postby Panthermal » Thu Aug 30, 2018 9:41 am

Bance wrote: Thu Aug 30, 2018 9:07 am It makes it a LOT easier to help if you read and follow the posting guidelines as laid out in the link in the big pink box at the top of the page,
In this instance an included file would be of great value.

Steve.
Up to date, check
Search first, check
Version, check
Problem description, check
Screenshot, check

Not sure what you think I missed?