div by zero in addons / io_scene_x3d / import_x3d when importing .wrf file #76303

Closed
opened 2020-05-01 18:22:29 +02:00 by Ruben de Bruin · 6 comments

_output.wrl
Blender Version
2.82a

Short description of error
div by zero when attempting to import attached vrml file

trace:

File "C:\Program Files\Blender Foundation\Blender 2.82\2.82\scripts\addons\io_scene_x3d\import_x3d.py", line 2047, in generatePointCoords
  return (pt[s_axis] - s_min) / ds, (pt[t_axis] - t_min) / dt
ZeroDivisionError: division by zero

Exact steps for others to reproduce the error
File -> Import -> X3D -> select attached file

[_output.wrl](https://archive.blender.org/developer/F8506146/_output.wrl) **Blender Version** 2.82a **Short description of error** div by zero when attempting to import attached vrml file trace: ``` File "C:\Program Files\Blender Foundation\Blender 2.82\2.82\scripts\addons\io_scene_x3d\import_x3d.py", line 2047, in generatePointCoords return (pt[s_axis] - s_min) / ds, (pt[t_axis] - t_min) / dt ZeroDivisionError: division by zero ``` **Exact steps for others to reproduce the error** File -> Import -> X3D -> select attached file
Author

Added subscriber: @rubendebruin

Added subscriber: @rubendebruin

#71424 was marked as duplicate of this issue

#71424 was marked as duplicate of this issue

This issue was referenced by bc1262f4d6

This issue was referenced by bc1262f4d61feeba235bb75046e65e0e8411241f

Changed status from 'Needs Triage' to: 'Resolved'

Changed status from 'Needs Triage' to: 'Resolved'
Campbell Barton self-assigned this 2020-06-22 07:32:52 +02:00
Author

@ideasman42 Thanks!

@ideasman42 Thanks!
Added subscribers: @FabianMaurerRedheads, @lichtwerk, @mano-wii
Sign in to join this conversation.
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#76303
No description provided.