View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002658 | FreeCAD | Feature | public | 2016-08-04 12:08 | 2016-08-05 09:17 |
| Reporter | trampas | Assigned To | |||
| Priority | normal | Severity | tweak | Reproducibility | always |
| Status | closed | Resolution | no change required | ||
| Platform | Windows 10 | OS | Windows 10 | OS Version | 10 |
| Product Version | 0.16 | ||||
| Fixed in Version | 0.15 | ||||
| Summary | 0002658: Variables in Sketches | ||||
| Description | What I would like to be able to do is create a variable in a sketch. For example if I am creating a gear where I have several teeth with a height of 1.0mm. Then I would like to create a variable in the sketch and assign it 1.0mm. Then when I enter that variable name for a constraint it would use the value of the variable. This would allow me to change all the teeth height's by changing the one variable. I know that there is the SCAD interface which can offer this feature, however it is not always the easiest for non programmers. I also know there is the "equal" constraint which might be able to provide some of this capability, however a variable would be cleaner as you can see what the height is constrained to. That is for the equal constraint when you look at sketch it is hard to figure out what it is equal to. | ||||
| Tags | No tags attached. | ||||
| FreeCAD Information | |||||
|
|
Since version 0.15 we support expressions. There you can define a name for a constraint. Then for other constraints you can reference to this named constraint to use the same value. This way only one value needs to be changed if required. Additionally, the dimensional constraints of a sketch appear in the property editor. For more information visit the forum. |
FreeCAD