100 cad exercises

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!
User avatar
sliptonic
Posts: 1557
Joined: Tue Oct 25, 2011 10:46 pm

Re: 100 cad exercises

Postby sliptonic » Thu Sep 20, 2018 2:33 am

Here it is. You heard it here first: 'FreeCAD Golf'

I'm imagining an add-on which adds a button to a toolbar that when pressed starts a counter of transactions or perhaps just keeps track of the python commands. When pressed again, it ends the count, reports the number and copies the log to the clipboard.

Now a FreeCAD Golfer can post back on the forum, "I did exercise #16 in 23 steps like this:" and pastes the log. Golfer with the lowest score, wins the hole and bragging rights. :ugeek:
User avatar
bejant
Posts: 5809
Joined: Thu Jul 11, 2013 3:06 pm

Re: 100 cad exercises

Postby bejant » Thu Sep 20, 2018 3:47 am

sliptonic wrote:
Thu Sep 20, 2018 2:33 am
Golfer with the lowest score, wins the hole and bragging rights. :ugeek:
Challenges within challenges = fun! :lol:


Here's my try at page 65 using a Master Sketch and Sketcher > Carbon Copy for most of the model:
page_65.png
page_65.png (17.65 KiB) Viewed 302 times
page_65.fcstd
(476.46 KiB) Downloaded 12 times

OS: Ubuntu 18.04.1 LTS
Word size of OS: 32-bit
Word size of FreeCAD: 32-bit
Version: 0.18.14709 (Git)
Build type: Release
Branch: master
Hash: faad5ea27301cb7af393a25d317c406d3098bafe
Python version: 2.7.15rc1
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)
User avatar
PrzemoF
Posts: 2624
Joined: Fri Jul 25, 2014 4:52 pm
Contact:

Re: 100 cad exercises

Postby PrzemoF » Thu Sep 20, 2018 7:42 am

sliptonic wrote:
Thu Sep 20, 2018 2:33 am
[..]Now a FreeCAD Golfer can post back on the forum, "I did exercise #16 in 23 steps like this:" and pastes the log. Golfer with the lowest score, wins the hole and bragging rights. :ugeek:
Brilliant idea! :D
User avatar
bejant
Posts: 5809
Joined: Thu Jul 11, 2013 3:06 pm

Re: 100 cad exercises

Postby bejant » Thu Sep 20, 2018 2:13 pm

Page 66 using Expressions (as do my previous models in this topic) but without consideration of my golf scorecard:
page_66.png
page_66.png (19.05 KiB) Viewed 269 times
page_66.fcstd
(53.3 KiB) Downloaded 12 times

OS: Ubuntu 18.04.1 LTS
Word size of OS: 32-bit
Word size of FreeCAD: 32-bit
Version: 0.18.14709 (Git)
Build type: Release
Branch: master
Hash: faad5ea27301cb7af393a25d317c406d3098bafe
Python version: 2.7.15rc1
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)
User avatar
bejant
Posts: 5809
Joined: Thu Jul 11, 2013 3:06 pm

Re: 100 cad exercises

Postby bejant » Thu Sep 20, 2018 2:25 pm

Looking at page 67, the view on the left should show the top edge as an ellipse instead of being shown as flat.

Edit: And in the view on the right the distance the leg of the ell extends to the right can't be determined.

Edit2: There's no way to determine the width of the L (view on left).
User avatar
salp
Posts: 171
Joined: Thu Nov 21, 2013 11:58 pm
Location: Putnam, NY

Re: 100 cad exercises

Postby salp » Sat Sep 22, 2018 6:24 pm

sgrogan wrote:
Wed Sep 19, 2018 11:17 pm
salp wrote:
Wed Sep 19, 2018 11:11 pm
I think making a collection would be nice, I would like my files included.
We have this https://github.com/FreeCAD/Examples
Think of a directory structure under "100 cad exercises"

