Cura: [4.4.0] Can't open an OBJ file

Created on 27 Nov 2019  路  9Comments  路  Source: Ultimaker/Cura

obj.zip

Application version
4.4.0

Platform
Model Name: MacBook Pro
Model Identifier: MacBookPro13,3
Processor Name: Quad-Core Intel Core i7
Processor Speed: 2.9 GHz
Number of Processors: 1
Total Number of Cores: 4
L2 Cache (per Core): 256 KB
L3 Cache: 8 MB
Hyper-Threading Technology: Enabled
Memory: 16 GB

Printer
Ultimaker 2 ext+

Reproduction steps

  1. just tried to upload the file

Actual results
(What happens after the above steps have been followed.)

Expected results
(What should happen after the above steps have been followed.)

Additional information
(Extra information relevant to the issue, like screenshots. Don't forget to attach the log files with this issue report.)

Bug

All 9 comments

The files contain some lines that have a in them and Cura doesn't like that.

vn 5.533322137277522e-17 -0.9967947006225586 0.08000191301107407
vn 0 -0.9967947006225586 0.08000191301107407
vn 1.106664427455504e-16 -0.9967947006225586 0.08000191301107407
vn -2.213328854911009e-16 -0.9967947006225586 \
 0.08000191301107407
vn -2.213328854911009e-16 -0.9967947006225586 \
 0.08000191301107407
vn 2.213328854911009e-16 -0.9967947006225586 0.08000191301107407
vn 2.213328854911009e-16 -0.9967947006225586 0.08000191301107407

That's a Cura bug as it should cope with those line continuation characters.

I have produced a simple fix that let me read the files...

Screenshot_2019-11-27_11-54-50

I will submit the fix as a PR so that the Cura devs can use it. I'm not a Python programmer so they may decide to do something else but at least it identifies the problem.

Normally it takes us a while to review PR's, but this one was small (and more importantly, low risk) enough that I could do it on my own (sometimes it's better to ask forgiveness than permission after all).

Green question: how can I know this fix is deployed to Cura?

As it has been merged into the master branch it should appear in the next major release (4.5?)

does it have Release to Customer date ? or a roadmap timeline ?

No, but if you are eager to try this you can install one of my Cura builds that has the fix already. You can find my builds at https://www.dropbox.com/sh/s43vqzmi4d2bqe2/AAADdYdSu9iwcKa0Knqgurm4a?dl=0. My builds can be installed alongside the UM releases. Please read the README.md that is there.

Ultimaker Cura releases are normally two months apart. So I would guesstimate end of January for the next release.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rudowinger picture rudowinger  路  3Comments

konvoj picture konvoj  路  3Comments

jellewie picture jellewie  路  3Comments

mnswamp1 picture mnswamp1  路  3Comments

Nemernemer picture Nemernemer  路  3Comments