Constraining a sketch in two planes

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!
User avatar
cnirbhay
Posts: 115
Joined: Wed Aug 17, 2016 4:24 pm

Constraining a sketch in two planes

Post by cnirbhay »

Is it possible to constrain a sketch in two planes?
Is it also possible to constrain two sketches in the same plane but at a different height?

Please let me know with this some example or refer me some post related to it.

Thank you.

--
Nirbhay Chauhan
https://cnirbhay.wordpress.com
https://www.facebook.com/eklavyaslt
https://www.youtube.com/channel/UCdkonW ... IvDtnz2BiQ
chrisb
Veteran
Posts: 54150
Joined: Tue Mar 17, 2015 9:14 am

Re: Constraining a sketch in two planes

Post by chrisb »

A sketch is always in a plane and we talk about constraints only within the sketch. What you seem to want is control of the plane itself. You achieve this with the placement, where you can control the center of the coordinate system and its orientation in space. If you select the sketch in the tree to the left you see the placement in the data fields below.
Beware: if you have the sketch attached to a plane - either explicitely via menu or button or implicitely by having a plane selected, when you created the sketch - the orientation of the sketch's plane is defined by the plane whereto it is attached. However, you can reorient the sketch (by menu) after detaching it (same menu entry).
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
amrit3701
Posts: 343
Joined: Mon Jun 13, 2016 5:37 pm

Re: Constraining a sketch in two planes

Post by amrit3701 »

@chrisb, I'm working with Nirbhay(cnirbhay) and the answer you gave is not his requirement, may be you mistook his question. He simply asked to constrain a sketch in two planes, rather than its orientation or placement in the plane.
He further asked to constrain two sketches with each other in the same plane but at different heights.

--
Amritpal Singh
http://www.amritpals.com/
https://github.com/amrit3701
Amritpal Singh
Github, Like my work, sponsor me!
cox
Posts: 971
Joined: Wed Nov 26, 2014 11:37 pm

Re: Constraining a sketch in two planes

Post by cox »

The questions does not make any sense to me either, please explain in more detail what you mean by:

1
amrit3701 wrote:constrain a sketch in two planes
2
amrit3701 wrote:constrain two sketches with each other in the same plane but at different heights.
Need help? Feel free to ask, but please read the guidelines first
Jee-Bee
Veteran
Posts: 2566
Joined: Tue Jun 16, 2015 10:32 am
Location: Netherlands

Re: Constraining a sketch in two planes

Post by Jee-Bee »

In some other CAD software 3D sketches are possible...
I have tried once or twice but more for fun... I think it is most usefull for piping/ cables etc... and more exotic features maybe... (probably most used in plactic moldings etc)
jmaustpc
Veteran
Posts: 11207
Joined: Tue Jul 26, 2011 6:28 am
Location: Australia

Re: Constraining a sketch in two planes

Post by jmaustpc »

amrit3701 wrote:@chrisb, I'm working with Nirbhay(cnirbhay) and the answer you gave is not his requirement, may be you mistook his question. He simply asked to constrain a sketch in two planes, rather than its orientation or placement in the plane.
He further asked to constrain two sketches with each other in the same plane but at different heights.

--
Amritpal Singh
http://www.amritpals.com/
https://github.com/amrit3701
I don't know what you are asking either, simply repeating the same question is just wasting everyone's time..... If you provide more information perhaps we can help.

You say "constrain a sketch".....do you actually mean that you want to constrain the geometry within a sketch or do you really mean constrain the actual sketch?
chrisb
Veteran
Posts: 54150
Joined: Tue Mar 17, 2015 9:14 am

Re: Constraining a sketch in two planes

Post by chrisb »

If you want to model some kind of a 3D-wireframe it is not possible, at least not with the part design workbench. I didn't yet become really friends with the draft workbench, perhaps you can create something like that, but not with this fantastic constraint engine of the sketcher.
Off topic: It is probably a pity for me that I am not using draft, because there are people here in the forum whose comments and competence I rate very high seem to use it regularly.
Last edited by chrisb on Thu Sep 15, 2016 9:09 am, edited 1 time in total.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
cnirbhay
Posts: 115
Joined: Wed Aug 17, 2016 4:24 pm

Re: Constraining a sketch in two planes

Post by cnirbhay »

Thank you so much for these videos @freecad-heini-1. I got the idea from your videos to model my structure. Finally, I was able to make parametric tapered footing.

--
Nirbhay Chauhan
https://cnirbhay.wordpress.com
https://www.facebook.com/eklavyaslt
https://www.youtube.com/channel/UCdkonW ... IvDtnz2BiQ
Attachments
Parametric Tapered Footing
Parametric Tapered Footing
Screenshot (38).png (121.9 KiB) Viewed 3143 times
chrisb
Veteran
Posts: 54150
Joined: Tue Mar 17, 2015 9:14 am

Re: Constraining a sketch in two planes

Post by chrisb »

So perhaps we should have asked, what your target was. Seeing it here I would have constructed it from a cube and two sketches with pockets. There was a question concerning a similar object in the german forum, you might have a look at this: download/file.php?id=26642.
I don't like lofts and sweeps when they are not necessary, because they are somewhat obscuring the geometry and - which is worse - the resulting faces cannot be used to attach further sketches.
Coming back to the beginning of this discussion, I see that your request for 3D sketches is in this case easy to solve by two rather independent planar sketches.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Post Reply