Jump to content
DOSBODS
  • Welcome to DOSBODS

     

    DOSBODS is free of any advertising.

    Ads are annoying, and - increasingly - advertising companies limit free speech online. DOSBODS Forums are completely free to use. Please create a free account to be able to access all the features of the DOSBODS community. It only takes 20 seconds!

     

  • 0

Creating 3D wireframe diagram. Java Swing?


lovelyboy
 Share

Question

lovelyboy

I know we have a lot of IT bods on here so I thought I'd look for some general advice/guidance.

I’m thinking of writing a small and hopefully simple computer programme that will display a 3-dimensional wireframe rectangle with a number of lines (with given co-ordinates) intersecting the rectangle. The user should have the ability to rotate the graphic by clicking and dragging the mouse.

It’s 15 years since I’ve done any programming and the only language I was reasonably proficient in was Java. From memory I should be able to achieve my objective using Java Swing components.

So is Java my best choice? Given the following criteria…

 

It is purely a visualisation tool for my own personal use. It doesn’t have to fancy.

It’s of trivial interest so I’m not keen on spending weeks learning a whole new language.

My Java skills are pretty rusty. I’m sure it would all come back to me but I could also end up spending several weeks reacquainting myself with Java.

I’m lazy so if there is cheap/free software for doing this I’ll take the cheapest/easiest/quickest route.

 

I know there are so many applications available these days and what I’m trying to do is not rocket science. I don’t want to use a sledge hammer to crack a nut.

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Blender is free and WYSIWYG.  Openscad is free and programming / parametric based.  Two to certainly have a look at to see if workflow suits what you want to do.

 

 

  • Informative 1
  • Cheers 1
Link to comment
Share on other sites

  • 0
lovelyboy

Thanks @onlyme, I've just looked at a quick youtube tutorial on OpenSCAD and it looks like exactly what I had in mind. Looks pretty intuitive as well.

Link to comment
Share on other sites

  • 0
15 hours ago, lovelyboy said:

Thanks @onlyme, I've just looked at a quick youtube tutorial on OpenSCAD and it looks like exactly what I had in mind. Looks pretty intuitive as well.

Great, if you have a programming background it will feel more natural than somebody without who needs a UI driven beast.

I've used it for 3D printing models, it is stable and works well. I've used Fusion 360 and it has done some baffling things part way through modelling which such a program really should not so think you've got a solid chance of getting what you want out of it with least hassle. Open source  and liable to stay that way which is a really big plus as well. FreeCAD is another I need to have another look at again.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...