Sunteți pe pagina 1din 15

05/10/13

FreeCAD tutorial
Compartir

Ms

Siguiente blog

Crear blog

FreeCAD tutorial
Unofficial tutorial blog
Home

Contact

Tuesday, Septem ber 24, 2013

How to test the assembly module


While assembly tools are not available in the official packages, you can compile FreeCAD yourself with the assembly module
enabled.
Note: the module is unfinished, unstable and buggy.

Links

Dan's OpenSourceDesignTools
Anders Wallin's site
Yorik's Guestblog

Recent Com m ents

Instructions are similar to those provided in the older post. Alternatively you can use the dubstar-04's script.
Install development packages listed on the FreeCAD wiki. Then you can clone the sources from github:
git clone git://git.code.sf.net/p/free-cad/code free-cad-code
Change the directory:
cd free-cad-code/

kwahoo
Thank you. Fixed now.
FreeCAD tutorial: More videotutorials on
Youtube 1 week ago

Now you can list available remote branches:


git branch -r
origin/HEAD -> origin/master
origin/dev-units
origin/dvdjimmy/MachDist
origin/jriegel/dev-assembly
origin/logari81/PartDesign
origin/logari81/PartDesignPattern
origin/logari81/sketch-diagnostics
origin/logari81/sketcher
origin/master
origin/releases/FreeCAD-0-13
origin/sanguinariojoe-plot
origin/sanguinariojoe-ship
origin/snaptools
origin/surfaces
origin/wmayer/double-precision
origin/wmayer/featurepython
origin/wmayer/pcl-testing
origin/wmayer/remote-debugger
origin/yorik/archstyles

Mike B
Thank you very much for collecting up and
posting links to these videos. Just to let
you know, the hypert link to "FreeCAD
Tutorial Part 7 Array Utility" should be...
FreeCAD tutorial: More videotutorials on
Youtube 1 week ago

Pruthvi
Very nice tutorial. I am new to FreeCAD and
been to learn a lot from your tutorial. I am
having problem with chafer and fillet tools. I
am getting error that says "No fillet
possible on selected...
FreeCAD tutorial: Engine: 1 - piston pin
and pin ring 1 month ago

Switch to the "jriegel/dev-assembly" branch:


git checkout jriegel/dev-assembly
Create a new directory for a build:
Normand C.

mkdir Build && cd Build


Run cmake and enable debug build (FreeCAD may be a little slower but easier for debugging):
cmake - DCMAKE_BUILD_TYPE=Debug ../
Compile, the number should be equivalent to the number of threads in your CPU:

Not at this point. It may be possible in a


future release of FreeCAD. If you want you
can upload it somewhere and paste the
link here or join the FreeCAD forum where
you can attach FCStd files, and...
FreeCAD tutorial: Engine: 7 - conrod, part
1 2 months ago

make -j8
Run FreeCAD:
./bin/FreeCAD
Example 1: an assembly created from external STEP files.
You have to download four STEP files:

freecad-tutorial.blogspot.com.ar

Damien Hartmann
Thank you for the answer.
My sketch is indeed under-constrained, yet
I have tried to move every single point and
none of them moved. Is there any way to

1/15

05/10/13

FreeCAD tutorial
piston.stp

display where a sketch lacks a constraint?

pin.stp

FreeCAD tutorial: Engine: 7 - conrod, part


1 2 months ago

conrod.stp
pinring.stp

Powered by Disqus

All parts (piston, conrod, pin and pinring) was created in FreeCAD and then exported to the STEP files.
Open the Assembly module and create a new file. Double click on the Product in the Tree view to activate it. If the Product
does not exist, you can create one choosing Add a new Component.
Next we have to add an part from an external file. Select Add a existing Component or File to the active Assembly and choose
the piston.stp file.

This work is licensed under a Creative


Commons Attribution-NonCommercialShareAlike 3.0 Unported License.

Follow ers

Blog Archive

2013 (5)

