Hi.

Our system is sort-of in-between a 2D/3D CAD application, with the
main emphasis on the 2D system.  It's certainly quite doable to do it
in 3D, especially if you take a look at how the Avocado and
SweetHome3D chaps did it.

The biggest obstacle I had was actually the file format : I need
something I can store in a database and did not need any integration
with any other application. In the end I opted for an SVG (see the
Batik project) file format, stored in the database as nodes which
enables all operators to view existing drawings in the system. The
nodes basically are in a chain, with node 1 having no parent node.
This creates the following structure :

Node - > Next_Node -> Next_Node ->Null

All nodes have a line or a curve between them, depending on the type
of node it is. This was an easy solution, especially given the GUI
needed users to interact with each node (move, change type) whilst
keeping an area as a seperate entity. You could, in theory, simply add
a Z axis to each node, and use the same mechanism to store, although I
have seen more elegant 3D solutions.

In all honesty, Avocado looks to be almost exactly what you are
looking for. Rather customise it, save yourself some time and go spend
a few days at the beach!

Regards
Ewald

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CTJUG Tech" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/CTJUG-Tech?hl=en
For Cape Town Java User Group home page see http://www.ctjug.org.za/
For jobs see http://gamatamjobs.appspot.com/
-~----------~----~----~----~------~----~------~--~---

Reply via email to