VRML Export Rotation/Offset Incorrect
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Expired
|
Undecided
|
Unassigned |
Bug Description
Platform: Windows 7 x64, KiCAD build: kicad-2010-
If a footprint has a 3D model with non-zero offset or rotation specified, the exported board VRML will have incorrect rotation and offset values for that 3D model and they come out crooked. For instance, if a part has a 3D rotation of 90 degrees specified, the board VRML will rotate that part 9 degrees. 180 degrees specified results in an 18 degree rotation. It is off by a factor of ten for rotation. Possibly due to the code in lines 1060-1065 of export_vrml.cpp?? The offset is also incorrect. It appears that the 3D part offset is not applied to the VRML output at all. However, scaling works correctly....
To reproduce the problem:
Simply place a footprint and edit the 3d setting to apply a 90 degree rotation. Then export the VRML and view it in Blender or freeWrl viewer.
See attached picture for KiCAD 3D view (left) versus VRML Export (right)
summary: |
- VRML Export Scaling Incorrect + VRML Export Rotation/Offset Incorrect |
description: | updated |
Changed in kicad: | |
status: | Fix Committed → In Progress |
Changed in kicad: | |
status: | In Progress → Fix Committed |
Fix committed in testing branch