Part-design WB - sketch can not be moved in z-axis direction

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
behn66
Posts: 17
Joined: Thu Dec 22, 2016 7:04 am

Part-design WB - sketch can not be moved in z-axis direction

Post by behn66 »

Dear all,

kindly ask for help on attached file
kasten7.FCStd
(30.08 KiB) Downloaded 46 times
.

I would like to move Sketch003/Pad003 within the z-axis as seen in this attachment
kasten7.FCStd
(30.08 KiB) Downloaded 46 times
to a value of +20

I can change the value of the z-position, but when trying to make this change active via pressing "enter" my configured value gets replaced by zero again.

Can you please educate me what needs to be done to get the sketch003 moved within the z-axis?

thanks

christian
Attachments
step.JPG
step.JPG (202.76 KiB) Viewed 2981 times
User avatar
bejant
Veteran
Posts: 6075
Joined: Thu Jul 11, 2013 3:06 pm

Re: Part-design WB - sketch can not be moved in z-axis direction

Post by bejant »

You can't move Sketch003 because it is Mapped onto (or attached to) a Face of Pad:
20170112a-kasten7.png
20170112a-kasten7.png (36.32 KiB) Viewed 2977 times
You also forked your model into two different versions but the following instructions will fix that.
To move Sketch003, select it in the history tree,
  • Select Part Design (pull-down menu) > Reorient Sketch.
  • In the pop-up window click Yes to confirm that you want to detach it.
  • In the next pop-up window the X-Y plane will already be selected, so in the Offset field enter 20 mm and click Ok.
  • Sketcher will open so you can edit your Sletch003.
After you close Sketch003 in Sketcher, you will have to change to the Part WB and do a Boolean Union to create a Fusion of mennchen (Pad002) and Pad003.

The cubes are still separate items but you might want to move them by using Data tab > Property > Placement first.
behn66
Posts: 17
Joined: Thu Dec 22, 2016 7:04 am

Re: Part-design WB - sketch can not be moved in z-axis direction

Post by behn66 »

Dear Bejant,

Many thanks for this explanation. Followed your steps and works like a charm. Thanks for this.

The cubes have been a workaround for the Pocket/Sketch004 for both attachments:
kasten8-fix-bejant-pocket-issue.FCStd
(38.81 KiB) Downloaded 31 times
kasten8-fix-bejant-pocket-issue-try1.FCStd
(37.51 KiB) Downloaded 47 times
As seen in both attachments the pocket/Sketch004 is created and 4 cubes are seen in the edges of the "grundplatte", but somehow the underlying "grundplatte"is still solid - but the pocket/sketch004 shall have been digged 4 cubes into the "grundplatte"
kasten8-fix-bejant-pocket-issue.FCStd
(38.81 KiB) Downloaded 31 times
Can you please educate me what I am doing wrong here?


Many thanks

christian
Attachments
solid.JPG
solid.JPG (46.14 KiB) Viewed 2952 times
chrisb
Veteran
Posts: 54273
Joined: Tue Mar 17, 2015 9:14 am

Re: Part-design WB - sketch can not be moved in z-axis direction

Post by chrisb »

The reason are smallest deviations due to rounding errors.
You can use Part->Refine Shape or check in your Preferences->PartDesign->Automatically refine Model after boolean operation.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
Willem
Veteran
Posts: 1854
Joined: Fri Aug 12, 2016 3:27 pm
Location: Lisse, The Netherlands

Re: Part-design WB - sketch can not be moved in z-axis direction

Post by Willem »

It is the same problem as your first post. The sketch004 is connected to the wrong surface. So repeat the steps that Bejant told you to do but now for Fusion and Sketch004. The cause of this problem is that the wrong Pads, Pockets and Fusions are visible when you create a new sketch. Make everything invisible that should be invisible to avoid this problem in the future.
Schermafdruk van 2017-01-13 13-59-26.png
Schermafdruk van 2017-01-13 13-59-26.png (253.08 KiB) Viewed 2927 times
behn66
Posts: 17
Joined: Thu Dec 22, 2016 7:04 am

Re: Part-design WB - sketch can not be moved in z-axis direction

Post by behn66 »

Dear Willem,

many thanks. Got it now.


thanks

christian
behn66
Posts: 17
Joined: Thu Dec 22, 2016 7:04 am

Re: Part-design WB - sketch can not be moved in z-axis direction

Post by behn66 »

Dear all,

this is just to say many thanks - I realized now the mess of my previuos work. After investigating more closely the dependency-graph I understood why my task had to fail in the above initial postings.

Following your guidance makes much more easy now for me. Since I have a clean ordered graph all of my pockets are working as expected:)

many thanks

christian
Attachments
bodenplatte2.FCStd
(55.22 KiB) Downloaded 22 times
dependency-graph.JPG
dependency-graph.JPG (24.44 KiB) Viewed 2890 times
User avatar
bejant
Veteran
Posts: 6075
Joined: Thu Jul 11, 2013 3:06 pm

Re: Part-design WB - sketch can not be moved in z-axis direction

Post by bejant »

behn66 wrote:As seen in both attachments the pocket/Sketch004 is created and 4 cubes are seen in the edges of the "grundplatte", but somehow the underlying "grundplatte"is still solid - but the pocket/sketch004 shall have been digged 4 cubes into the "grundplatte"
In FreeCAD there are usually different ways to produce the desired result. In referring to the file in your first post (not the one you referenced in the quote above), you just didn't subtract (Part WB > Boolean Difference to make a Cut) each of the 4 cubes from the main model.

Here's what I mean:
20170116e-kasten7.fcstd
(72.43 KiB) Downloaded 32 times
OS: Ubuntu 16.04.1 LTS
Word size of OS: 32-bit
Word size of FreeCAD: 32-bit
Version: 0.16.6707 (Git)
Build type: None
Branch: releases/FreeCAD-0-16
Hash: 5465bc47c95db45e0be85dc0e2872419efadce0f
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17
User avatar
bejant
Veteran
Posts: 6075
Joined: Thu Jul 11, 2013 3:06 pm

Re: Part-design WB - sketch can not be moved in z-axis direction

Post by bejant »

behn66 wrote:Dear all,

this is just to say many thanks
You're welcome - it's easy to do, once you learn how!
behn66
Posts: 17
Joined: Thu Dec 22, 2016 7:04 am

Re: Part-design WB - sketch can not be moved in z-axis direction

Post by behn66 »

Dear Bejant,
you just didn't subtract (Part WB > Boolean Difference to make a Cut)
many thanks for pointing this out. Just checked the dependency-tree of your revised file. dependency-tree is helping me alot to understand whats going on.
It is as you say, the more I am practicing the better are mine results.

Again many thanks for helping me across the first borders here!

btw I switched from win10 v0.16 to ubuntu v0.17 and have to say the speed very much improved, especially when working with convoluted gear.

Thank you guys for this nice job.

OS: Ubuntu 16.10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.9684 (Git)
Build type: None
Branch: master
Hash: 0f4a5b4f958f960575570ff2a76e4138b1b4247f
Python version: 2.7.12+
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17


thanks

christian
Post Reply