View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000814 | FreeCAD | Patch | public | 2012-08-09 18:35 | 2014-01-12 17:58 |
| Reporter | thuswm | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | N/A |
| Status | closed | Resolution | fixed | ||
| Summary | 0000814: Local Coordinate System | ||||
| Description | The attached diff is my implementation of a local coordinate system. The implementation is not complete and will need further work but it is a start. The idea is to have a concept that is fairly disconnected from other objects and only holds information about the orientation and the origin of the local coordinate system. It also has member functions for transforming coordinates from this system to the global coordinate system. The object is selectable but does not scale to screen in the current version. The header files give an idea of how to use the object. To create a local coordinate system in python write: doc=App.newDocument() coord=doc.addObject("App::CoordinateSystem") Then it is possible to set origin and orientation with the appropriate member functions: coord.setOrientation( matrix ) coord.setOrigin( vector ) Please try it! | ||||
| Tags | No tags attached. | ||||
| FreeCAD Information | |||||
|
2012-08-09 18:35
|
|
|
|
Hi, Nice work, it works well... But my question is: what is its purpose, and how is it fundamentally different than a Placement? Wouldn't it be more interesting to add conversion methods (to/from local coords) to the placement object instead? And the placement object could also receive a visual axes system, that could be switched on/off... Why a separate object? |
|
|
Let's wait for Jürgen to check if this is already available in the assembly branch and how much the overlap is... |
|
|
Its part of the Assembly.... |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2012-08-09 18:35 | thuswm | New Issue | |
| 2012-08-09 18:35 | thuswm | File Added: localcoord.patch | |
| 2012-08-11 00:08 | yorik | Note Added: 0002314 | |
| 2012-08-11 13:02 | wmayer | Note Added: 0002315 | |
| 2014-01-12 17:58 |
|
Note Added: 0004057 | |
| 2014-01-12 17:58 |
|
Status | new => closed |
| 2014-01-12 17:58 |
|
Assigned To | => Jriegel |
| 2014-01-12 17:58 |
|
Resolution | open => fixed |
FreeCAD