Lost External Geom Mapping

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!
ShadowedR
Posts: 15
Joined: Tue Jul 10, 2018 7:56 am

Lost External Geom Mapping

Post by ShadowedR »

I'm losing my mind here with lost external geometry mapping.

I'm trying to create a sleeve for a 3D Printing project of mine, where I can quickly go and update the inner diameter to fit.
Something like this:
Image

I start by creating a spreadsheet and creating two variables - diameter and 3d printing offset.
Image

I draw my base shape and revolve it by 20 degrees:
Image
Image

Next I make a new sketch and map to the external geom of my base shape and I start drawing cutouts, mapping externals as I go along.
as an example:
Image

Until I end up with my final shape:
Image

Here is just and overview of the steps:
Image

so, now I go back to my spreadsheet and change to diameter I want from 50 to 30 and everything updates perfectly.
Image

Now I go and update the diameter to 100 and my references start breaking:
Image
Image
Image

*Note, while typing the post I played around to get the relevant screenshots. The problem seems to occur when you increase the diameter by a large amount. If you go 70, 80, 90, 99, 101, etc it doesn't break. But by moving from say 30 dia to 101, it'll break.

I must be doing something wrong here?

Attached is the test project
test.FCStd
(180.6 KiB) Downloaded 26 times
and I am using:
OS: Windows 7
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.13522 (Git)
Build type: Release
Branch: releases/FreeCAD-0-17
Hash: 3bb5ff4e70c0c526f2d9dd69b1004155b2f527f2
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: English/SouthAfrica (en_ZA)


Thanks in advance.
chrisb
Veteran
Posts: 54177
Joined: Tue Mar 17, 2015 9:14 am

Re: Lost External Geom Mapping

Post by chrisb »

Welcome to the forum.
ShadowedR wrote: Tue Jul 10, 2018 8:30 am I must be doing something wrong here?
You are not really doing something wrong, but you can do better. The reason of this behaviour is well known, you may search the forum for "topological naming". Improvements are on their way but we don't know how, if , and when they will occur in a stable FreeCAD version.

You can vastly improve your design, if you reference sketches instead of faces. Normand has given some hints in the documentation: https://www.freecadweb.org/wiki/PartDes ... ble_modelsFeature_editing#Advice_for_creating_stable_models.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
ShadowedR
Posts: 15
Joined: Tue Jul 10, 2018 7:56 am

Re: Lost External Geom Mapping

Post by ShadowedR »

Thanks for the info Chrisb,

I started off by referencing the sketch itself to create my first circular groove.
Next, "Sketch002" is mapped to "Sketch" and Groove001 is applied.
finally, I apply a polar pattern to Groove001 to cutout the other side of my base shape.

So up until this point, everything is mapped to a sketch, not a face.
I just redid it on my project and it still breaks.
chrisb
Veteran
Posts: 54177
Joined: Tue Mar 17, 2015 9:14 am

Re: Lost External Geom Mapping

Post by chrisb »

ShadowedR wrote: Tue Jul 10, 2018 9:06 am So up until this point, everything is mapped to a sketch, not a face.
I just redid it on my project and it still breaks.
Please upload the new file.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
ShadowedR
Posts: 15
Joined: Tue Jul 10, 2018 7:56 am

Re: Lost External Geom Mapping

Post by ShadowedR »

Here you go, although it must be said the first file was also mapped to sketch and not the face.
Just redid it to be sure.
test.FCStd
(183.47 KiB) Downloaded 23 times
chrisb
Veteran
Posts: 54177
Joined: Tue Mar 17, 2015 9:14 am

Re: Lost External Geom Mapping

Post by chrisb »

ShadowedR wrote: Tue Jul 10, 2018 10:12 am Here you go, although it must be said the first file was also mapped to sketch and not the face.
Just redid it to be sure.
That's wrong in both cases. Sketch001 is mapped to the selected face of the revolution.

Besides: You cannot map a sketch to sketch, you only can use the sketches for external geometry references.
Attachments
mapSource.png
mapSource.png (11.14 KiB) Viewed 1024 times
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
ShadowedR
Posts: 15
Joined: Tue Jul 10, 2018 7:56 am

Re: Lost External Geom Mapping

Post by ShadowedR »

You must excuse my liberal use of terminology here, I'm rather new to parametric cad and a hobbyist in general designs and CAD.

OK, so let me walk you through my design process, one step at a time and you can show me what I am doing wrong

1. Draw my basic shape, fully constrained
Image

2. Revolve
Image

3. Select face and make a new sketc
Image
Image

4. Hide Revolution and show Sketch
Image

5. External Geom from sketch directly.
Image

I am beginning to understand that step 3 is where the new sketch is then mapped to the face of the revolution, OK.
So I should rather then just make a new sketch mapped to a plane, and reference the external geom from there?
User avatar
NormandC
Veteran
Posts: 18589
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Lost External Geom Mapping

Post by NormandC »

ShadowedR wrote: Tue Jul 10, 2018 11:47 am So I should rather then just make a new sketch mapped to a plane, and reference the external geom from there?
Exactly. You can create a datum plane attached to the XZ or YZ plane and angle it using the Attachment Offset fields (pitch yaw roll - I never remember which is which :oops: ). Then you attach your sketch to it. Or you can do the same with the sketch directly without going through the datum plane process.

I have a few more suggestions but I'm out of time...
ShadowedR
Posts: 15
Joined: Tue Jul 10, 2018 7:56 am

Re: Lost External Geom Mapping

Post by ShadowedR »

NormandC wrote: Tue Jul 10, 2018 4:28 pm I have a few more suggestions but I'm out of time...
Whenever you have more time, I am willing to listen.
freedman
Veteran
Posts: 3465
Joined: Thu Mar 22, 2018 3:02 am
Location: Washington State, USA

Re: Lost External Geom Mapping

Post by freedman »

I made a quick file. I would have modeled it this way.
Attachments
ring1.FCStd
(227.18 KiB) Downloaded 27 times
Post Reply