Hi Anders,

Just a note to add to the instructions. On a pretty bare Ubuntu install I needed
apt-get install libqglviewer-dev libboost-all-dev

I tried opening a file as per the instructions but when I hit play I just get an error:
Interpreter exited with error
Unable to a open file.

I have attached the complete debug log.

Les

On 29/12/2015 11:11, Anders Wallin wrote:
Hi all,

I was delighted to see that Kasuyasu Hamada has picked up my old cutsim
work from 2011 and made it into a working 5-axis prototype application. It
now looks like this:
https://youtu.be/aSwDVi8W2XM
and code over here:
https://github.com/KASUYASU/cutsim

It uses a linuxcnc-derived g-code interpreter in a crude way: the rs274
binary chews through the g-code and spits out canon-lines which are then
used as input for the simulator.

I don't have a lot of time to work on this myself but the code-base should
be quite familiar so I can help if someone wants to contribute. I am
interested in the low-level octree stock model and 3D representation - the
stumbling hurdles for me earlier were UI-code, multithreading, and the
g-code interpreter. I've posted this on g+ also in the hope that we'd find
a team of programmers wanting to take  this further.

happy new year!

Anders
------------------------------------------------------------------------------
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

g2m: setting rs274 path:  /home/gw/Documents/cutsim/cutsim/build/bin/rs274
Read Machine Spec. file: 
/home/gw/Documents/cutsim/cutsim/build/bin/machine.mspec
TRAVERSE_FEED_RATE      1500.0
HOLDER_RADIUS           15.0
SPINDLE_RADIUS          11.5
SCENE_RADIUS            100
Successflly read Machine Spec. file
g2m: setting tooltable /home/gw/Documents/cutsim/cutsim/build/bin/Tool_table.tbl
Slot No.1 Tool:CYLN Len. 30 Diam. 6 Flute len. 2 Neck Diam. 5.8 Reach len. 22 
Shank Diam. 8
Slot No.2 Tool:BALL Len. 30 Diam. 2 Flute len. 3 Neck Diam. 1.8 Reach len. 20 
Shank Diam. 4
Slot No.3 Tool:CYLN Len. 30 Diam. 4 Flute len. 5 Neck Diam. 3.9 Reach len. 20 
Shank Diam. 6
Slot No.4 Tool:BALL Len. 30 Diam. 1 Flute len. 3 Neck Diam. 0.99 Reach len. 20 
Shank Diam. 4
Slot No.5 Tool:BALL Len. 30 Diam. 4 Flute len. 5 Neck Diam. 3.9 Reach len. 20 
Shank Diam. 6
Slot No.6 Tool:CYLN Len. 30 Diam. 8 Flute len. 3 Neck Diam. 4 Reach len. 20 
Shank Diam. 8
Slot No.7 Tool:CYLN Len. 30 Diam. 10 Flute len. 18 Neck Diam. 10 Reach len. 25 
Shank Diam. 10
Slot No.8 Tool:CYLN Len. 30 Diam. 4 Flute len. 20 Reach len. 25 Shank Diam. 6
Slot No.32 Tool:?
Read Setup file: 
/home/gw/Documents/cutsim/cutsim/build/bin/KJ66_Diffuser_Top.csim
; KJ66 Diffuser Top Setup file.
OCTREE_CUBE_SIZE        150.02
OCTREE_MAX_DEPTH        9
OCTREE_CENTER           0.0, 0.0, 0.0 OK
USER_ORIGIN             0.0, 0.0, 20.3, 0.0, 0.0, 0.0 OK
INITIAL_POSITION        0.0, 0.0, 20.3, 0.0, 0.0, 0.0 OK
STEP_SIZE               VARIABLE  0.05 OK
STOCK
        RECTANGLE
        WIDTH           150.0
        LENGTH          150.0
        HIGHT           20.3
        CENTER          0.0, 0.0, 0.0
        ROTATION        0.0, 0.0, 0.0
        RCENTER         0.0, 0.0, 0.0
        OPERATION       SUM
END STOCK OK
;specific cutting force
SCF     900.0
PARTS
        RECTANGLE
        WIDTH           45.0
        LENGTH          20.0
        HIGHT           10.0
        CORNER          -112.0, -10.0, 20.0
        ROTATION        0.0, 0.0, 45.0
        RCENTER         0.0, 0.0, 0.0
        OPERATION       SUM
END PARTS OK
PARTS
        RECTANGLE
        WIDTH           45.0
        LENGTH          20.0
        HIGHT           10.0
        CORNER          -112.0, -10.0, 20.0
        ROTATION        0.0, 0.0, -45.0
        RCENTER         0.0, 0.0, 0.0
        OPERATION       SUM
END PARTS OK
PARTS
        RECTANGLE
        WIDTH           45.0
        LENGTH          20.0
        HIGHT           10.0
        CENTER          63.0, -63.0, 20.0
        ROTATION        0.0, 0.0, 35.0
        RCENTER         63.0, -63.0, 0.0
        OPERATION       SUM
END PARTS OK
PARTS
        RECTANGLE
        WIDTH           45.0
        LENGTH          20.0
        HIGHT           10.0
        CENTER          63.5, 63.5, 20.0
        ROTATION        0.0, 0.0, -45.0
        RCENTER         63.5, 63.5, 0.0
        OPERATION       SUM
END PARTS OK
; Open & Read Diffuser#1_Top_Rough_Water_to_Top_Outer_Cut.ngc, Diffuser#2... 
after this.
1 Error for reading Setup file
g2m: setting file 
/home/gw/Documents/cutsim/cutsim/build/bin/Diffuser#1_Top_Rough_Circle_to_Top_Hole_Rough_Circle.ngc
g2m: interpreting  
/home/gw/Documents/cutsim/cutsim/build/bin/Diffuser#1_Top_Rough_Circle_to_Top_Hole_Rough_Circle.ngc
Interpreter exited with error:
Unable to open file


g2m: Total time to process that file: 158.88 ms
GPlayer: play
------------------------------------------------------------------------------
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to