KASUYASU / cutsim-q5

GNU Lesser General Public License v3.0
7 stars 2 forks source link

running in windows 10 #1

Open cutenc opened 4 years ago

cutenc commented 4 years ago

Hello,

Has anyone tried to compile and run this application in windows 10? I compiled the project with Qt5.11.1 and libQGLViewer-2.7.2, by using the pro file in VS2017. it was able to compile and run, however when I load the Milling_area3_data provided in cutsim issues, the stock can not show up, there are no cannon_lines display, and also the "Play" button does not running.

I would appreciate any helps or steps to follow to make it running in windows 10.

Thanks in advance!

KASUYASU commented 4 years ago

Hi,

Can you load another 'csim' file, for example 'Impeller.csim' ?

Kazu

cutenc commented 4 years ago

Thanks for your quick response! After starting cutsim-Qt5, I selected the build folder, and loaded tool table, and the 'Impeller.csim' file, below is what I got, the stock file does not show.

One note in loading STL file, it seems that It needs absolute path for Stl::readStlFile(), I hard-coded the "Impeller_Stock.stl" for this, and it reads STL file fine, but it took a while to wait for "Sum Operation".

image

KASUYASU commented 4 years ago

Hi,

In my Ubuntu case, I have the next messages.

g2m: setting rs274 path: /home/hamada/cutsim-master-q5/build/rs274 Read Machine Spec. file: /home/hamada/cutsim-master-q5/build/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/hamada/cutsim-master-q5/build/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:BULL Len. 30 Diam. 4 Flute len. 20 Reach len. 25 Shank Diam. 6 Bull Radius 0.5 Slot No.9 Tool:CONE Len. 30 Diam. 4 Flute len. 20 Reach len. 25 Shank Diam. 6 Tip Radius 1 Slot No.10 Tool:DRILL Len. 30 Diam. 4 Flute len. 20 Reach len. 25 Shank Diam. 6 Tip Angle 118 Slot No.11 Tool:CYLN Len. 30 Diam. 2 Flute len. 2 Neck Diam. 1.99 Reach len. 22 Shank Diam. 4 Slot No.32 Tool:? Read Setup file: /home/hamada/cutsim-master-q5/build/Impeller.csim OCTREE_CUBE_SIZE 100.02 OCTREE_MAX_DEPTH 9 OCTREE_CENTER 0.0, 0.0, 0.0 OK USER_ORIGIN 0.0, 0.0, 40.0, 0.0, 0.0, 0.0 OK INITIAL_POSITION 0.0, 0.0, 40.0, 0.0, 0.0, 0.0 OK STEP_SIZE VARIABLE 0.05 OK ;specific cutting force SCF 600.0 PARTS CYLINDER RADIUS 50.0 LENGTH 10.0 CENTER 0.0, 0.0, -10.0 ROTATION 0.0, 0.0, 0.0 RCENTER 0.0, 0.0, 0.0 OPERATION SUM END PARTS OK STOCK STL FILE Impeller_Stock.stl OPERATION SUM END STOCK OK Successflly read Setup file

For the 'full-path' problems, I think this is caused from the differences of OS. And you need rs274 interpreter. Please visit the site

https://code.google.com/archive/p/rs274ngc/

and compile the code with AC mode.

Also it takes several minutes to calculate 'OPERATION SUM'.

Kazu

Screenshot from 2020-08-07 12-30-45