If we can come up with some structure you can make pull requests or post the models here and I can do it.
That is great, thank you for getting that done.

I have never added anything to github before, I need to see how that's done.
User avatar
salp
Posts: 171
Joined: Thu Nov 21, 2013 11:58 pm
Location: Putnam, NY

Re: 100 cad exercises

Postby salp » Sat Sep 22, 2018 6:31 pm

bejant wrote:
Thu Sep 20, 2018 1:19 am
salp wrote:
Wed Sep 19, 2018 11:39 pm
Page 63
Are you sure - isn't that page 64? I modeled mine differently to get a similar result, but once again I think that the overall height can't be determined from the information given in that drawing.
Bejant you may be right about the page number, the PDF reader is not very good at numbering the pages (I rely on the picture).
As far as the object height, once I applied the given constraints it determines the height, the sketch shows fully constrained.

Anyway I think this is a good exercise and as you showed with page 64, there are different ways to get to the results.

Sal
User avatar
salp
Posts: 171
Joined: Thu Nov 21, 2013 11:58 pm
Location: Putnam, NY

Re: 100 cad exercises

Postby salp » Sat Sep 22, 2018 10:22 pm

Page 67, I think :D

The width and length are not given.

I created 3 parts and used Boolean function, interest to see how else this object can be created.

Page-67.png
Page-67.png (39.13 KiB) Viewed 201 times
Page-67_fcstd.png
Page-67_fcstd.png (62.31 KiB) Viewed 201 times
Page_67.fcstd
(94.85 KiB) Downloaded 12 times
OS: Linux Mint 18.2 Sonya
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.14727 (Git)
Build type: Release
Branch: master
Hash: c6df59969bfb3ae2027e2b47ddd559852f6e9a4e
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)
User avatar
NormandC
Posts: 18534
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: 100 cad exercises

Postby NormandC » Sat Sep 22, 2018 11:03 pm

One other way would have been to use the PartDesign Boolean feature tool instead of Part tools. That way, you would end up with one single Body, instead of a Part object.
User avatar
NormandC
Posts: 18534
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: 100 cad exercises

Postby NormandC » Sat Sep 22, 2018 11:22 pm

My take on Page_67 using a single Body:

FC_cad_exercise_page_67_01.png
FC_cad_exercise_page_67_01.png (34.15 KiB) Viewed 196 times

BTW that drawing in page 67 is so poorly done!!! :? It's clear the 2D views were not generated from a 3D model.

So here's a blue print made in TechDraw. Projection is third angle as hinted by the symbol in the title box. It's nowhere near perfect (come on, it's the weekend :D ). I'm missing a tool to create a view normal to a selected edge that is usually slanted. This is called an auxiliary view. I tried to fudge one with the single view tool, I rotated it 45 degrees clockwise, aligned it visually with the slanted face of the right view. But it's missing the viewing plane indicator which usually is a dotted line with arrows like a section view.

EDIT: added issue #3609

FC_100_cad_exercises_page_67_01.png
FC_100_cad_exercises_page_67_01.png (107.97 KiB) Viewed 195 times

wandererfan wrote:ping
EDIT: there's a bug in TechDraw regarding 0.17/0.18 compatibility. If you open my file in v0.18, the right view will be created upside down. I had originally created the file in v0.18, then opened it in v0.17 and noticed the same issue. I had to edit the ProjGroup, toggle the view off/on again to fix, but doing so breaks the links with the dimensions.

OS: Ubuntu 18.04.1 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.13541 (Git)
Build type: None
Branch: releases/FreeCAD-0-17
Hash: 9948ee4f1570df9216862a79705afb367b2c6ffb
Python version: 2.7.15rc1
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: French/Canada (fr_CA)
Attachments
Page_67_nc1.fcstd
(99.33 KiB) Downloaded 10 times
Last edited by NormandC on Mon Sep 24, 2018 4:49 am, edited 1 time in total.