Search This Blog

Sunday, 11 July 2021

FreeCAD tips and gotchas

I've been using FreeCAD more often recently and I know enough to create the sorts of models I usually want. From time to time I find something in FreeCAD that is either useful or confusing.


Don't Mix Part Workbench with Part Design

FreeCAD 0.19

I was surprised that the shapes in the Part workbench do not fit in to the same structure as the Part Design workbench. This means that if you try to mix the two, the result does not fit in to the Part Design tree structure. That ends up making further edits very awkward.

It is possible to use them together with the aid of shapebinder but that is a concept I also find very confusing.


As the primitives from Part workbench can also be created in the Part Design workbench, there is no need to make life complicated by trying to mix the two.

Boolean Fuse on Moved Parts Clone

FreeCAD 0.19

I spent ages trying to fuse two parts where one clone had to have its position transformed to be in the right relation to the other.

The gotcha is that the Part Transform function is ignored when doing a Boolean on a clone. It is necessary to manually adjust the position of the clone component item, not the whole part.


Once I knew where to edit, the fuse was fairly easy. That said, you do have to know how the Add Part button works for the Boolean method, its a toggle. Once on you can just click any other object and the bool happens.

Can't Export STL if Boolean is Last

FreeCAD 0.19

If the last action, in Part Design, is to use a boolean, the STL or OBJ file exported will be empty.


I just did a superfluous operation after the boolean and the model exported perfectly!


Showing Only Parts of a Component in TechDraw

FreeCAD 0.19

I have found this somewhat awkward.

Adding parts to the drawing is fairly easy. I hide the parts that I don't want in the drawing, using the spacebar. Orientate the view to what I want, move to the drawing and Insert a View using the button.


There is a catch, whenever the view is updated and the other bodies are made visible, the drawing then reflects that and displays all the bodies that I had previously hidden!

Not what I wanted

What I wanted

To prevent that, I turn off the 'Keep Updated' property for the drawing.


There is also a toggle on the right click menu for the drawing.

That's great BUT sometimes when I reload the file, the drawings are all blank. I assume this is a bug, I have not done enough searching to find out for sure.

My solution to this is to hide the bits of the model that I don't want, again, and then press the refresh button for the drawing.


It's not always perfect but it usually gets me back to close to where I want to be. It does require me to remember what was included in my own drawings, so I export to PDF, frequently.


I hope the above fault is just me doing something wrong but, at the moment, I don't know what that is. The tutorials only show examples of complete components in the TechDraw drawing.

[To Try: Separate the bodies for each view in to separate components, to see if that helps.]


Preview a Page in TechDraw

FreeCAD 0.19

By this, I mean hide all the connection points and view frames.

The button tool tip calls it 'Turn view frames on/off' but it also hides all the other bits that won't show in the exported PDF. I think of it as a 'PDF or Print Preview'.

Before

After

Very quick and easy to toggle on and off, as required.

Showing Hidden Lines

FreeCAD 0.19

A common thing on drawings to be able to see holes that go through objects. Especially if they don't go all the way through.

It's necessary to turn on Hard Hidden in the view tab of the view group.

Then it's necessary to REFRESH the drawing to see the change.

In this case, it makes the drawing easier to understand.

Notes on other view parameters can be found in the documentation:

https://wiki.freecadweb.org/TechDraw_View


Hidden Line Dashes

FreeCAD 0.19

I like my hidden lines to be dashes. This can be changed in Edit-Preferences-TechDraw


Details about each preference, can be found in the documentation:

https://wiki.freecadweb.org/TechDraw_Preferences


==


Sunday, 23 May 2021

Giant Trance X 29er 2013 components

Whilst helping my brother replace the pivot bearings in his two mountain bikes, I made a note of the components and produced these diagrams.




==

Download the diagrams as a PDF.

==


Monday, 19 April 2021

Bike tyre air nozzle

When fitting tubeless bike tyres it is usually necessary to have a fast blast of air to get the beads to seal enough to hold air then more to seat the beads in the rim. This is easiest done with a compressor.

Most tyre inflators, for compressors, use a rubber hose with a Schrader, car, valve end. In to which a small Presta valve adapter has to be fitted. That combination can be difficult to hold in place on a Presta valve while also trying to hold the wheel when it is not on the bike. 


I have designed an adapter that fits an air blower tool, which can be easily held on a Presta valve with or without the valve core installed.

An early version

It took a few attempts to get it right. The first version only fitted when the valve core was removed. It worked and didn't need a washer but it is more convenient to be able to use the same tool to complete the inflation, so I designed some more.

Disappointing adapter

Another attempt used a standard Presta valve adapter. This was disappointing. It was hard to hold in place and, as is typical with these adapters, the rubber O-ring kept being pulled off when removing the tool.