Select a surface on the piston and use the Fix a part in its rotation and translation constraint. The piston cannot move now.
Notice the new constraint in the Tree view.

September (1)
How to test the assembly module
June (1)
April (1)
February (1)
January (1)
2012 (7)
2011 (13)

In a exactly same way add the pin.stp file. You need two constraints between piston and pin.

freecad-tutorial.blogspot.com.ar

2/15

05/10/13

FreeCAD tutorial

Select a side face of pin and a corresponding face of piston (inside pin ring groove) using [Ctrl]. Then use the Align the
selected entities constraint.
You have three options:
Equal - both faces normal vectors are equal,
Opposite - vectors are opposite,
Parallel - vectors are equal or opposite.
In our case please select Equal.

In the next step select cylinder surfaces on pin and inside piston. Use the Mak e the selected entities coincident (Equal).

Please add conrod.stp selecting Add a existing Component or File to the active Assembly. As in earlier pair use the Align the
selected entities (but this time select "Opposite) and the Mak e the selected entities coincident.

freecad-tutorial.blogspot.com.ar

3/15

05/10/13

FreeCAD tutorial

The conrod can be rotated in a specified angle relative to piston. To set the angle select the bottom conrod face.

Then, holding [Ctrl] key, select the top piston face and use the Set the angle between two selected entities. The angle will be
160.

freecad-tutorial.blogspot.com.ar

4/15

05/10/13

FreeCAD tutorial

Finally you have to insert pin rings. The procedure is similar to pin adding. You need an align constraint.

And a coincident constraint.

Repeat the procedure for the second pin ring.

freecad-tutorial.blogspot.com.ar

5/15

05/10/13

FreeCAD tutorial

Download file.
Download RAW Video. (Right click to save as...)

8:59

Example 2: an assembly created from the Part Design-created files.


In this example we will create an assembly containing fully parametric, Part Design parts. They will be created during
assembly designing process - there is no graphical import tool for files containing feature tree yet.
Open the Assembly workbench and activate the Product object (double click in the Tree view). Add two new parts using Add a
new Part into the active Assembly.

Add two new parts using Add a new Part into the active Assembly.

freecad-tutorial.blogspot.com.ar

6/15

05/10/13

FreeCAD tutorial

Expand the first part (click on the small triangle in the tree) and activate the Body. An active workbench should be changed to
Part Design automatically. The Body is a container for all features.

Select the XY plane and create a new sketch. Important: in the current implementation first sketch have to lie on XY.
Subsequent sketches can be placed on other planes.

Draw a rectangle, constrain it and close the sketch.

freecad-tutorial.blogspot.com.ar

7/15

05/10/13

FreeCAD tutorial

Pad the sketch.

Select a face on the cuboid and place a second sketch.

Sketch a circle.

freecad-tutorial.blogspot.com.ar

8/15

05/10/13

FreeCAD tutorial

Use the Pocket tool to create an hole.

You finished the first part, let's try create another one. Expand Part001 and double click on the Body001 to activate it.

As before, select the XY plane and sketch a rectangle.

freecad-tutorial.blogspot.com.ar

9/15

05/10/13

FreeCAD tutorial

Revolve the rectangle on horizontal axis to create a cylinder.

You have two parts: a box with a hole and a cylinder. Try place the cylinder in the hole. Double click on the Product in the tree
to activate. The Assembly workbench should be active now.
Select a surface on the box and use the Fix a part in its rotation and translation constraint.
Select cylinder surfaces on the both parts with [Ctrl] and use the Mak e the selected entities coincident (Parallel) tool.

Next use planar surfaces to align parts.

freecad-tutorial.blogspot.com.ar

10/15

05/10/13

FreeCAD tutorial

What if you want change something? Try translate the hole position. Activate the Body and then the Sk etch001 inside the
Pock et feature.

Edit the circle position and close the sketch.

freecad-tutorial.blogspot.com.ar

11/15

05/10/13

FreeCAD tutorial

Note: editing works fine only for features placed on the XY plane at this moment. This is a known issue.

Download file, download video.

7:46

More information
Assemebly Basic Tutorial - FreeCAD wiki
PartDesign Bearingholder Tutorial I (very useful!)
PartDesign Bearingholder Tutorial II
Used FreeCAD version:
Version: 0.14.2654 (Git)
Branch: jriegel/dev-assembly
Hash: 3d4dd4f64f24255dbaec25767cff7b74bb98fc6d

freecad-tutorial.blogspot.com.ar

12/15

05/10/13

FreeCAD tutorial
Trivia: today examples was created on fully open machine (except x86 microcode and some firmware;) - FreeCAD on Ubuntu
x86-64 with R600g graphics driver.

Posted by Adrian Przekw as at 6:10 PM

0 Comments

+4 Recommend this on Google

Labels: assembly

Sunday, June 16, 2013

More videotutorials on Youtube


Here is short list of the latest FreeCAD videoturials created by MarthamEngineering and bram de vries:
FreeCAD Tutorials - Part 1 - Introduction
FreeCAD Tutorials - Part 2 - CAD Basics
FreeCAD Tutorials - Part 3 - Draft Workbench

FreeCAD Tutorial Part 1 Primitives


FreeCAD Tutorial Part 2 Booleans
FreeCAD Tutorial Part 3 2D Constraints
FreeCAD Tutorial Part 4 From 2D Sketch to 3D Model
FreeCAD Tutorial Part 5 More 2D Constraints
FreeCAD Tutorial Part 6 Exercise 1A
FreeCAD Tutorial Part 7 Exercise 1B
FreeCAD Tutorial Part 7 Array Utility
FreeCAD Tutorial Part 8 Sweep and Loft Utility
Check also that topic on the FreeCAD forum.

Posted by Adrian Przekw as at 8:19 PM

2 Comments

+5 Recommend this on Google

Labels: pad, pattern, pocket, sketch, sw eep

Tuesday, April 30, 2013

How to run FreeCAD with the new drawing workbench


Luke Parry is working hard on the new Drawing module. Finally, parametric dimensioning tools has arrived!
If you want test (still in very early development) the workbench, you have to compile FreeCAD yourself. You can find a short
how-to below (based on Luke's tips).
First of all, you need tools and development packages listed on the FreeCAD wiki.
Then you can clone the sources from github:
git clone https://github.com/mrlukeparry/FreeCAD_sf_master.git
Next go to the downloaded directory:
cd FreeCAD_sf_master/
Switch to the "drawing" branch:
git checkout drawing
Create a new directory for a build (not necessary but recommended):
mkdir Build && cd Build
Run cmake and enable debug build (FreeCAD may be a little slower but easier for debugging):
cmake - DCMAKE_BUILD_TYPE=Debug ../
Compile, the number should be equivalent to the number of threads in your CPU:
make -j8
An finally run FreeCAD:
./bin/FreeCAD

freecad-tutorial.blogspot.com.ar

13/15

05/10/13

FreeCAD tutorial

Open or create a solid part. Switch to the drawing workbench and create a new page.

Double click (in tree) to open the page view.

Select a solid from the tree and create a new view. Views (dimensions too) dragging using mouse is now possible - as
opposition to the old drawing workbench.

Select an edge and add a new dimension. Tip: enable the Selection view in the View menu to see what is selected.

freecad-tutorial.blogspot.com.ar

14/15

05/10/13

FreeCAD tutorial
In the Data tab you can change the radius to a diameter.

Add some other dimensions: line length, distance between points (use Ctrl to select two points), radius and diameter are
available.

Back to the 3D model and change something.

The drawing should change as well.

Any good ideas? Share your opinion!

Posted by Adrian Przekw as at 11:26 PM

6 Comments

+9 Recommend this on Google

Labels: blueprint, draw ing

Home

Older Posts

Subscribe to: Posts (Atom)

Simple template. Template images by mariusFM77. Powered by Blogger.

freecad-tutorial.blogspot.com.ar

15/15

S-ar putea să vă placă și