How do I add lines to a 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
smurfix
Posts: 6
Joined: Thu Dec 12, 2019 11:15 am

How do I add lines to a sketch?

Post by smurfix »

Hi,
Problem: I have created a sketch in Parts Designer, added a pad, added another sketch for a pocket on top of that, and so on. Now I need to modify the initial sketch (to add two corners, not just change dimensions). However, even simply removing and re-adding a line in the initial sketch messes up my design -- the additional sketches seem to be attached to the wrong surface, "Result has multiple solids" messages, the works.

Of note: the second sketch contains an external reference of three points from the first. I suspect that the references get messed up when the first sketch is changed and I should file a bug report ..?

FreeCARD 0.18.4, Debian. File attached.
Attachments
Hook1.FCStd
(65.85 KiB) Downloaded 13 times
chrisb
Veteran
Posts: 54313
Joined: Tue Mar 17, 2015 9:14 am

Re: How do I add lines to a sketch?

Post by chrisb »

Please read about Topological naming problem in the wiki or search the forum for that term. You cannot completely avoid it but you can reduce the effects. Have a look at this page, especially the paragraph about creating stable models.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
vocx
Veteran
Posts: 5197
Joined: Thu Oct 18, 2018 9:18 pm

Re: How do I add lines to a sketch?

Post by vocx »

smurfix wrote: Thu Dec 12, 2019 11:25 am ...
Of note: the second sketch contains an external reference of three points from the first. I suspect that the references get messed up when the first sketch is changed and I should file a bug report ..?
Yes, that is what happens due to the topological naming problem. You don't need to report it as a bug because we are aware of it. Solutions are being investigated and will probably be deployed in the next development version, so maybe 0.20.

At the moment the solution is to follow best practices in modelling and avoid supporting the sketches directly on faces. Use auxiliary geometry like PartDesign Planes to support your sketches.
Always add the important information to your posts if you need help. Also see Tutorials and Video tutorials.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
Post Reply