Results 1 to 8 of 8

Thread: runtime error

  1. #1
    Join Date
    Apr 2012
    Location
    Bryan, Ohio
    Posts
    361

    Default runtime error

    I am having trouble with a couple stl patterns I have purchased. When I try to import them They begin and then I get a runtime error and the program must be closed. Is there a fix for this?

  2. #2
    Join Date
    Feb 2008
    Location
    Tucson, Arizona
    Posts
    2,401

    Default

    More than likely, there is probably something wrong with the STL file. Try importing it into another program first. It could also be that the STL file is too large for the Designer to handle. A common problem. I have used 3rd party programs to make a lot of STLs and if the mesh size is set to high when exporting it will crash the Designer during the import.
    Last edited by SteveNelson46; 09-06-2017 at 05:49 PM.
    Steve

  3. #3
    Join Date
    Apr 2014
    Location
    Texas
    Posts
    2,877

    Default

    The magic size is about 100 megs for the stl file. I have been able to load up to 130 megs but it took deleting everything from the library and any closing any open programs on the computer. And it tooks multiple attempts to port. You can reduce the size of the stl with different software if that is the issue.

    The other is issue is undefined objects in the stl like curves and vertex objects that sometimes designer does not recognize. You have to convert to them to a mesh or delete and that normally takes care of that issue.

    Let us know how it goes.

    - O

  4. #4
    Join Date
    Dec 2006
    Location
    Brunswick, GA
    Posts
    8,123

    Default Reduce STL File Size with MeshLab FREE Software

    Quote Originally Posted by rmock View Post
    I am having trouble with a couple stl patterns I have purchased. When I try to import them They begin and then I get a runtime error and the program must be closed. Is there a fix for this?
    Failure to import an STL is typically caused by one or two things...the file size is too large for the CW Importer to deal with (anything near 99 to 100MB can crash the Importer) and/or there is a color/texture embedded in the STL. Reducing STL file size and/or eliminating any embedded color/texture will solve the issue. Here is a link to step-by-step instructions to reduce file size, eliminate embedded color/texture and have no noticeable loss of quality:

    https://forum.carvewright.com/showth...172#post261172
    Michael T
    Happy Carving!


    ═══ Links to Patterns & Resources for CompuCarve™ & CarveWright™ ═══

  5. Default

    This is locked up and won't let users access the link with the step by step instructions. Can someone copy and paste the instruction onto this thread, so that those who can't view it can see? I'm having the same issues.





    Quote Originally Posted by mtylerfl View Post
    Failure to import an STL is typically caused by one or two things...the file size is too large for the CW Importer to deal with (anything near 99 to 100MB can crash the Importer) and/or there is a color/texture embedded in the STL. Reducing STL file size and/or eliminating any embedded color/texture will solve the issue. Here is a link to step-by-step instructions to reduce file size, eliminate embedded color/texture and have no noticeable loss of quality:

    https://forum.carvewright.com/showth...172#post261172

  6. #6
    Join Date
    Sep 2007
    Location
    Northern Colorado
    Posts
    7,962

    Default

    Quote Originally Posted by spidee601 View Post
    This is locked up and won't let users access the link with the step by step instructions. Can someone copy and paste the instruction onto this thread, so that those who can't view it can see? I'm having the same issues.
    The "lock up" is do to it being posted in the "senior" section of the forum. You need 1000 posts to get into that section. But here is a copy and paste..

    You can reduce the file size of the STL mesh with the free program MeshLab. The goal is to get the file size under 99 MB. Download MeshLab from here... http://meshlab.sourceforge.net/

    Install the MeshLab program, then...


    1) Start up MeshLab and create a "New Empty Project"


    2a)... If you have a large file, it is easy to reduce the file size without noticeable quality loss.


    2b)...Import your STL file into your New Project in MeshLab and click "OK" in the Post-Open Processing window (see screenshot entitled "1-Post-Open Processing"


    2c)...Select Filters/Remeshing,Simplification and Reconstruction/Quadric Edge Collapse Decimation (see screenshot entitled "2-Remesh_Quadric")


    2d)...Take a look at the screenshot entitled "3-Remesh_Settings". Make SURE you check all the boxes exactly as shown in my screenshot. Now, type in a decimal fraction (percentage) of how much you want to diminish the mesh, without going too crazy, or you'll get visible facets on your model. NOTE: the decimal value you type in is NOT the percentage reduction... EXAMPLES: type .70 for a 30% reduction, type .50 for a 50% reduction, type .90 for a 10% reduction, etc. Also, MAKE SURE you have typed in a value of "1" for the Quality Threshold.


    2e) Click the word "Apply", wait for it to finish, then click the word "Close" to get rid of the window.


    3) Observe your model on-screen to confirm it is still good quality (it will be if you didn't "go crazy" with the remesh reduction)


    4) Now, go to "File/Export Mesh As". You will select your file type (STL in this case) and create a new name for your model (so you don't overwrite your original!). Click "Save" and you will see a new window pop-up. There is a setting here you MUST UNCHECK before saving to enable the CW STL Importer to open your new STL (see screenshot entitled "4-Saving_Options"). UNCHECK the box that says "Materialize Color Encoding". Click "OK" to save your new STL. It should now load into the CW STL Importer as long as the file size is now 99 MB or less and color info is removed.


    So, we have basically corrected the "troublesome" STL files by doing this. Even though many large STL files will open in other programs (like MeshLab here) with the color or texture preserved, some programs won't open them or might even crash on you...the CW STL Importer (as well as the CW Slicer software) wants "clean" STL's without color info and a file size smaller than 99MB. Reducing the mesh to a reasonable size and discarding the color/texture info should put you on track.


    I hope this has been helpful.
    RingNeckBlues
    My patterns on the Depot
    DC-INSERT It Just Sucks!

    Proven to out perform all others!
    Buy CarveWright
    Colorado FaceBook Users Group


    All patterns and projects that I share on the CarveWright forum are for your personal carving purpose. They are not to be shared, sold or posted on any other web site without permission from RingNeckBlues Designs.

  7. Default

    Thank you very much

  8. #8
    Join Date
    Aug 2008
    Location
    The Great Texas Gulf Coast
    Posts
    5,314

    Default Michael T's snapshots

    Click image for larger version. 

Name:	2-Remesh_Quadric.png 
Views:	11 
Size:	52.9 KB 
ID:	88240Click image for larger version. 

Name:	3-Remesh_Settings.png 
Views:	10 
Size:	23.5 KB 
ID:	88241Click image for larger version. 

Name:	4-Saving_Options.png 
Views:	8 
Size:	71.9 KB 
ID:	88242Click image for larger version. 

Name:	1-Post-Open_Processing.png 
Views:	7 
Size:	20.0 KB 
ID:	88239Adding Michael Tyler's Snapshots for Meshlab Settings. They posted in reverse order.
    CarveWright CX Packaged System - starting at $2000
    CarversClub 1 Year Subscription - $150.00/year
    Adv. Support w/out CC membership - $25.00/issue
    CarveWright Community Forum - PRICELESS!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •