-
-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Wanhao Workshop CWS cannot be loaded #102
Comments
I based the gcode parser on CWX. It seen diferent slicers use diferent gcode for the printer, god damit... Also number of slices = number of layers, no sense redundancy My big advice here is use PrusaSlicer instead and convert to your printer... even when i fix that, UVtools will have missing data with the information your slicer is outputing. EDIT:
Why every delay and lift is 0 @ 0 speed? |
Seems got WCW misconfigured, sorry. Here´s a proper file.
Will try, thanks! Really printer vendors should adhere an standard 🙄 |
I just confirmed, things like resolution, layer height and other informations required by uvtools are missing on that slicer format. Is possible to get them via calculations but i think not worth to have all that extra conditions for such format. CWX otherwise is full compatible. |
* (Add) Improved island detection: Combines the island and overhang detections for a better more realistic detection and to discard false-positives. (Slower) If enabled, and when a island is found, it will check for overhangs on that same island, if no overhang found then the island will be discarded and considered safe, otherwise it will flag as an island issue. Note: Overhangs settings will be used to configure the detection. Enabling Overhangs is not required for this procedure to work. Enabled by default, * (Add) More information on the About box: Operative system and architecture, framework, processor count and screens * (Fix) Overhangs: Include islands when detecting overhangs were not skip when found a island * (Fix) Decode CWS from Wanhao Workshop fails on number of slices (#102)
fixed |
! Before continue, please look/search on closed topics if your case was already been discussed, if yes and related, comment there instead.
Describe the bug
Cannot load Wanhao Workshop File
To Reproduce
Steps to reproduce the behavior:
Open attached file
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem. Never hide information, full GUI/window screenshot is always a must!
Files
Were possible attach the problematic file, both source and output file if applicable.
eiffelTower_d7w.cws.zip
System
Desktop (please complete the following information):
Exceptions Log file
In some unexpected exceptions errors will generate and save a log file under appfolder/Logs/AppErrors.
If present you can attach the log file here. Check file name against date/time to be sure it's related to your problem.
Additional context
Add any other context about the problem here.
.gcode File shows a kind of pragma [[totalSlices]] that causes strong typed uint32 property to fail. Supposed to be Manifest.xml slice count.
Cannot assure if it's a needed parameter, so maybe bypassing exception (casting to 0) should be enough to load the file and do standard operations. (Event doing with each of the properties failing casting and just pop an warning or log could be helpy)
The text was updated successfully, but these errors were encountered: