Mapping Different Plane Sketch

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!
Post Reply
duckmug
Posts: 126
Joined: Mon Jun 07, 2021 12:26 am

Mapping Different Plane Sketch

Post by duckmug »

I am slightly confused about something.

I have a sketch on the XY plane that I pad. (1)

I have another sketch on the XZ plane that I also pad. (2)

if I map the second sketch on the XZ plane, it works as desired, but this way if I increase the pad of the first sketch, it will not move accordingly, since the the two sketches/pads are not mapped to each other.

What is the correct way to approach this?
Attachments
Screenshot from 2021-06-22 17-20-03.jpg
Screenshot from 2021-06-22 17-20-03.jpg (26.62 KiB) Viewed 453 times
g.FCStd
(143.9 KiB) Downloaded 11 times
chrisb
Veteran
Posts: 54293
Joined: Tue Mar 17, 2015 9:14 am

Re: Mapping Different Plane Sketch

Post by chrisb »

A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
duckmug
Posts: 126
Joined: Mon Jun 07, 2021 12:26 am

Re: Mapping Different Plane Sketch

Post by duckmug »

I am not sure what you mean, I don't want to set constraints between the two sketches, I just want to map it to that face.

If I do that, the second sketch gets flipped like if it's XY, while I want it to be XZ.
drmacro
Veteran
Posts: 9002
Joined: Sun Mar 02, 2014 4:35 pm

Re: Mapping Different Plane Sketch

Post by drmacro »

You need to set the sketch Attachment offset of the second sketch using an expression that refers to the pad thickness of the first pad.

(It's that parametric part of FreeCAD...) :mrgreen:

See the properties of Sketch001 in my version of the file:
g-mac.png
g-mac.png (39.23 KiB) Viewed 425 times
Attachments
g-mac.FCStd
(150.43 KiB) Downloaded 13 times
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
duckmug
Posts: 126
Joined: Mon Jun 07, 2021 12:26 am

Re: Mapping Different Plane Sketch

Post by duckmug »

Oh I see! So it is not suggested to map it somehow to the face in this kind of situation but rather do that? Thanks a lot!
drmacro
Veteran
Posts: 9002
Joined: Sun Mar 02, 2014 4:35 pm

Re: Mapping Different Plane Sketch

Post by drmacro »

duckmug wrote: Tue Jun 22, 2021 3:06 pm Oh I see! So it is not suggested to map it somehow to the face in this kind of situation but rather do that? Thanks a lot!
At this point mapping to generated geometry (faces, edges etc.) is not recommended because of the topological naming problem.

In the long run what I showed is a better workflow in any case and learning how to use sketch placement properly will always be a good skill to know. :mrgreen:
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
duckmug
Posts: 126
Joined: Mon Jun 07, 2021 12:26 am

Re: Mapping Different Plane Sketch

Post by duckmug »

Got it!
Post Reply