Source shape is empty

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!
JohnShep
Posts: 4
Joined: Fri Jan 14, 2022 2:06 am

Source shape is empty

Post by JohnShep »

I am one week in to using Freecad and I have ground to a halt. I am using the latest app image from the download page Version .019 revision 24366.
So far I have managed to create a fully contrained sketch of my part, file attached. But when I try to use Techdraw to insert a view I get the error message below ..

02:05:04 SE::getSourceShapes - source shape is empty!
02:05:04 Error: DVP::execute - Source shape is Null. - View

Any help much appreciated, sorry if it is something blindly obvious but I am out of my depth and the google oracle is not helping me.
Attachments
Rubber5.FCStd
Sketch but Techdraw view fails
(9.32 KiB) Downloaded 46 times
chrisb
Veteran
Posts: 54293
Joined: Tue Mar 17, 2015 9:14 am

Re: Source shape is empty

Post by chrisb »

You have to select the Sketch before inserting the view. You had selected the Template.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
chrisb
Veteran
Posts: 54293
Joined: Tue Mar 17, 2015 9:14 am

Re: Source shape is empty

Post by chrisb »

Like to hear some remarks on your sketch?
- In general it is well done!
- You should prefer geometric constraints over dimensions
- especially 0mm constraints should be replaced, in your case by horizontal and vertical constraints.
- You should (at least consider to) place the sketch symmetric to the origin and move the whole sketch or position it later using an appropriate attachment.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
Shalmeneser
Veteran
Posts: 9591
Joined: Wed Dec 23, 2020 12:04 am
Location: Fr

Re: Source shape is empty

Post by Shalmeneser »

I've refactored your sketch.
Attachments
Capture.PNG
Capture.PNG (23.93 KiB) Viewed 2723 times
Capture1.PNG
Capture1.PNG (37.17 KiB) Viewed 2723 times
Rubber5_SHALM.FCStd
(11.35 KiB) Downloaded 17 times
chrisb
Veteran
Posts: 54293
Joined: Tue Mar 17, 2015 9:14 am

Re: Source shape is empty

Post by chrisb »

29/12 26/11
Shalmeneser wrote: Fri Jan 14, 2022 9:39 am I've refactored your sketch.
And I refactored yours :) to avoid the partial redundancy. The number of constraints dropped from 29 to 26.
Attachments
Rubber_cb.FCStd
(5.11 KiB) Downloaded 19 times
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
drmacro
Veteran
Posts: 9003
Joined: Sun Mar 02, 2014 4:35 pm

Re: Source shape is empty

Post by drmacro »

And then taking advantage of symmetry... ;)
Snip macro screenshot-d808df.png
Snip macro screenshot-d808df.png (65.08 KiB) Viewed 2689 times
Attachments
Rubber_cb-mac.FCStd
(20.62 KiB) Downloaded 11 times
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
User avatar
Shalmeneser
Veteran
Posts: 9591
Joined: Wed Dec 23, 2020 12:04 am
Location: Fr

Re: Source shape is empty

Post by Shalmeneser »

True !
* Blue line was for pedagogic purpose. :ugeek:
* I wonder if it's easier/faster to draw half or all.
drmacro
Veteran
Posts: 9003
Joined: Sun Mar 02, 2014 4:35 pm

Re: Source shape is empty

Post by drmacro »

Shalmeneser wrote: Fri Jan 14, 2022 1:39 pm ...
* I wonder if it's easier/faster to draw half or all.
Hmm...almost always easier to draw half. Almost always simpler to constrain. Almost always easier on the eyes. Almost always easier to change.

Of course, there are always exceptions... :lol:
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
chrisb
Veteran
Posts: 54293
Joined: Tue Mar 17, 2015 9:14 am

Re: Source shape is empty

Post by chrisb »

In this case drawing half avoids the tricky stuff with symmetry and arcs.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
Shalmeneser
Veteran
Posts: 9591
Joined: Wed Dec 23, 2020 12:04 am
Location: Fr

Re: Source shape is empty

Post by Shalmeneser »

I'm sometime reluctant to use mirror. Don't know why.
Post Reply