3D view

Discussions around the CAM Add-On of QCAD.

Moderator: andrew

Forum rules

Always indicate your operating system and QCAD version.

Indicate the post processor used.

Attach drawing files and screenshots.

Post one question per topic.

Post Reply
User avatar
Clive
Moderator
Posts: 1329
Joined: Thu Aug 25, 2011 9:28 pm
Location: UK

3D view

Post by Clive » Wed Dec 28, 2016 1:40 pm

I drafted out a simple test to use with following the 'tech' tutorials and I managed to run a 2D simulation preview but cannot get the 3D to work- do I need an extruded shape to run it?
For the best support please state your operating system, QCAD version and add any supporting DXF/DWG files, screenshots etc...

User avatar
andrew
Site Admin
Posts: 9052
Joined: Fri Mar 30, 2007 6:07 am

Re: 3D view

Post by andrew » Wed Dec 28, 2016 2:06 pm

Clive wrote:but cannot get the 3D to work- do I need an extruded shape to run it?
No. The 3D view is simply a 3D rendering of your drawing shown from the top in the usual graphics view.

What kind of symptoms do you get? Does the 3D widget show up? Can you see the grid? Or can you post a screenshot? Thanks. The 3D view is based on OpenGL. I'd expect this to work on most modern systems.

User avatar
Clive
Moderator
Posts: 1329
Joined: Thu Aug 25, 2011 9:28 pm
Location: UK

Re: 3D view

Post by Clive » Wed Dec 28, 2016 2:36 pm

so... I get the 2D simulation running just fine on Windows 10
My 2D simulation view.jpg
My 2D simulation view.jpg (18.67 KiB) Viewed 12058 times
But with the 3D view all I get is a purple blank screen!
Selecting either of the options in my red highlighted box does nothing - what are they for by the way?
My 3D simulation output.jpg
My 3D simulation output.jpg (17.84 KiB) Viewed 12058 times
For the best support please state your operating system, QCAD version and add any supporting DXF/DWG files, screenshots etc...

User avatar
Clive
Moderator
Posts: 1329
Joined: Thu Aug 25, 2011 9:28 pm
Location: UK

Re: 3D view

Post by Clive » Wed Dec 28, 2016 2:40 pm

Widgets show up just fine.
widgets.jpg
widgets.jpg (32.86 KiB) Viewed 12057 times
For the best support please state your operating system, QCAD version and add any supporting DXF/DWG files, screenshots etc...

User avatar
andrew
Site Admin
Posts: 9052
Joined: Fri Mar 30, 2007 6:07 am

Re: 3D view

Post by andrew » Wed Dec 28, 2016 3:09 pm

OK. This is definitely not working there. You should at least see red crosshairs and a grid.

Can you try to save the DLL file in the attached ZIP into your QCAD/CAM installation directory and restart QCAD/CAM. Let me know if that works.. I'm still not sure what exactly is required to get OpenGL working under Windows, so this might not be last thing needed :(
Attachments
d3dcompiler_47.zip
(1.67 MiB) Downloaded 464 times

User avatar
andrew
Site Admin
Posts: 9052
Joined: Fri Mar 30, 2007 6:07 am

Re: 3D view

Post by andrew » Wed Dec 28, 2016 3:14 pm

If you can run the dxdiag tool and post the dialog here, that might also be helpful. Here's what mine looks like:
Screen Shot 2016-12-28 at 15.11.52.png
Screen Shot 2016-12-28 at 15.11.52.png (164.65 KiB) Viewed 12055 times

User avatar
Clive
Moderator
Posts: 1329
Joined: Thu Aug 25, 2011 9:28 pm
Location: UK

Re: 3D view

Post by Clive » Wed Dec 28, 2016 3:20 pm

Sure, I'll get to this soon.
For the best support please state your operating system, QCAD version and add any supporting DXF/DWG files, screenshots etc...

User avatar
Clive
Moderator
Posts: 1329
Joined: Thu Aug 25, 2011 9:28 pm
Location: UK

Re: 3D view

Post by Clive » Wed Dec 28, 2016 4:11 pm

Okay I saved the DLL in the installation directory ut the result is still the same.

Here's the dxdiag tool results:
dxdiag result.jpg
dxdiag result.jpg (108.89 KiB) Viewed 12051 times
For the best support please state your operating system, QCAD version and add any supporting DXF/DWG files, screenshots etc...

User avatar
Clive
Moderator
Posts: 1329
Joined: Thu Aug 25, 2011 9:28 pm
Location: UK

Re: 3D view

Post by Clive » Wed Dec 28, 2016 4:14 pm

When I run the 2D simulation and also view the 3D although it's showing a blank purple page the coordinates are registering and running in the x,y and z at the same time until it comes to a stop - so it's picking up and following the path.
For the best support please state your operating system, QCAD version and add any supporting DXF/DWG files, screenshots etc...

User avatar
andrew
Site Admin
Posts: 9052
Joined: Fri Mar 30, 2007 6:07 am

Re: 3D view

Post by andrew » Thu Dec 29, 2016 11:25 am

OK, thanks. Looks like this might require a lot more digging to get this working on Windows systems. My best guess at the moment is that no decent OpenGL driver is available on your Windows installation, so Qt tries to revert to something called ANGLE, an attempt from Google to provide some kind of pseudo OpenGL support for Windows. Long story short: the 3D view won't work for all Windows users at this point.

PS: You might want to try this on Linux which generally has better OpenGL support.

User avatar
Clive
Moderator
Posts: 1329
Joined: Thu Aug 25, 2011 9:28 pm
Location: UK

Re: 3D view

Post by Clive » Thu Dec 29, 2016 11:53 am

Okay Andrew, no major problem at this stage, as I say I am just working through the tutorial and testing and asking questions on the way, but hopefully at some stage there will be a solution for windows users.

More questions coming up..
For the best support please state your operating system, QCAD version and add any supporting DXF/DWG files, screenshots etc...

User avatar
andrew
Site Admin
Posts: 9052
Joined: Fri Mar 30, 2007 6:07 am

Re: 3D view

Post by andrew » Thu Dec 29, 2016 1:06 pm

For now, you could also use CAMotics or another third party application to load and simulate G-Code.

User avatar
Clive
Moderator
Posts: 1329
Joined: Thu Aug 25, 2011 9:28 pm
Location: UK

Re: 3D view

Post by Clive » Thu Dec 29, 2016 1:22 pm

andrew wrote:For now, you could also use CAMotics or another third party application to load and simulate G-Code.
Thanks, this looks promising, I'll take a closer look and feedback about it.
For the best support please state your operating system, QCAD version and add any supporting DXF/DWG files, screenshots etc...

Post Reply

Return to “QCAD/CAM”