search
[last updated: 2024-07-30]
FreeCAD home page
FC Operation notes
working with multiple bodies
(link to:) FC.org spreadsheet WB
(link to:) FreeCAD Expressions
-----
This page still in edit, kind of a mess ...
--------------------------------------------------------------
The best way to do this, that is, to tie your dependent dimensions to each other,
is to parametize your drawing using the Spreadsheet Workbench.
This method will capture, in the spreadsheet, the dependencies between parameters
--------------------------------------------------------------
---------------------------------------------------------------
------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------
click in spreadsheet cell A1
enter name of parameter:
You can enter next parameters in A2 (and below) now or later.
Proceed similarly for the rest of the parameters you've defined.
click in spreadsheet cell B1
right-click --> properties --> alias
enter alias name desired, press enter
Note the background color of the cell changes to yellow (after you've clicked outside the cell), indicating success.
Note that if you mouse-over the alias cell, the tool tip will show the alias name you've defined.
A list will display of all the parameter alias' that you've defined that start with 'ss'.
Select the one desired, click OK.
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
Alias them as usual.
--------------
But FreeCAD does not tell all to you. As you can see in the dependency-graph, you need to add ".Shape" to the shown name of your edge and add ".Length" to get the length of the edge.
...
I have made an example, that uses the nondriving constraint, in order to set the pad-height of the part "pad" in an expression. (click on the blue thingy in order to see the expression)
The height of the box is then set to the length of an edge of the Pad.
You have to use the same naming in the spreadsheet, in order to get the data into a cell.
-----------------------------------------------------------------------------------------------
.
.
.
eof