WandererFan / FreeCAD-TechDraw

This repo is obsolete. Please use FreeCAD/FreeCAD.
Other
3 stars 1 forks source link

Links to 3D Geometry for True Dimensions #42

Closed WandererFan closed 8 years ago

WandererFan commented 8 years ago

The original 3D <-> drawing automatic link logic was not reliable. We need a way to create references from Drawing Geometry to 3D geometry.

Options: 1) try to automatically link 3D edges/vertices to 2D counterparts. This appears to be computationally intense. 2) create new functions to manually link 3D/2D geometry. 3) link Drawing Dimension to Draft Dimension and/or "Measure" 4) ????

ianrrees commented 8 years ago

Hmm, seems like another place where topological naming is going to be useful. I wonder if it makes sense for us to add attributes to the original 3D object, and preserve those attributes in the 2D representation? If this were architected well, then perhaps it could use the topological naming system once that exists.

WandererFan commented 8 years ago

Honestly, Topological Naming seems like the Philosopher's Stone to me. It's going to fix everything.

I hadn't thought of making 3D point to 2D. I guess because the original was all 2D -> 3D.

On Thu, Mar 24, 2016 at 6:40 PM, Ian notifications@github.com wrote:

Hmm, seems like another place where topological naming is going to be useful. I wonder if it makes sense for us to add attributes to the original 3D object, and preserve those attributes in the 2D representation? If this were architected well, then perhaps it could use the topological naming system once that exists.

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/WandererFan/FreeCAD-TechDraw/issues/42#issuecomment-201059174

ianrrees commented 8 years ago

I wasn't thinking so much about the 3D pointing to 2D, rather if all the elements of the 3D object had some sort of persistent identifier (GUID or whatever), then we could somehow hang on to those identifiers along with the 2D elements. Or, is that 2D->3D identifier what you're referring to as the link logic?

WandererFan commented 8 years ago

Our only link now is PropertyLink to Source 3D object + integer 3D Edge/Vertex number for each piece of 2D geometry. 3D Edge number is sometimes null, sometimes multiple 2D geoms point to single 3D geom, and this is at best semi-persistent.

I've had a few ideas about creating the links, but so far they all seem to be a lot of mouse clicks or unreliable.

On Sat, Mar 26, 2016 at 8:40 PM, Ian notifications@github.com wrote:

I wasn't thinking so much about the 3D pointing to 2D, rather if all the elements of the 3D object had some sort of persistent identifier (GUID or whatever), then we could somehow hang on to those identifiers along with the 2D elements. Or, is that 2D->3D identifier what you're referring to as the link logic?

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/WandererFan/FreeCAD-TechDraw/issues/42#issuecomment-201963460

WandererFan commented 8 years ago

fixed, but see #46