https://github.com/gbroques/ose-developer-test
FreeCAD Macro to Design a Corner Cube for the OSE Developer Test
https://github.com/gbroques/ose-developer-test
cube developer-test freecad macro open-source-ecology opensourceecology ose osedev
Last synced: 3 months ago
JSON representation
FreeCAD Macro to Design a Corner Cube for the OSE Developer Test
- Host: GitHub
- URL: https://github.com/gbroques/ose-developer-test
- Owner: gbroques
- Created: 2020-01-07T01:39:59.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-01-15T00:40:22.000Z (over 5 years ago)
- Last Synced: 2025-01-12T09:42:31.581Z (4 months ago)
- Topics: cube, developer-test, freecad, macro, open-source-ecology, opensourceecology, ose, osedev
- Language: Shell
- Homepage:
- Size: 89.8 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# OSE Developer Test
Programmatic solution to the [OSE Developer Test](https://wiki.opensourceecology.org/wiki/Developer_Test).* [Requirements](#requirements)
* [Pre-Requisites](#pre-requisites)
* [Usage](#usage)
* [Dependencies](#dependencies)
* [Limitations](#limitations)
* [Future Development](#future-development)## Requirements
* Import 8 hole tubing from OSE Part Library and build a cube
* Fasten a bolt through one of the corners with a nut
* Pocket initials into any face of any tube
## Pre-Requisites
Download Tubing Library by running the following shell script:```sh
./download-tubing-library.sh
```This should create a `Tubing Library` directory inside the `ose-developer-test` directory.
## Usage
Import `ose-developer-test.FCMacro` into FreeCAD.## Dependencies
### FreeCAD Version Information
```
OS: Linux
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.16093 (Git)
Build type: Unknown
Branch: master
Hash: 690774c0effe4fd7b8d2b5e2fb2b8c8d145e21ce
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.0.0
Locale: English/UnitedStates (en_US)
```### Fasteners Workbench
This macro depends on the [Fasteners Workbench](https://github.com/shaise/FreeCAD_FastenersWB) and was tested with commit [ab74422](https://github.com/shaise/FreeCAD_FastenersWB/commit/ab74422090ae7faf17f009d9b736a31de98875d3).## Limitations
* Fasteners Workbench must be loaded in the FreeCAD GUI before executing the macro; otherwise you'll get the following error:
```
Traceback (most recent call last):
File "path/to/ose-developer-test.FCMacro", line 345, in
main()
File "path/to/ose-developer-test.FCMacro", line 45, in main
create_bolt_and_nut_through_corner_of_cube(last_tube)
File "path/to/ose-developer-test.FCMacro", line 146, in create_bolt_and_nut_through_corner_of_cube
FreeCADGui.runCommand('FSISO4014')
: No such command 'FSISO4014'
```
* Selecting different tubing from the tubing library (e.g. `7 hole tubing.fcstd`) doesn't properly align the bolt and nut through corner of cube## Future Development
Future development may include:
* Allow users to select which tubing to create the cube with through the FreeCAD GUI (see [Limitations](#limitations))
* Parameterize initials and allow a user to enter their initials in the FreeCAD GUI
* This would likely involve using FreeCAD's Text feature rather than using the Sketcher workbench to manually layout geometries and constraints as suggested by OSE