The latest design uses a rubber O-ring that fits tightly in a deep groove.




The metric O-ring has a 5mm internal diameter with a 2mm cross section, making it a 9mm outside diameter. It is a snug fit and needs something like a blunt needle or small nail to help get it in.





It is designed to 3D prints without any supports. I used 2mm thick walls and a 30% fill. My preferred filament is ColorFabb nGen.

==

Download 3D models:
Tyre Air Nozzle, STEP and STL (Zip)
Licence attribution - small business exception

My models in the GrabCAD library.

==

Saturday, 17 April 2021

VW T28 reversing sensor housing

The plastic shrouds that hold two of the reversing sensors in the rear bumper on a friends van, had broken. A search to get hold of the right size replacement, had proved fruitless.

An original

It is a VW T28 Transporter from 2008. Based on a T5.

The reversing sensor fits in a 20mm diameter hole in the bumper and the sensor has a 15mm outside diameter with some alignment keys and clips to fit a specific housing.

A 3D printed solution

I've made a 3D printed version of the housing that holds the sensor to fit in to the bumper.



It fits both the sensor and the bumper well. It's tight pushing it in to the bumper.


The production is not perfect but that does not affect it's appearance or ultimate function. The lack of flex in the 3D filament, that I used, means that the inner clips tend to snap off. The sensor fits snugly in to the shroud so as long as one clip is holding this secures it in place. A bit of tape could also be wrapped round the housing, to hold the clips in but that has not proved necessary.


The end result works well, so far.

==

3D Printing Method



  • Filament: ColorFabb nGen. Used to survive the possible outside temperatures.
  • Walls: 2mm thick
  • Infill: 30%
  • Supports: From the build plate, only where the overhang angle is greater than 80 degrees.

I printed it, outside uppermost. This was to get the best finish on the curved edges of the part of the lip that would be visible when fitted to the van. That required the use of supports for the print.

Download 3D models:
VW T28 Reversing Sensor Housing, STEP and STL (Zip)
Licence attribution - small business exception

My models in the GrabCAD library.

==



Thursday, 15 April 2021

Workshop bike stand

I'm lucky enough to have a large shed to use as a workshop however, there is not quite enough space for me and a portable bike work stand, to work comfortably. I kept tripping over the legs.

To get over the issue of the legs getting in the way, I decided to wall, or bench mount a bike work stand. Through use of the portable stand, I had worked out the most suitable space for a fixed stand. I just needed to find a way to secure it. 


None of the wall or floor mounted stands, that I could find, did everything that I wanted at a price I was prepared to pay. For me, the best option was to use a portable stand but remove the legs.



I made up some brackets out of ply, timber and 3D printed clamps.




It is secured to the corner of the bench and to the floor.




It has worked out very well, it rotates out of the way when not in use and is very sturdy in use. Just what I was after.

==

3D printed Parts



Printing Method:

Filament: ColorFabb nGen
Walls: 2mm thick
Infill: 30%
Supports: None

Download 3D models:

Pipe Clamps 38mm, STEP and STL (Zip)
Licence attribution - small business exception

My models in the GrabCAD library.

==


Monday, 12 April 2021

My FreeCAD preferences

I've used FreeCAD, on and off, for a while. Usually for specific tasks that it is better suited to. Recently I have started to use it more frequently, so it is worth my time setting it up how I like it.

This page is a reminder of how I prefer to configure FreeCAD. It is a work in progress and I will update this page from time to time.

Navigation

There are many ways to move the view of the objects on the screen and everyone has their own preference. I find using a middle mouse button uncomfortable and sometimes use a trackball. With a trackball, I find mouse button combinations are not always easy to operate while also trying to move the ball. Therefore, I prefer Pan, Zoom and Rotate to be somewhat independent of the mouse buttons or only use the left mouse button.

Luckily, FreeCAD has a pre-configured setup, called 'Touchpad' that does exactly what I want. 

In Touchpad mode, the Pan function, is to hold the SHIFT key while moving the mouse.

The Zoom function has multiple choices, including, PAGE UP and PAGE DOWN as well as a CTRL + SHIFT combination. I find the mouse wheel quicker. 

The primary Rotate option, in the Touchpad mode, is to hold the ALT key while moving the mouse, however, when using a mouse, I prefer the alternate method of, SHIFT + LEFT MOUSE BUTTON combination. By just covering the shift key, all the operations can be carried out easily.

It's easy to swap between modes, using the dropdown on the Status bar.


Addons


Using the Addon Manager, I add the following as part of my standard setup. Details of each can be found under External Workbenches in the FreeCAD documentation.

  • Fasteners Workbench - create ISO standard bolts and washers. When creating threads, enable the thread property to True, for the geometry to be cut in to the model.





==

FreeCAD version 0.19
==