fougue / mayo

3D CAD viewer and converter based on Qt + OpenCascade
BSD 2-Clause "Simplified" License
1.29k stars 257 forks source link

mayo vs mayo-conv different export #276

Open semixor opened 1 month ago

semixor commented 1 month ago

Hi @HuguesDelorme, the issue is following:

  1. When converting STEP to VRML from GUI the wrl file contains lines (edges)
  2. When converting STEP to VRML from MAYO-CONV (CLI) the wrl file doesn't contain lines (edges)

what can cause the issue ? is there any paramater I need to set ?

HuguesDelorme commented 1 month ago

Mayo(GUI app) and mayo-conv use distinct settings Try to force mayo-conv use the same settings as Mayo GUI:

  1. Open Mayo GUI application
  2. Click on Tools->Options menu
  3. Click Exchange->Save as... button(in the Options dialog)
  4. Select an INI file(assume D:\data\mayo-gui.ini in this procedure) and confirm file dialog
  5. From command prompt run:
    $> mayo-conv --use-settings D:\data\mayo-gui.ini inputfile.step --export outputfile.wrl
semixor commented 1 month ago

@HuguesDelorme unfortunately this is not working, I did it from the beginning to be honest and still the result is same as I mentioned

HuguesDelorme commented 1 month ago

@semixor I couldn't reproduce the problem with non-trivial step files, both mayo and mayo-conv produce the "same" file regarding edges Can you please provide the input STEP file? Also please give here your mayo-conv settings cache: $> mayo-conv --write-settings-cache semixor-mayoconv.ini